@twin.org/document-management-service 0.0.1-next.16 → 0.0.1-next.18
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 +4 -2
- package/dist/esm/index.mjs +4 -2
- package/docs/changelog.md +28 -0
- package/docs/open-api/spec.json +174 -1888
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -385,7 +385,7 @@ function generateRestRoutesDocumentManagement(baseRouteName, componentName) {
|
|
|
385
385
|
response: {
|
|
386
386
|
body: {
|
|
387
387
|
"@context": [standardsSchemaOrg.SchemaOrgContexts.ContextRoot, auditableItemGraphModels.AuditableItemGraphContexts.ContextRoot],
|
|
388
|
-
type: standardsSchemaOrg.SchemaOrgTypes.ItemList,
|
|
388
|
+
type: [standardsSchemaOrg.SchemaOrgTypes.ItemList, auditableItemGraphModels.AuditableItemGraphTypes.VertexList],
|
|
389
389
|
[standardsSchemaOrg.SchemaOrgTypes.ItemListElement]: [
|
|
390
390
|
{
|
|
391
391
|
"@context": [
|
|
@@ -1137,7 +1137,9 @@ class DocumentManagementService {
|
|
|
1137
1137
|
docList[standardsSchemaOrg.SchemaOrgTypes.ItemListElement].push(document);
|
|
1138
1138
|
const blobRequired = includeBlobStorageMetadata || includeBlobStorageData;
|
|
1139
1139
|
if (blobRequired || extractData) {
|
|
1140
|
-
const blobEntry = await this._blobStorageComponent.get(document.blobStorageId,
|
|
1140
|
+
const blobEntry = await this._blobStorageComponent.get(document.blobStorageId, {
|
|
1141
|
+
includeContent: includeBlobStorageData || extractData
|
|
1142
|
+
}, userIdentity, nodeIdentity);
|
|
1141
1143
|
if (blobRequired) {
|
|
1142
1144
|
document.blobStorageEntry = blobEntry;
|
|
1143
1145
|
if (!docList["@context"].includes(blobStorageModels.BlobStorageContexts.ContextRoot)) {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -383,7 +383,7 @@ function generateRestRoutesDocumentManagement(baseRouteName, componentName) {
|
|
|
383
383
|
response: {
|
|
384
384
|
body: {
|
|
385
385
|
"@context": [SchemaOrgContexts.ContextRoot, AuditableItemGraphContexts.ContextRoot],
|
|
386
|
-
type: SchemaOrgTypes.ItemList,
|
|
386
|
+
type: [SchemaOrgTypes.ItemList, AuditableItemGraphTypes.VertexList],
|
|
387
387
|
[SchemaOrgTypes.ItemListElement]: [
|
|
388
388
|
{
|
|
389
389
|
"@context": [
|
|
@@ -1135,7 +1135,9 @@ class DocumentManagementService {
|
|
|
1135
1135
|
docList[SchemaOrgTypes.ItemListElement].push(document);
|
|
1136
1136
|
const blobRequired = includeBlobStorageMetadata || includeBlobStorageData;
|
|
1137
1137
|
if (blobRequired || extractData) {
|
|
1138
|
-
const blobEntry = await this._blobStorageComponent.get(document.blobStorageId,
|
|
1138
|
+
const blobEntry = await this._blobStorageComponent.get(document.blobStorageId, {
|
|
1139
|
+
includeContent: includeBlobStorageData || extractData
|
|
1140
|
+
}, userIdentity, nodeIdentity);
|
|
1139
1141
|
if (blobRequired) {
|
|
1140
1142
|
document.blobStorageEntry = blobEntry;
|
|
1141
1143
|
if (!docList["@context"].includes(BlobStorageContexts.ContextRoot)) {
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @twin.org/document-management-service - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.18](https://github.com/twinfoundation/document-management/compare/document-management-service-v0.0.1-next.17...document-management-service-v0.0.1-next.18) (2025-06-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update blob storage component ([63fe802](https://github.com/twinfoundation/document-management/commit/63fe8023bdae76631e324e6fee753c7e9243acfe))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/document-management-models bumped from 0.0.1-next.17 to 0.0.1-next.18
|
|
16
|
+
|
|
17
|
+
## [0.0.1-next.17](https://github.com/twinfoundation/document-management/compare/document-management-service-v0.0.1-next.16...document-management-service-v0.0.1-next.17) (2025-06-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* update dependencies ([f9d8641](https://github.com/twinfoundation/document-management/commit/f9d86417dba24027699225ec7473296e361dcb00))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/document-management-models bumped from 0.0.1-next.16 to 0.0.1-next.17
|
|
30
|
+
|
|
3
31
|
## [0.0.1-next.16](https://github.com/twinfoundation/document-management/compare/document-management-service-v0.0.1-next.15...document-management-service-v0.0.1-next.16) (2025-06-03)
|
|
4
32
|
|
|
5
33
|
|