Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | import { | ||||
type UserPolicies, | type UserPolicies, | ||||
} from './policy-types.js'; | } from './policy-types.js'; | ||||
import type { RelationshipErrors } from './relationship-types.js'; | import type { RelationshipErrors } from './relationship-types.js'; | ||||
import type { | import type { | ||||
EnabledReports, | EnabledReports, | ||||
ClearDeliveredReportsPayload, | ClearDeliveredReportsPayload, | ||||
QueueReportsPayload, | QueueReportsPayload, | ||||
ReportStore, | ReportStore, | ||||
ClientReportCreationRequest, | |||||
} from './report-types.js'; | } from './report-types.js'; | ||||
import type { | import type { | ||||
ProcessServerRequestsPayload, | ProcessServerRequestsPayload, | ||||
GetOlmSessionInitializationDataResponse, | GetOlmSessionInitializationDataResponse, | ||||
} from './request-types.js'; | } from './request-types.js'; | ||||
import type { | import type { | ||||
UserSearchResult, | UserSearchResult, | ||||
ExactUserSearchResult, | ExactUserSearchResult, | ||||
▲ Show 20 Lines • Show All 540 Lines • ▼ Show 20 Lines | export type BaseAction = | ||||
| { | | { | ||||
+type: 'SET_CLIENT_DB_STORE', | +type: 'SET_CLIENT_DB_STORE', | ||||
+payload: { | +payload: { | ||||
+currentUserID: ?string, | +currentUserID: ?string, | ||||
+drafts: $ReadOnlyArray<ClientDBDraftInfo>, | +drafts: $ReadOnlyArray<ClientDBDraftInfo>, | ||||
+messages: ?$ReadOnlyArray<ClientDBMessageInfo>, | +messages: ?$ReadOnlyArray<ClientDBMessageInfo>, | ||||
+threadStore: ?ThreadStore, | +threadStore: ?ThreadStore, | ||||
+messageStoreThreads: ?$ReadOnlyArray<ClientDBThreadMessageInfo>, | +messageStoreThreads: ?$ReadOnlyArray<ClientDBThreadMessageInfo>, | ||||
+reports: ?$ReadOnlyArray<ClientReportCreationRequest>, | |||||
}, | }, | ||||
} | } | ||||
| { | | { | ||||
+type: 'UPDATE_ACTIVITY_STARTED', | +type: 'UPDATE_ACTIVITY_STARTED', | ||||
+payload?: void, | +payload?: void, | ||||
+loadingInfo: LoadingInfo, | +loadingInfo: LoadingInfo, | ||||
} | } | ||||
| { | | { | ||||
▲ Show 20 Lines • Show All 513 Lines • Show Last 20 Lines |