@supernova-studio/client 1.0.0 → 1.0.2
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 +1248 -806
- package/dist/index.d.ts +1248 -806
- package/dist/index.js +22 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -483,7 +483,7 @@ var PulsarCustomBlock = z16.object({
|
|
|
483
483
|
var PrimitiveValue = z17.number().or(z17.boolean()).or(z17.string());
|
|
484
484
|
var ArrayValue = z17.array(z17.string());
|
|
485
485
|
var ObjectValue = z17.record(z17.string());
|
|
486
|
-
var
|
|
486
|
+
var ExporterPropertyValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
|
|
487
487
|
var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
|
|
488
488
|
var PropertyDefinitionBase = z17.object({
|
|
489
489
|
key: z17.string(),
|
|
@@ -536,7 +536,7 @@ var ExporterPropertyDefinition = z17.discriminatedUnion("type", [
|
|
|
536
536
|
ExporterPropertyDefinitionArray,
|
|
537
537
|
ExporterPropertyDefinitionObject
|
|
538
538
|
]);
|
|
539
|
-
var
|
|
539
|
+
var ExporterPropertyValueMap = z17.record(ExporterPropertyValue);
|
|
540
540
|
var ExporterType = z18.enum(["code", "documentation"]);
|
|
541
541
|
var ExporterSource = z18.enum(["git", "upload"]);
|
|
542
542
|
var ExporterTag = z18.string();
|
|
@@ -4173,7 +4173,7 @@ var ExporterPropertyImageValue = z143.object({
|
|
|
4173
4173
|
assetId: z143.string().optional(),
|
|
4174
4174
|
assetUrl: z143.string().optional()
|
|
4175
4175
|
});
|
|
4176
|
-
var
|
|
4176
|
+
var ExporterConfigurationPropertyValue = z143.object({
|
|
4177
4177
|
key: z143.string(),
|
|
4178
4178
|
value: z143.union([
|
|
4179
4179
|
z143.number(),
|
|
@@ -4188,7 +4188,7 @@ var ExporterPropertyValuesCollection = z143.object({
|
|
|
4188
4188
|
id: z143.string(),
|
|
4189
4189
|
designSystemId: z143.string(),
|
|
4190
4190
|
exporterId: z143.string(),
|
|
4191
|
-
values: z143.array(
|
|
4191
|
+
values: z143.array(ExporterConfigurationPropertyValue)
|
|
4192
4192
|
});
|
|
4193
4193
|
var PublishedDocPageVisitsEntry = z144.object({
|
|
4194
4194
|
id: z144.string(),
|
|
@@ -4367,7 +4367,7 @@ var Pipeline = z149.object({
|
|
|
4367
4367
|
brandPersistentId: z149.string().optional(),
|
|
4368
4368
|
themePersistentId: z149.string().optional(),
|
|
4369
4369
|
themePersistentIds: z149.string().array().optional(),
|
|
4370
|
-
exporterPropertyValues:
|
|
4370
|
+
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
4371
4371
|
// Destinations
|
|
4372
4372
|
...ExportDestinationsMap.shape
|
|
4373
4373
|
});
|
|
@@ -4676,8 +4676,8 @@ var ExportJobContext = z167.object({
|
|
|
4676
4676
|
});
|
|
4677
4677
|
var ExportJobExporterConfiguration = z167.object({
|
|
4678
4678
|
exporterPackageUrl: z167.string(),
|
|
4679
|
-
exporterPropertyValues:
|
|
4680
|
-
|
|
4679
|
+
exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
|
|
4680
|
+
exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
|
|
4681
4681
|
});
|
|
4682
4682
|
var ExporterFunctionPayload = z168.object({
|
|
4683
4683
|
exportJobId: z168.string(),
|
|
@@ -4742,7 +4742,7 @@ var ExportJob = z169.object({
|
|
|
4742
4742
|
status: ExportJobStatus,
|
|
4743
4743
|
result: ExportJobResult.optional(),
|
|
4744
4744
|
createdByUserId: z169.string().optional(),
|
|
4745
|
-
exporterPropertyValues:
|
|
4745
|
+
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
4746
4746
|
// Destinations
|
|
4747
4747
|
...ExportDestinationsMap.shape
|
|
4748
4748
|
});
|
|
@@ -5956,7 +5956,7 @@ var DTOPipelineCreateBody = z205.object({
|
|
|
5956
5956
|
brandPersistentId: z205.string().optional(),
|
|
5957
5957
|
themePersistentId: z205.string().optional(),
|
|
5958
5958
|
themePersistentIds: z205.string().array().optional(),
|
|
5959
|
-
|
|
5959
|
+
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
5960
5960
|
destination: PipelineDestinationType.optional(),
|
|
5961
5961
|
gitQuery: GitObjectsQuery,
|
|
5962
5962
|
destinations: z205.object({
|
|
@@ -5977,7 +5977,7 @@ var DTOPipelineUpdateBody = z205.object({
|
|
|
5977
5977
|
brandPersistentId: z205.string().optional(),
|
|
5978
5978
|
themePersistentId: z205.string().optional(),
|
|
5979
5979
|
themePersistentIds: z205.string().array().optional(),
|
|
5980
|
-
|
|
5980
|
+
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
5981
5981
|
destination: PipelineDestinationType.optional(),
|
|
5982
5982
|
gitQuery: GitObjectsQuery.optional(),
|
|
5983
5983
|
destinations: z205.object({
|
|
@@ -6672,6 +6672,16 @@ var DTOExportJobResponseLegacy = z231.object({
|
|
|
6672
6672
|
status: ExportJobStatus
|
|
6673
6673
|
})
|
|
6674
6674
|
});
|
|
6675
|
+
var DTOExportJobCreateInput = z231.object({
|
|
6676
|
+
designSystemId: z231.string(),
|
|
6677
|
+
designSystemVersionId: z231.string(),
|
|
6678
|
+
exporterId: z231.string(),
|
|
6679
|
+
brandId: z231.string().optional(),
|
|
6680
|
+
themeId: z231.string().optional(),
|
|
6681
|
+
themePersistentIds: z231.string().array().optional(),
|
|
6682
|
+
destinations: DTOExportJobDestinations,
|
|
6683
|
+
exporterPropertyValues: DTOExporterPropertyValueMap.optional()
|
|
6684
|
+
});
|
|
6675
6685
|
|
|
6676
6686
|
// src/api/dto/export/pipeline.ts
|
|
6677
6687
|
import { z as z232 } from "zod";
|
|
@@ -14120,6 +14130,7 @@ export {
|
|
|
14120
14130
|
DTOEventDataSourcesImported,
|
|
14121
14131
|
DTOEventFigmaNodesRendered,
|
|
14122
14132
|
DTOExportJob,
|
|
14133
|
+
DTOExportJobCreateInput,
|
|
14123
14134
|
DTOExportJobCreatedBy,
|
|
14124
14135
|
DTOExportJobDesignSystemPreview,
|
|
14125
14136
|
DTOExportJobDesignSystemVersionPreview,
|