@supernova-studio/model 0.59.18 → 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 -45
- package/dist/index.d.ts +39 -45
- package/dist/index.js +10 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -13
- 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/src/liveblocks/rooms/documentation-page-room.ts +0 -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
|
});
|
|
@@ -5088,9 +5088,7 @@ var RestoredDocumentationPage = z152.object({
|
|
|
5088
5088
|
page: DocumentationPageV2,
|
|
5089
5089
|
pageParent: ElementGroup,
|
|
5090
5090
|
pageContent: DocumentationPageContentData,
|
|
5091
|
-
contentHash: z152.string()
|
|
5092
|
-
snapshotId: z152.string(),
|
|
5093
|
-
roomId: z152.string().optional()
|
|
5091
|
+
contentHash: z152.string()
|
|
5094
5092
|
});
|
|
5095
5093
|
var RestoredDocumentationGroup = z152.object({
|
|
5096
5094
|
group: ElementGroup,
|
|
@@ -5378,8 +5376,8 @@ var ExportJobContext = z167.object({
|
|
|
5378
5376
|
});
|
|
5379
5377
|
var ExportJobExporterConfiguration = z167.object({
|
|
5380
5378
|
exporterPackageUrl: z167.string(),
|
|
5381
|
-
exporterPropertyValues:
|
|
5382
|
-
|
|
5379
|
+
exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
|
|
5380
|
+
exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
|
|
5383
5381
|
});
|
|
5384
5382
|
|
|
5385
5383
|
// src/export/export-runner/exporter-payload.ts
|
|
@@ -5450,7 +5448,7 @@ var ExportJob = z169.object({
|
|
|
5450
5448
|
status: ExportJobStatus,
|
|
5451
5449
|
result: ExportJobResult.optional(),
|
|
5452
5450
|
createdByUserId: z169.string().optional(),
|
|
5453
|
-
|
|
5451
|
+
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
5454
5452
|
// Destinations
|
|
5455
5453
|
...ExportDestinationsMap.shape
|
|
5456
5454
|
});
|
|
@@ -5835,6 +5833,7 @@ export {
|
|
|
5835
5833
|
ExportJobS3DestinationResult,
|
|
5836
5834
|
ExportJobStatus,
|
|
5837
5835
|
Exporter,
|
|
5836
|
+
ExporterConfigurationPropertyValue,
|
|
5838
5837
|
ExporterDestinationAzure,
|
|
5839
5838
|
ExporterDestinationBitbucket,
|
|
5840
5839
|
ExporterDestinationDocs,
|
|
@@ -5851,11 +5850,10 @@ export {
|
|
|
5851
5850
|
ExporterPropertyDefinitionNumber,
|
|
5852
5851
|
ExporterPropertyDefinitionObject,
|
|
5853
5852
|
ExporterPropertyDefinitionString,
|
|
5854
|
-
ExporterPropertyDefinitionValue,
|
|
5855
|
-
ExporterPropertyDefinitionValueMap,
|
|
5856
5853
|
ExporterPropertyImageValue,
|
|
5857
5854
|
ExporterPropertyType,
|
|
5858
5855
|
ExporterPropertyValue,
|
|
5856
|
+
ExporterPropertyValueMap,
|
|
5859
5857
|
ExporterPropertyValuesCollection,
|
|
5860
5858
|
ExporterPulsarDetails,
|
|
5861
5859
|
ExporterSource,
|