@twin.org/engine-server 0.0.1 → 0.0.2-next.10
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 +30 -13
- package/dist/esm/index.mjs +30 -13
- package/docs/changelog.md +195 -0
- package/package.json +4 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -35,10 +35,10 @@ class EngineServer {
|
|
|
35
35
|
*/
|
|
36
36
|
_webServer;
|
|
37
37
|
/**
|
|
38
|
-
* The logging
|
|
38
|
+
* The logging component type.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
_loggingComponentType;
|
|
42
42
|
/**
|
|
43
43
|
* The REST routes for the application.
|
|
44
44
|
* @internal
|
|
@@ -190,10 +190,11 @@ class EngineServer {
|
|
|
190
190
|
const socketRouteProcessors = apiModels.SocketRouteProcessorFactory.names().map(n => apiModels.SocketRouteProcessorFactory.get(n));
|
|
191
191
|
const mimeTypeProcessors = apiModels.MimeTypeProcessorFactory.names().map(n => apiModels.MimeTypeProcessorFactory.get(n));
|
|
192
192
|
const coreConfig = this._engineCore.getConfig();
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
this._loggingComponentType = coreConfig.silent
|
|
194
|
+
? undefined
|
|
195
|
+
: this._engineCore.getRegisteredInstanceType("loggingComponent");
|
|
195
196
|
this._webServer = new apiServerFastify.FastifyWebServer({
|
|
196
|
-
|
|
197
|
+
loggingComponentType: this._loggingComponentType,
|
|
197
198
|
mimeTypeProcessors
|
|
198
199
|
});
|
|
199
200
|
await this._webServer.build(restRouteProcessors, this._restRoutes, socketRouteProcessors, this._socketRoutes, coreConfig.web);
|
|
@@ -233,12 +234,12 @@ class EngineServer {
|
|
|
233
234
|
*/
|
|
234
235
|
async initialiseRestTypeRoute(routes, typeKey, typeConfig, module, method) {
|
|
235
236
|
if (core.Is.arrayValue(typeConfig)) {
|
|
236
|
-
const defaultEngineTypes = this._engineCore.getDefaultTypes();
|
|
237
237
|
const generateRoutes = await modules.ModuleHelper.getModuleEntry(module, method);
|
|
238
238
|
for (let i = 0; i < typeConfig.length; i++) {
|
|
239
239
|
const restPath = typeConfig[i].restPath;
|
|
240
240
|
if (core.Is.string(restPath)) {
|
|
241
|
-
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
241
|
+
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
242
|
+
this._engineCore.getRegisteredInstanceType(typeKey);
|
|
242
243
|
if (core.Is.stringValue(serviceType)) {
|
|
243
244
|
const generatedRoutes = generateRoutes(restPath, serviceType);
|
|
244
245
|
for (const route of generatedRoutes) {
|
|
@@ -264,12 +265,12 @@ class EngineServer {
|
|
|
264
265
|
*/
|
|
265
266
|
async initialiseSocketTypeRoute(routes, typeKey, typeConfig, module, method) {
|
|
266
267
|
if (core.Is.arrayValue(typeConfig)) {
|
|
267
|
-
const defaultEngineTypes = this._engineCore.getDefaultTypes();
|
|
268
268
|
const generateRoutes = await modules.ModuleHelper.getModuleEntry(module, method);
|
|
269
269
|
for (let i = 0; i < typeConfig.length; i++) {
|
|
270
270
|
const socketPath = typeConfig[i].socketPath;
|
|
271
271
|
if (core.Is.string(socketPath)) {
|
|
272
|
-
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
272
|
+
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
273
|
+
this._engineCore.getRegisteredInstanceType(typeKey);
|
|
273
274
|
if (core.Is.stringValue(serviceType)) {
|
|
274
275
|
routes.push(...generateRoutes(socketPath, serviceType));
|
|
275
276
|
}
|
|
@@ -283,6 +284,7 @@ class EngineServer {
|
|
|
283
284
|
*/
|
|
284
285
|
addServerTypeInitialisers() {
|
|
285
286
|
const coreConfig = this._engineCore.getConfig();
|
|
287
|
+
this._engineCore.addTypeInitialiser("authenticationAdminComponent", coreConfig.types.authenticationAdminComponent, "@twin.org/engine-server-types", "initialiseAuthenticationAdminComponent");
|
|
286
288
|
this._engineCore.addTypeInitialiser("authenticationComponent", coreConfig.types.authenticationComponent, "@twin.org/engine-server-types", "initialiseAuthenticationComponent");
|
|
287
289
|
this._engineCore.addTypeInitialiser("informationComponent", coreConfig.types.informationComponent, "@twin.org/engine-server-types", "initialiseInformationComponent");
|
|
288
290
|
this._engineCore.addTypeInitialiser("restRouteProcessor", coreConfig.types.restRouteProcessor, "@twin.org/engine-server-types", "initialiseRestRouteProcessorComponent");
|
|
@@ -312,8 +314,10 @@ class EngineServer {
|
|
|
312
314
|
this.addRestRouteGenerator("entityStorageComponent", coreConfig.types.entityStorageComponent, "@twin.org/entity-storage-service", "generateRestRoutesEntityStorage");
|
|
313
315
|
this.addRestRouteGenerator("dataProcessingComponent", coreConfig.types.dataProcessingComponent, "@twin.org/data-processing-service", "generateRestRoutesDataProcessing");
|
|
314
316
|
this.addRestRouteGenerator("documentManagementComponent", coreConfig.types.documentManagementComponent, "@twin.org/document-management-service", "generateRestRoutesDocumentManagement");
|
|
315
|
-
this.addRestRouteGenerator("federatedCatalogueComponent", coreConfig.types.federatedCatalogueComponent, "@twin.org/federated-catalogue-service", "generateRestRoutesFederatedCatalogue");
|
|
316
317
|
this.addRestRouteGenerator("rightsManagementComponent", coreConfig.types.rightsManagementComponent, "@twin.org/rights-management-service", "generateRestRoutesRightsManagement");
|
|
318
|
+
this.addRestRouteGenerator("synchronisedStorageComponent", coreConfig.types.synchronisedStorageComponent, "@twin.org/synchronised-storage-service", "generateRestRoutesSynchronisedStorage");
|
|
319
|
+
this.addRestRouteGenerator("federatedCatalogueComponent", coreConfig.types.federatedCatalogueComponent, "@twin.org/federated-catalogue-service", "generateRestRoutesFederatedCatalogue");
|
|
320
|
+
this.addRestRouteGenerator("dataSpaceConnectorComponent", coreConfig.types.dataSpaceConnectorComponent, "@twin.org/data-space-connector-service", "generateRestRoutesDataSpaceConnector");
|
|
317
321
|
}
|
|
318
322
|
/**
|
|
319
323
|
* Add the server socket route generators.
|
|
@@ -322,6 +326,7 @@ class EngineServer {
|
|
|
322
326
|
addServerSocketRouteGenerators() {
|
|
323
327
|
const coreConfig = this._engineCore.getConfig();
|
|
324
328
|
this.addSocketRouteGenerator("eventBusComponent", coreConfig.types.eventBusComponent, "@twin.org/event-bus-service", "generateSocketRoutesEventBus");
|
|
329
|
+
this.addSocketRouteGenerator("dataSpaceConnectorComponent", coreConfig.types.dataSpaceConnectorComponent, "@twin.org/data-space-connector-service", "generateSocketRoutesDataSpaceConnector");
|
|
325
330
|
}
|
|
326
331
|
}
|
|
327
332
|
|
|
@@ -395,13 +400,21 @@ function addDefaultRestPaths(serverConfig) {
|
|
|
395
400
|
!core.Is.stringValue(serverConfig.types.documentManagementComponent[0].restPath)) {
|
|
396
401
|
serverConfig.types.documentManagementComponent[0].restPath = "/documents";
|
|
397
402
|
}
|
|
403
|
+
if (core.Is.arrayValue(serverConfig.types.rightsManagementComponent) &&
|
|
404
|
+
!core.Is.stringValue(serverConfig.types.rightsManagementComponent[0].restPath)) {
|
|
405
|
+
serverConfig.types.rightsManagementComponent[0].restPath = "/rights-management";
|
|
406
|
+
}
|
|
407
|
+
if (core.Is.arrayValue(serverConfig.types.synchronisedStorageComponent) &&
|
|
408
|
+
!core.Is.stringValue(serverConfig.types.synchronisedStorageComponent[0].restPath)) {
|
|
409
|
+
serverConfig.types.synchronisedStorageComponent[0].restPath = "/synchronised-storage";
|
|
410
|
+
}
|
|
398
411
|
if (core.Is.arrayValue(serverConfig.types.federatedCatalogueComponent) &&
|
|
399
412
|
!core.Is.stringValue(serverConfig.types.federatedCatalogueComponent[0].restPath)) {
|
|
400
413
|
serverConfig.types.federatedCatalogueComponent[0].restPath = "/federated-catalogue";
|
|
401
414
|
}
|
|
402
|
-
if (core.Is.arrayValue(serverConfig.types.
|
|
403
|
-
!core.Is.stringValue(serverConfig.types.
|
|
404
|
-
serverConfig.types.
|
|
415
|
+
if (core.Is.arrayValue(serverConfig.types.dataSpaceConnectorComponent) &&
|
|
416
|
+
!core.Is.stringValue(serverConfig.types.dataSpaceConnectorComponent[0].restPath)) {
|
|
417
|
+
serverConfig.types.dataSpaceConnectorComponent[0].restPath = "/data-space-connector";
|
|
405
418
|
}
|
|
406
419
|
}
|
|
407
420
|
/**
|
|
@@ -413,6 +426,10 @@ function addDefaultSocketPaths(serverConfig) {
|
|
|
413
426
|
!core.Is.stringValue(serverConfig.types.eventBusComponent[0].socketPath)) {
|
|
414
427
|
serverConfig.types.eventBusComponent[0].socketPath = "event-bus";
|
|
415
428
|
}
|
|
429
|
+
if (core.Is.arrayValue(serverConfig.types.dataSpaceConnectorComponent) &&
|
|
430
|
+
!core.Is.stringValue(serverConfig.types.dataSpaceConnectorComponent[0].socketPath)) {
|
|
431
|
+
serverConfig.types.dataSpaceConnectorComponent[0].socketPath = "data-space-connector";
|
|
432
|
+
}
|
|
416
433
|
}
|
|
417
434
|
|
|
418
435
|
exports.EngineServer = EngineServer;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -33,10 +33,10 @@ class EngineServer {
|
|
|
33
33
|
*/
|
|
34
34
|
_webServer;
|
|
35
35
|
/**
|
|
36
|
-
* The logging
|
|
36
|
+
* The logging component type.
|
|
37
37
|
* @internal
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
_loggingComponentType;
|
|
40
40
|
/**
|
|
41
41
|
* The REST routes for the application.
|
|
42
42
|
* @internal
|
|
@@ -188,10 +188,11 @@ class EngineServer {
|
|
|
188
188
|
const socketRouteProcessors = SocketRouteProcessorFactory.names().map(n => SocketRouteProcessorFactory.get(n));
|
|
189
189
|
const mimeTypeProcessors = MimeTypeProcessorFactory.names().map(n => MimeTypeProcessorFactory.get(n));
|
|
190
190
|
const coreConfig = this._engineCore.getConfig();
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
this._loggingComponentType = coreConfig.silent
|
|
192
|
+
? undefined
|
|
193
|
+
: this._engineCore.getRegisteredInstanceType("loggingComponent");
|
|
193
194
|
this._webServer = new FastifyWebServer({
|
|
194
|
-
|
|
195
|
+
loggingComponentType: this._loggingComponentType,
|
|
195
196
|
mimeTypeProcessors
|
|
196
197
|
});
|
|
197
198
|
await this._webServer.build(restRouteProcessors, this._restRoutes, socketRouteProcessors, this._socketRoutes, coreConfig.web);
|
|
@@ -231,12 +232,12 @@ class EngineServer {
|
|
|
231
232
|
*/
|
|
232
233
|
async initialiseRestTypeRoute(routes, typeKey, typeConfig, module, method) {
|
|
233
234
|
if (Is.arrayValue(typeConfig)) {
|
|
234
|
-
const defaultEngineTypes = this._engineCore.getDefaultTypes();
|
|
235
235
|
const generateRoutes = await ModuleHelper.getModuleEntry(module, method);
|
|
236
236
|
for (let i = 0; i < typeConfig.length; i++) {
|
|
237
237
|
const restPath = typeConfig[i].restPath;
|
|
238
238
|
if (Is.string(restPath)) {
|
|
239
|
-
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
239
|
+
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
240
|
+
this._engineCore.getRegisteredInstanceType(typeKey);
|
|
240
241
|
if (Is.stringValue(serviceType)) {
|
|
241
242
|
const generatedRoutes = generateRoutes(restPath, serviceType);
|
|
242
243
|
for (const route of generatedRoutes) {
|
|
@@ -262,12 +263,12 @@ class EngineServer {
|
|
|
262
263
|
*/
|
|
263
264
|
async initialiseSocketTypeRoute(routes, typeKey, typeConfig, module, method) {
|
|
264
265
|
if (Is.arrayValue(typeConfig)) {
|
|
265
|
-
const defaultEngineTypes = this._engineCore.getDefaultTypes();
|
|
266
266
|
const generateRoutes = await ModuleHelper.getModuleEntry(module, method);
|
|
267
267
|
for (let i = 0; i < typeConfig.length; i++) {
|
|
268
268
|
const socketPath = typeConfig[i].socketPath;
|
|
269
269
|
if (Is.string(socketPath)) {
|
|
270
|
-
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
270
|
+
const serviceType = typeConfig[i].overrideInstanceType ??
|
|
271
|
+
this._engineCore.getRegisteredInstanceType(typeKey);
|
|
271
272
|
if (Is.stringValue(serviceType)) {
|
|
272
273
|
routes.push(...generateRoutes(socketPath, serviceType));
|
|
273
274
|
}
|
|
@@ -281,6 +282,7 @@ class EngineServer {
|
|
|
281
282
|
*/
|
|
282
283
|
addServerTypeInitialisers() {
|
|
283
284
|
const coreConfig = this._engineCore.getConfig();
|
|
285
|
+
this._engineCore.addTypeInitialiser("authenticationAdminComponent", coreConfig.types.authenticationAdminComponent, "@twin.org/engine-server-types", "initialiseAuthenticationAdminComponent");
|
|
284
286
|
this._engineCore.addTypeInitialiser("authenticationComponent", coreConfig.types.authenticationComponent, "@twin.org/engine-server-types", "initialiseAuthenticationComponent");
|
|
285
287
|
this._engineCore.addTypeInitialiser("informationComponent", coreConfig.types.informationComponent, "@twin.org/engine-server-types", "initialiseInformationComponent");
|
|
286
288
|
this._engineCore.addTypeInitialiser("restRouteProcessor", coreConfig.types.restRouteProcessor, "@twin.org/engine-server-types", "initialiseRestRouteProcessorComponent");
|
|
@@ -310,8 +312,10 @@ class EngineServer {
|
|
|
310
312
|
this.addRestRouteGenerator("entityStorageComponent", coreConfig.types.entityStorageComponent, "@twin.org/entity-storage-service", "generateRestRoutesEntityStorage");
|
|
311
313
|
this.addRestRouteGenerator("dataProcessingComponent", coreConfig.types.dataProcessingComponent, "@twin.org/data-processing-service", "generateRestRoutesDataProcessing");
|
|
312
314
|
this.addRestRouteGenerator("documentManagementComponent", coreConfig.types.documentManagementComponent, "@twin.org/document-management-service", "generateRestRoutesDocumentManagement");
|
|
313
|
-
this.addRestRouteGenerator("federatedCatalogueComponent", coreConfig.types.federatedCatalogueComponent, "@twin.org/federated-catalogue-service", "generateRestRoutesFederatedCatalogue");
|
|
314
315
|
this.addRestRouteGenerator("rightsManagementComponent", coreConfig.types.rightsManagementComponent, "@twin.org/rights-management-service", "generateRestRoutesRightsManagement");
|
|
316
|
+
this.addRestRouteGenerator("synchronisedStorageComponent", coreConfig.types.synchronisedStorageComponent, "@twin.org/synchronised-storage-service", "generateRestRoutesSynchronisedStorage");
|
|
317
|
+
this.addRestRouteGenerator("federatedCatalogueComponent", coreConfig.types.federatedCatalogueComponent, "@twin.org/federated-catalogue-service", "generateRestRoutesFederatedCatalogue");
|
|
318
|
+
this.addRestRouteGenerator("dataSpaceConnectorComponent", coreConfig.types.dataSpaceConnectorComponent, "@twin.org/data-space-connector-service", "generateRestRoutesDataSpaceConnector");
|
|
315
319
|
}
|
|
316
320
|
/**
|
|
317
321
|
* Add the server socket route generators.
|
|
@@ -320,6 +324,7 @@ class EngineServer {
|
|
|
320
324
|
addServerSocketRouteGenerators() {
|
|
321
325
|
const coreConfig = this._engineCore.getConfig();
|
|
322
326
|
this.addSocketRouteGenerator("eventBusComponent", coreConfig.types.eventBusComponent, "@twin.org/event-bus-service", "generateSocketRoutesEventBus");
|
|
327
|
+
this.addSocketRouteGenerator("dataSpaceConnectorComponent", coreConfig.types.dataSpaceConnectorComponent, "@twin.org/data-space-connector-service", "generateSocketRoutesDataSpaceConnector");
|
|
323
328
|
}
|
|
324
329
|
}
|
|
325
330
|
|
|
@@ -393,13 +398,21 @@ function addDefaultRestPaths(serverConfig) {
|
|
|
393
398
|
!Is.stringValue(serverConfig.types.documentManagementComponent[0].restPath)) {
|
|
394
399
|
serverConfig.types.documentManagementComponent[0].restPath = "/documents";
|
|
395
400
|
}
|
|
401
|
+
if (Is.arrayValue(serverConfig.types.rightsManagementComponent) &&
|
|
402
|
+
!Is.stringValue(serverConfig.types.rightsManagementComponent[0].restPath)) {
|
|
403
|
+
serverConfig.types.rightsManagementComponent[0].restPath = "/rights-management";
|
|
404
|
+
}
|
|
405
|
+
if (Is.arrayValue(serverConfig.types.synchronisedStorageComponent) &&
|
|
406
|
+
!Is.stringValue(serverConfig.types.synchronisedStorageComponent[0].restPath)) {
|
|
407
|
+
serverConfig.types.synchronisedStorageComponent[0].restPath = "/synchronised-storage";
|
|
408
|
+
}
|
|
396
409
|
if (Is.arrayValue(serverConfig.types.federatedCatalogueComponent) &&
|
|
397
410
|
!Is.stringValue(serverConfig.types.federatedCatalogueComponent[0].restPath)) {
|
|
398
411
|
serverConfig.types.federatedCatalogueComponent[0].restPath = "/federated-catalogue";
|
|
399
412
|
}
|
|
400
|
-
if (Is.arrayValue(serverConfig.types.
|
|
401
|
-
!Is.stringValue(serverConfig.types.
|
|
402
|
-
serverConfig.types.
|
|
413
|
+
if (Is.arrayValue(serverConfig.types.dataSpaceConnectorComponent) &&
|
|
414
|
+
!Is.stringValue(serverConfig.types.dataSpaceConnectorComponent[0].restPath)) {
|
|
415
|
+
serverConfig.types.dataSpaceConnectorComponent[0].restPath = "/data-space-connector";
|
|
403
416
|
}
|
|
404
417
|
}
|
|
405
418
|
/**
|
|
@@ -411,6 +424,10 @@ function addDefaultSocketPaths(serverConfig) {
|
|
|
411
424
|
!Is.stringValue(serverConfig.types.eventBusComponent[0].socketPath)) {
|
|
412
425
|
serverConfig.types.eventBusComponent[0].socketPath = "event-bus";
|
|
413
426
|
}
|
|
427
|
+
if (Is.arrayValue(serverConfig.types.dataSpaceConnectorComponent) &&
|
|
428
|
+
!Is.stringValue(serverConfig.types.dataSpaceConnectorComponent[0].socketPath)) {
|
|
429
|
+
serverConfig.types.dataSpaceConnectorComponent[0].socketPath = "data-space-connector";
|
|
430
|
+
}
|
|
414
431
|
}
|
|
415
432
|
|
|
416
433
|
export { EngineServer, addDefaultRestPaths, addDefaultSocketPaths };
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,200 @@
|
|
|
1
1
|
# @twin.org/engine-server - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.9...engine-server-v0.0.2-next.10) (2025-08-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add data space connector ([a824d99](https://github.com/twinfoundation/engine/commit/a824d9931faeaa8115e01f8e7545b802d0e7ac70))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/engine-core bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
16
|
+
* @twin.org/engine-models bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
17
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
18
|
+
* devDependencies
|
|
19
|
+
* @twin.org/engine bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
20
|
+
|
|
21
|
+
## [0.0.2-next.9](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.8...engine-server-v0.0.2-next.9) (2025-08-25)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* add isPrimary and isClone methods ([a7c63e9](https://github.com/twinfoundation/engine/commit/a7c63e97f54c95b104cc81e66d3fa42c6607bdc1))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @twin.org/engine-core bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
34
|
+
* @twin.org/engine-models bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
35
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
36
|
+
* devDependencies
|
|
37
|
+
* @twin.org/engine bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
38
|
+
|
|
39
|
+
## [0.0.2-next.8](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.7...engine-server-v0.0.2-next.8) (2025-08-22)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* add rights management modules ([e02cadc](https://github.com/twinfoundation/engine/commit/e02cadc840d242fe16a73ab41ba61376c7467e50))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Dependencies
|
|
48
|
+
|
|
49
|
+
* The following workspace dependencies were updated
|
|
50
|
+
* dependencies
|
|
51
|
+
* @twin.org/engine-core bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
52
|
+
* @twin.org/engine-models bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
53
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
54
|
+
* devDependencies
|
|
55
|
+
* @twin.org/engine bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
56
|
+
|
|
57
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.6...engine-server-v0.0.2-next.7) (2025-08-22)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Miscellaneous Chores
|
|
61
|
+
|
|
62
|
+
* **engine-server:** Synchronize repo versions
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Dependencies
|
|
66
|
+
|
|
67
|
+
* The following workspace dependencies were updated
|
|
68
|
+
* dependencies
|
|
69
|
+
* @twin.org/engine-core bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
70
|
+
* @twin.org/engine-models bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
71
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
72
|
+
* devDependencies
|
|
73
|
+
* @twin.org/engine bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
74
|
+
|
|
75
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.5...engine-server-v0.0.2-next.6) (2025-08-21)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* update framework core ([acc0f8d](https://github.com/twinfoundation/engine/commit/acc0f8d455a4b8ec47f1da643139fa0f07775fa6))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Dependencies
|
|
84
|
+
|
|
85
|
+
* The following workspace dependencies were updated
|
|
86
|
+
* dependencies
|
|
87
|
+
* @twin.org/engine-core bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
88
|
+
* @twin.org/engine-models bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
89
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
90
|
+
* devDependencies
|
|
91
|
+
* @twin.org/engine bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
92
|
+
|
|
93
|
+
## [0.0.2-next.5](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.4...engine-server-v0.0.2-next.5) (2025-08-14)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
* add synchronised storage support ([5142e34](https://github.com/twinfoundation/engine/commit/5142e3488f09195cf9f48a9c6c6d1014231a4c2c))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Dependencies
|
|
102
|
+
|
|
103
|
+
* The following workspace dependencies were updated
|
|
104
|
+
* dependencies
|
|
105
|
+
* @twin.org/engine-core bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
106
|
+
* @twin.org/engine-models bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
107
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
108
|
+
* devDependencies
|
|
109
|
+
* @twin.org/engine bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
110
|
+
|
|
111
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.3...engine-server-v0.0.2-next.4) (2025-07-25)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Features
|
|
115
|
+
|
|
116
|
+
* add default logging component for web server ([8ad94f0](https://github.com/twinfoundation/engine/commit/8ad94f0d2d9a5241a8854b1e59fb9a55ce310142))
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Dependencies
|
|
120
|
+
|
|
121
|
+
* The following workspace dependencies were updated
|
|
122
|
+
* dependencies
|
|
123
|
+
* @twin.org/engine-core bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
124
|
+
* @twin.org/engine-models bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
125
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
126
|
+
* devDependencies
|
|
127
|
+
* @twin.org/engine bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
128
|
+
|
|
129
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.2...engine-server-v0.0.2-next.3) (2025-07-24)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Features
|
|
133
|
+
|
|
134
|
+
* update includeUserIdentity usage ([d34f597](https://github.com/twinfoundation/engine/commit/d34f597a61f9645a029411d2911bbda20ddc9eb9))
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Dependencies
|
|
138
|
+
|
|
139
|
+
* The following workspace dependencies were updated
|
|
140
|
+
* dependencies
|
|
141
|
+
* @twin.org/engine-core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
142
|
+
* @twin.org/engine-models bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
143
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
144
|
+
* devDependencies
|
|
145
|
+
* @twin.org/engine bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
146
|
+
|
|
147
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.1...engine-server-v0.0.2-next.2) (2025-07-21)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Features
|
|
151
|
+
|
|
152
|
+
* add rest clients as components ([c6f956a](https://github.com/twinfoundation/engine/commit/c6f956afe4fc22cd552174539c92a109448dc242))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
### Dependencies
|
|
156
|
+
|
|
157
|
+
* The following workspace dependencies were updated
|
|
158
|
+
* dependencies
|
|
159
|
+
* @twin.org/engine-core bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
160
|
+
* @twin.org/engine-models bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
161
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
162
|
+
* devDependencies
|
|
163
|
+
* @twin.org/engine bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
164
|
+
|
|
165
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.0...engine-server-v0.0.2-next.1) (2025-07-11)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Features
|
|
169
|
+
|
|
170
|
+
* add auth admin component ([201cd06](https://github.com/twinfoundation/engine/commit/201cd061be83afccb5a6b06856ffe7cf8db7d6b3))
|
|
171
|
+
* add federated catalogue ([1b15dd0](https://github.com/twinfoundation/engine/commit/1b15dd059a11446457651c411a73145fab37f025))
|
|
172
|
+
* add mimeTypeProcessors and disableNodeIdentity ([bb7e81e](https://github.com/twinfoundation/engine/commit/bb7e81e2036fe042068a5645ec59b22e20d33aad))
|
|
173
|
+
* add task scheduler ([0951107](https://github.com/twinfoundation/engine/commit/09511073ad042194a45206303f0ef31d8d6af5db))
|
|
174
|
+
* expose default rest and socket path creation ([e6c6e26](https://github.com/twinfoundation/engine/commit/e6c6e266c8017212a74d4997e2e335347457a2bc))
|
|
175
|
+
* iota rebased release ([474d92b](https://github.com/twinfoundation/engine/commit/474d92b352f4ccc431a4f138afee2ee89824664d))
|
|
176
|
+
* modifying the engine to run the new services ([#10](https://github.com/twinfoundation/engine/issues/10)) ([6f7141f](https://github.com/twinfoundation/engine/commit/6f7141fe0a6d05c725066b274bcc18b5490e580b))
|
|
177
|
+
* move environment variable processing to node level ([2223c12](https://github.com/twinfoundation/engine/commit/2223c12f49f3d34051ecec9687351aa5dd094e54))
|
|
178
|
+
* update dependencies ([97c9f64](https://github.com/twinfoundation/engine/commit/97c9f64b6ef096963bcc5de338a2a9e99bdc1a11))
|
|
179
|
+
* use shared store mechanism ([#2](https://github.com/twinfoundation/engine/issues/2)) ([9eed8d7](https://github.com/twinfoundation/engine/commit/9eed8d7766388479b42f03e2542fe761f2156408))
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Bug Fixes
|
|
183
|
+
|
|
184
|
+
* method docs ([fb3d73f](https://github.com/twinfoundation/engine/commit/fb3d73fa9e71ab392378fe7bad7a3677e5e7b132))
|
|
185
|
+
* use abbreviated docs path ([9258a72](https://github.com/twinfoundation/engine/commit/9258a72adf266ddcc4f98002a07a7a162755f24b))
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Dependencies
|
|
189
|
+
|
|
190
|
+
* The following workspace dependencies were updated
|
|
191
|
+
* dependencies
|
|
192
|
+
* @twin.org/engine-core bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
193
|
+
* @twin.org/engine-models bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
194
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
195
|
+
* devDependencies
|
|
196
|
+
* @twin.org/engine bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
197
|
+
|
|
3
198
|
## 0.0.1 (2025-07-11)
|
|
4
199
|
|
|
5
200
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-next.10",
|
|
4
4
|
"description": "Engine implementation for a server.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@twin.org/api-models": "next",
|
|
18
18
|
"@twin.org/api-server-fastify": "next",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
|
-
"@twin.org/engine-core": "0.0.
|
|
21
|
-
"@twin.org/engine-models": "0.0.
|
|
22
|
-
"@twin.org/engine-server-types": "0.0.
|
|
20
|
+
"@twin.org/engine-core": "0.0.2-next.10",
|
|
21
|
+
"@twin.org/engine-models": "0.0.2-next.10",
|
|
22
|
+
"@twin.org/engine-server-types": "0.0.2-next.10",
|
|
23
23
|
"@twin.org/modules": "next",
|
|
24
24
|
"@twin.org/nameof": "next"
|
|
25
25
|
},
|