🐛 Fix text validation

This commit is contained in:
Alejandro Alonso 2023-08-07 09:29:04 +02:00
parent cf68a9cf1e
commit 766040198a

View file

@ -21,6 +21,8 @@
[:type [:= "root"]] [:type [:= "root"]]
[:key {:optional true} :string] [:key {:optional true} :string]
[:children [:children
{:optional true}
[:maybe
[:vector {:min 1 :gen/max 2 :gen/min 1} [:vector {:min 1 :gen/max 2 :gen/min 1}
[:map [:map
[:type [:= "paragraph-set"]] [:type [:= "paragraph-set"]]
@ -58,7 +60,7 @@
[:text-decoration {:optional true} :string] [:text-decoration {:optional true} :string]
[:text-transform {:optional true} :string] [:text-transform {:optional true} :string]
[:typography-ref-id {:optional true} [:maybe ::sm/uuid]] [:typography-ref-id {:optional true} [:maybe ::sm/uuid]]
[:typography-ref-file {:optional true} [:maybe ::sm/uuid]]]]]]]]]]]]) [:typography-ref-file {:optional true} [:maybe ::sm/uuid]]]]]]]]]]]]])