x-runtime-lib 0.5.31 → 0.5.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/dist/index.js CHANGED
@@ -6779,10 +6779,12 @@ const Uc = (n, o, l) => {
6779
6779
  async function Qc(n) {
6780
6780
  return (await Uc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-ell9fdk3.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-eeguv06v.js") }), `./locales/${n}/index.ts`, 4)).default;
6781
6781
  }
6782
+ const ef = ["string", "number", "boolean", "list", "object"];
6782
6783
  export {
6783
6784
  Tl as duplicateNode,
6784
6785
  zc as duplicateNodes,
6785
6786
  Ne as elements,
6787
+ ef as fieldTypes,
6786
6788
  ui as genId,
6787
6789
  Yc as getNode,
6788
6790
  Bn as getPropDefault,
@@ -2,3 +2,4 @@ export * from './component';
2
2
  export * from './data';
3
3
  export * from './element';
4
4
  export * from './interpreter';
5
+ export * from './meta';
@@ -1,18 +1,24 @@
1
- export declare const types: readonly ["string", "number", "boolean", "list", "object"];
2
- export type Type = (typeof types)[number];
1
+ export declare const fieldTypes: readonly ["string", "number", "boolean", "list", "object"];
2
+ export type FieldType = (typeof fieldTypes)[number];
3
3
  export type Field = {
4
4
  id: string;
5
5
  name: string;
6
- type: Type;
6
+ type: FieldType;
7
+ desc: string;
8
+ };
9
+ export type Argument = {
10
+ id: string;
11
+ name: string;
12
+ type: FieldType;
7
13
  desc: string;
8
14
  };
9
15
  export type PageMeta = {
10
- arguments: Field[];
16
+ arguments: Argument[];
11
17
  };
12
18
  export type Property = {
13
19
  id: string;
14
20
  name: string;
15
- type: Type;
21
+ type: FieldType;
16
22
  desc: string;
17
23
  };
18
24
  export type Method = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.5.31",
4
+ "version": "0.5.32",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",