@supernova-studio/model 0.57.14 → 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 +99 -52
- package/dist/index.d.ts +99 -52
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- 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({
|
|
@@ -3821,7 +3823,7 @@ var ThemeUpdateImportModelInput = z98.object({
|
|
|
3821
3823
|
// src/dsm/import/tokens.ts
|
|
3822
3824
|
import { z as z99 } from "zod";
|
|
3823
3825
|
var DesignTokenImportModelPart = z99.object({
|
|
3824
|
-
|
|
3826
|
+
collectionId: z99.string().optional(),
|
|
3825
3827
|
codeSyntax: z99.record(z99.coerce.string()).optional(),
|
|
3826
3828
|
scopes: z99.array(z99.string()).optional()
|
|
3827
3829
|
});
|