x-runtime-lib 0.6.28 → 0.6.30

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.
@@ -1,9 +1,10 @@
1
1
  export type ZItem = {
2
2
  title: string;
3
- value: undefined | string;
3
+ value: string;
4
4
  };
5
5
  type ZTypeBase = {
6
- name: string;
6
+ title: string;
7
+ value: string;
7
8
  validator: (v: any) => boolean;
8
9
  };
9
10
  type ZTypeUndefined = {
@@ -183,9 +184,15 @@ export type ZGroup = {
183
184
  };
184
185
  export type ZPkg = {
185
186
  version: string;
186
- elements: Set<string>;
187
187
  globalityKey: string;
188
188
  refKey: string;
189
+ items: {
190
+ [key: string]: ZItem[];
191
+ };
192
+ types: {
193
+ [key: string]: ZType[];
194
+ };
195
+ elements: Set<string>;
189
196
  groups: ZGroup[];
190
197
  };
191
198
  export type ZPkgs = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.6.28",
4
+ "version": "0.6.30",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",