@supernova-studio/model 0.48.30 → 0.48.32

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.30",
3
+ "version": "0.48.32",
4
4
  "description": "Supernova Data Models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -5,4 +5,5 @@ export * from "./page-anchor";
5
5
  export * from "./page-content-backup";
6
6
  export * from "./page-content";
7
7
  export * from "./page";
8
+ export * from "./settings";
8
9
  export * from "./thread";
@@ -0,0 +1,18 @@
1
+ import { z } from "zod";
2
+
3
+ export const DocumentationSettings = z.object({
4
+ // Basic
5
+ designSystemVersionId: z.string(),
6
+ createdAt: z.coerce.date(),
7
+ updatedAt: z.coerce.date(),
8
+
9
+ // Configuration
10
+ isTabbedLayoutEnabled: z.boolean(),
11
+ storybookEmbedErrorMessage: z.string().optional(),
12
+ renderCodePackageJson: z.string().optional(),
13
+ selectedBrandPersistentId: z.string().optional(),
14
+ serveDefaultVersionOnly: z.boolean(),
15
+ isPublic: z.boolean(),
16
+ });
17
+
18
+ export type DocumentationSettings = z.infer<typeof DocumentationSettings>;