@ningboyz/types 1.0.113 → 1.0.115

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.0.113",
3
+ "version": "1.0.115",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -1,4 +1,4 @@
1
- import { TFlowDataResponse } from "../flow/IFlowDataResponse";
1
+ import { TCron, TCore } from "../../index.ts";
2
2
  import _ from "lodash";
3
3
 
4
4
  export interface ICronMainResponse {
@@ -44,7 +44,9 @@ export interface ICronMainResponse {
44
44
  notePara: string;
45
45
  noteType: number;
46
46
  noteTypeText: string;
47
- notiPart: number[];
47
+ /** 角色信息 */
48
+ notiPart: TCore.IPartResponse[];
49
+ /** 角色名称 */
48
50
  notiPartText: string;
49
51
  notiText: string;
50
52
  notiUser: number[];
@@ -118,7 +120,7 @@ export class TCronMainResponse implements ICronMainResponse {
118
120
  notePara: string = "";
119
121
  noteType: number = 0;
120
122
  noteTypeText: string = "";
121
- notiPart: number[] = [];
123
+ notiPart: TCore.IPartResponse[] = [];
122
124
  notiPartText: string = "";
123
125
  notiText: string = "";
124
126
  notiUser: number[] = [];
@@ -153,19 +155,15 @@ export class TCronMainResponse implements ICronMainResponse {
153
155
  }
154
156
  }
155
157
 
156
- static toFlowDatas(notis: TCronMainResponse[]): TFlowDataResponse[] {
158
+ static toFlowDatas(notis: TCronMainResponse[]): TCron.ICronMainResponse[] {
157
159
  return notis.map((u) => this.toFlowData(u));
158
160
  }
159
161
 
160
- static toFlowData(aNoti: TCronMainResponse): TFlowDataResponse {
161
- const result = new TFlowDataResponse();
162
+ static toFlowData(aNoti: TCronMainResponse): TCron.ICronMainResponse {
163
+ const result = new TCron.TCronMainResponse();
162
164
  result.whoBuild = aNoti.whoBuild;
163
165
  result.userIndx = aNoti.userIndx;
164
166
  result.entityID = aNoti.entityID;
165
- result.billMemo = "";
166
- result.billUses = "";
167
- result.ysxmText = "";
168
- result.outMoney = 0;
169
167
  result.createAt = aNoti.createAt;
170
168
  result.mastName = aNoti.mastName;
171
169
  result.createBy = aNoti.createBy;
@@ -6,5 +6,6 @@ export enum StoreId {
6
6
  OPTIONS_STORE = "OPTIONS_STORE",
7
7
  VIEW_INFO = "VIEW_INFO",
8
8
  DATE_INFO = "DATE_INFO",
9
- DEVELOPER_STORE = "DEVELOPER_STORE"
9
+ DEVELOPER_STORE = "DEVELOPER_STORE",
10
+ MONEY_STORE = "MONEY_STORE"
10
11
  }