@supernova-studio/client 0.58.27 → 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 +29 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -16
- 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);
|
|
@@ -3312,7 +3322,8 @@ var FigmaImportBaseContext = z91.object({
|
|
|
3312
3322
|
var FeatureFlagsKeepAliases = z91.object({
|
|
3313
3323
|
isTypographyPropsKeepAliasesEnabled: z91.boolean().default(false),
|
|
3314
3324
|
isGradientPropsKeepAliasesEnabled: z91.boolean().default(false),
|
|
3315
|
-
isShadowPropsKeepAliasesEnabled: z91.boolean().default(false)
|
|
3325
|
+
isShadowPropsKeepAliasesEnabled: z91.boolean().default(false),
|
|
3326
|
+
isNonCompatibleTypeChangesEnabled: z91.boolean().default(false)
|
|
3316
3327
|
});
|
|
3317
3328
|
var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
|
|
3318
3329
|
sourcesWithMissingAccess: z91.array(z91.string()).default([]),
|
|
@@ -4698,7 +4709,8 @@ var FlaggedFeature = z170.enum([
|
|
|
4698
4709
|
"VariablesOrder",
|
|
4699
4710
|
"TypographyPropsKeepAliases",
|
|
4700
4711
|
"GradientPropsKeepAliases",
|
|
4701
|
-
"ShadowPropsKeepAliases"
|
|
4712
|
+
"ShadowPropsKeepAliases",
|
|
4713
|
+
"NonCompatibleTypeChanges"
|
|
4702
4714
|
]);
|
|
4703
4715
|
var FeatureFlagMap = z170.record(FlaggedFeature, z170.boolean());
|
|
4704
4716
|
var FeatureFlag = z170.object({
|
|
@@ -5167,6 +5179,7 @@ function pipelineToDto(pipeline) {
|
|
|
5167
5179
|
destinationGithub: pipeline.destinationGithub,
|
|
5168
5180
|
destinationGitlab: pipeline.destinationGitlab,
|
|
5169
5181
|
destinationS3: pipeline.destinationS3,
|
|
5182
|
+
exporterConfigurationProperties: pipeline.exporterConfigurationProperties,
|
|
5170
5183
|
webhookUrl: pipeline.webhookUrl,
|
|
5171
5184
|
latestJobs: []
|
|
5172
5185
|
};
|