@ningboyz/types 1.0.34 → 1.0.36
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/package.json +1 -1
- package/readme.md +1 -0
- package/src/elem/IElemElemResponse.ts +88 -0
- package/src/elem/index.ts +7 -0
- package/src/wtui/IWtuiNodeResponse.ts +53 -49
- package/src/wtui/IWtuiRootResponse.ts +41 -36
package/package.json
CHANGED
package/readme.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
### @ningboyz/types
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export interface IElemElemResponse {
|
|
2
|
+
whoBuild: number;//#PK
|
|
3
|
+
userIndx: number;//#PK
|
|
4
|
+
elemIndx: number;//#PK
|
|
5
|
+
sourceND: number;//#PK
|
|
6
|
+
sysElemc: number;
|
|
7
|
+
|
|
8
|
+
parentID: number;
|
|
9
|
+
hashCode: number;
|
|
10
|
+
dataLevl: number;
|
|
11
|
+
dataStat: number;
|
|
12
|
+
dataOrdr: number;
|
|
13
|
+
dataDate: number;
|
|
14
|
+
dataTime: number;
|
|
15
|
+
dataHide: number;
|
|
16
|
+
dataFrom: number;
|
|
17
|
+
kjndKJQJ: number;
|
|
18
|
+
dataGUID: string;
|
|
19
|
+
mastName: string;
|
|
20
|
+
mastGUID: string;
|
|
21
|
+
createBy: string;
|
|
22
|
+
createAt: number;
|
|
23
|
+
updateBy: string;
|
|
24
|
+
updateAt: number;
|
|
25
|
+
deleteBy: string;
|
|
26
|
+
deleteAt: number;
|
|
27
|
+
queuesBy: number;
|
|
28
|
+
|
|
29
|
+
entityID: string;
|
|
30
|
+
haveData: number;
|
|
31
|
+
elemCode: string;
|
|
32
|
+
elemFrom: string;
|
|
33
|
+
/** 要素名称 */
|
|
34
|
+
elemName: string;
|
|
35
|
+
elemRule: string;
|
|
36
|
+
codeDash: string;
|
|
37
|
+
nameDash: string;
|
|
38
|
+
elemUses: string;
|
|
39
|
+
mDefault: number;
|
|
40
|
+
cDefault: string;
|
|
41
|
+
nDefault: string;
|
|
42
|
+
uDefault: string;
|
|
43
|
+
userOnly: number;
|
|
44
|
+
usesType: number;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export class TElemElemResponse implements IElemElemResponse {
|
|
48
|
+
whoBuild: number = 0;
|
|
49
|
+
userIndx: number = 0;
|
|
50
|
+
elemIndx: number = 0;
|
|
51
|
+
sourceND: number = 0;
|
|
52
|
+
sysElemc: number = 0;
|
|
53
|
+
parentID: number = 0;
|
|
54
|
+
hashCode: number = 0;
|
|
55
|
+
dataLevl: number = 0;
|
|
56
|
+
dataStat: number = 0;
|
|
57
|
+
dataOrdr: number = 0;
|
|
58
|
+
dataDate: number = 0;
|
|
59
|
+
dataTime: number = 0;
|
|
60
|
+
dataHide: number = 0;
|
|
61
|
+
dataFrom: number = 0;
|
|
62
|
+
kjndKJQJ: number = 0;
|
|
63
|
+
dataGUID: string = "";
|
|
64
|
+
mastName: string = "";
|
|
65
|
+
mastGUID: string = "";
|
|
66
|
+
createBy: string = "";
|
|
67
|
+
createAt: number = 0;
|
|
68
|
+
updateBy: string = "";
|
|
69
|
+
updateAt: number = 0;
|
|
70
|
+
deleteBy: string = "";
|
|
71
|
+
deleteAt: number = 0;
|
|
72
|
+
queuesBy: number = 0;
|
|
73
|
+
entityID: string = "";
|
|
74
|
+
haveData: number = 0;
|
|
75
|
+
elemCode: string = "";
|
|
76
|
+
elemFrom: string = "";
|
|
77
|
+
elemName: string = "";
|
|
78
|
+
elemRule: string = "";
|
|
79
|
+
codeDash: string = "";
|
|
80
|
+
nameDash: string = "";
|
|
81
|
+
elemUses: string = "";
|
|
82
|
+
mDefault: number = 0;
|
|
83
|
+
cDefault: string = "";
|
|
84
|
+
nDefault: string = "";
|
|
85
|
+
uDefault: string = "";
|
|
86
|
+
userOnly: number = 0;
|
|
87
|
+
usesType: number = 0;
|
|
88
|
+
}
|
|
@@ -1,71 +1,75 @@
|
|
|
1
1
|
export interface IWtuiNodeResponse {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
asClient: number;
|
|
3
|
+
asMainly: number;
|
|
4
|
+
asMobile: number;
|
|
5
|
+
createAt: number;
|
|
6
|
+
createBy: string;
|
|
7
|
+
dataDate: number;
|
|
8
|
+
dataFrom: number;
|
|
8
9
|
dataHide: number;
|
|
9
10
|
dataOrdr: number;
|
|
10
|
-
|
|
11
|
-
dataDate: number;
|
|
11
|
+
dataStat: number;
|
|
12
12
|
dataTime: number;
|
|
13
|
-
mastName: string;
|
|
14
|
-
mastGUID: string;
|
|
15
|
-
createBy: string;
|
|
16
|
-
createAt: number;
|
|
17
|
-
updateBy: string;
|
|
18
|
-
updateAt: number;
|
|
19
|
-
deleteBy: string;
|
|
20
13
|
deleteAt: number;
|
|
21
|
-
|
|
14
|
+
deleteBy: string;
|
|
22
15
|
entityID: string;
|
|
23
16
|
funcCall: number;
|
|
24
|
-
onBase64: number;
|
|
25
|
-
inBase64: string;
|
|
26
|
-
nodeName: string;
|
|
27
|
-
nodePara: string; //#节点参数
|
|
28
|
-
withPara: string; //#参数约定
|
|
29
17
|
icon4URL: string;
|
|
30
|
-
view4URL: string;
|
|
31
18
|
iconName: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
19
|
+
mastGUID: string;
|
|
20
|
+
mastName: string;
|
|
21
|
+
metaData: string;
|
|
22
|
+
nodeIndx: number;
|
|
23
|
+
nodeName: string;
|
|
24
|
+
nodePara: string;
|
|
25
|
+
onBase64: number;
|
|
26
|
+
queuesBy: number;
|
|
27
|
+
rootName: string;
|
|
28
|
+
todoPara: string;
|
|
29
|
+
updateAt: number;
|
|
30
|
+
updateBy: string;
|
|
31
|
+
userIndx: number;
|
|
32
|
+
view4URL: string;
|
|
33
|
+
whoBuild: number;
|
|
34
|
+
withPara: string;
|
|
35
|
+
wtuiMain: number;
|
|
36
|
+
wtuiRoot: number;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
export class TWtuiNodeResponse implements IWtuiNodeResponse {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
asClient: number = 0;
|
|
41
|
+
asMainly: number = 0;
|
|
42
|
+
asMobile: number = 0;
|
|
43
|
+
createAt: number = 0;
|
|
44
|
+
createBy: string = "";
|
|
45
|
+
dataDate: number = 0;
|
|
46
|
+
dataFrom: number = 0;
|
|
44
47
|
dataHide: number = 0;
|
|
45
48
|
dataOrdr: number = 0;
|
|
46
|
-
|
|
47
|
-
dataDate: number = 0;
|
|
49
|
+
dataStat: number = 0;
|
|
48
50
|
dataTime: number = 0;
|
|
49
|
-
mastName: string = "";
|
|
50
|
-
mastGUID: string = "";
|
|
51
|
-
createBy: string = "";
|
|
52
|
-
createAt: number = 0;
|
|
53
|
-
updateBy: string = "";
|
|
54
|
-
updateAt: number = 0;
|
|
55
|
-
deleteBy: string = "";
|
|
56
51
|
deleteAt: number = 0;
|
|
57
|
-
|
|
52
|
+
deleteBy: string = "";
|
|
58
53
|
entityID: string = "";
|
|
59
54
|
funcCall: number = 0;
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
icon4URL: string = "";
|
|
56
|
+
iconName: string = "";
|
|
57
|
+
mastGUID: string = "";
|
|
58
|
+
mastName: string = "";
|
|
59
|
+
metaData: string = "";
|
|
60
|
+
nodeIndx: number = 0;
|
|
62
61
|
nodeName: string = "";
|
|
63
62
|
nodePara: string = "";
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
onBase64: number = 0;
|
|
64
|
+
queuesBy: number = 0;
|
|
65
|
+
rootName: string = "";
|
|
66
|
+
todoPara: string = "";
|
|
67
|
+
updateAt: number = 0;
|
|
68
|
+
updateBy: string = "";
|
|
69
|
+
userIndx: number = 0;
|
|
66
70
|
view4URL: string = "";
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
+
whoBuild: number = 0;
|
|
72
|
+
withPara: string = "";
|
|
73
|
+
wtuiMain: number = 0;
|
|
74
|
+
wtuiRoot: number = 0;
|
|
71
75
|
}
|
|
@@ -1,57 +1,62 @@
|
|
|
1
|
+
import { IWtuiNodeResponse } from "./IWtuiNodeResponse";
|
|
1
2
|
export interface IWtuiRootResponse {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
asMobile: number;
|
|
4
|
+
createAt: number;
|
|
5
|
+
createBy: string;
|
|
6
|
+
dataDate: number;
|
|
7
|
+
dataFrom: number;
|
|
7
8
|
dataHide: number;
|
|
8
9
|
dataOrdr: number;
|
|
9
|
-
|
|
10
|
-
dataDate: number;
|
|
10
|
+
dataStat: number;
|
|
11
11
|
dataTime: number;
|
|
12
|
-
mastName: string;
|
|
13
|
-
mastGUID: string;
|
|
14
|
-
createBy: string;
|
|
15
|
-
createAt: number;
|
|
16
|
-
updateBy: string;
|
|
17
|
-
updateAt: number;
|
|
18
|
-
deleteBy: string;
|
|
19
12
|
deleteAt: number;
|
|
20
|
-
|
|
13
|
+
deleteBy: string;
|
|
21
14
|
entityID: string;
|
|
22
|
-
rootName: string;
|
|
23
15
|
funcCall: number;
|
|
16
|
+
icon4URL: string;
|
|
17
|
+
listNode: IWtuiNodeResponse[];
|
|
18
|
+
mastGUID: string;
|
|
19
|
+
mastName: string;
|
|
24
20
|
onBase64: number;
|
|
25
|
-
asMobile: number;
|
|
26
21
|
onExpand: number;
|
|
27
|
-
|
|
22
|
+
queuesBy: number;
|
|
23
|
+
rootIndx: number;
|
|
24
|
+
rootName: string;
|
|
25
|
+
updateAt: number;
|
|
26
|
+
updateBy: string;
|
|
27
|
+
userIndx: number;
|
|
28
|
+
whoBuild: number;
|
|
29
|
+
wtuiMain: number;
|
|
30
|
+
wtuiRoot: number;
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
export class TWtuiRootResponse implements IWtuiRootResponse {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
asMobile: number = 0;
|
|
35
|
+
createAt: number = 0;
|
|
36
|
+
createBy: string = "";
|
|
37
|
+
dataDate: number = 0;
|
|
38
|
+
dataFrom: number = 0;
|
|
36
39
|
dataHide: number = 0;
|
|
37
40
|
dataOrdr: number = 0;
|
|
38
|
-
|
|
39
|
-
dataDate: number = 0;
|
|
41
|
+
dataStat: number = 0;
|
|
40
42
|
dataTime: number = 0;
|
|
41
|
-
mastName: string = "";
|
|
42
|
-
mastGUID: string = "";
|
|
43
|
-
createBy: string = "";
|
|
44
|
-
createAt: number = 0;
|
|
45
|
-
updateBy: string = "";
|
|
46
|
-
updateAt: number = 0;
|
|
47
|
-
deleteBy: string = "";
|
|
48
43
|
deleteAt: number = 0;
|
|
49
|
-
|
|
44
|
+
deleteBy: string = "";
|
|
50
45
|
entityID: string = "";
|
|
51
|
-
rootName: string = "";
|
|
52
46
|
funcCall: number = 0;
|
|
47
|
+
icon4URL: string = "";
|
|
48
|
+
listNode: IWtuiNodeResponse[] = [];
|
|
49
|
+
mastGUID: string = "";
|
|
50
|
+
mastName: string = "";
|
|
53
51
|
onBase64: number = 0;
|
|
54
|
-
asMobile: number = 0;
|
|
55
52
|
onExpand: number = 0;
|
|
56
|
-
|
|
53
|
+
queuesBy: number = 0;
|
|
54
|
+
rootIndx: number = 0;
|
|
55
|
+
rootName: string = "";
|
|
56
|
+
updateAt: number = 0;
|
|
57
|
+
updateBy: string = "";
|
|
58
|
+
userIndx: number = 0;
|
|
59
|
+
whoBuild: number = 0;
|
|
60
|
+
wtuiMain: number = 0;
|
|
61
|
+
wtuiRoot: number = 0;
|
|
57
62
|
}
|