@supernova-studio/model 0.59.19 → 0.59.20
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 +39 -39
- package/dist/index.d.ts +39 -39
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/exporter-property-values-collection.ts +3 -3
- package/src/export/export-configuration.ts +5 -4
- package/src/export/export-jobs.ts +2 -2
- package/src/export/export-runner/export-context.ts +4 -4
- package/src/export/pipeline.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -356,7 +356,7 @@ import { z as z17 } from "zod";
|
|
|
356
356
|
var PrimitiveValue = z17.number().or(z17.boolean()).or(z17.string());
|
|
357
357
|
var ArrayValue = z17.array(z17.string());
|
|
358
358
|
var ObjectValue = z17.record(z17.string());
|
|
359
|
-
var
|
|
359
|
+
var ExporterPropertyValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
|
|
360
360
|
var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
|
|
361
361
|
var PropertyDefinitionBase = z17.object({
|
|
362
362
|
key: z17.string(),
|
|
@@ -409,7 +409,7 @@ var ExporterPropertyDefinition = z17.discriminatedUnion("type", [
|
|
|
409
409
|
ExporterPropertyDefinitionArray,
|
|
410
410
|
ExporterPropertyDefinitionObject
|
|
411
411
|
]);
|
|
412
|
-
var
|
|
412
|
+
var ExporterPropertyValueMap = z17.record(ExporterPropertyValue);
|
|
413
413
|
|
|
414
414
|
// src/export/exporter.ts
|
|
415
415
|
var ExporterType = z18.enum(["code", "documentation"]);
|
|
@@ -4788,7 +4788,7 @@ var ExporterPropertyImageValue = z143.object({
|
|
|
4788
4788
|
assetId: z143.string().optional(),
|
|
4789
4789
|
assetUrl: z143.string().optional()
|
|
4790
4790
|
});
|
|
4791
|
-
var
|
|
4791
|
+
var ExporterConfigurationPropertyValue = z143.object({
|
|
4792
4792
|
key: z143.string(),
|
|
4793
4793
|
value: z143.union([
|
|
4794
4794
|
z143.number(),
|
|
@@ -4803,7 +4803,7 @@ var ExporterPropertyValuesCollection = z143.object({
|
|
|
4803
4803
|
id: z143.string(),
|
|
4804
4804
|
designSystemId: z143.string(),
|
|
4805
4805
|
exporterId: z143.string(),
|
|
4806
|
-
values: z143.array(
|
|
4806
|
+
values: z143.array(ExporterConfigurationPropertyValue)
|
|
4807
4807
|
});
|
|
4808
4808
|
|
|
4809
4809
|
// src/dsm/published-doc-page-visits.ts
|
|
@@ -5004,7 +5004,7 @@ var Pipeline = z149.object({
|
|
|
5004
5004
|
brandPersistentId: z149.string().optional(),
|
|
5005
5005
|
themePersistentId: z149.string().optional(),
|
|
5006
5006
|
themePersistentIds: z149.string().array().optional(),
|
|
5007
|
-
|
|
5007
|
+
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
5008
5008
|
// Destinations
|
|
5009
5009
|
...ExportDestinationsMap.shape
|
|
5010
5010
|
});
|
|
@@ -5376,8 +5376,8 @@ var ExportJobContext = z167.object({
|
|
|
5376
5376
|
});
|
|
5377
5377
|
var ExportJobExporterConfiguration = z167.object({
|
|
5378
5378
|
exporterPackageUrl: z167.string(),
|
|
5379
|
-
exporterPropertyValues:
|
|
5380
|
-
|
|
5379
|
+
exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
|
|
5380
|
+
exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
|
|
5381
5381
|
});
|
|
5382
5382
|
|
|
5383
5383
|
// src/export/export-runner/exporter-payload.ts
|
|
@@ -5448,7 +5448,7 @@ var ExportJob = z169.object({
|
|
|
5448
5448
|
status: ExportJobStatus,
|
|
5449
5449
|
result: ExportJobResult.optional(),
|
|
5450
5450
|
createdByUserId: z169.string().optional(),
|
|
5451
|
-
|
|
5451
|
+
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
5452
5452
|
// Destinations
|
|
5453
5453
|
...ExportDestinationsMap.shape
|
|
5454
5454
|
});
|
|
@@ -5833,6 +5833,7 @@ export {
|
|
|
5833
5833
|
ExportJobS3DestinationResult,
|
|
5834
5834
|
ExportJobStatus,
|
|
5835
5835
|
Exporter,
|
|
5836
|
+
ExporterConfigurationPropertyValue,
|
|
5836
5837
|
ExporterDestinationAzure,
|
|
5837
5838
|
ExporterDestinationBitbucket,
|
|
5838
5839
|
ExporterDestinationDocs,
|
|
@@ -5849,11 +5850,10 @@ export {
|
|
|
5849
5850
|
ExporterPropertyDefinitionNumber,
|
|
5850
5851
|
ExporterPropertyDefinitionObject,
|
|
5851
5852
|
ExporterPropertyDefinitionString,
|
|
5852
|
-
ExporterPropertyDefinitionValue,
|
|
5853
|
-
ExporterPropertyDefinitionValueMap,
|
|
5854
5853
|
ExporterPropertyImageValue,
|
|
5855
5854
|
ExporterPropertyType,
|
|
5856
5855
|
ExporterPropertyValue,
|
|
5856
|
+
ExporterPropertyValueMap,
|
|
5857
5857
|
ExporterPropertyValuesCollection,
|
|
5858
5858
|
ExporterPulsarDetails,
|
|
5859
5859
|
ExporterSource,
|