@supernova-studio/client 0.48.5 → 0.48.7
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 +316 -1
- package/dist/index.d.ts +316 -1
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/documentation/publish.ts +5 -7
package/dist/index.mjs
CHANGED
|
@@ -2757,8 +2757,13 @@ var VersionCreationJob = z119.object({
|
|
|
2757
2757
|
});
|
|
2758
2758
|
var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
|
|
2759
2759
|
var BITBUCKET_MAX_LENGTH = 64;
|
|
2760
|
+
var ExportJobDocumentationChanges = z120.object({
|
|
2761
|
+
pagePersistentIds: z120.string().array(),
|
|
2762
|
+
groupPersistentIds: z120.string().array()
|
|
2763
|
+
});
|
|
2760
2764
|
var ExporterDestinationDocs = z120.object({
|
|
2761
|
-
environment: PublishedDocEnvironment
|
|
2765
|
+
environment: PublishedDocEnvironment,
|
|
2766
|
+
changes: nullishToOptional(ExportJobDocumentationChanges)
|
|
2762
2767
|
});
|
|
2763
2768
|
var ExporterDestinationS3 = z120.object({});
|
|
2764
2769
|
var ExporterDestinationGithub = z120.object({
|
|
@@ -2861,6 +2866,8 @@ var DesignSystemVersionRoomInternalSettings = z123.object({
|
|
|
2861
2866
|
var DesignSystemVersionRoomInitialState = z123.object({
|
|
2862
2867
|
pages: z123.array(DocumentationPageV2),
|
|
2863
2868
|
groups: z123.array(ElementGroup),
|
|
2869
|
+
pageSnapshots: z123.array(DocumentationPageSnapshot),
|
|
2870
|
+
groupSnapshots: z123.array(ElementGroupSnapshot),
|
|
2864
2871
|
internalSettings: DesignSystemVersionRoomInternalSettings
|
|
2865
2872
|
});
|
|
2866
2873
|
var DesignSystemVersionRoomUpdate = z123.object({
|
|
@@ -5261,16 +5268,14 @@ var DTOPipeline = z189.object({
|
|
|
5261
5268
|
});
|
|
5262
5269
|
|
|
5263
5270
|
// src/api/dto/documentation/publish.ts
|
|
5271
|
+
var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
|
|
5264
5272
|
var DTOPublishDocumentationRequest = z190.object({
|
|
5265
5273
|
environment: PublishedDocEnvironment,
|
|
5266
5274
|
/**
|
|
5267
5275
|
* If defined, this allows narrowing down what is published to a set of specific pages and groups
|
|
5268
5276
|
* If undefined, everything will be published.
|
|
5269
5277
|
*/
|
|
5270
|
-
changes:
|
|
5271
|
-
pagePersistentIds: z190.string().array(),
|
|
5272
|
-
groupPersistentIds: z190.string().array()
|
|
5273
|
-
}).optional()
|
|
5278
|
+
changes: DTOPublishDocumentationChanges.optional()
|
|
5274
5279
|
});
|
|
5275
5280
|
var DTOPublishDocumentationResponse = z190.object({
|
|
5276
5281
|
job: DTOExportJob
|
|
@@ -10925,6 +10930,7 @@ export {
|
|
|
10925
10930
|
DTOPropertyDefinitionDeleteActionOutputV2,
|
|
10926
10931
|
DTOPropertyDefinitionUpdateActionInputV2,
|
|
10927
10932
|
DTOPropertyDefinitionUpdateActionOutputV2,
|
|
10933
|
+
DTOPublishDocumentationChanges,
|
|
10928
10934
|
DTOPublishDocumentationRequest,
|
|
10929
10935
|
DTOPublishDocumentationResponse,
|
|
10930
10936
|
DTORenderedAssetFile,
|