Skip to content

Commit

Permalink
Fix schema errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmotta committed Jan 26, 2024
1 parent 9b9cd16 commit c364ba7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/quo/components/wallet/account_permissions/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
[:address [:maybe :string]]
[:emoji [:maybe :string]]
[:customization-color [:maybe [:or :string :keyword]]]]]
[:token-details {:optional true} [:maybe [:vector required-tokens/?schema]]]
[:token-details {:optional true} [:maybe [:sequential required-tokens/?schema]]]
[:keycard? {:optional true} [:maybe :boolean]]
[:checked? {:optional true} [:maybe :boolean]]
[:disabled? {:optional true} [:maybe :boolean]]
Expand Down
2 changes: 1 addition & 1 deletion src/quo/components/wallet/required_tokens/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[:amount {:optional true} [:maybe [:or :string :int]]]
[:token {:optional true} [:maybe :string]]
[:token-img-src {:optional true} [:maybe :schema.common/image-source]]
[:collectible-img-src {:optional true} :schema.common/image-source]
[:collectible-img-src {:optional true} [:maybe :schema.common/image-source]]
[:collectible-name {:optional true} [:maybe :string]]
[:divider? {:optional true} [:maybe :boolean]]
[:theme :schema.common/theme]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[:=>
[:catn
[:cofx :schema.re-frame/cofx]
[:args [:schema [:catn [:community-id :string]]]]]
[:args [:schema [:? [:catn [:community-id :string]]]]]]
[:map {:closed true}
[:fx [:vector {:min 1 :max 1} :schema.common/rpc-call]]]])

Expand Down Expand Up @@ -48,9 +48,10 @@
[:cofx :schema.re-frame/cofx]
[:args
[:schema
[:catn
[:community-id string?]
[:response ?permissioned-balances-response]]]]]
[:?
[:catn
[:community-id string?]
[:response ?permissioned-balances-response]]]]]]
[:map {:closed true}
[:db map?]]])

Expand Down

0 comments on commit c364ba7

Please sign in to comment.