@freelog/tools-lib 0.1.168 → 0.1.170

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": "@freelog/tools-lib",
3
- "version": "0.1.168",
3
+ "version": "0.1.170",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -93,12 +93,19 @@ export interface CreateBatchParamsType {
93
93
  baseUpcastResources?: {
94
94
  resourceId: string;
95
95
  }[];
96
- resolveResources: {
96
+ batchSignContracts?: {
97
97
  resourceId: string;
98
- contracts: {
99
- policyId: string;
100
- }[];
98
+ // resourceName: string;
99
+ policyIds: string[];
100
+ // subjectType: 'resource' | '';
101
+ subjectType: string;
101
102
  }[];
103
+ // resolveResources: {
104
+ // resourceId: string;
105
+ // contracts: {
106
+ // policyId: string;
107
+ // }[];
108
+ // }[];
102
109
  inputAttrs?: {
103
110
  key: string;
104
111
  value: string;
@@ -326,7 +333,7 @@ interface CreateVersionParamsType {
326
333
  }[];
327
334
  authExcludedItems: {
328
335
  resourceId: string;
329
- excludedType: 'contract' | 'policy';
336
+ excludedType: 'contractId' | 'policyId';
330
337
  excludedValue: string;
331
338
  }[];
332
339
  }
@@ -1076,6 +1083,7 @@ interface BatchResourceItemsParamsType {
1076
1083
  sortField?: string;
1077
1084
  sortType?: 1 | -1;
1078
1085
  isLoadItemResourceDetailInfo?: 0 | 1;
1086
+ isLoadLatestVersionInfo?: 0 | 1;
1079
1087
  }
1080
1088
 
1081
1089
  export function batchResourceItems({
@@ -1177,6 +1185,11 @@ interface SetItemsTitleParamsType {
1177
1185
  data: {
1178
1186
  itemId: string;
1179
1187
  itemTitle: string;
1188
+ authExcludedItems: {
1189
+ resourceId: string;
1190
+ excludedType: 'contractId' | 'policyId';
1191
+ excludedValue: string;
1192
+ }[];
1180
1193
  }[];
1181
1194
  }
1182
1195