@twin.org/blob-storage-service 0.0.1-next.3 → 0.0.1-next.4
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 +32 -82
- 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": [
|
|
@@ -1547,33 +1523,7 @@
|
|
|
1547
1523
|
"type": "object",
|
|
1548
1524
|
"properties": {
|
|
1549
1525
|
"@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
|
-
]
|
|
1526
|
+
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1577
1527
|
},
|
|
1578
1528
|
"@id": {
|
|
1579
1529
|
"anyOf": [
|
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.4",
|
|
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.4",
|
|
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",
|