@supernova-studio/client 0.58.26 → 0.59.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 +161 -102
- package/dist/index.d.ts +161 -102
- package/dist/index.js +82 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2934 -2874
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/export/exporter-property.ts +4 -1
- package/src/api/dto/export/job.ts +1 -1
- package/src/api/dto/export/pipeline.ts +1 -1
- package/src/api/payloads/export/pipeline.ts +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
25
|
+
exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
|
|
26
26
|
|
|
27
27
|
destination: PipelineDestinationType.optional(),
|
|
28
28
|
gitQuery: GitObjectsQuery,
|