@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/dist/service-API/resources.d.ts +10 -5
- package/dist/tools-lib.cjs.development.js +1 -2
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +1 -2
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/resources.ts +18 -5
- package/src/service-API/storages.ts +418 -418
package/package.json
CHANGED
|
@@ -93,12 +93,19 @@ export interface CreateBatchParamsType {
|
|
|
93
93
|
baseUpcastResources?: {
|
|
94
94
|
resourceId: string;
|
|
95
95
|
}[];
|
|
96
|
-
|
|
96
|
+
batchSignContracts?: {
|
|
97
97
|
resourceId: string;
|
|
98
|
-
|
|
99
|
-
|
|
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: '
|
|
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
|
|