@twin.org/node-core 0.9.4-next.3 → 0.9.4-next.4
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/es/builders/engineEnvBuilder.js +14 -2
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/builders/engineServerEnvBuilder.js +5 -2
- package/dist/es/builders/engineServerEnvBuilder.js.map +1 -1
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/models/IEngineServerEnvironmentVariables.js.map +1 -1
- package/dist/es/models/engineEnvironmentVariableKeys.js +6 -0
- package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -1
- package/dist/es/models/engineServerEnvironmentVariableKeys.js +1 -0
- package/dist/es/models/engineServerEnvironmentVariableKeys.js.map +1 -1
- package/dist/es/node.js +1 -1
- package/dist/es/node.js.map +1 -1
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +21 -1
- package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +4 -0
- package/docs/changelog.md +7 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +41 -1
- package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +8 -0
- package/package.json +1 -1
|
@@ -441,7 +441,7 @@ export interface IEngineEnvironmentVariables {
|
|
|
441
441
|
*/
|
|
442
442
|
eventBusComponent?: string;
|
|
443
443
|
/**
|
|
444
|
-
* The email protocol connector types, comma-separated: pop3, imap.
|
|
444
|
+
* The email protocol connector types, comma-separated: pop3, imap, gmail.
|
|
445
445
|
*/
|
|
446
446
|
emailProtocolConnector?: string;
|
|
447
447
|
/**
|
|
@@ -963,6 +963,26 @@ export interface IEngineEnvironmentVariables {
|
|
|
963
963
|
* The interval in seconds for running the application health lifecycle (init, application, teardown), defaults to 300.
|
|
964
964
|
*/
|
|
965
965
|
healthApplicationInterval?: string;
|
|
966
|
+
/**
|
|
967
|
+
* The maximum number of workers to use for processing background tasks, defaults to twice the number of CPU cores.
|
|
968
|
+
*/
|
|
969
|
+
backgroundTaskMaxSystemWorkerCount?: string;
|
|
970
|
+
/**
|
|
971
|
+
* The interval in milliseconds to leave between background tasks, defaults to 100.
|
|
972
|
+
*/
|
|
973
|
+
backgroundTaskInterval?: string;
|
|
974
|
+
/**
|
|
975
|
+
* The interval in milliseconds to leave between background task retries, defaults to 5000.
|
|
976
|
+
*/
|
|
977
|
+
backgroundTaskRetryInterval?: string;
|
|
978
|
+
/**
|
|
979
|
+
* The interval in milliseconds between sweeps removing retained background tasks, defaults to 120000.
|
|
980
|
+
*/
|
|
981
|
+
backgroundTaskCleanupInterval?: string;
|
|
982
|
+
/**
|
|
983
|
+
* The time in milliseconds to wait for each handler's workers to shut down before terminating them, defaults to 5000.
|
|
984
|
+
*/
|
|
985
|
+
backgroundTaskWorkerShutdownTimeout?: string;
|
|
966
986
|
/**
|
|
967
987
|
* The type of the automation action to create, comma separate for more than one connector.
|
|
968
988
|
* values: fetch
|
|
@@ -34,6 +34,10 @@ export interface IEngineServerEnvironmentVariables {
|
|
|
34
34
|
* The public origin URL for the API e.g. https://api.example.com:1234
|
|
35
35
|
*/
|
|
36
36
|
publicOrigin?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The time in milliseconds Fastify waits for a plugin to load before failing, defaults to 30000.
|
|
39
|
+
*/
|
|
40
|
+
fastifyPluginTimeout?: string;
|
|
37
41
|
/**
|
|
38
42
|
* The type of auth admin processor to use on the API: entity-storage.
|
|
39
43
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.4-next.4](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.4-next.3...node-core-v0.9.4-next.4) (2026-09-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* custom plugin timeout ([#395](https://github.com/iotaledger/twin-node/issues/395)) ([d4a33ba](https://github.com/iotaledger/twin-node/commit/d4a33ba10a54c6dfab0b845b386201ac326df88a))
|
|
9
|
+
|
|
3
10
|
## [0.9.4-next.3](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.4-next.2...node-core-v0.9.4-next.3) (2026-09-09)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -891,7 +891,7 @@ The type of event bus component: service.
|
|
|
891
891
|
|
|
892
892
|
> `optional` **emailProtocolConnector?**: `string`
|
|
893
893
|
|
|
894
|
-
The email protocol connector types, comma-separated: pop3, imap.
|
|
894
|
+
The email protocol connector types, comma-separated: pop3, imap, gmail.
|
|
895
895
|
|
|
896
896
|
***
|
|
897
897
|
|
|
@@ -1975,6 +1975,46 @@ The interval in seconds for running the application health lifecycle (init, appl
|
|
|
1975
1975
|
|
|
1976
1976
|
***
|
|
1977
1977
|
|
|
1978
|
+
### backgroundTaskMaxSystemWorkerCount? {#backgroundtaskmaxsystemworkercount}
|
|
1979
|
+
|
|
1980
|
+
> `optional` **backgroundTaskMaxSystemWorkerCount?**: `string`
|
|
1981
|
+
|
|
1982
|
+
The maximum number of workers to use for processing background tasks, defaults to twice the number of CPU cores.
|
|
1983
|
+
|
|
1984
|
+
***
|
|
1985
|
+
|
|
1986
|
+
### backgroundTaskInterval? {#backgroundtaskinterval}
|
|
1987
|
+
|
|
1988
|
+
> `optional` **backgroundTaskInterval?**: `string`
|
|
1989
|
+
|
|
1990
|
+
The interval in milliseconds to leave between background tasks, defaults to 100.
|
|
1991
|
+
|
|
1992
|
+
***
|
|
1993
|
+
|
|
1994
|
+
### backgroundTaskRetryInterval? {#backgroundtaskretryinterval}
|
|
1995
|
+
|
|
1996
|
+
> `optional` **backgroundTaskRetryInterval?**: `string`
|
|
1997
|
+
|
|
1998
|
+
The interval in milliseconds to leave between background task retries, defaults to 5000.
|
|
1999
|
+
|
|
2000
|
+
***
|
|
2001
|
+
|
|
2002
|
+
### backgroundTaskCleanupInterval? {#backgroundtaskcleanupinterval}
|
|
2003
|
+
|
|
2004
|
+
> `optional` **backgroundTaskCleanupInterval?**: `string`
|
|
2005
|
+
|
|
2006
|
+
The interval in milliseconds between sweeps removing retained background tasks, defaults to 120000.
|
|
2007
|
+
|
|
2008
|
+
***
|
|
2009
|
+
|
|
2010
|
+
### backgroundTaskWorkerShutdownTimeout? {#backgroundtaskworkershutdowntimeout}
|
|
2011
|
+
|
|
2012
|
+
> `optional` **backgroundTaskWorkerShutdownTimeout?**: `string`
|
|
2013
|
+
|
|
2014
|
+
The time in milliseconds to wait for each handler's workers to shut down before terminating them, defaults to 5000.
|
|
2015
|
+
|
|
2016
|
+
***
|
|
2017
|
+
|
|
1978
2018
|
### automationActionTypes? {#automationactiontypes}
|
|
1979
2019
|
|
|
1980
2020
|
> `optional` **automationActionTypes?**: `string`
|
|
@@ -68,6 +68,14 @@ The public origin URL for the API e.g. https://api.example.com:1234
|
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
71
|
+
### fastifyPluginTimeout? {#fastifyplugintimeout}
|
|
72
|
+
|
|
73
|
+
> `optional` **fastifyPluginTimeout?**: `string`
|
|
74
|
+
|
|
75
|
+
The time in milliseconds Fastify waits for a plugin to load before failing, defaults to 30000.
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
71
79
|
### authAdminProcessorType? {#authadminprocessortype}
|
|
72
80
|
|
|
73
81
|
> `optional` **authAdminProcessorType?**: `string`
|