@supernova-studio/model 0.45.1 → 0.46.1
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 +34 -1
- package/dist/index.d.ts +34 -1
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/figma-node-reference.ts +3 -2
- package/src/dsm/version.ts +19 -1
package/dist/index.mjs
CHANGED
|
@@ -1641,7 +1641,8 @@ function traverseStructure(node, action) {
|
|
|
1641
1641
|
// src/dsm/elements/figma-node-reference.ts
|
|
1642
1642
|
import { z as z74 } from "zod";
|
|
1643
1643
|
var FigmaNodeReferenceOrigin = z74.object({
|
|
1644
|
-
sourceId: z74.string()
|
|
1644
|
+
sourceId: z74.string(),
|
|
1645
|
+
parentName: z74.string().optional()
|
|
1645
1646
|
});
|
|
1646
1647
|
var FigmaNodeReference = DesignElementBase.extend({
|
|
1647
1648
|
data: FigmaNodeReferenceData,
|
|
@@ -2981,6 +2982,15 @@ var DesignSystemVersion = z120.object({
|
|
|
2981
2982
|
changeLog: z120.string(),
|
|
2982
2983
|
parentId: z120.string().optional()
|
|
2983
2984
|
});
|
|
2985
|
+
var VersionCreationJobStatus = z120.enum(["Success", "InProgress", "Error"]);
|
|
2986
|
+
var VersionCreationJob = z120.object({
|
|
2987
|
+
_id: z120.string().optional(),
|
|
2988
|
+
version: z120.string(),
|
|
2989
|
+
designSystemId: z120.string(),
|
|
2990
|
+
designSystemVersionId: nullishToOptional(z120.string()),
|
|
2991
|
+
status: VersionCreationJobStatus,
|
|
2992
|
+
errorMessage: nullishToOptional(z120.string())
|
|
2993
|
+
});
|
|
2984
2994
|
|
|
2985
2995
|
// src/codegen/export-jobs.ts
|
|
2986
2996
|
import { z as z121 } from "zod";
|
|
@@ -4768,6 +4778,8 @@ export {
|
|
|
4768
4778
|
UserProfile,
|
|
4769
4779
|
UserSession,
|
|
4770
4780
|
UserTest,
|
|
4781
|
+
VersionCreationJob,
|
|
4782
|
+
VersionCreationJobStatus,
|
|
4771
4783
|
Visibility,
|
|
4772
4784
|
VisibilityTokenData,
|
|
4773
4785
|
VisibilityValue,
|