Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/json-crdt-patch/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ export const enum SESSION {
*/
SERVER = 1,

/**
* Use this session ID when you want to apply a patch globally, without
* attributing it to any specific user. For example, when the initial document
* is created, the default patch can be applied on all clients to result in
* the same initial state on all clients.
*/
GLOBAL = 2,

/** Max allowed session ID, they are capped at 53-bits. */
MAX = 9007199254740991,
}
Expand Down
220 changes: 0 additions & 220 deletions src/json-crdt/file/File.ts

This file was deleted.

159 changes: 0 additions & 159 deletions src/json-crdt/file/__tests__/File.spec.ts

This file was deleted.

Loading