@supernova-studio/model 0.58.0 → 0.58.2

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.58.0",
3
+ "version": "0.58.2",
4
4
  "description": "Supernova Data Models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,10 +40,13 @@ export type ColorTokenInlineData = z.infer<typeof ColorTokenInlineData>;
40
40
  export type ElementPropertyDefinitionOption = z.infer<typeof ElementPropertyDefinitionOption>;
41
41
  export type ElementPropertyDefinition = z.infer<typeof ElementPropertyDefinition>;
42
42
 
43
- export type CreateElementPropertyDefinition = DbCreateInputOmit<ElementPropertyDefinition>;
43
+ export type CreateElementPropertyDefinition = DbCreateInputOmit<ElementPropertyDefinition> & {
44
+ columnWidth?: number;
45
+ };
46
+
44
47
  export type UpdateElementPropertyDefinition = OmitStrict<
45
48
  DbUpdate<ElementPropertyDefinition>,
46
- "designSystemVersionId" | "targetElementType" | "type"
49
+ "designSystemVersionId" | "targetElementType" | "type" | "linkElementType"
47
50
  >;
48
51
 
49
52
  export type ElementPropertyDefinitionDiff = {