@hypercerts-org/sdk-core 0.10.0-beta.1 → 0.10.0-beta.3
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/CHANGELOG.md +18 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +8 -3
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1360,22 +1360,27 @@ interface CreateHypercertParams {
|
|
|
1360
1360
|
description: string;
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Scope of work or impact area.
|
|
1363
|
+
* Logical scope of the work using label-based conditions. All labels in `withinAllOf` must apply; at least one label in `withinAnyOf` must apply if provided; no label in `withinNoneOf` may apply.
|
|
1363
1364
|
*
|
|
1364
1365
|
* @example "Climate Action", "Education", "Healthcare"
|
|
1365
1366
|
*/
|
|
1366
|
-
workScope
|
|
1367
|
+
workScope?: {
|
|
1368
|
+
withinAllOf?: string[];
|
|
1369
|
+
withinAnyOf?: string[];
|
|
1370
|
+
withinNoneOf?: string[];
|
|
1371
|
+
};
|
|
1367
1372
|
/**
|
|
1368
1373
|
* Start date of the work period.
|
|
1369
1374
|
*
|
|
1370
1375
|
* ISO 8601 date format (YYYY-MM-DD).
|
|
1371
1376
|
*/
|
|
1372
|
-
|
|
1377
|
+
startDate: string;
|
|
1373
1378
|
/**
|
|
1374
1379
|
* End date of the work period.
|
|
1375
1380
|
*
|
|
1376
1381
|
* ISO 8601 date format (YYYY-MM-DD).
|
|
1377
1382
|
*/
|
|
1378
|
-
|
|
1383
|
+
endDate: string;
|
|
1379
1384
|
/**
|
|
1380
1385
|
* Rights associated with the hypercert.
|
|
1381
1386
|
*/
|
package/package.json
CHANGED