@supernova-studio/model 0.48.6 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/model",
3
- "version": "0.48.6",
3
+ "version": "0.48.7",
4
4
  "description": "Supernova Data Models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -5,8 +5,14 @@ import { nullishToOptional } from "../helpers";
5
5
  const BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
6
6
  const BITBUCKET_MAX_LENGTH = 64;
7
7
 
8
+ export const ExportJobDocumentationChanges = z.object({
9
+ pagePersistentIds: z.string().array(),
10
+ groupPersistentIds: z.string().array(),
11
+ });
12
+
8
13
  export const ExporterDestinationDocs = z.object({
9
14
  environment: PublishedDocEnvironment,
15
+ changes: nullishToOptional(ExportJobDocumentationChanges),
10
16
  });
11
17
 
12
18
  export const ExporterDestinationS3 = z.object({});
@@ -91,6 +97,7 @@ export const ExportDestinationsMap = z.object({
91
97
  destinationBitbucket: ExporterDestinationBitbucket.optional(),
92
98
  });
93
99
 
100
+ export type ExportJobDocumentationChanges = z.infer<typeof ExportJobDocumentationChanges>;
94
101
  export type ExporterDestinationDocs = z.infer<typeof ExporterDestinationDocs>;
95
102
  export type ExporterDestinationS3 = z.infer<typeof ExporterDestinationS3>;
96
103
  export type ExporterDestinationGithub = z.infer<typeof ExporterDestinationGithub>;