Page MenuHomePhabricator

D8618.id29014.diff
No OneTemporary

D8618.id29014.diff

diff --git a/lib/ops/base-ops.js b/lib/ops/base-ops.js
new file mode 100644
--- /dev/null
+++ b/lib/ops/base-ops.js
@@ -0,0 +1,18 @@
+// @flow
+
+export type BaseStoreOperations<
+ Store,
+ Operation,
+ ClientDBOperation,
+ DataType,
+ ClientDBDataType,
+> = {
+ processStoreOperations: (
+ store: Store,
+ ops: $ReadOnlyArray<Operation>,
+ ) => Store,
+ convertOpsToClientDBOps: (
+ ops: $ReadOnlyArray<Operation>,
+ ) => $ReadOnlyArray<ClientDBOperation>,
+ translateClientDBData: (data: $ReadOnlyArray<ClientDBDataType>) => DataType,
+};

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 8:22 PM (12 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2445814
Default Alt Text
D8618.id29014.diff (561 B)

Event Timeline