Changeset View
Changeset View
Standalone View
Standalone View
lib/types/account-types.js
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | export type RegisterRequest = { | ||||
+username: string, | +username: string, | ||||
+email?: empty, | +email?: empty, | ||||
+password: string, | +password: string, | ||||
+calendarQuery?: ?CalendarQuery, | +calendarQuery?: ?CalendarQuery, | ||||
+deviceTokenUpdateRequest?: ?DeviceTokenUpdateRequest, | +deviceTokenUpdateRequest?: ?DeviceTokenUpdateRequest, | ||||
+platformDetails: PlatformDetails, | +platformDetails: PlatformDetails, | ||||
+primaryIdentityPublicKey?: empty, | +primaryIdentityPublicKey?: empty, | ||||
+signedIdentityKeysBlob?: SignedIdentityKeysBlob, | +signedIdentityKeysBlob?: SignedIdentityKeysBlob, | ||||
+initialNotificationsEncryptedMessage?: string, | |||||
}; | }; | ||||
export type RegisterResponse = { | export type RegisterResponse = { | ||||
id: string, | id: string, | ||||
rawMessageInfos: $ReadOnlyArray<RawMessageInfo>, | rawMessageInfos: $ReadOnlyArray<RawMessageInfo>, | ||||
currentUserInfo: OldLoggedInUserInfo | LoggedInUserInfo, | currentUserInfo: OldLoggedInUserInfo | LoggedInUserInfo, | ||||
cookieChange: { | cookieChange: { | ||||
threadInfos: { +[id: string]: RawThreadInfo }, | threadInfos: { +[id: string]: RawThreadInfo }, | ||||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |