@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/dist/index.d.mts +255 -1
- package/dist/index.d.ts +255 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/export/export-destinations.ts +7 -0
package/package.json
CHANGED
|
@@ -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>;
|