Changeset View
Changeset View
Standalone View
Standalone View
lib/types/account-types.js
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | export type LogInStartingPayload = { | ||||
+calendarQuery: CalendarQuery, | +calendarQuery: CalendarQuery, | ||||
+logInActionSource?: LogInActionSource, | +logInActionSource?: LogInActionSource, | ||||
}; | }; | ||||
export type LogInExtraInfo = { | export type LogInExtraInfo = { | ||||
+calendarQuery: CalendarQuery, | +calendarQuery: CalendarQuery, | ||||
+deviceTokenUpdateRequest?: ?DeviceTokenUpdateRequest, | +deviceTokenUpdateRequest?: ?DeviceTokenUpdateRequest, | ||||
+signedIdentityKeysBlob?: SignedIdentityKeysBlob, | +signedIdentityKeysBlob?: SignedIdentityKeysBlob, | ||||
+initialNotificationsEncryptedMessage?: string, | |||||
}; | }; | ||||
export type LogInInfo = { | export type LogInInfo = { | ||||
...LogInExtraInfo, | ...LogInExtraInfo, | ||||
+username: string, | +username: string, | ||||
+password: string, | +password: string, | ||||
+logInActionSource: LogInActionSource, | +logInActionSource: LogInActionSource, | ||||
}; | }; | ||||
export type LogInRequest = { | export type LogInRequest = { | ||||
+usernameOrEmail?: ?string, | +usernameOrEmail?: ?string, | ||||
+username?: ?string, | +username?: ?string, | ||||
+password: string, | +password: string, | ||||
+calendarQuery?: ?CalendarQuery, | +calendarQuery?: ?CalendarQuery, | ||||
+deviceTokenUpdateRequest?: ?DeviceTokenUpdateRequest, | +deviceTokenUpdateRequest?: ?DeviceTokenUpdateRequest, | ||||
+platformDetails: PlatformDetails, | +platformDetails: PlatformDetails, | ||||
+watchedIDs: $ReadOnlyArray<string>, | +watchedIDs: $ReadOnlyArray<string>, | ||||
+source?: LogInActionSource, | +source?: LogInActionSource, | ||||
+primaryIdentityPublicKey?: empty, | +primaryIdentityPublicKey?: empty, | ||||
+signedIdentityKeysBlob?: SignedIdentityKeysBlob, | +signedIdentityKeysBlob?: SignedIdentityKeysBlob, | ||||
+initialNotificationsEncryptedMessage?: string, | |||||
}; | }; | ||||
export type LogInResponse = { | export type LogInResponse = { | ||||
+currentUserInfo: LoggedInUserInfo | OldLoggedInUserInfo, | +currentUserInfo: LoggedInUserInfo | OldLoggedInUserInfo, | ||||
+rawMessageInfos: $ReadOnlyArray<RawMessageInfo>, | +rawMessageInfos: $ReadOnlyArray<RawMessageInfo>, | ||||
+truncationStatuses: MessageTruncationStatuses, | +truncationStatuses: MessageTruncationStatuses, | ||||
+userInfos: $ReadOnlyArray<UserInfo>, | +userInfos: $ReadOnlyArray<UserInfo>, | ||||
+rawEntryInfos?: ?$ReadOnlyArray<RawEntryInfo>, | +rawEntryInfos?: ?$ReadOnlyArray<RawEntryInfo>, | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |