@ningboyz/types 1.1.127 → 1.1.129

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
- "version": "1.1.127",
3
+ "version": "1.1.129",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -6,7 +6,6 @@ export interface IBaseResponse<T> {
6
6
  title: string;
7
7
  rowIndex: number | string;
8
8
  disabled: boolean;
9
- readOnly: boolean;
10
9
  hasChild: boolean;
11
10
  children: T[];
12
11
  isChecked: boolean;
@@ -20,7 +19,6 @@ export class TBaseResponse<T> implements IBaseResponse<T> {
20
19
  title: string = "";
21
20
  rowIndex: number | string = 0;
22
21
  disabled: boolean = false;
23
- readOnly: boolean = false;
24
22
  hasChild: boolean = false;
25
23
  children: T[] = [];
26
24
  isChecked: boolean = false;
@@ -4,8 +4,9 @@ import { IDeptResponse } from "../core";
4
4
  import { IYzpzItemResponse } from "./IYzpzItemResponse";
5
5
  import { IYzpzK0kmResponse } from "./IYzpzK0kmResponse";
6
6
  import { IYzpzTypeResponse } from "./IYzpzTypeResponse";
7
+ import { IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
7
8
 
8
- export interface IYzpzK8kmResponse {
9
+ export interface IYzpzK8kmResponse extends IBaseResponse<IYzpzK8kmResponse> {
9
10
  whoBuild: number;
10
11
  userIndx: number;
11
12
  sourceND: number;
@@ -81,7 +82,7 @@ export interface IYzpzK8kmResponse {
81
82
  [key: `k8km${number}`]: string[];
82
83
  }
83
84
 
84
- export class TYzpzK8kmResponse implements IYzpzK8kmResponse {
85
+ export class TYzpzK8kmResponse extends TBaseResponse<IYzpzK8kmResponse> implements IYzpzK8kmResponse {
85
86
  whoBuild: number = 0;
86
87
  userIndx: number = 0;
87
88
  sourceND: number = 0;
@@ -142,7 +143,7 @@ export class TYzpzK8kmResponse implements IYzpzK8kmResponse {
142
143
 
143
144
  sourceQJ: number = 0;
144
145
  k8kmQcje: number = 0;
145
-
146
+
146
147
  listK0KM: IYzpzK0kmResponse[] = [];
147
148
  listType: IYzpzTypeResponse[] = [];
148
149
  listItem: IYzpzItemResponse[] = [];