Changeset View
Changeset View
Standalone View
Standalone View
lib/types/redux-types.js
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
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, | ||||
} from './report-types.js'; | } from './report-types.js'; | ||||
import type { ProcessServerRequestsPayload } from './request-types.js'; | import type { ProcessServerRequestsPayload } from './request-types.js'; | ||||
import type { UserSearchResult } from './search-types.js'; | import type { | ||||
UserSearchResult, | |||||
ExactUserSearchResult, | |||||
} from './search-types.js'; | |||||
import type { SetSessionPayload } from './session-types.js'; | import type { SetSessionPayload } from './session-types.js'; | ||||
import type { | import type { | ||||
ConnectionInfo, | ConnectionInfo, | ||||
StateSyncFullActionPayload, | StateSyncFullActionPayload, | ||||
StateSyncIncrementalActionPayload, | StateSyncIncrementalActionPayload, | ||||
UpdateConnectionStatusPayload, | UpdateConnectionStatusPayload, | ||||
SetLateResponsePayload, | SetLateResponsePayload, | ||||
UpdateDisconnectedBarPayload, | UpdateDisconnectedBarPayload, | ||||
▲ Show 20 Lines • Show All 493 Lines • ▼ Show 20 Lines | | { | ||||
+loadingInfo: LoadingInfo, | +loadingInfo: LoadingInfo, | ||||
} | } | ||||
| { | | { | ||||
+type: 'SEARCH_USERS_SUCCESS', | +type: 'SEARCH_USERS_SUCCESS', | ||||
+payload: UserSearchResult, | +payload: UserSearchResult, | ||||
+loadingInfo: LoadingInfo, | +loadingInfo: LoadingInfo, | ||||
} | } | ||||
| { | | { | ||||
+type: 'EXACT_SEARCH_USER_STARTED', | |||||
+payload?: void, | |||||
+loadingInfo: LoadingInfo, | |||||
} | |||||
| { | |||||
+type: 'EXACT_SEARCH_USER_FAILED', | |||||
+error: true, | |||||
+payload: Error, | |||||
+loadingInfo: LoadingInfo, | |||||
} | |||||
| { | |||||
+type: 'EXACT_SEARCH_USER_SUCCESS', | |||||
+payload: ExactUserSearchResult, | |||||
+loadingInfo: LoadingInfo, | |||||
} | |||||
| { | |||||
+type: 'UPDATE_DRAFT', | +type: 'UPDATE_DRAFT', | ||||
+payload: { | +payload: { | ||||
+key: string, | +key: string, | ||||
+text: string, | +text: string, | ||||
}, | }, | ||||
} | } | ||||
| { | | { | ||||
+type: 'MOVE_DRAFT', | +type: 'MOVE_DRAFT', | ||||
▲ Show 20 Lines • Show All 454 Lines • Show Last 20 Lines |