@supernova-studio/client 0.23.0 → 0.24.0
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 +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/elements-action-v2.ts +3 -3
- package/src/api/dto/elements/figma-nodes/figma-node.ts +2 -2
- package/src/api/dto/elements/figma-nodes/node-actions-v2.ts +6 -6
- package/src/api/dto/elements/get-elements-v2.ts +6 -6
package/dist/index.mjs
CHANGED
|
@@ -3894,7 +3894,7 @@ var DTOFigmaNode = FigmaFileStructure.omit({
|
|
|
3894
3894
|
}).extend({
|
|
3895
3895
|
data: DTOFigmaNodeData
|
|
3896
3896
|
});
|
|
3897
|
-
var
|
|
3897
|
+
var DTOFigmaNodeRenderInput = z135.object({
|
|
3898
3898
|
// Id of a design system's data source representing a linked Figma file
|
|
3899
3899
|
sourceId: z135.string(),
|
|
3900
3900
|
// Id of a node within the Figma file
|
|
@@ -3903,13 +3903,13 @@ var DTOFigmaNodeCreateInput = z135.object({
|
|
|
3903
3903
|
|
|
3904
3904
|
// src/api/dto/elements/figma-nodes/node-actions-v2.ts
|
|
3905
3905
|
import { z as z136 } from "zod";
|
|
3906
|
-
var
|
|
3906
|
+
var DTOFigmaNodeRenderActionOutput = z136.object({
|
|
3907
3907
|
type: z136.literal("FigmaNodeRender"),
|
|
3908
3908
|
figmaNodes: z136.array(DTOFigmaNode)
|
|
3909
3909
|
});
|
|
3910
|
-
var
|
|
3910
|
+
var DTOFigmaNodeRenderActionInput = z136.object({
|
|
3911
3911
|
type: z136.literal("FigmaNodeRender"),
|
|
3912
|
-
input:
|
|
3912
|
+
input: DTOFigmaNodeRenderInput.array()
|
|
3913
3913
|
});
|
|
3914
3914
|
|
|
3915
3915
|
// src/api/dto/elements/elements-action-v2.ts
|
|
@@ -3930,7 +3930,7 @@ var DTOElementActionOutput = z137.discriminatedUnion("type", [
|
|
|
3930
3930
|
DTODocumentationGroupDeleteActionOutputV2,
|
|
3931
3931
|
DTODocumentationTabGroupDeleteActionOutputV2,
|
|
3932
3932
|
// // Figma frames
|
|
3933
|
-
|
|
3933
|
+
DTOFigmaNodeRenderActionOutput
|
|
3934
3934
|
]);
|
|
3935
3935
|
var DTOElementActionInput = z137.discriminatedUnion("type", [
|
|
3936
3936
|
// Documentation pages
|
|
@@ -3948,14 +3948,14 @@ var DTOElementActionInput = z137.discriminatedUnion("type", [
|
|
|
3948
3948
|
DTODocumentationGroupDeleteActionInputV2,
|
|
3949
3949
|
DTODocumentationTabGroupDeleteActionInputV2,
|
|
3950
3950
|
// Figma frames
|
|
3951
|
-
|
|
3951
|
+
DTOFigmaNodeRenderActionInput
|
|
3952
3952
|
]);
|
|
3953
3953
|
|
|
3954
3954
|
// src/api/dto/elements/get-elements-v2.ts
|
|
3955
3955
|
import { z as z138 } from "zod";
|
|
3956
|
-
var
|
|
3957
|
-
var
|
|
3958
|
-
types: z138.string().transform((val) => val.split(",").map((v) =>
|
|
3956
|
+
var DTOElementsGetTypeFilter = z138.enum(["FigmaNode"]);
|
|
3957
|
+
var DTOElementsGetQuerySchema = z138.object({
|
|
3958
|
+
types: z138.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
|
|
3959
3959
|
});
|
|
3960
3960
|
var DTOElementsGetOutput = z138.object({
|
|
3961
3961
|
figmaNodes: z138.array(DTOFigmaNode).optional()
|
|
@@ -8251,14 +8251,14 @@ export {
|
|
|
8251
8251
|
DTODuplicateDocumentationPageInputV2,
|
|
8252
8252
|
DTOElementActionInput,
|
|
8253
8253
|
DTOElementActionOutput,
|
|
8254
|
-
DTOElementGetQuerySchema,
|
|
8255
|
-
DTOElementGetTypeFilter,
|
|
8256
8254
|
DTOElementsGetOutput,
|
|
8255
|
+
DTOElementsGetQuerySchema,
|
|
8256
|
+
DTOElementsGetTypeFilter,
|
|
8257
8257
|
DTOFigmaNode,
|
|
8258
|
-
DTOFigmaNodeActionInput,
|
|
8259
|
-
DTOFigmaNodeActionOutput,
|
|
8260
|
-
DTOFigmaNodeCreateInput,
|
|
8261
8258
|
DTOFigmaNodeData,
|
|
8259
|
+
DTOFigmaNodeRenderActionInput,
|
|
8260
|
+
DTOFigmaNodeRenderActionOutput,
|
|
8261
|
+
DTOFigmaNodeRenderInput,
|
|
8262
8262
|
DTOGetBlockDefinitionsOutput,
|
|
8263
8263
|
DTOLiveblocksAuthRequest,
|
|
8264
8264
|
DTOMoveDocumentationGroupInput,
|