@supernova-studio/client 0.59.0 → 0.59.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 +320 -116
- package/dist/index.d.ts +320 -116
- package/dist/index.js +25 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/conversion/export/pipeline.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -2690,23 +2690,33 @@ var FigmaFileStructureElementData = z57.object({
|
|
|
2690
2690
|
assetsInFile: FigmaFileStructureStatistics
|
|
2691
2691
|
})
|
|
2692
2692
|
});
|
|
2693
|
+
var FigmaNodeRenderState = z58.enum(["InProgress", "Success", "Failed"]);
|
|
2693
2694
|
var FigmaNodeRenderFormat = z58.enum(["Png", "Svg"]);
|
|
2695
|
+
var FigmaNodeRenderErrorType = z58.enum(["MissingIntegration", "NodeNotFound", "RenderError"]);
|
|
2696
|
+
var FigmaNodeRelinkData = z58.object({
|
|
2697
|
+
fileId: z58.string()
|
|
2698
|
+
});
|
|
2699
|
+
var FigmaNodeRenderedImage = z58.object({
|
|
2700
|
+
resourceId: z58.string(),
|
|
2701
|
+
format: FigmaNodeRenderFormat,
|
|
2702
|
+
scale: nullishToOptional(z58.number()),
|
|
2703
|
+
width: nullishToOptional(z58.number()),
|
|
2704
|
+
height: nullishToOptional(z58.number()),
|
|
2705
|
+
url: nullishToOptional(z58.string()),
|
|
2706
|
+
originKey: nullishToOptional(z58.string())
|
|
2707
|
+
});
|
|
2708
|
+
var FigmaNodeRenderError = z58.object({
|
|
2709
|
+
type: FigmaNodeRenderErrorType
|
|
2710
|
+
});
|
|
2694
2711
|
var FigmaNodeReferenceData = z58.object({
|
|
2695
|
-
structureElementId: z58.string(),
|
|
2696
2712
|
nodeId: z58.string(),
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
assetHeight: z58.number().optional(),
|
|
2705
|
-
assetUrl: z58.string().optional(),
|
|
2706
|
-
assetOriginKey: z58.string().optional()
|
|
2707
|
-
});
|
|
2708
|
-
var FigmaNodeReferenceElementData = z58.object({
|
|
2709
|
-
value: FigmaNodeReferenceData
|
|
2713
|
+
format: FigmaNodeRenderFormat,
|
|
2714
|
+
scale: nullishToOptional(z58.number()),
|
|
2715
|
+
renderState: FigmaNodeRenderState,
|
|
2716
|
+
renderedImage: FigmaNodeRenderedImage.optional(),
|
|
2717
|
+
renderError: FigmaNodeRenderError.optional(),
|
|
2718
|
+
hasSource: z58.boolean(),
|
|
2719
|
+
relinkData: FigmaNodeRelinkData.optional()
|
|
2710
2720
|
});
|
|
2711
2721
|
var FontFamilyValue = z59.string();
|
|
2712
2722
|
var FontFamilyTokenData = tokenAliasOrValue(FontFamilyValue);
|
|
@@ -5169,6 +5179,7 @@ function pipelineToDto(pipeline) {
|
|
|
5169
5179
|
destinationGithub: pipeline.destinationGithub,
|
|
5170
5180
|
destinationGitlab: pipeline.destinationGitlab,
|
|
5171
5181
|
destinationS3: pipeline.destinationS3,
|
|
5182
|
+
exporterConfigurationProperties: pipeline.exporterConfigurationProperties,
|
|
5172
5183
|
webhookUrl: pipeline.webhookUrl,
|
|
5173
5184
|
latestJobs: []
|
|
5174
5185
|
};
|