@twin.org/blob-storage-service 0.0.1-next.3 → 0.0.1-next.5
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 +1 -1
- package/dist/esm/index.mjs +1 -1
- package/docs/changelog.md +1 -1
- package/docs/open-api/spec.json +57 -110
- package/package.json +2 -30
package/dist/cjs/index.cjs
CHANGED
package/dist/esm/index.mjs
CHANGED
package/docs/changelog.md
CHANGED
package/docs/open-api/spec.json
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"201": {
|
|
61
61
|
"description": "The rest request ended in created response.",
|
|
62
62
|
"headers": {
|
|
63
|
-
"
|
|
63
|
+
"location": {
|
|
64
64
|
"schema": {
|
|
65
65
|
"type": "string"
|
|
66
66
|
},
|
|
@@ -972,6 +972,34 @@
|
|
|
972
972
|
},
|
|
973
973
|
"description": "A context definition defines a local context in a node object."
|
|
974
974
|
},
|
|
975
|
+
"JsonLdContextDefinitionElement": {
|
|
976
|
+
"anyOf": [
|
|
977
|
+
{
|
|
978
|
+
"type": "null"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"type": "string"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"description": "A context definition element is used to define the types of a context definition."
|
|
988
|
+
},
|
|
989
|
+
"JsonLdContextDefinitionRoot": {
|
|
990
|
+
"anyOf": [
|
|
991
|
+
{
|
|
992
|
+
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"type": "array",
|
|
996
|
+
"items": {
|
|
997
|
+
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
1001
|
+
"description": "A context definition root is used to define the root of a context definition."
|
|
1002
|
+
},
|
|
975
1003
|
"JsonLdExpandedTermDefinition": {
|
|
976
1004
|
"anyOf": [
|
|
977
1005
|
{
|
|
@@ -1097,33 +1125,7 @@
|
|
|
1097
1125
|
]
|
|
1098
1126
|
},
|
|
1099
1127
|
"@context": {
|
|
1100
|
-
"
|
|
1101
|
-
{
|
|
1102
|
-
"type": "null"
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
"type": "string"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"type": "array",
|
|
1112
|
-
"items": {
|
|
1113
|
-
"anyOf": [
|
|
1114
|
-
{
|
|
1115
|
-
"type": "null"
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
"type": "string"
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1122
|
-
}
|
|
1123
|
-
]
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
]
|
|
1128
|
+
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1127
1129
|
}
|
|
1128
1130
|
},
|
|
1129
1131
|
"required": [
|
|
@@ -1288,33 +1290,7 @@
|
|
|
1288
1290
|
]
|
|
1289
1291
|
},
|
|
1290
1292
|
"@context": {
|
|
1291
|
-
"
|
|
1292
|
-
{
|
|
1293
|
-
"type": "null"
|
|
1294
|
-
},
|
|
1295
|
-
{
|
|
1296
|
-
"type": "string"
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"type": "array",
|
|
1303
|
-
"items": {
|
|
1304
|
-
"anyOf": [
|
|
1305
|
-
{
|
|
1306
|
-
"type": "null"
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
"type": "string"
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1313
|
-
}
|
|
1314
|
-
]
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
]
|
|
1293
|
+
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1318
1294
|
},
|
|
1319
1295
|
"@direction": {
|
|
1320
1296
|
"type": [
|
|
@@ -1545,35 +1521,34 @@
|
|
|
1545
1521
|
},
|
|
1546
1522
|
"JsonLdNodeObject": {
|
|
1547
1523
|
"type": "object",
|
|
1524
|
+
"additionalProperties": {
|
|
1525
|
+
"anyOf": [
|
|
1526
|
+
{
|
|
1527
|
+
"$ref": "#/components/schemas/JsonLdNodePrimitive"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"$ref": "#/components/schemas/JsonLdLanguageMap"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"$ref": "#/components/schemas/JsonLdIndexMap"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"$ref": "#/components/schemas/JsonLdIdMap"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"$ref": "#/components/schemas/JsonLdTypeMap"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"type": "array"
|
|
1546
|
+
}
|
|
1547
|
+
]
|
|
1548
|
+
},
|
|
1548
1549
|
"properties": {
|
|
1549
1550
|
"@context": {
|
|
1550
|
-
"
|
|
1551
|
-
{
|
|
1552
|
-
"type": "null"
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"type": "string"
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
"type": "array",
|
|
1562
|
-
"items": {
|
|
1563
|
-
"anyOf": [
|
|
1564
|
-
{
|
|
1565
|
-
"type": "null"
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
"type": "string"
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1572
|
-
}
|
|
1573
|
-
]
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
]
|
|
1551
|
+
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1577
1552
|
},
|
|
1578
1553
|
"@id": {
|
|
1579
1554
|
"anyOf": [
|
|
@@ -1640,34 +1615,6 @@
|
|
|
1640
1615
|
"type": "string"
|
|
1641
1616
|
}
|
|
1642
1617
|
},
|
|
1643
|
-
"additionalProperties": {
|
|
1644
|
-
"anyOf": [
|
|
1645
|
-
{
|
|
1646
|
-
"$ref": "#/components/schemas/JsonLdNodePrimitive"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"type": "array",
|
|
1650
|
-
"items": {
|
|
1651
|
-
"$ref": "#/components/schemas/JsonLdNodePrimitive"
|
|
1652
|
-
}
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
"$ref": "#/components/schemas/JsonLdLanguageMap"
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
"$ref": "#/components/schemas/JsonLdIndexMap"
|
|
1659
|
-
},
|
|
1660
|
-
{
|
|
1661
|
-
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"$ref": "#/components/schemas/JsonLdIdMap"
|
|
1665
|
-
},
|
|
1666
|
-
{
|
|
1667
|
-
"$ref": "#/components/schemas/JsonLdTypeMap"
|
|
1668
|
-
}
|
|
1669
|
-
]
|
|
1670
|
-
},
|
|
1671
1618
|
"description": "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document."
|
|
1672
1619
|
},
|
|
1673
1620
|
"JsonLdNodePrimitive": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/blob-storage-service",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.5",
|
|
4
4
|
"description": "Blob storage contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,23 +13,9 @@
|
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"clean": "rimraf dist coverage docs/reference",
|
|
18
|
-
"build": "tspc",
|
|
19
|
-
"test": "vitest --run --config ./vitest.config.ts --no-cache",
|
|
20
|
-
"coverage": "vitest --run --coverage --config ./vitest.config.ts --no-cache",
|
|
21
|
-
"bundle:esm": "rollup --config rollup.config.mjs --environment MODULE:esm",
|
|
22
|
-
"bundle:cjs": "rollup --config rollup.config.mjs --environment MODULE:cjs",
|
|
23
|
-
"bundle": "npm run bundle:esm && npm run bundle:cjs",
|
|
24
|
-
"docs:clean": "rimraf docs/reference",
|
|
25
|
-
"docs:generate": "typedoc",
|
|
26
|
-
"docs:api": "ts-to-openapi ./ts-to-openapi.json ./docs/open-api/spec.json",
|
|
27
|
-
"docs": "npm run docs:clean && npm run docs:generate && npm run docs:api",
|
|
28
|
-
"dist": "npm run clean && npm run build && npm run test && npm run bundle && npm run docs"
|
|
29
|
-
},
|
|
30
16
|
"dependencies": {
|
|
31
17
|
"@twin.org/api-models": "next",
|
|
32
|
-
"@twin.org/blob-storage-models": "0.0.1-next.
|
|
18
|
+
"@twin.org/blob-storage-models": "0.0.1-next.5",
|
|
33
19
|
"@twin.org/core": "next",
|
|
34
20
|
"@twin.org/data-json-ld": "next",
|
|
35
21
|
"@twin.org/entity": "next",
|
|
@@ -38,20 +24,6 @@
|
|
|
38
24
|
"@twin.org/vault-models": "next",
|
|
39
25
|
"@twin.org/web": "next"
|
|
40
26
|
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@twin.org/nameof-transformer": "next",
|
|
43
|
-
"@twin.org/ts-to-openapi": "next",
|
|
44
|
-
"@vitest/coverage-v8": "2.1.1",
|
|
45
|
-
"copyfiles": "2.4.1",
|
|
46
|
-
"rimraf": "6.0.1",
|
|
47
|
-
"rollup": "4.22.0",
|
|
48
|
-
"rollup-plugin-typescript2": "0.36.0",
|
|
49
|
-
"ts-patch": "3.2.1",
|
|
50
|
-
"typedoc": "0.26.7",
|
|
51
|
-
"typedoc-plugin-markdown": "4.2.7",
|
|
52
|
-
"typescript": "5.6.2",
|
|
53
|
-
"vitest": "2.1.1"
|
|
54
|
-
},
|
|
55
27
|
"main": "./dist/cjs/index.cjs",
|
|
56
28
|
"module": "./dist/esm/index.mjs",
|
|
57
29
|
"types": "./dist/types/index.d.ts",
|