@supernova-studio/client 0.59.4 → 0.59.6

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.mjs CHANGED
@@ -487,11 +487,17 @@ var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Arr
487
487
  var PropertyDefinitionBase = z17.object({
488
488
  key: z17.string(),
489
489
  title: z17.string(),
490
+ description: z17.string(),
491
+ category: z17.string().optional(),
492
+ dependsOn: z17.record(z17.boolean()).optional()
493
+ });
494
+ var ExporterPropertyDefinitionEnumOption = z17.object({
495
+ label: z17.string(),
490
496
  description: z17.string()
491
497
  });
492
498
  var ExporterPropertyDefinitionEnum = PropertyDefinitionBase.extend({
493
499
  type: z17.literal(ExporterPropertyType.Enum.Enum),
494
- options: z17.string().array(),
500
+ options: z17.record(ExporterPropertyDefinitionEnumOption),
495
501
  default: z17.string()
496
502
  });
497
503
  var ExporterPropertyDefinitionBoolean = PropertyDefinitionBase.extend({
@@ -5802,11 +5808,17 @@ var DTOExporterPropertyType = z201.enum(["Enum", "Boolean", "String", "Number",
5802
5808
  var PropertyDefinitionBase2 = z201.object({
5803
5809
  key: z201.string(),
5804
5810
  title: z201.string(),
5811
+ description: z201.string(),
5812
+ category: z201.string().optional(),
5813
+ dependsOn: z201.record(z201.boolean()).optional()
5814
+ });
5815
+ var DTOExporterPropertyDefinitionEnumOption = z201.object({
5816
+ label: z201.string(),
5805
5817
  description: z201.string()
5806
5818
  });
5807
5819
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
5808
5820
  type: z201.literal(DTOExporterPropertyType.Enum.Enum),
5809
- options: z201.string().array(),
5821
+ options: z201.record(DTOExporterPropertyDefinitionEnumOption),
5810
5822
  default: z201.string()
5811
5823
  });
5812
5824
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
@@ -7006,9 +7018,17 @@ var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
7006
7018
  */
7007
7019
  brandPersistentId: z243.string()
7008
7020
  });
7021
+ var DTOFigmaNodeRerenderInput = z243.object({
7022
+ inputType: z243.literal("Rerender"),
7023
+ /**
7024
+ * Persistent ID of an existing Figma node
7025
+ */
7026
+ figmaNodePersistentId: z243.string()
7027
+ });
7009
7028
  var DTOFigmaNodeRenderInput = z243.discriminatedUnion("inputType", [
7010
7029
  DTOFigmaNodeRenderIdInput,
7011
- DTOFigmaNodeRenderUrlInput
7030
+ DTOFigmaNodeRenderUrlInput,
7031
+ DTOFigmaNodeRerenderInput
7012
7032
  ]);
7013
7033
 
7014
7034
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
@@ -7065,7 +7085,7 @@ var DTOFigmaNodeRenderAsyncActionOutput = z246.object({
7065
7085
  });
7066
7086
  var DTOFigmaNodeRenderActionInput = z246.object({
7067
7087
  type: z246.literal("FigmaNodeRender"),
7068
- input: DTOFigmaNodeRenderInput.array()
7088
+ input: DTOFigmaNodeRenderIdInput.array()
7069
7089
  });
7070
7090
  var DTOFigmaNodeRenderAsyncActionInput = z246.object({
7071
7091
  type: z246.literal("FigmaNodeRenderAsync"),
@@ -13347,6 +13367,7 @@ export {
13347
13367
  DTOExporterPropertyDefinitionArray,
13348
13368
  DTOExporterPropertyDefinitionBoolean,
13349
13369
  DTOExporterPropertyDefinitionEnum,
13370
+ DTOExporterPropertyDefinitionEnumOption,
13350
13371
  DTOExporterPropertyDefinitionNumber,
13351
13372
  DTOExporterPropertyDefinitionObject,
13352
13373
  DTOExporterPropertyDefinitionString,
@@ -13371,7 +13392,10 @@ export {
13371
13392
  DTOFigmaNodeRenderAsyncActionInput,
13372
13393
  DTOFigmaNodeRenderAsyncActionOutput,
13373
13394
  DTOFigmaNodeRenderFormat,
13395
+ DTOFigmaNodeRenderIdInput,
13374
13396
  DTOFigmaNodeRenderInput,
13397
+ DTOFigmaNodeRenderUrlInput,
13398
+ DTOFigmaNodeRerenderInput,
13375
13399
  DTOFigmaNodeV2,
13376
13400
  DTOFrameNodeStructure,
13377
13401
  DTOFrameNodeStructureListResponse,