@supernova-studio/client 0.52.14 → 0.52.16
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 +420 -1
- package/dist/index.d.ts +420 -1
- package/dist/index.js +8 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/components/figma-component.ts +29 -2
package/dist/index.mjs
CHANGED
|
@@ -670,15 +670,6 @@ var FigmaComponentProperty = z32.discriminatedUnion("type", [
|
|
|
670
670
|
FigmaComponentTextProperty
|
|
671
671
|
]);
|
|
672
672
|
var FigmaComponentPropertyMap = z32.record(z32.string(), FigmaComponentProperty);
|
|
673
|
-
var FigmaComponentSetProperties = z32.record(
|
|
674
|
-
z32.string(),
|
|
675
|
-
z32.discriminatedUnion("type", [
|
|
676
|
-
FigmaComponentBooleanProperty,
|
|
677
|
-
FigmaComponentInstanceSwapProperty,
|
|
678
|
-
FigmaComponentTextProperty,
|
|
679
|
-
FigmaComponentVariantProperty
|
|
680
|
-
])
|
|
681
|
-
);
|
|
682
673
|
var ComponentElementData = z33.object({
|
|
683
674
|
value: z33.object({
|
|
684
675
|
thumbnailImage: z33.object({
|
|
@@ -5627,6 +5618,8 @@ var DTOPublishDocumentationResponse = z200.object({
|
|
|
5627
5618
|
|
|
5628
5619
|
// src/api/dto/elements/components/figma-component.ts
|
|
5629
5620
|
import { z as z201 } from "zod";
|
|
5621
|
+
var DTOFigmaComponentProperty = FigmaComponentProperty;
|
|
5622
|
+
var DTOFigmaComponentPropertyMap = z201.record(DTOFigmaComponentProperty);
|
|
5630
5623
|
var DTOFigmaComponent = z201.object({
|
|
5631
5624
|
id: z201.string(),
|
|
5632
5625
|
persistentId: z201.string(),
|
|
@@ -5642,7 +5635,10 @@ var DTOFigmaComponent = z201.object({
|
|
|
5642
5635
|
meta: ObjectMeta,
|
|
5643
5636
|
originComponent: FigmaComponentOrigin.optional(),
|
|
5644
5637
|
parentComponentPersistentId: z201.string().optional(),
|
|
5645
|
-
componentPropertyDefinitions:
|
|
5638
|
+
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional()
|
|
5639
|
+
});
|
|
5640
|
+
var DTOFigmaComponentListResponse = z201.object({
|
|
5641
|
+
components: DTOFigmaComponent.array()
|
|
5646
5642
|
});
|
|
5647
5643
|
|
|
5648
5644
|
// src/api/dto/elements/documentation/group-action.ts
|
|
@@ -11413,6 +11409,7 @@ export {
|
|
|
11413
11409
|
DTOExporterType,
|
|
11414
11410
|
DTOExporterUpdateInput,
|
|
11415
11411
|
DTOFigmaComponent,
|
|
11412
|
+
DTOFigmaComponentListResponse,
|
|
11416
11413
|
DTOFigmaNode,
|
|
11417
11414
|
DTOFigmaNodeData,
|
|
11418
11415
|
DTOFigmaNodeOrigin,
|