@twin.org/node-core 0.9.2-next.14 → 0.9.2-next.16

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.
Files changed (26) hide show
  1. package/dist/es/builders/engineEnvBuilder.js +126 -78
  2. package/dist/es/builders/engineEnvBuilder.js.map +1 -1
  3. package/dist/es/builders/engineServerEnvBuilder.js +6 -5
  4. package/dist/es/builders/engineServerEnvBuilder.js.map +1 -1
  5. package/dist/es/builders/helper/envHelpers.js +57 -72
  6. package/dist/es/builders/helper/envHelpers.js.map +1 -1
  7. package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
  8. package/dist/es/models/IEngineServerEnvironmentVariables.js.map +1 -1
  9. package/dist/es/models/engineEnvironmentVariableKeys.js +4 -0
  10. package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -1
  11. package/dist/es/models/engineServerEnvironmentVariableKeys.js +1 -0
  12. package/dist/es/models/engineServerEnvironmentVariableKeys.js.map +1 -1
  13. package/dist/es/node.js +1 -1
  14. package/dist/es/node.js.map +1 -1
  15. package/dist/types/builders/engineEnvBuilder.d.ts +4 -4
  16. package/dist/types/builders/helper/envHelpers.d.ts +79 -20
  17. package/dist/types/models/IEngineEnvironmentVariables.d.ts +20 -2
  18. package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +4 -0
  19. package/docs/changelog.md +15 -0
  20. package/docs/reference/functions/{isTelemetryRequired.md → isTelemetryEnabled.md} +3 -3
  21. package/docs/reference/functions/{isTracingRequired.md → isTracingEnabled.md} +3 -3
  22. package/docs/reference/index.md +2 -2
  23. package/docs/reference/interfaces/IEngineEnvironmentVariables.md +46 -2
  24. package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +8 -0
  25. package/locales/en.json +1 -0
  26. package/package.json +1 -1
@@ -831,6 +831,14 @@ The number of rotated log files to retain when using the file logging connector,
831
831
 
832
832
  ***
833
833
 
834
+ ### telemetrySilentComponents? {#telemetrysilentcomponents}
835
+
836
+ > `optional` **telemetrySilentComponents?**: `string`
837
+
838
+ A list of components to exclude from telemetry, can be a comma separated list of component Class names e.g. "ComponentA,ComponentB".
839
+
840
+ ***
841
+
834
842
  ### openTelemetryLoggingLoggerName? {#opentelemetryloggingloggername}
835
843
 
836
844
  > `optional` **openTelemetryLoggingLoggerName?**: `string`
@@ -963,7 +971,7 @@ The type of messaging push notification connector: entity-storage, aws.
963
971
 
964
972
  > `optional` **telemetryConnector?**: `string`
965
973
 
966
- The type of telemetry connector: entity-storage.
974
+ The type of telemetry connector, comma-separated for multiple: entity-storage, open-telemetry, silent.
967
975
 
968
976
  ***
969
977
 
@@ -1061,11 +1069,47 @@ The mutex timeout in milliseconds for the telemetry connector.
1061
1069
 
1062
1070
  ***
1063
1071
 
1072
+ ### telemetryMetricDefinitionCacheCapacity? {#telemetrymetricdefinitioncachecapacity}
1073
+
1074
+ > `optional` **telemetryMetricDefinitionCacheCapacity?**: `string`
1075
+
1076
+ The maximum number of metric definitions held in the in-memory definition cache for the telemetry connector.
1077
+
1078
+ #### Default
1079
+
1080
+ ```ts
1081
+ 100
1082
+ ```
1083
+
1084
+ ***
1085
+
1086
+ ### telemetryMetricDefinitionCacheTtiMs? {#telemetrymetricdefinitioncachettims}
1087
+
1088
+ > `optional` **telemetryMetricDefinitionCacheTtiMs?**: `string`
1089
+
1090
+ The time-to-idle in milliseconds for cached metric definitions in the telemetry connector.
1091
+
1092
+ #### Default
1093
+
1094
+ ```ts
1095
+ 3600000
1096
+ ```
1097
+
1098
+ ***
1099
+
1100
+ ### tracingSilentComponents? {#tracingsilentcomponents}
1101
+
1102
+ > `optional` **tracingSilentComponents?**: `string`
1103
+
1104
+ A list of components to exclude from tracing, can be a comma separated list of component Class names e.g. "ComponentA,ComponentB".
1105
+
1106
+ ***
1107
+
1064
1108
  ### tracingConnector? {#tracingconnector}
1065
1109
 
1066
1110
  > `optional` **tracingConnector?**: `string`
1067
1111
 
1068
- The type of tracing connector: entity-storage, open-telemetry.
1112
+ The type of tracing connector, comma-separated for multiple: entity-storage, open-telemetry, silent.
1069
1113
 
1070
1114
  ***
1071
1115
 
@@ -52,6 +52,14 @@ The CORS headers to expose.
52
52
 
53
53
  ***
54
54
 
55
+ ### httpBodyLimits? {#httpbodylimits}
56
+
57
+ > `optional` **httpBodyLimits?**: `string`
58
+
59
+ Named request body limits in bytes as comma separated name=bytes pairs, e.g. default=2097152,large=26214400.
60
+
61
+ ***
62
+
55
63
  ### publicOrigin? {#publicorigin}
56
64
 
57
65
  > `optional` **publicOrigin?**: `string`
package/locales/en.json CHANGED
@@ -15,6 +15,7 @@
15
15
  "cliCommandParamExtra": "Parameter(s) \"{params}\" are not recognised for command \"{command}\"",
16
16
  "cliEnvVarMissing": "Environment variable \"{envVar}\" does not exist",
17
17
  "invalidEnvVarValue": "Environment variable \"{key}\" has an invalid value \"{value}\", expected {type} type",
18
+ "invalidEnvVarPair": "Environment variable \"{key}\" has an invalid entry \"{value}\", expected unique name=integer pairs",
18
19
  "unknownEnvVars": "Unknown environment variable properties [{keys}]. Check for typos in variable names, for custom variables use the {prefix}ENV_ALLOW_LIST."
19
20
  },
20
21
  "bootstrapDev": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node-core",
3
- "version": "0.9.2-next.14",
3
+ "version": "0.9.2-next.16",
4
4
  "description": "TWIN Node Core for serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",