mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix(rtc): update schema
This commit is contained in:
@@ -171,6 +171,16 @@
|
||||
[:req-id :string]
|
||||
[:action :string]
|
||||
[:graph-uuid :uuid]
|
||||
[:block-uuids [:sequential :uuid]]]]]))
|
||||
[:block-uuids [:sequential :uuid]]]]
|
||||
["update-assets"
|
||||
[:map
|
||||
[:req-id :string]
|
||||
[:action :string]
|
||||
[:graph-uuid :uuid]
|
||||
[:create {:optional true} [:sequential
|
||||
[:map
|
||||
[:asset-uuid :uuid]
|
||||
[:asset-name :string]]]]
|
||||
[:delete {:optional true} [:sequential :uuid]]]]]))
|
||||
(def data-to-ws-encoder (m/encoder data-to-ws-schema mt/string-transformer))
|
||||
(def data-to-ws-coercer (m/coercer data-to-ws-schema mt/string-transformer))
|
||||
|
||||
Reference in New Issue
Block a user