Improve the shape changes protocol.

Enabling skiping local reaply of changes after
save round-trip.
This commit is contained in:
Andrey Antukh 2020-01-11 18:40:36 +01:00
parent f2a926d22d
commit f7838601e6
5 changed files with 139 additions and 84 deletions

View file

@ -130,7 +130,7 @@
;; A generic, Changes based (granular) page update method.
(s/def ::changes
(s/coll-of vector? :kind vector?))
(s/coll-of map? :kind vector?))
(s/def ::update-project-page
(s/keys :opt-un [::id ::user ::version ::changes]))