@twin.org/standards-w3c-odrl 0.0.1-next.21 → 0.0.1-next.23

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.
@@ -1,4 +1,4 @@
1
- import type { IJsonLdContextDefinition, IJsonLdNodeObject } from "@twin.org/data-json-ld";
1
+ import type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
2
  import type { IOdrlAction } from "./IOdrlAction";
3
3
  import type { IOdrlAsset } from "./IOdrlAsset";
4
4
  import type { IOdrlDuty } from "./IOdrlDuty";
@@ -17,7 +17,7 @@ export interface IOdrlPolicy extends IJsonLdNodeObject {
17
17
  * The context for the policy.
18
18
  * Must include "https://www.w3.org/ns/odrl.jsonld"
19
19
  */
20
- "@context": typeof OdrlContexts.Context | [typeof OdrlContexts.Context, IJsonLdContextDefinition] | IJsonLdContextDefinition;
20
+ "@context": typeof OdrlContexts.Context | [typeof OdrlContexts.Context, ...IJsonLdContextDefinitionElement[]];
21
21
  /**
22
22
  * The type of policy.
23
23
  * Must be one of: "Set", "Offer", "Agreement"
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/standards-w3c-odrl - Changelog
2
2
 
3
- ## v0.0.1-next.21
3
+ ## v0.0.1-next.23
4
4
 
5
5
  - Initial Release
@@ -14,7 +14,7 @@ Interface representing an ODRL Policy.
14
14
 
15
15
  ### @context
16
16
 
17
- > **@context**: `"https://www.w3.org/ns/odrl.jsonld"` \| `IJsonLdContextDefinition` \| \[`"https://www.w3.org/ns/odrl.jsonld"`, `IJsonLdContextDefinition`\]
17
+ > **@context**: `"https://www.w3.org/ns/odrl.jsonld"` \| \[`"https://www.w3.org/ns/odrl.jsonld"`, `...IJsonLdContextDefinitionElement[]`\]
18
18
 
19
19
  The context for the policy.
20
20
  Must include "https://www.w3.org/ns/odrl.jsonld"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-w3c-odrl",
3
- "version": "0.0.1-next.21",
3
+ "version": "0.0.1-next.23",
4
4
  "description": "Models which define the structure of W3C ODRL Standard",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@twin.org/data-json-ld": "next",
18
- "@twin.org/standards-dublin-core": "0.0.1-next.21",
19
- "@twin.org/standards-w3c-vcard": "0.0.1-next.21",
18
+ "@twin.org/standards-dublin-core": "0.0.1-next.23",
19
+ "@twin.org/standards-w3c-vcard": "0.0.1-next.23",
20
20
  "@twin.org/web": "next"
21
21
  },
22
22
  "main": "./dist/cjs/index.cjs",