@twin.org/document-management-rest-client 0.0.1-next.9 → 0.0.1

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.
@@ -24,7 +24,7 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
24
24
  * @param config The configuration for the client.
25
25
  */
26
26
  constructor(config) {
27
- super(DocumentManagementClient._CLASS_NAME, config, "documents");
27
+ super(DocumentManagementClient._CLASS_NAME, config, "document-management");
28
28
  }
29
29
  /**
30
30
  * Store a document as an auditable item graph vertex and add its content to blob storage.
@@ -92,6 +92,8 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
92
92
  * @param options.includeBlobStorageData Flag to include the blob storage data for the document, defaults to false.
93
93
  * @param options.includeAttestation Flag to include the attestation information for the document, defaults to false.
94
94
  * @param options.includeRemoved Flag to include deleted documents, defaults to false.
95
+ * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
96
+ * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
95
97
  * @param cursor The cursor to get the next chunk of revisions.
96
98
  * @param pageSize Page size of items to return, defaults to 1 so only most recent is returned.
97
99
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
@@ -107,12 +109,44 @@ class DocumentManagementClient extends apiCore.BaseRestClient {
107
109
  includeBlobStorageData: options?.includeBlobStorageData,
108
110
  includeAttestation: options?.includeAttestation,
109
111
  includeRemoved: options?.includeRemoved,
112
+ extractRuleGroupId: options?.extractRuleGroupId,
113
+ extractMimeType: options?.extractMimeType,
110
114
  cursor,
111
115
  pageSize: core.Coerce.string(pageSize)
112
116
  }
113
117
  });
114
118
  return response.body;
115
119
  }
120
+ /**
121
+ * Get a document revision using it's auditable item graph vertex id.
122
+ * @param auditableItemGraphDocumentId The auditable item graph vertex id which contains the document.
123
+ * @param revision The revision id for the document.
124
+ * @param options Additional options for the get operation.
125
+ * @param options.includeBlobStorageMetadata Flag to include the blob storage metadata for the document, defaults to false.
126
+ * @param options.includeBlobStorageData Flag to include the blob storage data for the document, defaults to false.
127
+ * @param options.includeAttestation Flag to include the attestation information for the document, defaults to false.
128
+ * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
129
+ * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
130
+ * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
131
+ */
132
+ async getRevision(auditableItemGraphDocumentId, revision, options) {
133
+ core.Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
134
+ core.Guards.integer(this.CLASS_NAME, "revision", revision);
135
+ const response = await this.fetch("/:auditableItemGraphDocumentId/:revision", "GET", {
136
+ pathParams: {
137
+ auditableItemGraphDocumentId,
138
+ revision: revision.toString()
139
+ },
140
+ query: {
141
+ includeBlobStorageMetadata: options?.includeBlobStorageMetadata,
142
+ includeBlobStorageData: options?.includeBlobStorageData,
143
+ includeAttestation: options?.includeAttestation,
144
+ extractRuleGroupId: options?.extractRuleGroupId,
145
+ extractMimeType: options?.extractMimeType
146
+ }
147
+ });
148
+ return response.body;
149
+ }
116
150
  /**
117
151
  * Remove an auditable item graph vertex using it's id.
118
152
  * The document dateDeleted will be set, but can still be queried with the includeRemoved flag.
@@ -22,7 +22,7 @@ class DocumentManagementClient extends BaseRestClient {
22
22
  * @param config The configuration for the client.
23
23
  */
24
24
  constructor(config) {
25
- super(DocumentManagementClient._CLASS_NAME, config, "documents");
25
+ super(DocumentManagementClient._CLASS_NAME, config, "document-management");
26
26
  }
