x-runtime-lib 0.5.30 → 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 +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/meta.d.ts +11 -5
- package/package.json +1 -1
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,
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/meta.d.ts
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export type
|
|
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:
|
|
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:
|
|
16
|
+
arguments: Argument[];
|
|
11
17
|
};
|
|
12
18
|
export type Property = {
|
|
13
19
|
id: string;
|
|
14
20
|
name: string;
|
|
15
|
-
type:
|
|
21
|
+
type: FieldType;
|
|
16
22
|
desc: string;
|
|
17
23
|
};
|
|
18
24
|
export type Method = {
|