enhance(rtc): support :no-order blocks sync

This commit is contained in:
rcmerci
2024-03-19 19:08:49 +08:00
parent c1ff8c4a0a
commit dd03dbe473
3 changed files with 38 additions and 23 deletions

View File

@@ -101,7 +101,7 @@
[:op :keyword]
[:self :uuid]
[:parents [:sequential :uuid]]
[:left :uuid]
[:left [:maybe :uuid]] ;nil when it's :no-order block
[:content {:optional true} :string]]
general-attrs-schema-coll)]
[:remove
@@ -114,7 +114,7 @@
[:op :keyword]
[:self :uuid]
[:parents {:optional true} [:sequential :uuid]]
[:left {:optional true} :uuid]
[:left {:optional true} [:maybe :uuid]] ;nil when it's :no-order block
[:content {:optional true} :string]]
general-attrs-schema-coll)]
[:update-page