@supernova-studio/client 0.54.16 → 0.54.18
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 +27 -8
- package/dist/index.d.ts +27 -8
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/components/figma-component.ts +3 -1
package/dist/index.mjs
CHANGED
|
@@ -689,7 +689,8 @@ var ComponentElementData = z33.object({
|
|
|
689
689
|
})
|
|
690
690
|
}).optional(),
|
|
691
691
|
parentComponentPersistentId: nullishToOptional(z33.string()),
|
|
692
|
-
componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap)
|
|
692
|
+
componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap),
|
|
693
|
+
variantPropertyValues: nullishToOptional(z33.record(z33.string()))
|
|
693
694
|
})
|
|
694
695
|
});
|
|
695
696
|
var SupernovaException = class _SupernovaException extends Error {
|
|
@@ -2740,6 +2741,7 @@ var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart
|
|
|
2740
2741
|
origin: FigmaComponentOrigin.optional(),
|
|
2741
2742
|
thumbnail: FigmaComponentAsset,
|
|
2742
2743
|
componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
|
|
2744
|
+
variantPropertyValues: z82.record(z82.string()).optional(),
|
|
2743
2745
|
svg: FigmaComponentAsset.optional(),
|
|
2744
2746
|
isAsset: z82.boolean(),
|
|
2745
2747
|
parentComponentPersistentId: nullishToOptional(z82.string())
|
|
@@ -3245,7 +3247,8 @@ var ImageImportModel = z92.union([UrlImageImportModel, FigmaRenderImportModel]);
|
|
|
3245
3247
|
var FigmaComponentImportModelPart = z93.object({
|
|
3246
3248
|
thumbnail: ImageImportModel,
|
|
3247
3249
|
parentComponentId: z93.string().optional(),
|
|
3248
|
-
componentPropertyDefinitions: FigmaComponentPropertyMap.optional()
|
|
3250
|
+
componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
|
|
3251
|
+
variantPropertyValues: z93.record(z93.string()).optional()
|
|
3249
3252
|
});
|
|
3250
3253
|
var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3251
3254
|
isAsset: z93.boolean(),
|
|
@@ -3628,6 +3631,7 @@ var DesignSystem = z117.object({
|
|
|
3628
3631
|
isApprovalFeatureEnabled: z117.boolean(),
|
|
3629
3632
|
approvalRequiredForPublishing: z117.boolean(),
|
|
3630
3633
|
accessMode: DesignSystemAccessMode,
|
|
3634
|
+
membersGenerated: z117.boolean(),
|
|
3631
3635
|
createdAt: z117.coerce.date(),
|
|
3632
3636
|
updatedAt: z117.coerce.date()
|
|
3633
3637
|
});
|
|
@@ -5702,8 +5706,9 @@ var DTOFigmaComponent = z202.object({
|
|
|
5702
5706
|
meta: ObjectMeta,
|
|
5703
5707
|
originComponent: FigmaComponentOrigin.optional(),
|
|
5704
5708
|
parentComponentPersistentId: z202.string().optional(),
|
|
5709
|
+
childrenPersistentIds: z202.string().array().optional(),
|
|
5705
5710
|
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
5706
|
-
|
|
5711
|
+
variantPropertyValues: z202.record(z202.string()).optional()
|
|
5707
5712
|
});
|
|
5708
5713
|
var DTOFigmaComponentListResponse = z202.object({
|
|
5709
5714
|
components: DTOFigmaComponent.array()
|