@ningboyz/types 1.5.119 → 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.5.119",
4
+ "version": "1.5.120",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -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;
@@ -147,5 +148,17 @@ export class TWzpzK8kmResponse implements IWzpzK8kmResponse {
147
148
  listItem: IWzpzItemResponse[] = [];
148
149
  listK0KM: IWzpzK0kmResponse[] = [];
149
150
  listType: IWzpzTypeResponse[] = [];
151
+
150
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
+
151
164
  }