Changeset View
Changeset View
Standalone View
Standalone View
lib/types/account-types.js
// @flow | // @flow | ||||
import type { OLMIdentityKeys } from './crypto-types.js'; | import type { SignedIdentityKeysBlob } from './crypto-types.js'; | ||||
import type { PlatformDetails } from './device-types.js'; | import type { PlatformDetails } from './device-types.js'; | ||||
import type { | import type { | ||||
CalendarQuery, | CalendarQuery, | ||||
CalendarResult, | CalendarResult, | ||||
RawEntryInfo, | RawEntryInfo, | ||||
} from './entry-types.js'; | } from './entry-types.js'; | ||||
import type { | import type { | ||||
RawMessageInfo, | RawMessageInfo, | ||||
▲ Show 20 Lines • Show All 88 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, | ||||
+primaryIdentityPublicKey?: string, | +primaryIdentityPublicKey?: string, | ||||
+primaryIdentityPublicKeys?: ?OLMIdentityKeys, | +signedIdentityKeysBlob?: SignedIdentityKeysBlob, | ||||
+notificationIdentityPublicKeys?: ?OLMIdentityKeys, | |||||
}; | }; | ||||
export type LogInInfo = { | export type LogInInfo = { | ||||
...LogInExtraInfo, | ...LogInExtraInfo, | ||||
+username: string, | +username: string, | ||||
+password: string, | +password: string, | ||||
+logInActionSource: LogInActionSource, | +logInActionSource: LogInActionSource, | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |