@twin.org/node-core 0.0.3-next.65 → 0.0.3-next.67
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 +21 -19
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/builders/engineServerEnvBuilder.js +1 -0
- package/dist/es/builders/engineServerEnvBuilder.js.map +1 -1
- package/dist/es/builders/extensionsBuilder.js.map +1 -1
- package/dist/es/cli.js.map +1 -1
- package/dist/es/commands/bootstrapLegacy.js +2 -1
- package/dist/es/commands/bootstrapLegacy.js.map +1 -1
- package/dist/es/commands/help.js.map +1 -1
- package/dist/es/commands/identityCreate.js.map +1 -1
- package/dist/es/commands/identityImports.js.map +1 -1
- package/dist/es/commands/identityVerifiableCredentialCreate.js.map +1 -1
- package/dist/es/commands/identityVerificationMethodCreate.js.map +1 -1
- package/dist/es/commands/identityVerificationMethodImport.js.map +1 -1
- package/dist/es/commands/nodeSetIdentity.js.map +1 -1
- package/dist/es/commands/removeTenantOrgAlias.js.map +1 -1
- package/dist/es/commands/setNodeOrgId.js.map +1 -1
- package/dist/es/commands/setTenantOrgId.js.map +1 -1
- package/dist/es/commands/tenantCreate.js.map +1 -1
- package/dist/es/commands/tenantImport.js.map +1 -1
- package/dist/es/commands/tenantUpdate.js.map +1 -1
- package/dist/es/commands/userCreate.js.map +1 -1
- package/dist/es/commands/userUpdate.js.map +1 -1
- package/dist/es/commands/vaultKeyCreate.js.map +1 -1
- package/dist/es/commands/vaultKeyImport.js.map +1 -1
- package/dist/es/index.js +2 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IBootstrapLegacyEnvironmentVariables.js +4 -0
- package/dist/es/models/IBootstrapLegacyEnvironmentVariables.js.map +1 -0
- package/dist/es/models/ICliCommandDefinition.js.map +1 -1
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/models/IEngineServerEnvironmentVariables.js +2 -0
- package/dist/es/models/IEngineServerEnvironmentVariables.js.map +1 -1
- package/dist/es/models/IEnvironmentVariables.js +2 -0
- package/dist/es/models/IEnvironmentVariables.js.map +1 -0
- package/dist/es/models/INodeEnvironmentVariables.js +2 -0
- package/dist/es/models/INodeEnvironmentVariables.js.map +1 -1
- package/dist/es/models/INodeOptions.js.map +1 -1
- package/dist/es/models/bootstrapLegacyEnvironmentVariableKeys.js +24 -0
- package/dist/es/models/bootstrapLegacyEnvironmentVariableKeys.js.map +1 -0
- package/dist/es/models/engineEnvironmentVariableKeys.js +202 -0
- package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -0
- package/dist/es/models/engineServerEnvironmentVariableKeys.js +35 -0
- package/dist/es/models/engineServerEnvironmentVariableKeys.js.map +1 -0
- package/dist/es/models/nodeEnvironmentVariableKeys.js +18 -0
- package/dist/es/models/nodeEnvironmentVariableKeys.js.map +1 -0
- package/dist/es/models/nodeExtensionInitialiseMethod.js.map +1 -1
- package/dist/es/node.js +94 -2
- package/dist/es/node.js.map +1 -1
- package/dist/es/start.js.map +1 -1
- package/dist/types/builders/engineServerEnvBuilder.d.ts +3 -3
- package/dist/types/builders/extensionsBuilder.d.ts +5 -5
- package/dist/types/cli.d.ts +2 -2
- package/dist/types/commands/bootstrapLegacy.d.ts +2 -49
- package/dist/types/commands/help.d.ts +2 -2
- package/dist/types/commands/identityCreate.d.ts +2 -2
- package/dist/types/commands/identityImports.d.ts +2 -2
- package/dist/types/commands/identityVerifiableCredentialCreate.d.ts +2 -2
- package/dist/types/commands/identityVerificationMethodCreate.d.ts +2 -2
- package/dist/types/commands/identityVerificationMethodImport.d.ts +2 -2
- package/dist/types/commands/nodeSetIdentity.d.ts +2 -2
- package/dist/types/commands/removeTenantOrgAlias.d.ts +2 -2
- package/dist/types/commands/setNodeOrgId.d.ts +2 -2
- package/dist/types/commands/setTenantOrgId.d.ts +2 -2
- package/dist/types/commands/tenantCreate.d.ts +2 -2
- package/dist/types/commands/tenantImport.d.ts +2 -2
- package/dist/types/commands/tenantUpdate.d.ts +2 -2
- package/dist/types/commands/userCreate.d.ts +2 -2
- package/dist/types/commands/userUpdate.d.ts +2 -2
- package/dist/types/commands/vaultKeyCreate.d.ts +2 -2
- package/dist/types/commands/vaultKeyImport.d.ts +2 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/types/models/IBootstrapLegacyEnvironmentVariables.d.ts +56 -0
- package/dist/types/models/ICliCommandDefinition.d.ts +2 -2
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +39 -22
- package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +1 -2
- package/dist/types/models/IEnvironmentVariables.d.ts +8 -0
- package/dist/types/models/INodeEnvironmentVariables.d.ts +1 -2
- package/dist/types/models/INodeOptions.d.ts +3 -3
- package/dist/types/models/bootstrapLegacyEnvironmentVariableKeys.d.ts +4 -0
- package/dist/types/models/engineEnvironmentVariableKeys.d.ts +4 -0
- package/dist/types/models/engineServerEnvironmentVariableKeys.d.ts +7 -0
- package/dist/types/models/nodeEnvironmentVariableKeys.d.ts +5 -0
- package/dist/types/models/nodeExtensionInitialiseMethod.d.ts +2 -2
- package/dist/types/node.d.ts +3 -3
- package/dist/types/start.d.ts +3 -2
- package/docs/changelog.md +19 -0
- package/docs/reference/functions/buildConfiguration.md +2 -2
- package/docs/reference/functions/buildEngineServerConfiguration.md +1 -1
- package/docs/reference/functions/executeCommand.md +1 -1
- package/docs/reference/functions/extensionsConfiguration.md +1 -1
- package/docs/reference/functions/extensionsInitialiseEngine.md +1 -1
- package/docs/reference/functions/extensionsInitialiseEngineServer.md +1 -1
- package/docs/reference/functions/isAuthEntityStorageRequired.md +1 -1
- package/docs/reference/functions/overrideModuleImport.md +1 -1
- package/docs/reference/functions/shutdownExtensions.md +1 -1
- package/docs/reference/functions/start.md +1 -1
- package/docs/reference/index.md +2 -0
- package/docs/reference/interfaces/IBootstrapLegacyEnvironmentVariables.md +117 -0
- package/docs/reference/interfaces/ICliCommandDefinition.md +1 -1
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +71 -40
- package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +0 -1954
- package/docs/reference/interfaces/INodeEnvironmentVariables.md +0 -2130
- package/docs/reference/interfaces/INodeOptions.md +2 -2
- package/docs/reference/type-aliases/IEnvironmentVariables.md +5 -0
- package/docs/reference/type-aliases/NodeExtensionInitialiseMethod.md +1 -1
- package/locales/en.json +7 -1
- package/package.json +1 -1
|
@@ -123,7 +123,7 @@ Method to extend the engine environment variables with any additional custom con
|
|
|
123
123
|
|
|
124
124
|
##### envVars
|
|
125
125
|
|
|
126
|
-
[`
|
|
126
|
+
[`IEnvironmentVariables`](../type-aliases/IEnvironmentVariables.md)
|
|
127
127
|
|
|
128
128
|
#### Returns
|
|
129
129
|
|
|
@@ -141,7 +141,7 @@ Method to extend the engine configuration with any additional custom configurati
|
|
|
141
141
|
|
|
142
142
|
##### envVars
|
|
143
143
|
|
|
144
|
-
[`
|
|
144
|
+
[`IEnvironmentVariables`](../type-aliases/IEnvironmentVariables.md)
|
|
145
145
|
|
|
146
146
|
##### config
|
|
147
147
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: IEnvironmentVariables
|
|
2
|
+
|
|
3
|
+
> **IEnvironmentVariables** = [`IBootstrapLegacyEnvironmentVariables`](../interfaces/IBootstrapLegacyEnvironmentVariables.md) & [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md) & [`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md) & [`IEngineServerEnvironmentVariables`](../interfaces/IEngineServerEnvironmentVariables.md)
|
|
4
|
+
|
|
5
|
+
The environment variables.
|
package/locales/en.json
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"cliCommandMissing": "CLI command \"{command}\" is not recognised",
|
|
14
14
|
"cliCommandParamMissing": "Parameter \"{param}\" is required for command \"{command}\"",
|
|
15
15
|
"cliCommandParamExtra": "Parameter(s) \"{params}\" are not recognised for command \"{command}\"",
|
|
16
|
-
"cliEnvVarMissing": "Environment variable \"{envVar}\" does not exist"
|
|
16
|
+
"cliEnvVarMissing": "Environment variable \"{envVar}\" does not exist",
|
|
17
|
+
"unknownEnvVars": "Unknown environment variable properties [{keys}]. Check for typos in variable names, for custom variables use the {prefix}ENV_ALLOW_LIST."
|
|
17
18
|
},
|
|
18
19
|
"bootstrapLegacy": {
|
|
19
20
|
"noFeaturesEnabled": "No features are enabled in legacy bootstrap mode, at least one feature must be enabled.",
|
|
@@ -68,6 +69,11 @@
|
|
|
68
69
|
"aliasNotFound": "The alias \"{alias}\" was not found in the tenant organization legacy list."
|
|
69
70
|
}
|
|
70
71
|
},
|
|
72
|
+
"warn": {
|
|
73
|
+
"node": {
|
|
74
|
+
"unknownEnvVars": "Unknown environment variable properties [{keys}], they will be ignored. Check for typos in variable names, for custom variables use the {prefix}ENV_ALLOW_LIST."
|
|
75
|
+
}
|
|
76
|
+
},
|
|
71
77
|
"node": {
|
|
72
78
|
"extensionLoading": "Loading Extension",
|
|
73
79
|
"extensionInitialisingEngine": "Initialising engine for extension \"{extension}\"",
|