@supernova-studio/client 0.59.5 → 0.59.7

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({
@@ -13355,6 +13367,7 @@ export {
13355
13367
  DTOExporterPropertyDefinitionArray,
13356
13368
  DTOExporterPropertyDefinitionBoolean,
13357
13369
  DTOExporterPropertyDefinitionEnum,
13370
+ DTOExporterPropertyDefinitionEnumOption,
13358
13371
  DTOExporterPropertyDefinitionNumber,
13359
13372
  DTOExporterPropertyDefinitionObject,
13360
13373
  DTOExporterPropertyDefinitionString,