@ningboyz/types 1.5.118 → 1.5.120
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
CHANGED
|
@@ -2,6 +2,7 @@ import { TCore } from "..";
|
|
|
2
2
|
import { IWzpzItemResponse } from "./IWzpzItemResponse";
|
|
3
3
|
import { IWzpzK0kmResponse } from "./IWzpzK0kmResponse";
|
|
4
4
|
import { IWzpzTypeResponse } from "./IWzpzTypeResponse";
|
|
5
|
+
import _ from "lodash";
|
|
5
6
|
export interface IWzpzK8kmResponse {
|
|
6
7
|
whoBuild: number;
|
|
7
8
|
userIndx: number;
|
|
@@ -64,11 +65,16 @@ export interface IWzpzK8kmResponse {
|
|
|
64
65
|
k0kmKmbm: string;
|
|
65
66
|
laidMain: number;
|
|
66
67
|
|
|
68
|
+
itemText: string;
|
|
69
|
+
inGenger: number;
|
|
70
|
+
dictText: string;
|
|
71
|
+
|
|
67
72
|
children: IWzpzK8kmResponse[];
|
|
68
73
|
listDept: TCore.IDeptResponse[];
|
|
69
74
|
listItem: IWzpzItemResponse[];
|
|
70
75
|
listK0KM: IWzpzK0kmResponse[];
|
|
71
76
|
listType: IWzpzTypeResponse[];
|
|
77
|
+
listPath: TCore.IPathResponse[];
|
|
72
78
|
}
|
|
73
79
|
|
|
74
80
|
export class TWzpzK8kmResponse implements IWzpzK8kmResponse {
|
|
@@ -128,6 +134,10 @@ export class TWzpzK8kmResponse implements IWzpzK8kmResponse {
|
|
|
128
134
|
|
|
129
135
|
readOnly: number = 0;
|
|
130
136
|
|
|
137
|
+
itemText: string = "";
|
|
138
|
+
inGenger: number = 0;
|
|
139
|
+
dictText: string = "";
|
|
140
|
+
|
|
131
141
|
k8kmQmsl: number = 0;
|
|
132
142
|
k8kmQmdj: number = 0;
|
|
133
143
|
k8kmQmje: number = 0;
|
|
@@ -138,4 +148,17 @@ export class TWzpzK8kmResponse implements IWzpzK8kmResponse {
|
|
|
138
148
|
listItem: IWzpzItemResponse[] = [];
|
|
139
149
|
listK0KM: IWzpzK0kmResponse[] = [];
|
|
140
150
|
listType: IWzpzTypeResponse[] = [];
|
|
151
|
+
|
|
152
|
+
listPath: TCore.IPathResponse[] = [];
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
constructor(data: Partial<IWzpzK8kmResponse> = {}) {
|
|
159
|
+
if (data) {
|
|
160
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
141
164
|
}
|