27
27
  /**
28
28
  * Store a document as an auditable item graph vertex and add its content to blob storage.
@@ -90,6 +90,8 @@ class DocumentManagementClient extends BaseRestClient {
90
90
  * @param options.includeBlobStorageData Flag to include the blob storage data for the document, defaults to false.
91
91
  * @param options.includeAttestation Flag to include the attestation information for the document, defaults to false.
92
92
  * @param options.includeRemoved Flag to include deleted documents, defaults to false.
93
+ * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
94
+ * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
93
95
  * @param cursor The cursor to get the next chunk of revisions.
94
96
  * @param pageSize Page size of items to return, defaults to 1 so only most recent is returned.
95
97
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
@@ -105,12 +107,44 @@ class DocumentManagementClient extends BaseRestClient {
105
107
  includeBlobStorageData: options?.includeBlobStorageData,
106
108
  includeAttestation: options?.includeAttestation,
107
109
  includeRemoved: options?.includeRemoved,
110
+ extractRuleGroupId: options?.extractRuleGroupId,
111
+ extractMimeType: options?.extractMimeType,
108
112
  cursor,
109
113
  pageSize: Coerce.string(pageSize)
110
114
  }
111
115
  });
112
116
  return response.body;
113
117
  }
118
+ /**
119
+ * Get a document revision using it's auditable item graph vertex id.
120
+ * @param auditableItemGraphDocumentId The auditable item graph vertex id which contains the document.
121
+ * @param revision The revision id for the document.
122
+ * @param options Additional options for the get operation.
123
+ * @param options.includeBlobStorageMetadata Flag to include the blob storage metadata for the document, defaults to false.
124
+ * @param options.includeBlobStorageData Flag to include the blob storage data for the document, defaults to false.
125
+ * @param options.includeAttestation Flag to include the attestation information for the document, defaults to false.
126
+ * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
127
+ * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
128
+ * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
129
+ */
130
+ async getRevision(auditableItemGraphDocumentId, revision, options) {
131
+ Urn.guard(this.CLASS_NAME, "auditableItemGraphDocumentId", auditableItemGraphDocumentId);
132
+ Guards.integer(this.CLASS_NAME, "revision", revision);
133
+ const response = await this.fetch("/:auditableItemGraphDocumentId/:revision", "GET", {
134
+ pathParams: {
135
+ auditableItemGraphDocumentId,
136
+ revision: revision.toString()
137
+ },
138
+ query: {
139
+ includeBlobStorageMetadata: options?.includeBlobStorageMetadata,
140
+ includeBlobStorageData: options?.includeBlobStorageData,
141
+ includeAttestation: options?.includeAttestation,
142
+ extractRuleGroupId: options?.extractRuleGroupId,
143
+ extractMimeType: options?.extractMimeType
144
+ }
145
+ });
146
+ return response.body;
147
+ }
114
148
  /**
115
149
  * Remove an auditable item graph vertex using it's id.
116
150
  * The document dateDeleted will be set, but can still be queried with the includeRemoved flag.
@@ -2,7 +2,7 @@ import { BaseRestClient } from "@twin.org/api-core";
2
2
  import type { IBaseRestClientConfig } from "@twin.org/api-models";
3
3
  import type { IAuditableItemGraphVertexList } from "@twin.org/auditable-item-graph-models";
4
4
  import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
5
- import type { IDocumentList, IDocumentManagementComponent } from "@twin.org/document-management-models";
5
+ import type { IDocument, IDocumentList, IDocumentManagementComponent } from "@twin.org/document-management-models";
6
6
  import { UneceDocumentCodes } from "@twin.org/standards-unece";
7
7
  /**
8
8
  * Client for performing document management through to REST endpoints.
@@ -65,6 +65,8 @@ export declare class DocumentManagementClient extends BaseRestClient implements
65
65
  * @param options.includeBlobStorageData Flag to include the blob storage data for the document, defaults to false.
66
66
  * @param options.includeAttestation Flag to include the attestation information for the document, defaults to false.
67
67
  * @param options.includeRemoved Flag to include deleted documents, defaults to false.
68
+ * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
69
+ * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
68
70
  * @param cursor The cursor to get the next chunk of revisions.
69
71
  * @param pageSize Page size of items to return, defaults to 1 so only most recent is returned.
70
72
  * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
@@ -74,7 +76,28 @@ export declare class DocumentManagementClient extends BaseRestClient implements
74
76
  includeBlobStorageData?: boolean;
75
77
  includeAttestation?: boolean;
76
78
  includeRemoved?: boolean;
79
+ extractRuleGroupId?: string;
80
+ extractMimeType?: string;
77
81
  }, cursor?: string, pageSize?: number): Promise<IDocumentList>;
82
+ /**
83
+ * Get a document revision using it's auditable item graph vertex id.
84
+ * @param auditableItemGraphDocumentId The auditable item graph vertex id which contains the document.
85
+ * @param revision The revision id for the document.
86
+ * @param options Additional options for the get operation.
87
+ * @param options.includeBlobStorageMetadata Flag to include the blob storage metadata for the document, defaults to false.
88
+ * @param options.includeBlobStorageData Flag to include the blob storage data for the document, defaults to false.
89
+ * @param options.includeAttestation Flag to include the attestation information for the document, defaults to false.
90
+ * @param options.extractRuleGroupId If provided will extract data from the document using the specified rule group id.
91
+ * @param options.extractMimeType By default extraction will auto detect the mime type of the document, this can be used to override the detection.
92
+ * @returns The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
93
+ */
94
+ getRevision(auditableItemGraphDocumentId: string, revision: number, options?: {
95
+ includeBlobStorageMetadata?: boolean;
96
+ includeBlobStorageData?: boolean;
97
+ includeAttestation?: boolean;
98
+ extractRuleGroupId?: string;
99
+ extractMimeType?: string;
100
+ }): Promise<IDocument>;
78
101
  /**
79
102
  * Remove an auditable item graph vertex using it's id.
80
103
  * The document dateDeleted will be set, but can still be queried with the includeRemoved flag.
package/docs/changelog.md CHANGED
@@ -1,5 +1,181 @@
1
1
  # @twin.org/document-management-rest-client - Changelog
2
2
 
3
+ ## 0.0.1 (2025-07-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * release to production ([a009526](https://github.com/twinfoundation/document-management/commit/a009526032a0ee6e6b74f476a01fbe5f4c7fd4da))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/document-management-models bumped from ^0.0.0 to ^0.0.1
16
+
17
+ ## [0.0.1-next.20](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.19...document-management-rest-client-v0.0.1-next.20) (2025-06-20)
18
+
19
+
20
+ ### Features
21
+
22
+ * document get can perform extraction ([#6](https://github.com/twinfoundation/document-management/issues/6)) ([5ce6d37](https://github.com/twinfoundation/document-management/commit/5ce6d37432ad271ca5783f422846f4be98ec2215))
23
+ * get document revision ([080eddc](https://github.com/twinfoundation/document-management/commit/080eddcc024c622dda6bb36f60f5fa80a86cf5bb))
24
+ * store document as a vertex ([#2](https://github.com/twinfoundation/document-management/issues/2)) ([7febedc](https://github.com/twinfoundation/document-management/commit/7febedc3fb31de9c19565d6326341046834f2c74))
25
+ * update dependencies ([f9d8641](https://github.com/twinfoundation/document-management/commit/f9d86417dba24027699225ec7473296e361dcb00))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * adding missing route for the document management ([#4](https://github.com/twinfoundation/document-management/issues/4)) ([fd3292e](https://github.com/twinfoundation/document-management/commit/fd3292ede5014847ae2f2bcadb174b6552486154))
31
+
32
+
33
+ ### Dependencies
34
+
35
+ * The following workspace dependencies were updated
36
+ * dependencies
37
+ * @twin.org/document-management-models bumped from 0.0.1-next.19 to 0.0.1-next.20
38
+
39
+ ## [0.0.1-next.19](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.18...document-management-rest-client-v0.0.1-next.19) (2025-06-20)
40
+
41
+
42
+ ### Miscellaneous Chores
43
+
44
+ * **document-management-rest-client:** Synchronize repo versions
45
+
46
+
47
+ ### Dependencies
48
+
49
+ * The following workspace dependencies were updated
50
+ * dependencies
51
+ * @twin.org/document-management-models bumped from 0.0.1-next.18 to 0.0.1-next.19
52
+
53
+ ## [0.0.1-next.18](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.17...document-management-rest-client-v0.0.1-next.18) (2025-06-18)
54
+
55
+
56
+ ### Miscellaneous Chores
57
+
58
+ * **document-management-rest-client:** Synchronize repo versions
59
+
60
+
61
+ ### Dependencies
62
+
63
+ * The following workspace dependencies were updated
64
+ * dependencies
65
+ * @twin.org/document-management-models bumped from 0.0.1-next.17 to 0.0.1-next.18
66
+
67
+ ## [0.0.1-next.17](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.16...document-management-rest-client-v0.0.1-next.17) (2025-06-12)
68
+
69
+
70
+ ### Features
71
+
72
+ * update dependencies ([f9d8641](https://github.com/twinfoundation/document-management/commit/f9d86417dba24027699225ec7473296e361dcb00))
73
+
74
+
75
+ ### Dependencies
76
+
77
+ * The following workspace dependencies were updated
78
+ * dependencies
79
+ * @twin.org/document-management-models bumped from 0.0.1-next.16 to 0.0.1-next.17
80
+
81
+ ## [0.0.1-next.16](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.15...document-management-rest-client-v0.0.1-next.16) (2025-06-03)
82
+
83
+
84
+ ### Miscellaneous Chores
85
+
86
+ * **document-management-rest-client:** Synchronize repo versions
87
+
88
+
89
+ ### Dependencies
90
+
91
+ * The following workspace dependencies were updated
92
+ * dependencies
93
+ * @twin.org/document-management-models bumped from 0.0.1-next.15 to 0.0.1-next.16
94
+
95
+ ## [0.0.1-next.15](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.14...document-management-rest-client-v0.0.1-next.15) (2025-05-28)
96
+
97
+
98
+ ### Miscellaneous Chores
99
+
100
+ * **document-management-rest-client:** Synchronize repo versions
101
+
102
+
103
+ ### Dependencies
104
+
105
+ * The following workspace dependencies were updated
106
+ * dependencies
107
+ * @twin.org/document-management-models bumped from 0.0.1-next.14 to 0.0.1-next.15
108
+
109
+ ## [0.0.1-next.14](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.13...document-management-rest-client-v0.0.1-next.14) (2025-05-08)
110
+
111
+
112
+ ### Miscellaneous Chores
113
+
114
+ * **document-management-rest-client:** Synchronize repo versions
115
+
116
+
117
+ ### Dependencies
118
+
119
+ * The following workspace dependencies were updated
120
+ * dependencies
121
+ * @twin.org/document-management-models bumped from 0.0.1-next.13 to 0.0.1-next.14
122
+
123
+ ## [0.0.1-next.13](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.12...document-management-rest-client-v0.0.1-next.13) (2025-04-30)
124
+
125
+
126
+ ### Miscellaneous Chores
127
+
128
+ * **document-management-rest-client:** Synchronize repo versions
129
+
130
+
131
+ ### Dependencies
132
+
133
+ * The following workspace dependencies were updated
134
+ * dependencies
135
+ * @twin.org/document-management-models bumped from 0.0.1-next.12 to 0.0.1-next.13
136
+
137
+ ## [0.0.1-next.12](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.11...document-management-rest-client-v0.0.1-next.12) (2025-04-30)
138
+
139
+
140
+ ### Features
141
+
142
+ * get document revision ([080eddc](https://github.com/twinfoundation/document-management/commit/080eddcc024c622dda6bb36f60f5fa80a86cf5bb))
143
+
144
+
145
+ ### Dependencies
146
+
147
+ * The following workspace dependencies were updated
148
+ * dependencies
149
+ * @twin.org/document-management-models bumped from 0.0.1-next.11 to 0.0.1-next.12
150
+
151
+ ## [0.0.1-next.11](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.10...document-management-rest-client-v0.0.1-next.11) (2025-04-28)
152
+
153
+
154
+ ### Features
155
+
156
+ * document get can perform extraction ([#6](https://github.com/twinfoundation/document-management/issues/6)) ([5ce6d37](https://github.com/twinfoundation/document-management/commit/5ce6d37432ad271ca5783f422846f4be98ec2215))
157
+
158
+
159
+ ### Dependencies
160
+
161
+ * The following workspace dependencies were updated
162
+ * dependencies
163
+ * @twin.org/document-management-models bumped from 0.0.1-next.10 to 0.0.1-next.11
164
+
165
+ ## [0.0.1-next.10](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.9...document-management-rest-client-v0.0.1-next.10) (2025-04-25)
166
+
167
+
168
+ ### Bug Fixes
169
+
170
+ * adding missing route for the document management ([#4](https://github.com/twinfoundation/document-management/issues/4)) ([fd3292e](https://github.com/twinfoundation/document-management/commit/fd3292ede5014847ae2f2bcadb174b6552486154))
171
+
172
+
173
+ ### Dependencies
174
+
175
+ * The following workspace dependencies were updated
176
+ * dependencies
177
+ * @twin.org/document-management-models bumped from 0.0.1-next.9 to 0.0.1-next.10
178
+
3
179
  ## [0.0.1-next.9](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.1-next.8...document-management-rest-client-v0.0.1-next.9) (2025-04-17)
4
180
 
5
181
 
@@ -216,6 +216,18 @@ Flag to include the attestation information for the document, defaults to false.
216
216
 
217
217
  Flag to include deleted documents, defaults to false.
218
218
 
219
+ ###### extractRuleGroupId?
220
+
221
+ `string`
222
+
223
+ If provided will extract data from the document using the specified rule group id.
224
+
225
+ ###### extractMimeType?
226
+
227
+ `string`
228
+
229
+ By default extraction will auto detect the mime type of the document, this can be used to override the detection.
230
+
219
231
  ##### cursor?
220
232
 
221
233
  `string`
@@ -240,6 +252,72 @@ The documents and revisions if requested, ordered by revision descending, cursor
240
252
 
241
253
  ***
242
254
 
255
+ ### getRevision()
256
+
257
+ > **getRevision**(`auditableItemGraphDocumentId`, `revision`, `options?`): `Promise`\<`IDocument`\>
258
+
259
+ Get a document revision using it's auditable item graph vertex id.
260
+
261
+ #### Parameters
262
+
263
+ ##### auditableItemGraphDocumentId
264
+
265
+ `string`
266
+
267
+ The auditable item graph vertex id which contains the document.
268
+
269
+ ##### revision
270
+
271
+ `number`
272
+
273
+ The revision id for the document.
274
+
275
+ ##### options?
276
+
277
+ Additional options for the get operation.
278
+
279
+ ###### includeBlobStorageMetadata?
280
+
281
+ `boolean`
282
+
283
+ Flag to include the blob storage metadata for the document, defaults to false.
284
+
285
+ ###### includeBlobStorageData?
286
+
287
+ `boolean`
288
+
289
+ Flag to include the blob storage data for the document, defaults to false.
290
+
291
+ ###### includeAttestation?
292
+
293
+ `boolean`
294
+
295
+ Flag to include the attestation information for the document, defaults to false.
296
+
297
+ ###### extractRuleGroupId?
298
+
299
+ `string`
300
+
301
+ If provided will extract data from the document using the specified rule group id.
302
+
303
+ ###### extractMimeType?
304
+
305
+ `string`
306
+
307
+ By default extraction will auto detect the mime type of the document, this can be used to override the detection.
308
+
309
+ #### Returns
310
+
311
+ `Promise`\<`IDocument`\>
312
+
313
+ The documents and revisions if requested, ordered by revision descending, cursor is set if there are more document revisions.
314
+
315
+ #### Implementation of
316
+
317
+ `IDocumentManagementComponent.getRevision`
318
+
319
+ ***
320
+
243
321
  ### removeRevision()
244
322
 
245
323
  > **removeRevision**(`auditableItemGraphDocumentId`, `revision`): `Promise`\<`void`\>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/document-management-rest-client",
3
- "version": "0.0.1-next.9",
3
+ "version": "0.0.1",
4
4
  "description": "Document management contract implementation which can connect to REST endpoints",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,17 +13,47 @@
13
13
  "engines": {
14
14
  "node": ">=20.0.0"
15
15
  },
16
+ "scripts": {
17
+ "clean": "rimraf dist coverage docs/reference",
18
+ "build": "tsc",
19
+ "dev": "nodemon --watch src --ext ts --exec \"npm run build && npm run bundle:esm\"",
20
+ "test": "vitest --run --config ./vitest.config.ts --no-cache",
21
+ "coverage": "vitest --run --coverage --config ./vitest.config.ts --no-cache",
22
+ "bundle:esm": "rollup --config rollup.config.mjs --environment MODULE:esm",
23
+ "bundle:cjs": "rollup --config rollup.config.mjs --environment MODULE:cjs",
24
+ "bundle": "npm run bundle:esm && npm run bundle:cjs",
25
+ "docs:clean": "rimraf docs/reference",
26
+ "docs:generate": "typedoc",
27
+ "docs": "npm run docs:clean && npm run docs:generate",
28
+ "dist": "npm run clean && npm run build && npm run test && npm run bundle && npm run docs",
29
+ "dist:no-test": "npm run clean && npm run build && npm run bundle && npm run docs",
30
+ "prepare": "ts-patch install -s"
31
+ },
16
32
  "dependencies": {
17
- "@twin.org/api-core": "next",
18
- "@twin.org/api-models": "next",
19
- "@twin.org/auditable-item-graph-models": "next",
20
- "@twin.org/core": "next",
21
- "@twin.org/data-json-ld": "next",
22
- "@twin.org/document-management-models": "0.0.1-next.9",
23
- "@twin.org/entity": "next",
24
- "@twin.org/nameof": "next",
25
- "@twin.org/standards-unece": "next",
26
- "@twin.org/web": "next"
33
+ "@twin.org/api-core": "^0.0.2-next.1",
34
+ "@twin.org/api-models": "^0.0.2-next.1",
35
+ "@twin.org/auditable-item-graph-models": "^0.0.1",
36
+ "@twin.org/core": "^0.0.1",
37
+ "@twin.org/data-json-ld": "^0.0.1",
38
+ "@twin.org/document-management-models": "^0.0.1",
39
+ "@twin.org/entity": "^0.0.1",
40
+ "@twin.org/nameof": "^0.0.1",
41
+ "@twin.org/standards-unece": "^0.0.1",
42
+ "@twin.org/web": "^0.0.1"
43
+ },
44
+ "devDependencies": {
45
+ "@twin.org/nameof-transformer": "^0.0.1",
46
+ "@twin.org/nameof-vitest-plugin": "^0.0.1",
47
+ "@vitest/coverage-v8": "3.2.3",
48
+ "copyfiles": "2.4.1",
49
+ "nodemon": "3.1.10",
50
+ "rimraf": "6.0.1",
51
+ "rollup": "4.43.0",
52
+ "ts-patch": "3.3.0",
53
+ "typedoc": "0.28.5",
54
+ "typedoc-plugin-markdown": "4.6.4",
55
+ "typescript": "5.8.3",
56
+ "vitest": "3.2.3"
27
57
  },
28
58
  "main": "./dist/cjs/index.cjs",
29
59
  "module": "./dist/esm/index.mjs",