enhance(rtc): add :recent-updates in response schema

experiment/tanstack-table
rcmerci 2024-06-23 22:11:43 +08:00
parent 9f6105a62d
commit 08225c4d16
1 changed files with 8 additions and 0 deletions

View File

@ -80,6 +80,14 @@
[:user/uuid :uuid]
[:user/name :string]
[:user/email :string]]]]
[:recent-updates {:optional true}
[:map-of :uuid ;;user-uuid
[:sequential
[:cat
[inst? {:decode/string mt/-string->date}]
[:map
[:update-block-uuids {:optional true} [:set :uuid]]
[:delete-block-uuids {:optional true} [:set :uuid]]]]]]]
[:refed-blocks {:optional true}
[:maybe
[:sequential