@supernova-studio/model 0.57.13 → 0.57.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +102 -52
- package/dist/index.d.ts +102 -52
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/collection.ts +2 -0
- package/src/dsm/elements/raw-element.ts +1 -0
- package/src/dsm/elements/tokens.ts +1 -0
- package/src/dsm/import/tokens.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1725,6 +1725,7 @@ var ShallowDesignElement = z39.object({
|
|
|
1725
1725
|
designSystemVersionId: z39.string(),
|
|
1726
1726
|
type: DesignElementType,
|
|
1727
1727
|
brandPersistentId: z39.string().optional(),
|
|
1728
|
+
collectionPersistentId: z39.string().optional(),
|
|
1728
1729
|
parentPersistentId: z39.string().optional(),
|
|
1729
1730
|
shortPersistentId: z39.string().optional(),
|
|
1730
1731
|
childType: DesignElementType.optional(),
|
|
@@ -3131,7 +3132,8 @@ var DesignTokenOriginPart = z85.object({
|
|
|
3131
3132
|
});
|
|
3132
3133
|
var DesignTokenOrigin = DesignElementOrigin.extend(DesignTokenOriginPart.shape);
|
|
3133
3134
|
var DesignTokenBase = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
|
|
3134
|
-
origin: DesignTokenOrigin.optional()
|
|
3135
|
+
origin: DesignTokenOrigin.optional(),
|
|
3136
|
+
collectionPersistentId: z85.string().optional()
|
|
3135
3137
|
});
|
|
3136
3138
|
var CreateDesignTokenBase = DesignTokenBase.omit(zodCreateInputOmit());
|
|
3137
3139
|
var UpdateDesignTokenBase = DesignTokenBase.omit({
|
|
@@ -3636,6 +3638,7 @@ var Collection = z91.object({
|
|
|
3636
3638
|
elementPropertyOptionId: z91.string(),
|
|
3637
3639
|
createdAt: z91.coerce.date(),
|
|
3638
3640
|
updatedAt: z91.coerce.date(),
|
|
3641
|
+
sortOrder: z91.string(),
|
|
3639
3642
|
origin: CollectionOrigin.optional()
|
|
3640
3643
|
});
|
|
3641
3644
|
|
|
@@ -3820,7 +3823,7 @@ var ThemeUpdateImportModelInput = z98.object({
|
|
|
3820
3823
|
// src/dsm/import/tokens.ts
|
|
3821
3824
|
import { z as z99 } from "zod";
|
|
3822
3825
|
var DesignTokenImportModelPart = z99.object({
|
|
3823
|
-
|
|
3826
|
+
collectionId: z99.string().optional(),
|
|
3824
3827
|
codeSyntax: z99.record(z99.coerce.string()).optional(),
|
|
3825
3828
|
scopes: z99.array(z99.string()).optional()
|
|
3826
3829
|
});
|