@weaverse/core 0.6.23 → 0.6.24

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -70,6 +70,7 @@ interface ElementCatalog {
70
70
  name: string;
71
71
  icon?: string;
72
72
  group?: CatalogGroup;
73
+ data?: ElementData[];
73
74
  }
74
75
  declare type FlagType = "draggable" | "resizable" | "sortable" | "droppable";
75
76
  declare type ElementFlags = Partial<Record<FlagType, boolean>>;
@@ -90,7 +91,7 @@ interface ElementSchema {
90
91
  gridSize?: GridSize;
91
92
  inspector?: ElementInspector;
92
93
  toolbar?: (ToolbarAction | ToolbarAction[])[];
93
- subElements?: ChildElement[];
94
+ childElements?: ChildElement[];
94
95
  catalog?: ElementCatalog;
95
96
  flags?: ElementFlags;
96
97
  }
@@ -135,7 +136,7 @@ interface BasicInput {
135
136
  }[];
136
137
  conditions?: TODO[];
137
138
  }
138
- declare type InputType = "select" | "radio" | "range" | "button" | "image" | "color" | "input" | "switch" | "textarea";
139
+ declare type InputType = "select" | "radio" | "range" | "button" | "image" | "color" | "text" | "switch" | "textarea";
139
140
  declare global {
140
141
  interface Window {
141
142
  WeaverseStudioBridge: TODO;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.6.23",
2
+ "version": "0.6.24",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",