initial commit

This commit is contained in:
cudr
2019-10-05 11:44:49 +03:00
commit a817eb1ceb
63 changed files with 1769 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { Doc } from 'automerge'
export type SyncDoc = Doc<any>

View File

@@ -0,0 +1,2 @@
export * from './automerge'
export * from './slate'

View File

@@ -0,0 +1,8 @@
import { Operation, NodeJSON } from 'slate'
import { List } from 'immutable'
export type Operations = List<Operation>
export type SyncNode = NodeJSON
export type Path = List<number>
export { Operation }