Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | |||||
import type { | 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 { | |||||
AddSyncedMetadataEntryPayload, | |||||
RemoveSyncedMetadataEntryPayload, | |||||
} 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, | ||||
LeaveThreadPayload, | LeaveThreadPayload, | ||||
NewThreadResult, | NewThreadResult, | ||||
ThreadJoinPayload, | ThreadJoinPayload, | ||||
▲ Show 20 Lines • Show All 1,239 Lines • ▼ Show 20 Lines | | { | ||||
+type: 'SET_CONNECTION_ISSUE', | +type: 'SET_CONNECTION_ISSUE', | ||||
+payload: { +connectionIssue: ?ConnectionIssue, +keyserverID: string }, | +payload: { +connectionIssue: ?ConnectionIssue, +keyserverID: string }, | ||||
} | } | ||||
| { | | { | ||||
+type: 'ADD_COMMUNITY', | +type: 'ADD_COMMUNITY', | ||||
+payload: AddCommunityPayload, | +payload: AddCommunityPayload, | ||||
} | } | ||||
| { | | { | ||||
+type: 'ADD_SYNCED_METADATA_ENTRY', | |||||
+payload: AddSyncedMetadataEntryPayload, | |||||
} | |||||
| { | |||||
+type: 'REMOVE_SYNCED_METADATA_ENTRY', | |||||
+payload: RemoveSyncedMetadataEntryPayload, | |||||
} | |||||
| { | |||||
+type: 'SET_ACTIVE_SESSION_RECOVERY', | +type: 'SET_ACTIVE_SESSION_RECOVERY', | ||||
+payload: SetActiveSessionRecoveryPayload, | +payload: SetActiveSessionRecoveryPayload, | ||||
} | } | ||||
| { | | { | ||||
+type: 'OPS_PROCESSING_FINISHED_ACTION_TYPE', | +type: 'OPS_PROCESSING_FINISHED_ACTION_TYPE', | ||||
+payload?: void, | +payload?: void, | ||||
}, | }, | ||||
}>; | }>; | ||||
Show All 21 Lines |