Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show All 14 Lines | import type { | ||||
QueueActivityUpdatesPayload, | QueueActivityUpdatesPayload, | ||||
SetThreadUnreadStatusPayload, | SetThreadUnreadStatusPayload, | ||||
} from './activity-types.js'; | } from './activity-types.js'; | ||||
import type { | import type { | ||||
UpdateUserAvatarRequest, | UpdateUserAvatarRequest, | ||||
UpdateUserAvatarResponse, | UpdateUserAvatarResponse, | ||||
} from './avatar-types.js'; | } from './avatar-types.js'; | ||||
import type { CommunityStore, AddCommunityPayload } from './community-types.js'; | import type { CommunityStore, AddCommunityPayload } from './community-types.js'; | ||||
import type { DBOpsStore } from './db-ops-types.js'; | |||||
import type { | import type { | ||||
GetVersionActionPayload, | GetVersionActionPayload, | ||||
LastCommunicatedPlatformDetails, | LastCommunicatedPlatformDetails, | ||||
} from './device-types.js'; | } from './device-types.js'; | ||||
import type { DraftStore } from './draft-types.js'; | import type { DraftStore } from './draft-types.js'; | ||||
import type { EnabledApps, SupportedApps } from './enabled-apps.js'; | import type { EnabledApps, SupportedApps } from './enabled-apps.js'; | ||||
import type { | import type { | ||||
RawEntryInfo, | RawEntryInfo, | ||||
▲ Show 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | export type BaseAppState<NavInfo: BaseNavInfo = BaseNavInfo> = { | ||||
+commServicesAccessToken: ?string, | +commServicesAccessToken: ?string, | ||||
+inviteLinksStore: InviteLinksStore, | +inviteLinksStore: InviteLinksStore, | ||||
+keyserverStore: KeyserverStore, | +keyserverStore: KeyserverStore, | ||||
+threadActivityStore: ThreadActivityStore, | +threadActivityStore: ThreadActivityStore, | ||||
+integrityStore: IntegrityStore, | +integrityStore: IntegrityStore, | ||||
+globalThemeInfo: GlobalThemeInfo, | +globalThemeInfo: GlobalThemeInfo, | ||||
+customServer: ?string, | +customServer: ?string, | ||||
+communityStore: CommunityStore, | +communityStore: CommunityStore, | ||||
+dbOpsStore: DBOpsStore, | |||||
... | ... | ||||
}; | }; | ||||
export type NativeAppState = BaseAppState<>; | export type NativeAppState = BaseAppState<>; | ||||
export type WebAppState = BaseAppState<> & { | export type WebAppState = BaseAppState<> & { | ||||
+pushApiPublicKey: ?string, | +pushApiPublicKey: ?string, | ||||
... | ... | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 1,218 Lines • Show Last 20 Lines |