Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | import type { | ||||
ConnectionIssue, | ConnectionIssue, | ||||
StateSyncFullActionPayload, | StateSyncFullActionPayload, | ||||
StateSyncIncrementalActionPayload, | StateSyncIncrementalActionPayload, | ||||
SetActiveSessionRecoveryPayload, | SetActiveSessionRecoveryPayload, | ||||
} from './socket-types.js'; | } from './socket-types.js'; | ||||
import { type ClientStore } from './store-ops-types.js'; | import { type ClientStore } from './store-ops-types.js'; | ||||
import type { SubscriptionUpdateResult } from './subscription-types.js'; | import type { SubscriptionUpdateResult } from './subscription-types.js'; | ||||
import type { | import type { | ||||
SyncedMetadataStore, | |||||
AddSyncedMetadataEntryPayload, | AddSyncedMetadataEntryPayload, | ||||
RemoveSyncedMetadataEntryPayload, | RemoveSyncedMetadataEntryPayload, | ||||
} from './synced-metadata-types.js'; | } from './synced-metadata-types.js'; | ||||
import type { GlobalThemeInfo } from './theme-types.js'; | import type { GlobalThemeInfo } from './theme-types.js'; | ||||
import type { ThreadActivityStore } from './thread-activity-types.js'; | import type { ThreadActivityStore } from './thread-activity-types.js'; | ||||
import type { | import type { | ||||
ThreadStore, | ThreadStore, | ||||
ChangeThreadSettingsPayload, | ChangeThreadSettingsPayload, | ||||
Show All 37 Lines | export type BaseAppState<NavInfo: BaseNavInfo = BaseNavInfo> = { | ||||
+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, | +dbOpsStore: DBOpsStore, | ||||
+syncedMetadataStore: SyncedMetadataStore, | |||||
... | ... | ||||
}; | }; | ||||
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,234 Lines • Show Last 20 Lines |