@twin.org/node-core 0.0.2-next.13 → 0.0.2-next.15
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 +67 -76
- package/dist/esm/index.mjs +69 -78
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +21 -1
- package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +14 -5
- package/dist/types/models/INodeEnvironmentVariables.d.ts +1 -2
- package/docs/changelog.md +14 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +42 -2
- package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +1544 -8
- package/docs/reference/interfaces/INodeEnvironmentVariables.md +212 -128
- package/package.json +1 -1
|
@@ -258,7 +258,7 @@ export interface IEngineEnvironmentVariables {
|
|
|
258
258
|
*/
|
|
259
259
|
hashicorpVaultEndpoint?: string;
|
|
260
260
|
/**
|
|
261
|
-
* The type of
|
|
261
|
+
* The type of logging task connector, can be a comma separated list: console, entity-storage.
|
|
262
262
|
*/
|
|
263
263
|
loggingConnector?: string;
|
|
264
264
|
/**
|
|
@@ -369,6 +369,10 @@ export interface IEngineEnvironmentVariables {
|
|
|
369
369
|
* The identity verification method id to use with attestation.
|
|
370
370
|
*/
|
|
371
371
|
attestationVerificationMethodId?: string;
|
|
372
|
+
/**
|
|
373
|
+
* Is the data processing enabled, defaults to false.
|
|
374
|
+
*/
|
|
375
|
+
dataProcessingEnabled?: string;
|
|
372
376
|
/**
|
|
373
377
|
* The type of the default data converters, can be a comma separated list: json, xml.
|
|
374
378
|
*/
|
|
@@ -377,6 +381,18 @@ export interface IEngineEnvironmentVariables {
|
|
|
377
381
|
* The type of the default data extractor, can be a comma separated list: json-path.
|
|
378
382
|
*/
|
|
379
383
|
dataExtractorConnectors?: string;
|
|
384
|
+
/**
|
|
385
|
+
* Is the auditable item graph enabled, defaults to false.
|
|
386
|
+
*/
|
|
387
|
+
auditableItemGraphEnabled?: string;
|
|
388
|
+
/**
|
|
389
|
+
* Is the auditable item stream enabled, defaults to false.
|
|
390
|
+
*/
|
|
391
|
+
auditableItemStreamEnabled?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Is the document management enabled, defaults to false.
|
|
394
|
+
*/
|
|
395
|
+
documentManagementEnabled?: string;
|
|
380
396
|
/**
|
|
381
397
|
* Is the synchronised storage enabled, defaults to false.
|
|
382
398
|
*/
|
|
@@ -489,6 +505,10 @@ export interface IEngineEnvironmentVariables {
|
|
|
489
505
|
* Use the @json: prefix to specify the path to the JSON configuration file.
|
|
490
506
|
*/
|
|
491
507
|
dataSpaceConnectorApps?: string;
|
|
508
|
+
/**
|
|
509
|
+
* Enable verifiable credential authentication for the API.
|
|
510
|
+
*/
|
|
511
|
+
vcAuthenticationEnabled?: string;
|
|
492
512
|
/**
|
|
493
513
|
* Verifiable credential assertion for node to node communication.
|
|
494
514
|
* Defaults to node-authentication-assertion.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { IEngineEnvironmentVariables } from "./IEngineEnvironmentVariables";
|
|
1
2
|
/**
|
|
2
3
|
* The engine server environment variables.
|
|
3
4
|
*/
|
|
4
|
-
export interface IEngineServerEnvironmentVariables {
|
|
5
|
+
export interface IEngineServerEnvironmentVariables extends IEngineEnvironmentVariables {
|
|
5
6
|
/**
|
|
6
7
|
* The port to serve the API from.
|
|
7
8
|
*/
|
|
@@ -42,12 +43,20 @@ export interface IEngineServerEnvironmentVariables {
|
|
|
42
43
|
* Additional MIME type processors to include, comma separated.
|
|
43
44
|
*/
|
|
44
45
|
mimeTypeProcessors?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Enable to the route processor for verifiable credentials.
|
|
47
|
-
*/
|
|
48
|
-
enableVerifiableCredentialRouteProcessors?: string;
|
|
49
46
|
/**
|
|
50
47
|
* Disable Node Identity route processors.
|
|
51
48
|
*/
|
|
52
49
|
disableNodeIdentity?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Include the body in the REST logging output, useful for debugging.
|
|
52
|
+
*/
|
|
53
|
+
routeLoggingIncludeBody?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Include the full base 64 output in the REST logging output, useful for debugging.
|
|
56
|
+
*/
|
|
57
|
+
routeLoggingFullBase64?: string;
|
|
58
|
+
/**
|
|
59
|
+
* List of properties to obfuscate in the REST logging output, comma separated.
|
|
60
|
+
*/
|
|
61
|
+
routeLoggingObfuscateProperties?: string;
|
|
53
62
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { IEngineEnvironmentVariables } from "./IEngineEnvironmentVariables";
|
|
2
1
|
import type { IEngineServerEnvironmentVariables } from "./IEngineServerEnvironmentVariables";
|
|
3
2
|
/**
|
|
4
3
|
* The environment variables for the node.
|
|
5
4
|
*/
|
|
6
|
-
export interface INodeEnvironmentVariables extends
|
|
5
|
+
export interface INodeEnvironmentVariables extends IEngineServerEnvironmentVariables {
|
|
7
6
|
/**
|
|
8
7
|
* The features that are enabled on the node.
|
|
9
8
|
* @default [NodeFeatures.NodeIdentity]
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/node-core - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.15](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.14...node-core-v0.0.2-next.15) (2025-09-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* additional options for enabling components ([e13d772](https://github.com/twinfoundation/node/commit/e13d7721a0dd7143d456fff246622cbe63dbd0f1))
|
|
9
|
+
|
|
10
|
+
## [0.0.2-next.14](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.13...node-core-v0.0.2-next.14) (2025-09-25)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* additional route logging env vars ([7152c88](https://github.com/twinfoundation/node/commit/7152c887c3ba76778e2d9e68ba57198b8d81d802))
|
|
16
|
+
|
|
3
17
|
## [0.0.2-next.13](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.12...node-core-v0.0.2-next.13) (2025-09-24)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -4,7 +4,7 @@ The engine core environment variables.
|
|
|
4
4
|
|
|
5
5
|
## Extended by
|
|
6
6
|
|
|
7
|
-
- [`
|
|
7
|
+
- [`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md)
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
@@ -519,7 +519,7 @@ Hashicorp Vault endpoint.
|
|
|
519
519
|
|
|
520
520
|
> `optional` **loggingConnector**: `string`
|
|
521
521
|
|
|
522
|
-
The type of
|
|
522
|
+
The type of logging task connector, can be a comma separated list: console, entity-storage.
|
|
523
523
|
|
|
524
524
|
***
|
|
525
525
|
|
|
@@ -739,6 +739,14 @@ The identity verification method id to use with attestation.
|
|
|
739
739
|
|
|
740
740
|
***
|
|
741
741
|
|
|
742
|
+
### dataProcessingEnabled?
|
|
743
|
+
|
|
744
|
+
> `optional` **dataProcessingEnabled**: `string`
|
|
745
|
+
|
|
746
|
+
Is the data processing enabled, defaults to false.
|
|
747
|
+
|
|
748
|
+
***
|
|
749
|
+
|
|
742
750
|
### dataConverterConnectors?
|
|
743
751
|
|
|
744
752
|
> `optional` **dataConverterConnectors**: `string`
|
|
@@ -755,6 +763,30 @@ The type of the default data extractor, can be a comma separated list: json-path
|
|
|
755
763
|
|
|
756
764
|
***
|
|
757
765
|
|
|
766
|
+
### auditableItemGraphEnabled?
|
|
767
|
+
|
|
768
|
+
> `optional` **auditableItemGraphEnabled**: `string`
|
|
769
|
+
|
|
770
|
+
Is the auditable item graph enabled, defaults to false.
|
|
771
|
+
|
|
772
|
+
***
|
|
773
|
+
|
|
774
|
+
### auditableItemStreamEnabled?
|
|
775
|
+
|
|
776
|
+
> `optional` **auditableItemStreamEnabled**: `string`
|
|
777
|
+
|
|
778
|
+
Is the auditable item stream enabled, defaults to false.
|
|
779
|
+
|
|
780
|
+
***
|
|
781
|
+
|
|
782
|
+
### documentManagementEnabled?
|
|
783
|
+
|
|
784
|
+
> `optional` **documentManagementEnabled**: `string`
|
|
785
|
+
|
|
786
|
+
Is the document management enabled, defaults to false.
|
|
787
|
+
|
|
788
|
+
***
|
|
789
|
+
|
|
758
790
|
### synchronisedStorageEnabled?
|
|
759
791
|
|
|
760
792
|
> `optional` **synchronisedStorageEnabled**: `string`
|
|
@@ -983,6 +1015,14 @@ Use the @json: prefix to specify the path to the JSON configuration file.
|
|
|
983
1015
|
|
|
984
1016
|
***
|
|
985
1017
|
|
|
1018
|
+
### vcAuthenticationEnabled?
|
|
1019
|
+
|
|
1020
|
+
> `optional` **vcAuthenticationEnabled**: `string`
|
|
1021
|
+
|
|
1022
|
+
Enable verifiable credential authentication for the API.
|
|
1023
|
+
|
|
1024
|
+
***
|
|
1025
|
+
|
|
986
1026
|
### vcAuthenticationVerificationMethodId?
|
|
987
1027
|
|
|
988
1028
|
> `optional` **vcAuthenticationVerificationMethodId**: `string`
|