enhance(rtc): update malli-schema for user-info related api response

This commit is contained in:
rcmerci
2024-07-16 19:37:18 +08:00
parent e4a1f723e2
commit d651b86dc1
2 changed files with 15 additions and 5 deletions

View File

@@ -78,10 +78,20 @@
[:failed-ops {:optional true} [:sequential to-ws-op-schema]]
[:s3-presign-url {:optional true} :string]
[:diff-data {:optional true} [:map-of :keyword :any]]
[:online-users {:optional true} [:sequential [:map
[:user/uuid :uuid]
[:user/name :string]
[:user/email :string]]]]
[:users {:optional true} [:sequential
[:map {:closed true}
[:user/uuid :uuid]
[:user/name :string]
[:user/email :string]
[:user/online? :boolean]
[:user/avatar {:optional true} :string]
[:graph<->user/user-type :keyword]]]]
[:online-users {:optional true} [:sequential
[:map {:closed true}
[:user/uuid :uuid]
[:user/name :string]
[:user/email :string]
[:user/avatar {:optional true} :string]]]]
[:refed-blocks {:optional true}
[:maybe
[:sequential