diff --git a/lib/actions/db-ops-actions.js b/lib/actions/db-ops-actions.js new file mode 100644 --- /dev/null +++ b/lib/actions/db-ops-actions.js @@ -0,0 +1,5 @@ +// @flow + +const opsProcessingFinishedActionType = 'OPS_PROCESSING_FINISHED_ACTION_TYPE'; + +export { opsProcessingFinishedActionType }; diff --git a/lib/types/db-ops-types.js b/lib/types/db-ops-types.js --- a/lib/types/db-ops-types.js +++ b/lib/types/db-ops-types.js @@ -16,3 +16,8 @@ // completed. +noOpsActions: $ReadOnlyArray, }; + +export type OpsProcessingFinishedPayload = { + +actionIDs?: $ReadOnlyArray, + +opsID?: string, +}; diff --git a/lib/types/redux-types.js b/lib/types/redux-types.js --- a/lib/types/redux-types.js +++ b/lib/types/redux-types.js @@ -21,7 +21,10 @@ } from './avatar-types.js'; import type { CommunityStore, AddCommunityPayload } from './community-types.js'; import type { CryptoStore } from './crypto-types.js'; -import type { DBOpsStore } from './db-ops-types.js'; +import type { + DBOpsStore, + OpsProcessingFinishedPayload, +} from './db-ops-types.js'; import type { GetVersionActionPayload, LastCommunicatedPlatformDetails, @@ -1367,6 +1370,10 @@ | { +type: 'SET_ACTIVE_SESSION_RECOVERY', +payload: SetActiveSessionRecoveryPayload, + } + | { + +type: 'OPS_PROCESSING_FINISHED_ACTION_TYPE', + +payload: OpsProcessingFinishedPayload, }; export type ActionPayload = ?(Object | Array<*> | $ReadOnlyArray<*> | string);