x-runtime-lib 0.8.84 → 0.8.85
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/types/element.d.ts +8 -15
- package/package.json +1 -1
package/dist/types/element.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { Type } from './basic';
|
|
2
2
|
import { Node } from './data';
|
|
3
|
+
export type ZField = {
|
|
4
|
+
key: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: Type;
|
|
7
|
+
};
|
|
3
8
|
export type ZItem = {
|
|
4
9
|
title: string;
|
|
5
10
|
value: string;
|
|
@@ -148,25 +153,13 @@ export type ZProperty = ({
|
|
|
148
153
|
export type ZEvent = {
|
|
149
154
|
key: string;
|
|
150
155
|
name: string;
|
|
151
|
-
params?:
|
|
152
|
-
key: string;
|
|
153
|
-
name: string;
|
|
154
|
-
type: Type;
|
|
155
|
-
}[];
|
|
156
|
+
params?: ZField[];
|
|
156
157
|
};
|
|
157
158
|
export type ZMethod = {
|
|
158
159
|
key: string;
|
|
159
160
|
name: string;
|
|
160
|
-
inputs?:
|
|
161
|
-
|
|
162
|
-
name: string;
|
|
163
|
-
type: Type;
|
|
164
|
-
}[];
|
|
165
|
-
outputs?: {
|
|
166
|
-
key: string;
|
|
167
|
-
name: string;
|
|
168
|
-
type: Type;
|
|
169
|
-
}[];
|
|
161
|
+
inputs?: ZField[];
|
|
162
|
+
outputs?: ZField[];
|
|
170
163
|
};
|
|
171
164
|
export type ZSlot = {
|
|
172
165
|
key: string;
|