Changeset View
Changeset View
Standalone View
Standalone View
native/account/registration/registration-types.js
Show All 37 Lines | | { | ||||
}; | }; | ||||
export type RegistrationServerCallInput = { | export type RegistrationServerCallInput = { | ||||
+coolOrNerdMode: CoolOrNerdMode, | +coolOrNerdMode: CoolOrNerdMode, | ||||
+keyserverUsername: string, | +keyserverUsername: string, | ||||
+accountSelection: AccountSelection, | +accountSelection: AccountSelection, | ||||
+avatarData: ?AvatarData, | +avatarData: ?AvatarData, | ||||
}; | }; | ||||
export type CachedUserSelections = { | |||||
+coolOrNerdMode?: CoolOrNerdMode, | |||||
+keyserverUsername?: string, | |||||
+username?: string, | |||||
+password?: string, | |||||
+avatarData?: ?AvatarData, | |||||
+ethereumAccount?: EthereumAccountSelection, | |||||
}; | |||||
export const ensAvatarSelection: AvatarData = { | |||||
needsUpload: false, | |||||
updateUserAvatarRequest: { type: 'ens' }, | |||||
clientAvatar: { type: 'ens' }, | |||||
}; |