@twin.org/node-core 0.0.2-next.25 → 0.0.2-next.27

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 (107) hide show
  1. package/README.md +1 -1
  2. package/dist/es/bootstrap.js +374 -0
  3. package/dist/es/bootstrap.js.map +1 -0
  4. package/dist/es/builders/engineEnvBuilder.js +1051 -0
  5. package/dist/es/builders/engineEnvBuilder.js.map +1 -0
  6. package/dist/es/builders/engineServerEnvBuilder.js +197 -0
  7. package/dist/es/builders/engineServerEnvBuilder.js.map +1 -0
  8. package/dist/es/builders/extensionsBuilder.js +100 -0
  9. package/dist/es/builders/extensionsBuilder.js.map +1 -0
  10. package/dist/es/defaults.js +9 -0
  11. package/dist/es/defaults.js.map +1 -0
  12. package/dist/es/identity.js +169 -0
  13. package/dist/es/identity.js.map +1 -0
  14. package/dist/es/index.js +23 -0
  15. package/dist/es/index.js.map +1 -0
  16. package/dist/es/models/ICacheMetadata.js +4 -0
  17. package/dist/es/models/ICacheMetadata.js.map +1 -0
  18. package/dist/es/models/IEngineEnvironmentVariables.js +4 -0
  19. package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -0
  20. package/dist/es/models/IEngineServerEnvironmentVariables.js +2 -0
  21. package/dist/es/models/IEngineServerEnvironmentVariables.js.map +1 -0
  22. package/dist/es/models/IModuleProtocol.js +2 -0
  23. package/dist/es/models/IModuleProtocol.js.map +1 -0
  24. package/dist/es/models/INodeEngineConfig.js +2 -0
  25. package/dist/es/models/INodeEngineConfig.js.map +1 -0
  26. package/dist/es/models/INodeEngineState.js +2 -0
  27. package/dist/es/models/INodeEngineState.js.map +1 -0
  28. package/dist/es/models/INodeEnvironmentVariables.js +2 -0
  29. package/dist/es/models/INodeEnvironmentVariables.js.map +1 -0
  30. package/dist/es/models/INodeOptions.js +2 -0
  31. package/dist/es/models/INodeOptions.js.map +1 -0
  32. package/dist/es/models/IProtocolHandlerResult.js +4 -0
  33. package/dist/es/models/IProtocolHandlerResult.js.map +1 -0
  34. package/dist/es/models/moduleProtocol.js +29 -0
  35. package/dist/es/models/moduleProtocol.js.map +1 -0
  36. package/dist/es/models/nodeExtensionMethods.js +2 -0
  37. package/dist/es/models/nodeExtensionMethods.js.map +1 -0
  38. package/dist/es/models/nodeFeatures.js +21 -0
  39. package/dist/es/models/nodeFeatures.js.map +1 -0
  40. package/dist/es/node.js +265 -0
  41. package/dist/es/node.js.map +1 -0
  42. package/dist/es/server.js +74 -0
  43. package/dist/es/server.js.map +1 -0
  44. package/dist/es/utils.js +418 -0
  45. package/dist/es/utils.js.map +1 -0
  46. package/dist/types/bootstrap.d.ts +27 -10
  47. package/dist/types/builders/engineEnvBuilder.d.ts +3 -2
  48. package/dist/types/builders/engineServerEnvBuilder.d.ts +3 -2
  49. package/dist/types/builders/extensionsBuilder.d.ts +2 -2
  50. package/dist/types/identity.d.ts +14 -0
  51. package/dist/types/index.d.ts +20 -15
  52. package/dist/types/models/ICacheMetadata.d.ts +17 -0
  53. package/dist/types/models/IEngineEnvironmentVariables.d.ts +12 -5
  54. package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +1 -1
  55. package/dist/types/models/IModuleProtocol.d.ts +18 -0
  56. package/dist/types/models/INodeEngineState.d.ts +22 -0
  57. package/dist/types/models/INodeEnvironmentVariables.d.ts +49 -8
  58. package/dist/types/models/INodeOptions.d.ts +13 -3
  59. package/dist/types/models/IProtocolHandlerResult.d.ts +13 -0
  60. package/dist/types/models/moduleProtocol.d.ts +29 -0
  61. package/dist/types/models/nodeExtensionMethods.d.ts +2 -2
  62. package/dist/types/models/nodeFeatures.d.ts +5 -5
  63. package/dist/types/node.d.ts +17 -7
  64. package/dist/types/server.d.ts +7 -6
  65. package/dist/types/utils.d.ts +69 -2
  66. package/docs/changelog.md +7 -0
  67. package/docs/detailed-guide.md +129 -0
  68. package/docs/reference/functions/bootstrap.md +1 -1
  69. package/docs/reference/functions/bootstrapAuth.md +1 -1
  70. package/docs/reference/functions/bootstrapBlobEncryption.md +1 -1
  71. package/docs/reference/functions/bootstrapContextIdHandlers.md +35 -0
  72. package/docs/reference/functions/bootstrapImmutableProofMethod.md +1 -1
  73. package/docs/reference/functions/{bootstrapNodeUser.md → bootstrapNodeAdminUser.md} +3 -3
  74. package/docs/reference/functions/{bootstrapNodeIdentity.md → bootstrapNodeId.md} +3 -3
  75. package/docs/reference/functions/bootstrapSynchronisedStorage.md +1 -1
  76. package/docs/reference/functions/bootstrapTenantId.md +35 -0
  77. package/docs/reference/functions/buildConfiguration.md +2 -2
  78. package/docs/reference/functions/buildEngineConfiguration.md +7 -1
  79. package/docs/reference/functions/buildEngineServerConfiguration.md +7 -1
  80. package/docs/reference/functions/createModuleImportUrl.md +21 -0
  81. package/docs/reference/functions/getExtensionsCacheDir.md +31 -0
  82. package/docs/reference/functions/handleHttpsProtocol.md +49 -0
  83. package/docs/reference/functions/handleNpmProtocol.md +31 -0
  84. package/docs/reference/functions/hashUrl.md +19 -0
  85. package/docs/reference/functions/isCacheExpired.md +31 -0
  86. package/docs/reference/functions/overrideModuleImport.md +8 -2
  87. package/docs/reference/functions/parseModuleProtocol.md +19 -0
  88. package/docs/reference/functions/resolvePackageEntryPoint.md +32 -0
  89. package/docs/reference/functions/run.md +3 -3
  90. package/docs/reference/functions/start.md +8 -2
  91. package/docs/reference/index.md +18 -2
  92. package/docs/reference/interfaces/ICacheMetadata.md +27 -0
  93. package/docs/reference/interfaces/IEngineEnvironmentVariables.md +24 -9
  94. package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +36 -13
  95. package/docs/reference/interfaces/IModuleProtocol.md +27 -0
  96. package/docs/reference/interfaces/INodeEngineConfig.md +430 -0
  97. package/docs/reference/interfaces/INodeEngineState.md +39 -0
  98. package/docs/reference/interfaces/INodeEnvironmentVariables.md +149 -24
  99. package/docs/reference/interfaces/INodeOptions.md +21 -1
  100. package/docs/reference/interfaces/IProtocolHandlerResult.md +19 -0
  101. package/docs/reference/type-aliases/ModuleProtocol.md +5 -0
  102. package/docs/reference/variables/ModuleProtocol.md +37 -0
  103. package/docs/reference/variables/NodeFeatures.md +7 -7
  104. package/locales/en.json +20 -8
  105. package/package.json +40 -8
  106. package/dist/cjs/index.cjs +0 -2232
  107. package/dist/esm/index.mjs +0 -2179
@@ -5,3 +5,433 @@ The config for the node.
5
5
  ## Extends
6
6
 
7
7
  - `IEngineServerConfig`
8
+
9
+ ## Properties
10
+
11
+ ### debug?
12
+
13
+ > `optional` **debug**: `boolean`
14
+
15
+ Start the engine in debug mode.
16
+
17
+ #### Default
18
+
19
+ ```ts
20
+ false
21
+ ```
22
+
23
+ #### Inherited from
24
+
25
+ `IEngineServerConfig.debug`
26
+
27
+ ***
28
+
29
+ ### silent?
30
+
31
+ > `optional` **silent**: `boolean`
32
+
33
+ Disable output to the console.
34
+
35
+ #### Default
36
+
37
+ ```ts
38
+ false
39
+ ```
40
+
41
+ #### Inherited from
42
+
43
+ `IEngineServerConfig.silent`
44
+
45
+ ***
46
+
47
+ ### web?
48
+
49
+ > `optional` **web**: `IWebServerOptions`
50
+
51
+ Configuration for the web server.
52
+
53
+ #### Inherited from
54
+
55
+ `IEngineServerConfig.web`
56
+
57
+ ***
58
+
59
+ ### types
60
+
61
+ > **types**: `object` & `object`
62
+
63
+ The types to initialise in the engine.
64
+
65
+ #### Type Declaration
66
+
67
+ ##### loggingConnector?
68
+
69
+ > `optional` **loggingConnector**: `IEngineCoreTypeConfig`\<`LoggingConnectorConfig`\>[]
70
+
71
+ Logging connector options which can be overridden by individual components by specifying types other than default.
72
+
73
+ ##### loggingComponent?
74
+
75
+ > `optional` **loggingComponent**: `IEngineCoreTypeConfig`\<`LoggingComponentConfig`\>[]
76
+
77
+ Logging component options which can be overridden by individual components by specifying types other than default.
78
+
79
+ ##### entityStorageConnector?
80
+
81
+ > `optional` **entityStorageConnector**: `IEngineCoreTypeConfig`\<`EntityStorageConnectorConfig`\>[]
82
+
83
+ Entity storage connector options which can be overridden by individual components by specifying types other than default.
84
+
85
+ ##### entityStorageComponent?
86
+
87
+ > `optional` **entityStorageComponent**: `IEngineCoreTypeConfig`\<`EntityStorageComponentConfig`\>[]
88
+
89
+ Entity storage component options which can be overridden by individual components by specifying types other than default.
90
+
91
+ ##### blobStorageConnector?
92
+
93
+ > `optional` **blobStorageConnector**: `IEngineCoreTypeConfig`\<`BlobStorageConnectorConfig`\>[]
94
+
95
+ Blob storage connector options which can be overridden by individual components by specifying types other than default.
96
+
97
+ ##### blobStorageComponent?
98
+
99
+ > `optional` **blobStorageComponent**: `IEngineCoreTypeConfig`\<`BlobStorageComponentConfig`\>[]
100
+
101
+ Blob storage component options which can be overridden by individual components by specifying types other than default.
102
+
103
+ ##### telemetryConnector?
104
+
105
+ > `optional` **telemetryConnector**: `IEngineCoreTypeConfig`\<`TelemetryConnectorConfig`\>[]
106
+
107
+ Telemetry connector options which can be overridden by individual components by specifying types other than default.
108
+
109
+ ##### telemetryComponent?
110
+
111
+ > `optional` **telemetryComponent**: `IEngineCoreTypeConfig`\<`TelemetryComponentConfig`\>[]
112
+
113
+ Telemetry component options which can be overridden by individual components by specifying types other than default.
114
+
115
+ ##### messagingEmailConnector?
116
+
117
+ > `optional` **messagingEmailConnector**: `IEngineCoreTypeConfig`\<`MessagingEmailConnectorConfig`\>[]
118
+
119
+ Messaging email connector options which can be overridden by individual components by specifying types other than default.
120
+
121
+ ##### messagingSmsConnector?
122
+
123
+ > `optional` **messagingSmsConnector**: `IEngineCoreTypeConfig`\<`MessagingSmsConnectorConfig`\>[]
124
+
125
+ Messaging SMS connector options which can be overridden by individual components by specifying types other than default.
126
+
127
+ ##### messagingPushNotificationConnector?
128
+
129
+ > `optional` **messagingPushNotificationConnector**: `IEngineCoreTypeConfig`\<`MessagingPushNotificationConnectorConfig`\>[]
130
+
131
+ Messaging push notification connector options which can be overridden by individual components by specifying types other than default.
132
+
133
+ ##### messagingAdminComponent?
134
+
135
+ > `optional` **messagingAdminComponent**: `IEngineCoreTypeConfig`\<`MessagingAdminComponentConfig`\>[]
136
+
137
+ Messaging admin component options which can be overridden by individual components by specifying types other than default.
138
+
139
+ ##### messagingComponent?
140
+
141
+ > `optional` **messagingComponent**: `IEngineCoreTypeConfig`\<`MessagingComponentConfig`\>[]
142
+
143
+ Messaging component options which can be overridden by individual components by specifying types other than default.
144
+
145
+ ##### backgroundTaskConnector?
146
+
147
+ > `optional` **backgroundTaskConnector**: `IEngineCoreTypeConfig`\<`BackgroundTaskConnectorConfig`\>[]
148
+
149
+ Background task connector options which can be overridden by individual components by specifying types other than default.
150
+
151
+ ##### taskSchedulerComponent?
152
+
153
+ > `optional` **taskSchedulerComponent**: `IEngineCoreTypeConfig`\<`TaskSchedulerComponentConfig`\>[]
154
+
155
+ Task scheduler component options which can be overridden by individual components by specifying types other than default.
156
+
157
+ ##### eventBusConnector?
158
+
159
+ > `optional` **eventBusConnector**: `IEngineCoreTypeConfig`\<`EventBusConnectorConfig`\>[]
160
+
161
+ Event bus connector options which can be overridden by individual components by specifying types other than default.
162
+
163
+ ##### eventBusComponent?
164
+
165
+ > `optional` **eventBusComponent**: `IEngineCoreTypeConfig`\<`EventBusComponentConfig`\>[]
166
+
167
+ Event bus component options which can be overridden by individual components by specifying types other than default.
168
+
169
+ ##### vaultConnector?
170
+
171
+ > `optional` **vaultConnector**: `IEngineCoreTypeConfig`\<`VaultConnectorConfig`\>[]
172
+
173
+ Vault connector options which can be overridden by individual components by specifying types other than default.
174
+
175
+ ##### dltConfig?
176
+
177
+ > `optional` **dltConfig**: `IEngineCoreTypeConfig`\<`DltConfig`\>[]
178
+
179
+ DLT options which can be overridden by individual components by specifying types other than default.
180
+
181
+ ##### walletConnector?
182
+
183
+ > `optional` **walletConnector**: `IEngineCoreTypeConfig`\<`WalletConnectorConfig`\>[]
184
+
185
+ Wallet connector options which can be overridden by individual components by specifying types other than default.
186
+
187
+ ##### verifiableStorageConnector?
188
+
189
+ > `optional` **verifiableStorageConnector**: `IEngineCoreTypeConfig`\<`VerifiableStorageConnectorConfig`\>[]
190
+
191
+ Verifiable storage connector options which can be overridden by individual components by specifying types other than default.
192
+
193
+ ##### verifiableStorageComponent?
194
+
195
+ > `optional` **verifiableStorageComponent**: `IEngineCoreTypeConfig`\<`VerifiableStorageComponentConfig`\>[]
196
+
197
+ Verifiable storage component options which can be overridden by individual components by specifying types other than default.
198
+
199
+ ##### immutableProofComponent?
200
+
201
+ > `optional` **immutableProofComponent**: `IEngineCoreTypeConfig`\<`ImmutableProofComponentConfig`\>[]
202
+
203
+ Immutable proof component options which can be overridden by individual components by specifying types other than default.
204
+
205
+ ##### faucetConnector?
206
+
207
+ > `optional` **faucetConnector**: `IEngineCoreTypeConfig`\<`FaucetConnectorConfig`\>[]
208
+
209
+ Faucet connector options which can be overridden by individual components by specifying types other than default.
210
+
211
+ ##### identityConnector?
212
+
213
+ > `optional` **identityConnector**: `IEngineCoreTypeConfig`\<`IdentityConnectorConfig`\>[]
214
+
215
+ Identity connector options which can be overridden by individual components by specifying types other than default.
216
+
217
+ ##### identityComponent?
218
+
219
+ > `optional` **identityComponent**: `IEngineCoreTypeConfig`\<`IdentityComponentConfig`\>[]
220
+
221
+ Identity component options which can be overridden by individual components by specifying types other than default.
222
+
223
+ ##### identityResolverConnector?
224
+
225
+ > `optional` **identityResolverConnector**: `IEngineCoreTypeConfig`\<`IdentityResolverConnectorConfig`\>[]
226
+
227
+ Identity resolver connector options which can be overridden by individual components by specifying types other than default.
228
+
229
+ ##### identityResolverComponent?
230
+
231
+ > `optional` **identityResolverComponent**: `IEngineCoreTypeConfig`\<`IdentityResolverComponentConfig`\>[]
232
+
233
+ Identity resolver component options which can be overridden by individual components by specifying types other than default.
234
+
235
+ ##### identityProfileConnector?
236
+
237
+ > `optional` **identityProfileConnector**: `IEngineCoreTypeConfig`\<`IdentityProfileConnectorConfig`\>[]
238
+
239
+ Identity profile connector options which can be overridden by individual components by specifying types other than default.
240
+
241
+ ##### identityProfileComponent?
242
+
243
+ > `optional` **identityProfileComponent**: `IEngineCoreTypeConfig`\<`IdentityProfileComponentConfig`\>[]
244
+
245
+ Identity profile component options which can be overridden by individual components by specifying types other than default.
246
+
247
+ ##### nftConnector?
248
+
249
+ > `optional` **nftConnector**: `IEngineCoreTypeConfig`\<`NftConnectorConfig`\>[]
250
+
251
+ NFT connector options which can be overridden by individual components by specifying types other than default.
252
+
253
+ ##### nftComponent?
254
+
255
+ > `optional` **nftComponent**: `IEngineCoreTypeConfig`\<`NftComponentConfig`\>[]
256
+
257
+ NFT component options which can be overridden by individual components by specifying types other than default.
258
+
259
+ ##### attestationConnector?
260
+
261
+ > `optional` **attestationConnector**: `IEngineCoreTypeConfig`\<`AttestationConnectorConfig`\>[]
262
+
263
+ Attestation connector options which can be overridden by individual components by specifying types other than default.
264
+
265
+ ##### attestationComponent?
266
+
267
+ > `optional` **attestationComponent**: `IEngineCoreTypeConfig`\<`AttestationComponentConfig`\>[]
268
+
269
+ Attestation component options which can be overridden by individual components by specifying types other than default.
270
+
271
+ ##### auditableItemGraphComponent?
272
+
273
+ > `optional` **auditableItemGraphComponent**: `IEngineCoreTypeConfig`\<`AuditableItemGraphComponentConfig`\>[]
274
+
275
+ Auditable item graph component options which can be overridden by individual components by specifying types other than default.
276
+
277
+ ##### auditableItemStreamComponent?
278
+
279
+ > `optional` **auditableItemStreamComponent**: `IEngineCoreTypeConfig`\<`AuditableItemStreamComponentConfig`\>[]
280
+
281
+ Auditable item stream component options which can be overridden by individual components by specifying types other than default.
282
+
283
+ ##### dataConverterConnector?
284
+
285
+ > `optional` **dataConverterConnector**: `IEngineCoreTypeConfig`\<`DataConverterConnectorConfig`\>[]
286
+
287
+ Data converter connector options which can be overridden by individual components by specifying types other than default.
288
+
289
+ ##### dataExtractorConnector?
290
+
291
+ > `optional` **dataExtractorConnector**: `IEngineCoreTypeConfig`\<`DataExtractorConnectorConfig`\>[]
292
+
293
+ Data extractor connector options which can be overridden by individual components by specifying types other than default.
294
+
295
+ ##### dataProcessingComponent?
296
+
297
+ > `optional` **dataProcessingComponent**: `IEngineCoreTypeConfig`\<`DataProcessingComponentConfig`\>[]
298
+
299
+ Date processing options which can be overridden by individual components by specifying types other than default.
300
+
301
+ ##### documentManagementComponent?
302
+
303
+ > `optional` **documentManagementComponent**: `IEngineCoreTypeConfig`\<`DocumentManagementComponentConfig`\>[]
304
+
305
+ Document management options which can be overridden by individual components by specifying types other than default.
306
+
307
+ ##### authenticationGeneratorComponent?
308
+
309
+ > `optional` **authenticationGeneratorComponent**: `IEngineCoreTypeConfig`\<`AuthenticationGeneratorComponentConfig`\>[]
310
+
311
+ Authentication generator options which can be overridden by individual components by specifying types other than default.
312
+
313
+ ##### rightsManagementPapComponent?
314
+
315
+ > `optional` **rightsManagementPapComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPapComponentConfig`\>[]
316
+
317
+ Rights management PAP options which can be overridden by individual components by specifying types other than default.
318
+
319
+ ##### rightsManagementPdpComponent?
320
+
321
+ > `optional` **rightsManagementPdpComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPdpComponentConfig`\>[]
322
+
323
+ Rights management PDP options which can be overridden by individual components by specifying types other than default.
324
+
325
+ ##### rightsManagementPepComponent?
326
+
327
+ > `optional` **rightsManagementPepComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPepComponentConfig`\>[]
328
+
329
+ Rights management PEP options which can be overridden by individual components by specifying types other than default.
330
+
331
+ ##### rightsManagementPipComponent?
332
+
333
+ > `optional` **rightsManagementPipComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPipComponentConfig`\>[]
334
+
335
+ Rights management PIP options which can be overridden by individual components by specifying types other than default.
336
+
337
+ ##### rightsManagementPmpComponent?
338
+
339
+ > `optional` **rightsManagementPmpComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPmpComponentConfig`\>[]
340
+
341
+ Rights management PMP options which can be overridden by individual components by specifying types other than default.
342
+
343
+ ##### rightsManagementPxpComponent?
344
+
345
+ > `optional` **rightsManagementPxpComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPxpComponentConfig`\>[]
346
+
347
+ Rights management PXP options which can be overridden by individual components by specifying types other than default.
348
+
349
+ ##### rightsManagementPnpComponent?
350
+
351
+ > `optional` **rightsManagementPnpComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPnpComponentConfig`\>[]
352
+
353
+ Rights management PNP options which can be overridden by individual components by specifying types other than default.
354
+
355
+ ##### rightsManagementPnapComponent?
356
+
357
+ > `optional` **rightsManagementPnapComponent**: `IEngineCoreTypeConfig`\<`RightsManagementPnapComponentConfig`\>[]
358
+
359
+ Rights management PNAP options which can be overridden by individual components by specifying types other than default.
360
+
361
+ ##### rightsManagementDapComponent?
362
+
363
+ > `optional` **rightsManagementDapComponent**: `IEngineCoreTypeConfig`\<`RightsManagementDapComponentConfig`\>[]
364
+
365
+ Rights management DAP options which can be overridden by individual components by specifying types other than default.
366
+
367
+ ##### rightsManagementDarpComponent?
368
+
369
+ > `optional` **rightsManagementDarpComponent**: `IEngineCoreTypeConfig`\<`RightsManagementDarpComponentConfig`\>[]
370
+
371
+ Rights management DARP options which can be overridden by individual components by specifying types other than default.
372
+
373
+ ##### synchronisedStorageComponent?
374
+
375
+ > `optional` **synchronisedStorageComponent**: `IEngineCoreTypeConfig`\<`SynchronisedStorageComponentConfig`\>[]
376
+
377
+ Synchronised storage options which can be overridden by individual components by specifying types other than default.
378
+
379
+ ##### federatedCatalogueComponent?
380
+
381
+ > `optional` **federatedCatalogueComponent**: `IEngineCoreTypeConfig`\<`FederatedCatalogueComponentConfig`\>[]
382
+
383
+ Federated catalogue options which can be overridden by individual components by specifying types other than default.
384
+
385
+ ##### dataSpaceConnectorComponent?
386
+
387
+ > `optional` **dataSpaceConnectorComponent**: `IEngineCoreTypeConfig`\<`DataSpaceConnectorComponentConfig`\>[]
388
+
389
+ Data space connector options which can be overridden by individual components by specifying types other than default.
390
+
391
+ ##### tenantAdminComponent?
392
+
393
+ > `optional` **tenantAdminComponent**: `IEngineCoreTypeConfig`\<`TenantAdminComponentConfig`\>[]
394
+
395
+ Tenant admin component options which can be overridden by individual components by specifying types other than default.
396
+
397
+ #### Type Declaration
398
+
399
+ ##### informationComponent?
400
+
401
+ > `optional` **informationComponent**: `IEngineCoreTypeConfig`\<`InformationComponentConfig`\>[]
402
+
403
+ Information component options which can be overridden by individual components by specifying types other than default..
404
+
405
+ ##### restRouteProcessor?
406
+
407
+ > `optional` **restRouteProcessor**: `IEngineCoreTypeConfig`\<`RestRouteProcessorConfig`\>[]
408
+
409
+ REST route processors options which can be overridden by individual components by specifying types other than default..
410
+
411
+ ##### socketRouteProcessor?
412
+
413
+ > `optional` **socketRouteProcessor**: `IEngineCoreTypeConfig`\<`SocketRouteProcessorConfig`\>[]
414
+
415
+ Socket route processors options which can be overridden by individual components by specifying types other than default..
416
+
417
+ ##### mimeTypeProcessor?
418
+
419
+ > `optional` **mimeTypeProcessor**: `IEngineCoreTypeConfig`\<`MimeTypeProcessorConfig`\>[]
420
+
421
+ Mime type processors options which can be overridden by individual components by specifying types other than default..
422
+
423
+ ##### authenticationComponent?
424
+
425
+ > `optional` **authenticationComponent**: `IEngineCoreTypeConfig`\<`AuthenticationComponentConfig`\>[]
426
+
427
+ Authentication component options which can be overridden by individual components by specifying types other than default..
428
+
429
+ ##### authenticationAdminComponent?
430
+
431
+ > `optional` **authenticationAdminComponent**: `IEngineCoreTypeConfig`\<`AuthenticationAdminComponentConfig`\>[]
432
+
433
+ Authentication admin component options which can be overridden by individual components by specifying types other than default..
434
+
435
+ #### Inherited from
436
+
437
+ `IEngineServerConfig.types`
@@ -0,0 +1,39 @@
1
+ # Interface: INodeEngineState
2
+
3
+ The engine state for the node.
4
+
5
+ ## Extends
6
+
7
+ - `IEngineState`
8
+
9
+ ## Properties
10
+
11
+ ### nodeId?
12
+
13
+ > `optional` **nodeId**: `string`
14
+
15
+ The identity for the node.
16
+
17
+ ***
18
+
19
+ ### nodeTenantId?
20
+
21
+ > `optional` **nodeTenantId**: `string`
22
+
23
+ The tenant id for the node.
24
+
25
+ ***
26
+
27
+ ### nodeOrganizationId?
28
+
29
+ > `optional` **nodeOrganizationId**: `string`
30
+
31
+ The identity for the organization.
32
+
33
+ ***
34
+
35
+ ### nodeAdminUserId?
36
+
37
+ > `optional` **nodeAdminUserId**: `string`
38
+
39
+ The identity for the admin user.
@@ -44,6 +44,42 @@ The name of the state file.
44
44
 
45
45
  ***
46
46
 
47
+ ### tenantEnabled?
48
+
49
+ > `optional` **tenantEnabled**: `string`
50
+
51
+ Is multi-tenant support enabled, defaults to false.
52
+
53
+ #### Inherited from
54
+
55
+ [`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`tenantEnabled`](IEngineServerEnvironmentVariables.md#tenantenabled)
56
+
57
+ ***
58
+
59
+ ### tenantId?
60
+
61
+ > `optional` **tenantId**: `string`
62
+
63
+ A tenant id to use as a default for the node.
64
+
65
+ #### Inherited from
66
+
67
+ [`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`tenantId`](IEngineServerEnvironmentVariables.md#tenantid)
68
+
69
+ ***
70
+
71
+ ### tenantApiKey?
72
+
73
+ > `optional` **tenantApiKey**: `string`
74
+
75
+ A tenant api key to use as a default for the node.
76
+
77
+ #### Inherited from
78
+
79
+ [`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`tenantApiKey`](IEngineServerEnvironmentVariables.md#tenantapikey)
80
+
81
+ ***
82
+
47
83
  ### entityStorageConnectorType?
48
84
 
49
85
  > `optional` **entityStorageConnectorType**: `string`
@@ -851,19 +887,6 @@ Are the messaging components enabled, defaults to false.
851
887
 
852
888
  ***
853
889
 
854
- ### messagingTemplates?
855
-
856
- > `optional` **messagingTemplates**: `string`
857
-
858
- An initial set of templates for the messages.
859
- Use the @json: prefix to specify the path to the JSON file.
860
-
861
- #### Inherited from
862
-
863
- [`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`messagingTemplates`](IEngineServerEnvironmentVariables.md#messagingtemplates)
864
-
865
- ***
866
-
867
890
  ### awsSesRegion?
868
891
 
869
892
  > `optional` **awsSesRegion**: `string`
@@ -1821,32 +1844,64 @@ The features that are enabled on the node.
1821
1844
  #### Default
1822
1845
 
1823
1846
  ```ts
1824
- [NodeFeatures.NodeIdentity]
1847
+ []
1825
1848
  ```
1826
1849
 
1827
1850
  ***
1828
1851
 
1829
- ### identity?
1852
+ ### nodeIdentity?
1830
1853
 
1831
- > `optional` **identity**: `string`
1854
+ > `optional` **nodeIdentity**: `string`
1832
1855
 
1833
1856
  The identity of the node which, if empty and node-identity feature is enabled it will be generated.
1834
1857
 
1835
1858
  ***
1836
1859
 
1837
- ### mnemonic?
1860
+ ### nodeMnemonic?
1838
1861
 
1839
- > `optional` **mnemonic**: `string`
1862
+ > `optional` **nodeMnemonic**: `string`
1840
1863
 
1841
1864
  The mnemonic for the identity, if empty and node-identity feature is enabled it will be randomly generated.
1842
1865
 
1843
1866
  ***
1844
1867
 
1845
- ### username?
1868
+ ### organizationIdentity?
1869
+
1870
+ > `optional` **organizationIdentity**: `string`
1871
+
1872
+ If the node-admin-user feature is enabled, this will be the organization of the user, if one is not provided it will be generated
1873
+
1874
+ ***
1875
+
1876
+ ### organizationMnemonic?
1877
+
1878
+ > `optional` **organizationMnemonic**: `string`
1879
+
1880
+ The mnemonic for the organization, if empty and node-admin-user feature is enabled it will be randomly generated.
1881
+
1882
+ ***
1883
+
1884
+ ### adminUserIdentity?
1885
+
1886
+ > `optional` **adminUserIdentity**: `string`
1887
+
1888
+ If the node-admin-user feature is enabled, this will be the identity of the user, if one is not provided it will be generated
1889
+
1890
+ ***
1891
+
1892
+ ### adminUserMnemonic?
1893
+
1894
+ > `optional` **adminUserMnemonic**: `string`
1895
+
1896
+ The mnemonic for the admin user, if empty and node-admin-user feature is enabled it will be randomly generated.
1897
+
1898
+ ***
1899
+
1900
+ ### adminUserName?
1846
1901
 
1847
- > `optional` **username**: `string`
1902
+ > `optional` **adminUserName**: `string`
1848
1903
 
1849
- If the node-user feature is enabled, this will be the name of the user.
1904
+ If the node-admin-user feature is enabled, this will be the name of the user.
1850
1905
 
1851
1906
  #### Default
1852
1907
 
@@ -1856,8 +1911,78 @@ admin@node
1856
1911
 
1857
1912
  ***
1858
1913
 
1859
- ### password?
1914
+ ### adminUserPassword?
1860
1915
 
1861
- > `optional` **password**: `string`
1916
+ > `optional` **adminUserPassword**: `string`
1862
1917
 
1863
- If the node-user feature is enabled, this will be the password of the user, if empty it will be randomly generated.
1918
+ If the node-admin-user feature is enabled, this will be the password of the user, if empty it will be randomly generated.
1919
+
1920
+ ***
1921
+
1922
+ ### extensionsMaxSizeMb?
1923
+
1924
+ > `optional` **extensionsMaxSizeMb**: `number`
1925
+
1926
+ Maximum size in MB for HTTPS extensions downloads.
1927
+
1928
+ #### Default
1929
+
1930
+ ```ts
1931
+ 10
1932
+ ```
1933
+
1934
+ ***
1935
+
1936
+ ### extensionsClearCache?
1937
+
1938
+ > `optional` **extensionsClearCache**: `boolean`
1939
+
1940
+ Whether to clear the extensions cache on startup.
1941
+
1942
+ #### Default
1943
+
1944
+ ```ts
1945
+ false
1946
+ ```
1947
+
1948
+ ***
1949
+
1950
+ ### extensionsCacheDirectory?
1951
+
1952
+ > `optional` **extensionsCacheDirectory**: `string`
1953
+
1954
+ Custom directory for extensions cache storage.
1955
+
1956
+ #### Default
1957
+
1958
+ ```ts
1959
+ ".tmp"
1960
+ ```
1961
+
1962
+ ***
1963
+
1964
+ ### extensionsCacheTtlHours?
1965
+
1966
+ > `optional` **extensionsCacheTtlHours**: `number`
1967
+
1968
+ TTL in hours for HTTPS extensions cache.
1969
+
1970
+ #### Default
1971
+
1972
+ ```ts
1973
+ 24
1974
+ ```
1975
+
1976
+ ***
1977
+
1978
+ ### extensionsForceRefresh?
1979
+
1980
+ > `optional` **extensionsForceRefresh**: `boolean`
1981
+
1982
+ Force refresh of all cached extensions.
1983
+
1984
+ #### Default
1985
+
1986
+ ```ts
1987
+ false
1988
+ ```