@twin.org/blob-storage-service 0.0.1-next.20 → 0.0.1-next.21
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
|
@@ -946,39 +946,39 @@ exports.BlobStorageEntry = class BlobStorageEntry {
|
|
|
946
946
|
__decorate([
|
|
947
947
|
entity.property({ type: "string", isPrimary: true }),
|
|
948
948
|
__metadata("design:type", String)
|
|
949
|
-
], exports.BlobStorageEntry.prototype, "id",
|
|
949
|
+
], exports.BlobStorageEntry.prototype, "id", void 0);
|
|
950
950
|
__decorate([
|
|
951
951
|
entity.property({ type: "string", format: "date-time", sortDirection: entity.SortDirection.Descending }),
|
|
952
952
|
__metadata("design:type", String)
|
|
953
|
-
], exports.BlobStorageEntry.prototype, "dateCreated",
|
|
953
|
+
], exports.BlobStorageEntry.prototype, "dateCreated", void 0);
|
|
954
954
|
__decorate([
|
|
955
955
|
entity.property({ type: "string", format: "date-time", sortDirection: entity.SortDirection.Descending }),
|
|
956
956
|
__metadata("design:type", String)
|
|
957
|
-
], exports.BlobStorageEntry.prototype, "dateModified",
|
|
957
|
+
], exports.BlobStorageEntry.prototype, "dateModified", void 0);
|
|
958
958
|
__decorate([
|
|
959
959
|
entity.property({ type: "number" }),
|
|
960
960
|
__metadata("design:type", Number)
|
|
961
|
-
], exports.BlobStorageEntry.prototype, "blobSize",
|
|
961
|
+
], exports.BlobStorageEntry.prototype, "blobSize", void 0);
|
|
962
962
|
__decorate([
|
|
963
963
|
entity.property({ type: "string" }),
|
|
964
964
|
__metadata("design:type", String)
|
|
965
|
-
], exports.BlobStorageEntry.prototype, "encodingFormat",
|
|
965
|
+
], exports.BlobStorageEntry.prototype, "encodingFormat", void 0);
|
|
966
966
|
__decorate([
|
|
967
967
|
entity.property({ type: "string" }),
|
|
968
968
|
__metadata("design:type", String)
|
|
969
|
-
], exports.BlobStorageEntry.prototype, "fileExtension",
|
|
969
|
+
], exports.BlobStorageEntry.prototype, "fileExtension", void 0);
|
|
970
970
|
__decorate([
|
|
971
971
|
entity.property({ type: "object", itemTypeRef: "IJsonLdNodeObject" }),
|
|
972
972
|
__metadata("design:type", Object)
|
|
973
|
-
], exports.BlobStorageEntry.prototype, "metadata",
|
|
973
|
+
], exports.BlobStorageEntry.prototype, "metadata", void 0);
|
|
974
974
|
__decorate([
|
|
975
975
|
entity.property({ type: "string" }),
|
|
976
976
|
__metadata("design:type", String)
|
|
977
|
-
], exports.BlobStorageEntry.prototype, "userIdentity",
|
|
977
|
+
], exports.BlobStorageEntry.prototype, "userIdentity", void 0);
|
|
978
978
|
__decorate([
|
|
979
979
|
entity.property({ type: "string" }),
|
|
980
980
|
__metadata("design:type", String)
|
|
981
|
-
], exports.BlobStorageEntry.prototype, "nodeIdentity",
|
|
981
|
+
], exports.BlobStorageEntry.prototype, "nodeIdentity", void 0);
|
|
982
982
|
exports.BlobStorageEntry = __decorate([
|
|
983
983
|
entity.entity()
|
|
984
984
|
], exports.BlobStorageEntry);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -944,39 +944,39 @@ let BlobStorageEntry = class BlobStorageEntry {
|
|
|
944
944
|
__decorate([
|
|
945
945
|
property({ type: "string", isPrimary: true }),
|
|
946
946
|
__metadata("design:type", String)
|
|
947
|
-
], BlobStorageEntry.prototype, "id",
|
|
947
|
+
], BlobStorageEntry.prototype, "id", void 0);
|
|
948
948
|
__decorate([
|
|
949
949
|
property({ type: "string", format: "date-time", sortDirection: SortDirection.Descending }),
|
|
950
950
|
__metadata("design:type", String)
|
|
951
|
-
], BlobStorageEntry.prototype, "dateCreated",
|
|
951
|
+
], BlobStorageEntry.prototype, "dateCreated", void 0);
|
|
952
952
|
__decorate([
|
|
953
953
|
property({ type: "string", format: "date-time", sortDirection: SortDirection.Descending }),
|
|
954
954
|
__metadata("design:type", String)
|
|
955
|
-
], BlobStorageEntry.prototype, "dateModified",
|
|
955
|
+
], BlobStorageEntry.prototype, "dateModified", void 0);
|
|
956
956
|
__decorate([
|
|
957
957
|
property({ type: "number" }),
|
|
958
958
|
__metadata("design:type", Number)
|
|
959
|
-
], BlobStorageEntry.prototype, "blobSize",
|
|
959
|
+
], BlobStorageEntry.prototype, "blobSize", void 0);
|
|
960
960
|
__decorate([
|
|
961
961
|
property({ type: "string" }),
|
|
962
962
|
__metadata("design:type", String)
|
|
963
|
-
], BlobStorageEntry.prototype, "encodingFormat",
|
|
963
|
+
], BlobStorageEntry.prototype, "encodingFormat", void 0);
|
|
964
964
|
__decorate([
|
|
965
965
|
property({ type: "string" }),
|
|
966
966
|
__metadata("design:type", String)
|
|
967
|
-
], BlobStorageEntry.prototype, "fileExtension",
|
|
967
|
+
], BlobStorageEntry.prototype, "fileExtension", void 0);
|
|
968
968
|
__decorate([
|
|
969
969
|
property({ type: "object", itemTypeRef: "IJsonLdNodeObject" }),
|
|
970
970
|
__metadata("design:type", Object)
|
|
971
|
-
], BlobStorageEntry.prototype, "metadata",
|
|
971
|
+
], BlobStorageEntry.prototype, "metadata", void 0);
|
|
972
972
|
__decorate([
|
|
973
973
|
property({ type: "string" }),
|
|
974
974
|
__metadata("design:type", String)
|
|
975
|
-
], BlobStorageEntry.prototype, "userIdentity",
|
|
975
|
+
], BlobStorageEntry.prototype, "userIdentity", void 0);
|
|
976
976
|
__decorate([
|
|
977
977
|
property({ type: "string" }),
|
|
978
978
|
__metadata("design:type", String)
|
|
979
|
-
], BlobStorageEntry.prototype, "nodeIdentity",
|
|
979
|
+
], BlobStorageEntry.prototype, "nodeIdentity", void 0);
|
|
980
980
|
BlobStorageEntry = __decorate([
|
|
981
981
|
entity()
|
|
982
982
|
], BlobStorageEntry);
|
package/docs/changelog.md
CHANGED
package/docs/open-api/spec.json
CHANGED
|
@@ -944,7 +944,7 @@
|
|
|
944
944
|
}
|
|
945
945
|
],
|
|
946
946
|
"additionalItems": {
|
|
947
|
-
"
|
|
947
|
+
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
948
948
|
}
|
|
949
949
|
}
|
|
950
950
|
],
|
|
@@ -984,7 +984,7 @@
|
|
|
984
984
|
},
|
|
985
985
|
"blob": {
|
|
986
986
|
"type": "string",
|
|
987
|
-
"description": "The blob in base64 format, if the includeContent flag was set in the request."
|
|
987
|
+
"description": "The blob in base64 format, included if the includeContent flag was set in the request."
|
|
988
988
|
}
|
|
989
989
|
},
|
|
990
990
|
"required": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Function: generateRestRoutesBlobStorage()
|
|
2
2
|
|
|
3
|
-
> **generateRestRoutesBlobStorage**(`baseRouteName`, `componentName`, `options`?): `IRestRoute`[]
|
|
3
|
+
> **generateRestRoutesBlobStorage**(`baseRouteName`, `componentName`, `options`?): `IRestRoute`\<`any`, `any`\>[]
|
|
4
4
|
|
|
5
5
|
The REST routes for blob storage.
|
|
6
6
|
|
|
@@ -22,13 +22,13 @@ The name of the component to use in the routes stored in the ComponentFactory.
|
|
|
22
22
|
|
|
23
23
|
Additional options for the routes.
|
|
24
24
|
|
|
25
|
-
#### typeName
|
|
25
|
+
#### typeName?
|
|
26
26
|
|
|
27
27
|
`string`
|
|
28
28
|
|
|
29
29
|
Optional type name to use in the routes, defaults to Blob Storage.
|
|
30
30
|
|
|
31
|
-
#### tagName
|
|
31
|
+
#### tagName?
|
|
32
32
|
|
|
33
33
|
`string`
|
|
34
34
|
|
|
@@ -36,6 +36,6 @@ Optional name to use in OpenAPI spec for tag.
|
|
|
36
36
|
|
|
37
37
|
## Returns
|
|
38
38
|
|
|
39
|
-
`IRestRoute`[]
|
|
39
|
+
`IRestRoute`\<`any`, `any`\>[]
|
|
40
40
|
|
|
41
41
|
The generated routes.
|
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.21",
|
|
4
4
|
"description": "Blob storage contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/api-models": "next",
|
|
18
|
-
"@twin.org/blob-storage-models": "0.0.1-next.
|
|
18
|
+
"@twin.org/blob-storage-models": "0.0.1-next.21",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
20
|
"@twin.org/data-json-ld": "next",
|
|
21
21
|
"@twin.org/entity": "next",
|