Page MenuHomePhabricator

D8618.diff
No OneTemporary

D8618.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 BaseStoreOpsHandlers<
+ 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
Sat, Nov 9, 12:42 AM (16 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2446047
Default Alt Text
D8618.diff (562 B)

Event Timeline