@twin.org/data-json-ld 0.0.1-next.5 → 0.0.1-next.6
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/cjs/index.cjs
CHANGED
|
@@ -12,6 +12,10 @@ var jsonLd = require('jsonld');
|
|
|
12
12
|
*/
|
|
13
13
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14
14
|
const JsonLdTypes = {
|
|
15
|
+
/**
|
|
16
|
+
* Context Root.
|
|
17
|
+
*/
|
|
18
|
+
ContextRoot: "https://schema.twindev.org/json-ld/",
|
|
15
19
|
/**
|
|
16
20
|
* Represents JSON-LD Document.
|
|
17
21
|
*/
|
package/dist/esm/index.mjs
CHANGED
|
@@ -10,6 +10,10 @@ import jsonLd from 'jsonld';
|
|
|
10
10
|
*/
|
|
11
11
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
12
12
|
const JsonLdTypes = {
|
|
13
|
+
/**
|
|
14
|
+
* Context Root.
|
|
15
|
+
*/
|
|
16
|
+
ContextRoot: "https://schema.twindev.org/json-ld/",
|
|
13
17
|
/**
|
|
14
18
|
* Represents JSON-LD Document.
|
|
15
19
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -6,6 +6,12 @@ The types of JSON-LD data.
|
|
|
6
6
|
|
|
7
7
|
## Type declaration
|
|
8
8
|
|
|
9
|
+
### ContextRoot
|
|
10
|
+
|
|
11
|
+
> `readonly` **ContextRoot**: `"https://schema.twindev.org/json-ld/"` = `"https://schema.twindev.org/json-ld/"`
|
|
12
|
+
|
|
13
|
+
Context Root.
|
|
14
|
+
|
|
9
15
|
### Document
|
|
10
16
|
|
|
11
17
|
> `readonly` **Document**: `"https://schema.twindev.org/json-ld/JsonLdDocument"` = `"https://schema.twindev.org/json-ld/JsonLdDocument"`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/data-json-ld",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.6",
|
|
4
4
|
"description": "Models which define the structure of JSON LD",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
|
-
"@twin.org/data-core": "0.0.1-next.
|
|
18
|
+
"@twin.org/data-core": "0.0.1-next.6",
|
|
19
19
|
"@twin.org/entity": "next",
|
|
20
20
|
"@twin.org/nameof": "next",
|
|
21
21
|
"@twin.org/web": "next",
|