mirror of https://github.com/logseq/logseq
enhance(rtc): update malli-schema for user-info related api response
parent
e4a1f723e2
commit
d651b86dc1
|
@ -1146,7 +1146,7 @@
|
|||
[:div.flex.flex-row.items-center.gap-2 {:key (str "user-" user-name)}
|
||||
[:div user-name]
|
||||
(when user-email [:div.opacity-50.text-sm user-email])
|
||||
(when graph<->user-user-type [:div.opacity-50.text-sm graph<->user-user-type])])]
|
||||
(when graph<->user-user-type [:div.opacity-50.text-sm (name graph<->user-user-type)])])]
|
||||
[:div.flex.flex-col.gap-4.mt-4
|
||||
(shui/input
|
||||
{:placeholder "Email address"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue