diff options
| author | Josh Kingsley <josh@joshkingsley.me> | 2025-11-23 19:27:57 +0200 |
|---|---|---|
| committer | Josh Kingsley <josh@joshkingsley.me> | 2025-11-23 19:27:57 +0200 |
| commit | 602145c956bb594ca0d0e10601cc4ad1a71cf70d (patch) | |
| tree | d9f9980bd2054cff5819d01379f5c1c55f8eb66d /crdt/src/op.rs | |
| parent | c2a6efb1b761014a90d90373cad47a14054af40b (diff) | |
feat: integrate web and doc packages
Diffstat (limited to 'crdt/src/op.rs')
| -rw-r--r-- | crdt/src/op.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/crdt/src/op.rs b/crdt/src/op.rs deleted file mode 100644 index 8f5f8b5..0000000 --- a/crdt/src/op.rs +++ /dev/null @@ -1,21 +0,0 @@ -use uuid::Uuid; - -use crate::vector_clock::VectorClock; - -pub struct Op { - pub(crate) id: Uuid, - pub(crate) clock: VectorClock, - pub(crate) kind: OpKind, -} - -pub enum OpKind { - CreateGrid(CreateGrid), - ChangeSubdivisions(ChangeSubdivisions), -} - -pub struct CreateGrid { - pub(crate) rows: usize, - pub(crate) base_cells_per_row: usize, -} - -pub struct ChangeSubdivisions {} |
