@ningboyz/types 1.4.51 → 1.4.53

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.4.51",
4
+ "version": "1.4.53",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -2,6 +2,7 @@ import { construct, destruct } from "@aximario/json-tree";
2
2
  import _ from "lodash";
3
3
  import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
4
4
  import { TCore } from "../index.ts";
5
+ import { TDictResponse } from "./index.ts";
5
6
 
6
7
  export interface ITypeResponse extends IBaseResponse<ITypeResponse> {
7
8
  whoBuild: number;
@@ -47,6 +48,8 @@ export interface ITypeResponse extends IBaseResponse<ITypeResponse> {
47
48
  /** 部门 */
48
49
  deptText: string;
49
50
  keyWords: string;
51
+
52
+ listDict: TDictResponse[];
50
53
  }
51
54
 
52
55
  export class TTypeResponse extends TBaseResponse<ITypeResponse> implements ITypeResponse {
@@ -93,6 +96,8 @@ export class TTypeResponse extends TBaseResponse<ITypeResponse> implements IType
93
96
  deptText: string = "";
94
97
  keyWords: string = "";
95
98
 
99
+ listDict: TDictResponse[] = [];
100
+
96
101
  static toTree(listType: ITypeResponse[]) {
97
102
  return construct(listType, { id: "typeMain", pid: "parentID", children: "children" }) as ITypeResponse[];
98
103
  }
@@ -74,6 +74,10 @@ export interface INotiMainResponse {
74
74
  */
75
75
  diskStat: number;
76
76
 
77
+ flowVal1: number;
78
+ flowVal2: number;
79
+ userFrom: number;
80
+ userFromText: string;
77
81
  deptFrom: number;
78
82
  deptFromText: string;
79
83
 
@@ -297,6 +301,10 @@ export class TNotiMainResponse implements INotiMainResponse {
297
301
  */
298
302
  diskStat: number = 0;
299
303
 
304
+ flowVal1: number = -1;
305
+ flowVal2: number = -1;
306
+ userFrom: number = 0;
307
+ userFromText: string = "";
300
308
  deptFrom: number = 0;
301
309
  deptFromText: string = "";
302
310