Skip to content

Commit e4f60dd

Browse files
authored
Merge pull request #562 from streamich/log
Path `Log` improvements
2 parents bd31263 + 7eef4f5 commit e4f60dd

File tree

20 files changed

+616
-512
lines changed

20 files changed

+616
-512
lines changed

src/json-crdt-patch/constants.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ export const enum SESSION {
1212
*/
1313
SERVER = 1,
1414

15+
/**
16+
* Use this session ID when you want to apply a patch globally, without
17+
* attributing it to any specific user. For example, when the initial document
18+
* is created, the default patch can be applied on all clients to result in
19+
* the same initial state on all clients.
20+
*/
21+
GLOBAL = 2,
22+
1523
/** Max allowed session ID, they are capped at 53-bits. */
1624
MAX = 9007199254740991,
1725
}

src/json-crdt/file/File.ts

Lines changed: 0 additions & 220 deletions
This file was deleted.

src/json-crdt/file/__tests__/File.spec.ts

Lines changed: 0 additions & 159 deletions
This file was deleted.

0 commit comments

Comments
 (0)