Page MenuHomePhabricator

D11279.id38260.diff
No OneTemporary

D11279.id38260.diff

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<ActionID>,
};
+
+export type OpsProcessingFinishedPayload = {
+ +actionIDs?: $ReadOnlyArray<ActionID>,
+ +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);

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 7:38 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2593262
Default Alt Text
D11279.id38260.diff (1 KB)

Event Timeline