@supernova-studio/model 0.52.12 → 0.52.13

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.52.12",
3
+ "version": "0.52.13",
4
4
  "description": "Supernova Data Models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -49,7 +49,15 @@ export const PageBlockDefinitionRichTextPropertyStyle = z.enum([
49
49
 
50
50
  export const PageBlockDefinitionMultiRichTextPropertyStyle = z.enum(["OL", "UL", "Default"]);
51
51
 
52
- export const PageBlockDefinitionRichTextEditorPropertyStyle = z.enum(["OL", "UL", "Bold","Italic","Link","Strikethrough", "InlineCode"]);
52
+ export const PageBlockDefinitionRichTextEditorPropertyStyle = z.enum([
53
+ "OL",
54
+ "UL",
55
+ "Bold",
56
+ "Italic",
57
+ "Link",
58
+ "Strikethrough",
59
+ "InlineCode",
60
+ ]);
53
61
 
54
62
  export const PageBlockDefinitionTextPropertyStyle = z.enum([
55
63
  "Title1",
@@ -91,11 +99,7 @@ export const PageBlockDefinitionSingleSelectPropertyColor = z.enum([
91
99
  "Fuchsia",
92
100
  ]);
93
101
 
94
- export const IconSet = z.enum([
95
- "CheckCircle",
96
- "CrossCircle",
97
- "Alert",
98
- ]);
102
+ export const IconSet = z.enum(["CheckCircle", "CrossCircle", "Alert"]);
99
103
 
100
104
  export const PageBlockDefinitionMultiSelectPropertyStyle = z.enum(["SegmentedControl", "Select", "Checkbox"]);
101
105
 
@@ -5,7 +5,7 @@ import { OmitStrict } from "../utils";
5
5
  export const DesignSystemVersion = z.object({
6
6
  id: z.string(),
7
7
  version: z.string(),
8
- createdAt: z.date(),
8
+ createdAt: z.coerce.date(),
9
9
  designSystemId: z.string(),
10
10
  name: z.string(),
11
11
  comment: z.string(),