diff --git a/backend/src/app/binfile/v3.clj b/backend/src/app/binfile/v3.clj index ba97b6a76c..e28d07a765 100644 --- a/backend/src/app/binfile/v3.clj +++ b/backend/src/app/binfile/v3.clj @@ -157,7 +157,7 @@ (sm/decoder ::cty/typography sm/json-transformer)) (def decode-tokens-lib - (sm/decoder ::cto/tokens-lib sm/json-transformer)) + (sm/decoder cto/schema:tokens-lib sm/json-transformer)) (def decode-plugin-data (sm/decoder ::ctpg/plugin-data sm/json-transformer)) diff --git a/common/src/app/common/types/tokens_lib.cljc b/common/src/app/common/types/tokens_lib.cljc index 73c6c0dd18..a4d7229163 100644 --- a/common/src/app/common/types/tokens_lib.cljc +++ b/common/src/app/common/types/tokens_lib.cljc @@ -796,6 +796,7 @@ Will return a value that matches this schema: (declare parse-multi-set-dtcg-json) (declare export-dtcg-json) + (deftype TokensLib [sets themes active-themes] ;; NOTE: This is only for debug purposes, pending to properly ;; implement the toString and alternative printing.