@freelog/tools-lib 0.1.168 → 0.1.169

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.169",
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
  }