@supernova-studio/client 0.58.26 → 0.58.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/client",
3
- "version": "0.58.26",
3
+ "version": "0.58.27",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -24,6 +24,8 @@ const PropertyDefinitionBase = z.object({
24
24
  description: z.string(),
25
25
  });
26
26
 
27
+ export type DTOPropertyDefinitionBase = z.infer<typeof PropertyDefinitionBase>;
28
+
27
29
  export const DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase.extend({
28
30
  type: z.literal(DTOExporterPropertyType.Enum.Enum),
29
31
  options: z.string().array(),
@@ -56,11 +58,12 @@ export const DTOExporterPropertyDefinitionObject = PropertyDefinitionBase.extend
56
58
  allowedKeys: z
57
59
  .object({
58
60
  options: z.string().array(),
61
+ type: z.string(),
59
62
  })
60
63
  .optional(),
61
64
  allowedValues: z
62
65
  .object({
63
- options: z.string().array(),
66
+ type: z.string(),
64
67
  })
65
68
  .optional(),
66
69
  });
@@ -71,7 +71,7 @@ export const DTOExportJob = z.object({
71
71
  themePersistentId: z.string().optional(),
72
72
  themePersistentIds: z.string().array().optional(),
73
73
 
74
- exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
74
+ exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
75
75
  });
76
76
 
77
77
  export const DTOExportJobResponse = z.object({
@@ -22,7 +22,7 @@ export const DTOPipeline = z.object({
22
22
  themePersistentId: z.string().optional(),
23
23
  themePersistentIds: z.string().array().optional(),
24
24
 
25
- exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
25
+ exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
26
26
 
27
27
  ...ExportDestinationsMap.shape,
28
28
 
@@ -22,7 +22,7 @@ export const DTOPipelineCreateBody = z.object({
22
22
  themePersistentId: z.string().optional(),
23
23
  themePersistentIds: z.string().array().optional(),
24
24
 
25
- exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
25
+ exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
26
26
 
27
27
  destination: PipelineDestinationType.optional(),
28
28
  gitQuery: GitObjectsQuery,