@twin.org/node-core 0.0.3-next.2 → 0.0.3-next.21
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 +168 -105
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/builders/engineServerEnvBuilder.js +49 -25
- package/dist/es/builders/engineServerEnvBuilder.js.map +1 -1
- package/dist/es/cli.js +247 -0
- package/dist/es/cli.js.map +1 -0
- package/dist/es/commands/bootstrapLegacy.js +183 -0
- package/dist/es/commands/bootstrapLegacy.js.map +1 -0
- package/dist/es/commands/help.js +85 -0
- package/dist/es/commands/help.js.map +1 -0
- package/dist/es/commands/identityCreate.js +316 -0
- package/dist/es/commands/identityCreate.js.map +1 -0
- package/dist/es/commands/identityImports.js +82 -0
- package/dist/es/commands/identityImports.js.map +1 -0
- package/dist/es/commands/identityVerifiableCredentialCreate.js +146 -0
- package/dist/es/commands/identityVerifiableCredentialCreate.js.map +1 -0
- package/dist/es/commands/identityVerificationMethodCreate.js +214 -0
- package/dist/es/commands/identityVerificationMethodCreate.js.map +1 -0
- package/dist/es/commands/identityVerificationMethodImport.js +126 -0
- package/dist/es/commands/identityVerificationMethodImport.js.map +1 -0
- package/dist/es/commands/nodeSetIdentity.js +64 -0
- package/dist/es/commands/nodeSetIdentity.js.map +1 -0
- package/dist/es/commands/nodeSetTenant.js +68 -0
- package/dist/es/commands/nodeSetTenant.js.map +1 -0
- package/dist/es/commands/tenantCreate.js +139 -0
- package/dist/es/commands/tenantCreate.js.map +1 -0
- package/dist/es/commands/tenantImport.js +97 -0
- package/dist/es/commands/tenantImport.js.map +1 -0
- package/dist/es/commands/tenantUpdate.js +94 -0
- package/dist/es/commands/tenantUpdate.js.map +1 -0
- package/dist/es/commands/userCreate.js +212 -0
- package/dist/es/commands/userCreate.js.map +1 -0
- package/dist/es/commands/userUpdate.js +132 -0
- package/dist/es/commands/userUpdate.js.map +1 -0
- package/dist/es/commands/vaultKeyCreate.js +191 -0
- package/dist/es/commands/vaultKeyCreate.js.map +1 -0
- package/dist/es/commands/vaultKeyImport.js +104 -0
- package/dist/es/commands/vaultKeyImport.js.map +1 -0
- package/dist/es/defaults.js +19 -1
- package/dist/es/defaults.js.map +1 -1
- package/dist/es/index.js +7 -3
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/ICliArgs.js +4 -0
- package/dist/es/models/ICliArgs.js.map +1 -0
- package/dist/es/models/ICliCommand.js +2 -0
- package/dist/es/models/ICliCommand.js.map +1 -0
- package/dist/es/models/ICliCommandDefinition.js +2 -0
- package/dist/es/models/ICliCommandDefinition.js.map +1 -0
- package/dist/es/models/ICliCommandDefinitionParam.js +2 -0
- package/dist/es/models/ICliCommandDefinitionParam.js.map +1 -0
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/models/IEngineServerEnvironmentVariables.js.map +1 -1
- package/dist/es/models/INodeEngineState.js.map +1 -1
- package/dist/es/models/INodeEnvironmentVariables.js.map +1 -1
- package/dist/es/models/INodeOptions.js.map +1 -1
- package/dist/es/models/cliCommandParamType.js +4 -0
- package/dist/es/models/cliCommandParamType.js.map +1 -0
- package/dist/es/node.js +78 -41
- package/dist/es/node.js.map +1 -1
- package/dist/es/start.js +139 -0
- package/dist/es/start.js.map +1 -0
- package/dist/es/utils.js +11 -21
- package/dist/es/utils.js.map +1 -1
- package/dist/types/builders/engineEnvBuilder.d.ts +4 -1
- package/dist/types/builders/engineServerEnvBuilder.d.ts +5 -2
- package/dist/types/cli.d.ts +56 -0
- package/dist/types/commands/bootstrapLegacy.d.ts +66 -0
- package/dist/types/commands/help.d.ts +23 -0
- package/dist/types/commands/identityCreate.d.ts +39 -0
- package/dist/types/commands/identityImports.d.ts +24 -0
- package/dist/types/commands/identityVerifiableCredentialCreate.d.ts +43 -0
- package/dist/types/commands/identityVerificationMethodCreate.d.ts +47 -0
- package/dist/types/commands/identityVerificationMethodImport.d.ts +31 -0
- package/dist/types/commands/nodeSetIdentity.d.ts +22 -0
- package/dist/types/commands/nodeSetTenant.d.ts +22 -0
- package/dist/types/commands/tenantCreate.d.ts +38 -0
- package/dist/types/commands/tenantImport.d.ts +26 -0
- package/dist/types/commands/tenantUpdate.d.ts +26 -0
- package/dist/types/commands/userCreate.d.ts +49 -0
- package/dist/types/commands/userUpdate.d.ts +38 -0
- package/dist/types/commands/vaultKeyCreate.d.ts +43 -0
- package/dist/types/commands/vaultKeyImport.d.ts +28 -0
- package/dist/types/defaults.d.ts +11 -1
- package/dist/types/index.d.ts +7 -3
- package/dist/types/models/ICliArgs.d.ts +20 -0
- package/dist/types/models/ICliCommand.d.ts +17 -0
- package/dist/types/models/ICliCommandDefinition.d.ts +46 -0
- package/dist/types/models/ICliCommandDefinitionParam.d.ts +35 -0
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +62 -53
- package/dist/types/models/IEngineServerEnvironmentVariables.d.ts +4 -0
- package/dist/types/models/INodeEngineState.d.ts +0 -8
- package/dist/types/models/INodeEnvironmentVariables.d.ts +0 -38
- package/dist/types/models/INodeOptions.d.ts +6 -2
- package/dist/types/models/cliCommandParamType.d.ts +4 -0
- package/dist/types/node.d.ts +8 -4
- package/dist/types/{server.d.ts → start.d.ts} +7 -2
- package/dist/types/utils.d.ts +6 -8
- package/docs/changelog.md +136 -0
- package/docs/reference/functions/buildConfiguration.md +3 -3
- package/docs/reference/functions/buildEngineConfiguration.md +1 -1
- package/docs/reference/functions/buildEngineServerConfiguration.md +3 -3
- package/docs/reference/functions/constructCliCommand.md +27 -0
- package/docs/reference/functions/executeCommand.md +29 -0
- package/docs/reference/functions/getEnvDefaults.md +19 -0
- package/docs/reference/functions/getScriptDirectory.md +19 -0
- package/docs/reference/functions/parseCommandLineArgs.md +19 -0
- package/docs/reference/functions/processEnvOptions.md +27 -0
- package/docs/reference/functions/registerCommands.md +9 -0
- package/docs/reference/functions/run.md +8 -2
- package/docs/reference/functions/start.md +10 -4
- package/docs/reference/functions/substituteEnvOptions.md +25 -0
- package/docs/reference/index.md +16 -13
- package/docs/reference/interfaces/ICliArgs.md +35 -0
- package/docs/reference/interfaces/ICliCommand.md +23 -0
- package/docs/reference/interfaces/ICliCommandDefinition.md +101 -0
- package/docs/reference/interfaces/ICliCommandDefinitionParam.md +65 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +110 -85
- package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +166 -117
- package/docs/reference/interfaces/INodeEngineState.md +0 -16
- package/docs/reference/interfaces/INodeEnvironmentVariables.md +170 -201
- package/docs/reference/interfaces/INodeOptions.md +10 -2
- package/docs/reference/type-aliases/CliCommandParamType.md +5 -0
- package/docs/reference/variables/CONTEXT_ID_HANDLER_FEATURE_DID.md +3 -0
- package/docs/reference/variables/CONTEXT_ID_HANDLER_FEATURE_TENANT.md +3 -0
- package/docs/reference/variables/TRUST_VERIFICATION_METHOD_ID.md +3 -0
- package/locales/en.json +589 -30
- package/package.json +3 -1
- package/dist/es/bootstrap.js +0 -374
- package/dist/es/bootstrap.js.map +0 -1
- package/dist/es/identity.js +0 -169
- package/dist/es/identity.js.map +0 -1
- package/dist/es/models/nodeFeatures.js +0 -21
- package/dist/es/models/nodeFeatures.js.map +0 -1
- package/dist/es/server.js +0 -78
- package/dist/es/server.js.map +0 -1
- package/dist/types/bootstrap.d.ts +0 -76
- package/dist/types/identity.d.ts +0 -14
- package/dist/types/models/nodeFeatures.d.ts +0 -21
- package/docs/reference/functions/bootstrap.md +0 -29
- package/docs/reference/functions/bootstrapAuth.md +0 -35
- package/docs/reference/functions/bootstrapBlobEncryption.md +0 -35
- package/docs/reference/functions/bootstrapContextIdHandlers.md +0 -35
- package/docs/reference/functions/bootstrapImmutableProofMethod.md +0 -35
- package/docs/reference/functions/bootstrapNodeAdminUser.md +0 -35
- package/docs/reference/functions/bootstrapNodeId.md +0 -35
- package/docs/reference/functions/bootstrapSynchronisedStorage.md +0 -35
- package/docs/reference/functions/bootstrapTenantId.md +0 -35
- package/docs/reference/functions/getFeatures.md +0 -19
- package/docs/reference/type-aliases/NodeFeatures.md +0 -5
- package/docs/reference/variables/NodeFeatures.md +0 -25
- package/docs/reference/variables/VC_AUTHENTICATION_VERIFICATION_METHOD_ID.md +0 -3
package/docs/reference/index.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
## Interfaces
|
|
4
4
|
|
|
5
5
|
- [ICacheMetadata](interfaces/ICacheMetadata.md)
|
|
6
|
+
- [ICliArgs](interfaces/ICliArgs.md)
|
|
7
|
+
- [ICliCommand](interfaces/ICliCommand.md)
|
|
8
|
+
- [ICliCommandDefinition](interfaces/ICliCommandDefinition.md)
|
|
9
|
+
- [ICliCommandDefinitionParam](interfaces/ICliCommandDefinitionParam.md)
|
|
6
10
|
- [IEngineEnvironmentVariables](interfaces/IEngineEnvironmentVariables.md)
|
|
7
11
|
- [IEngineServerEnvironmentVariables](interfaces/IEngineServerEnvironmentVariables.md)
|
|
8
12
|
- [IModuleProtocol](interfaces/IModuleProtocol.md)
|
|
@@ -14,12 +18,12 @@
|
|
|
14
18
|
|
|
15
19
|
## Type Aliases
|
|
16
20
|
|
|
21
|
+
- [CliCommandParamType](type-aliases/CliCommandParamType.md)
|
|
17
22
|
- [ModuleProtocol](type-aliases/ModuleProtocol.md)
|
|
18
23
|
- [NodeExtensionInitialiseMethod](type-aliases/NodeExtensionInitialiseMethod.md)
|
|
19
24
|
- [NodeExtensionInitialiseEngineMethod](type-aliases/NodeExtensionInitialiseEngineMethod.md)
|
|
20
25
|
- [NodeExtensionInitialiseEngineServerMethod](type-aliases/NodeExtensionInitialiseEngineServerMethod.md)
|
|
21
26
|
- [NodeExtensionShutdownMethod](type-aliases/NodeExtensionShutdownMethod.md)
|
|
22
|
-
- [NodeFeatures](type-aliases/NodeFeatures.md)
|
|
23
27
|
|
|
24
28
|
## Variables
|
|
25
29
|
|
|
@@ -27,41 +31,40 @@
|
|
|
27
31
|
- [IMMUTABLE\_PROOF\_VERIFICATION\_METHOD\_ID](variables/IMMUTABLE_PROOF_VERIFICATION_METHOD_ID.md)
|
|
28
32
|
- [BLOB\_STORAGE\_ENCRYPTION\_KEY\_ID](variables/BLOB_STORAGE_ENCRYPTION_KEY_ID.md)
|
|
29
33
|
- [SYNCHRONISED\_STORAGE\_BLOB\_STORAGE\_ENCRYPTION\_KEY\_ID](variables/SYNCHRONISED_STORAGE_BLOB_STORAGE_ENCRYPTION_KEY_ID.md)
|
|
30
|
-
- [
|
|
34
|
+
- [TRUST\_VERIFICATION\_METHOD\_ID](variables/TRUST_VERIFICATION_METHOD_ID.md)
|
|
31
35
|
- [AUTH\_SIGNING\_KEY\_ID](variables/AUTH_SIGNING_KEY_ID.md)
|
|
36
|
+
- [CONTEXT\_ID\_HANDLER\_FEATURE\_DID](variables/CONTEXT_ID_HANDLER_FEATURE_DID.md)
|
|
37
|
+
- [CONTEXT\_ID\_HANDLER\_FEATURE\_TENANT](variables/CONTEXT_ID_HANDLER_FEATURE_TENANT.md)
|
|
32
38
|
- [ModuleProtocol](variables/ModuleProtocol.md)
|
|
33
|
-
- [NodeFeatures](variables/NodeFeatures.md)
|
|
34
39
|
|
|
35
40
|
## Functions
|
|
36
41
|
|
|
37
|
-
- [bootstrap](functions/bootstrap.md)
|
|
38
|
-
- [bootstrapContextIdHandlers](functions/bootstrapContextIdHandlers.md)
|
|
39
|
-
- [bootstrapNodeId](functions/bootstrapNodeId.md)
|
|
40
|
-
- [bootstrapTenantId](functions/bootstrapTenantId.md)
|
|
41
|
-
- [bootstrapNodeAdminUser](functions/bootstrapNodeAdminUser.md)
|
|
42
|
-
- [bootstrapImmutableProofMethod](functions/bootstrapImmutableProofMethod.md)
|
|
43
|
-
- [bootstrapBlobEncryption](functions/bootstrapBlobEncryption.md)
|
|
44
|
-
- [bootstrapAuth](functions/bootstrapAuth.md)
|
|
45
|
-
- [bootstrapSynchronisedStorage](functions/bootstrapSynchronisedStorage.md)
|
|
46
42
|
- [buildEngineConfiguration](functions/buildEngineConfiguration.md)
|
|
47
43
|
- [buildEngineServerConfiguration](functions/buildEngineServerConfiguration.md)
|
|
48
44
|
- [extensionsConfiguration](functions/extensionsConfiguration.md)
|
|
49
45
|
- [extensionsInitialiseEngine](functions/extensionsInitialiseEngine.md)
|
|
50
46
|
- [extensionsInitialiseEngineServer](functions/extensionsInitialiseEngineServer.md)
|
|
51
47
|
- [shutdownExtensions](functions/shutdownExtensions.md)
|
|
48
|
+
- [parseCommandLineArgs](functions/parseCommandLineArgs.md)
|
|
49
|
+
- [constructCliCommand](functions/constructCliCommand.md)
|
|
50
|
+
- [executeCommand](functions/executeCommand.md)
|
|
51
|
+
- [processEnvOptions](functions/processEnvOptions.md)
|
|
52
|
+
- [substituteEnvOptions](functions/substituteEnvOptions.md)
|
|
53
|
+
- [registerCommands](functions/registerCommands.md)
|
|
54
|
+
- [getEnvDefaults](functions/getEnvDefaults.md)
|
|
52
55
|
- [run](functions/run.md)
|
|
53
56
|
- [buildConfiguration](functions/buildConfiguration.md)
|
|
54
57
|
- [overrideModuleImport](functions/overrideModuleImport.md)
|
|
55
58
|
- [start](functions/start.md)
|
|
56
59
|
- [initialiseLocales](functions/initialiseLocales.md)
|
|
57
60
|
- [getExecutionDirectory](functions/getExecutionDirectory.md)
|
|
61
|
+
- [getScriptDirectory](functions/getScriptDirectory.md)
|
|
58
62
|
- [fileExists](functions/fileExists.md)
|
|
59
63
|
- [directoryExists](functions/directoryExists.md)
|
|
60
64
|
- [getSubFolders](functions/getSubFolders.md)
|
|
61
65
|
- [getFiles](functions/getFiles.md)
|
|
62
66
|
- [loadTextFile](functions/loadTextFile.md)
|
|
63
67
|
- [loadJsonFile](functions/loadJsonFile.md)
|
|
64
|
-
- [getFeatures](functions/getFeatures.md)
|
|
65
68
|
- [parseModuleProtocol](functions/parseModuleProtocol.md)
|
|
66
69
|
- [hashUrl](functions/hashUrl.md)
|
|
67
70
|
- [getExtensionsCacheDir](functions/getExtensionsCacheDir.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Interface: ICliArgs
|
|
2
|
+
|
|
3
|
+
Command to execute in the CLI.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### nodePath?
|
|
8
|
+
|
|
9
|
+
> `optional` **nodePath**: `string`
|
|
10
|
+
|
|
11
|
+
The path of the node executable.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### scriptPath?
|
|
16
|
+
|
|
17
|
+
> `optional` **scriptPath**: `string`
|
|
18
|
+
|
|
19
|
+
The path of the script to execute.
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### options?
|
|
24
|
+
|
|
25
|
+
> `optional` **options**: `object`[]
|
|
26
|
+
|
|
27
|
+
The command line options.
|
|
28
|
+
|
|
29
|
+
#### key
|
|
30
|
+
|
|
31
|
+
> **key**: `string`
|
|
32
|
+
|
|
33
|
+
#### value
|
|
34
|
+
|
|
35
|
+
> **value**: `string`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Interface: ICliCommand
|
|
2
|
+
|
|
3
|
+
Command to execute in the CLI.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### definition
|
|
8
|
+
|
|
9
|
+
> **definition**: [`ICliCommandDefinition`](ICliCommandDefinition.md)
|
|
10
|
+
|
|
11
|
+
The command to execute.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### params
|
|
16
|
+
|
|
17
|
+
> **params**: `object`
|
|
18
|
+
|
|
19
|
+
The params to execute the command with.
|
|
20
|
+
|
|
21
|
+
#### Index Signature
|
|
22
|
+
|
|
23
|
+
\[`id`: `string`\]: [`CliCommandParamType`](../type-aliases/CliCommandParamType.md)
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Interface: ICliCommandDefinition
|
|
2
|
+
|
|
3
|
+
Command to execute in the CLI.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### command
|
|
8
|
+
|
|
9
|
+
> **command**: `string`
|
|
10
|
+
|
|
11
|
+
The command name.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### description
|
|
16
|
+
|
|
17
|
+
> **description**: `string`
|
|
18
|
+
|
|
19
|
+
The command description.
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### example
|
|
24
|
+
|
|
25
|
+
> **example**: `string`
|
|
26
|
+
|
|
27
|
+
The example.
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### params
|
|
32
|
+
|
|
33
|
+
> **params**: [`ICliCommandDefinitionParam`](ICliCommandDefinitionParam.md)[]
|
|
34
|
+
|
|
35
|
+
The params available for the command.
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### action()
|
|
40
|
+
|
|
41
|
+
> **action**: (`engineCore`, `envVars`, `params`) => `Promise`\<`unknown`\>
|
|
42
|
+
|
|
43
|
+
The method to execute for the command.
|
|
44
|
+
|
|
45
|
+
#### Parameters
|
|
46
|
+
|
|
47
|
+
##### engineCore
|
|
48
|
+
|
|
49
|
+
`IEngineCore`
|
|
50
|
+
|
|
51
|
+
##### envVars
|
|
52
|
+
|
|
53
|
+
[`INodeEnvironmentVariables`](INodeEnvironmentVariables.md)
|
|
54
|
+
|
|
55
|
+
##### params
|
|
56
|
+
|
|
57
|
+
#### Returns
|
|
58
|
+
|
|
59
|
+
`Promise`\<`unknown`\>
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### requiresEngineStarted?
|
|
64
|
+
|
|
65
|
+
> `optional` **requiresEngineStarted**: `boolean`
|
|
66
|
+
|
|
67
|
+
Indicates whether the engine needs to be started before executing the command.
|
|
68
|
+
|
|
69
|
+
#### Default
|
|
70
|
+
|
|
71
|
+
```ts
|
|
72
|
+
true
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
***
|
|
76
|
+
|
|
77
|
+
### requiresNodeIdentity?
|
|
78
|
+
|
|
79
|
+
> `optional` **requiresNodeIdentity**: `boolean`
|
|
80
|
+
|
|
81
|
+
Indicates whether the engine needs the node identity to be set if configured to use.
|
|
82
|
+
|
|
83
|
+
#### Default
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
true
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
***
|
|
90
|
+
|
|
91
|
+
### requiresTenantId?
|
|
92
|
+
|
|
93
|
+
> `optional` **requiresTenantId**: `boolean`
|
|
94
|
+
|
|
95
|
+
Indicates whether the engine needs the tenant id to be set if configured to use.
|
|
96
|
+
|
|
97
|
+
#### Default
|
|
98
|
+
|
|
99
|
+
```ts
|
|
100
|
+
true
|
|
101
|
+
```
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Interface: ICliCommandDefinitionParam
|
|
2
|
+
|
|
3
|
+
Command param to execute in the CLI.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### key
|
|
8
|
+
|
|
9
|
+
> **key**: `string`
|
|
10
|
+
|
|
11
|
+
The param key.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
> **type**: `"string"` \| `"number"` \| `"boolean"`
|
|
18
|
+
|
|
19
|
+
The param type.
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### options?
|
|
24
|
+
|
|
25
|
+
> `optional` **options**: `string`[]
|
|
26
|
+
|
|
27
|
+
Possible options for the param.
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### extendedType?
|
|
32
|
+
|
|
33
|
+
> `optional` **extendedType**: `string`
|
|
34
|
+
|
|
35
|
+
The extended type e.g. hex etc.
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### required?
|
|
40
|
+
|
|
41
|
+
> `optional` **required**: `boolean`
|
|
42
|
+
|
|
43
|
+
Whether the param is required.
|
|
44
|
+
|
|
45
|
+
#### Default
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
true
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### defaultValue?
|
|
54
|
+
|
|
55
|
+
> `optional` **defaultValue**: [`CliCommandParamType`](../type-aliases/CliCommandParamType.md)
|
|
56
|
+
|
|
57
|
+
The default value of the param.
|
|
58
|
+
|
|
59
|
+
***
|
|
60
|
+
|
|
61
|
+
### description
|
|
62
|
+
|
|
63
|
+
> **description**: `string`
|
|
64
|
+
|
|
65
|
+
The param description.
|
|
@@ -16,6 +16,14 @@ Start the engine in debug mode.
|
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
|
+
### silent?
|
|
20
|
+
|
|
21
|
+
> `optional` **silent**: `string`
|
|
22
|
+
|
|
23
|
+
Start the engine in silent mode.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
19
27
|
### storageFileRoot?
|
|
20
28
|
|
|
21
29
|
> `optional` **storageFileRoot**: `string`
|
|
@@ -32,27 +40,19 @@ The name of the state file.
|
|
|
32
40
|
|
|
33
41
|
***
|
|
34
42
|
|
|
35
|
-
###
|
|
43
|
+
### nodeIdentityEnabled?
|
|
36
44
|
|
|
37
|
-
> `optional` **
|
|
45
|
+
> `optional` **nodeIdentityEnabled**: `string`
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
Does the node have a unique ID, defaults to true.
|
|
40
48
|
|
|
41
49
|
***
|
|
42
50
|
|
|
43
|
-
###
|
|
44
|
-
|
|
45
|
-
> `optional` **tenantId**: `string`
|
|
46
|
-
|
|
47
|
-
A tenant id to use as a default for the node.
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### tenantApiKey?
|
|
51
|
+
### tenantEnabled?
|
|
52
52
|
|
|
53
|
-
> `optional` **
|
|
53
|
+
> `optional` **tenantEnabled**: `string`
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Is multi-tenant support enabled, defaults to false.
|
|
56
56
|
|
|
57
57
|
***
|
|
58
58
|
|
|
@@ -121,6 +121,14 @@ AWS Dynamo DB secret access key.
|
|
|
121
121
|
|
|
122
122
|
***
|
|
123
123
|
|
|
124
|
+
### awsDynamodbConnectionTimeoutMs?
|
|
125
|
+
|
|
126
|
+
> `optional` **awsDynamodbConnectionTimeoutMs**: `string`
|
|
127
|
+
|
|
128
|
+
AWS Dynamo DB connection timeout.
|
|
129
|
+
|
|
130
|
+
***
|
|
131
|
+
|
|
124
132
|
### azureCosmosdbKey?
|
|
125
133
|
|
|
126
134
|
> `optional` **azureCosmosdbKey**: `string`
|
|
@@ -402,15 +410,6 @@ The id of the encryption key for the blob storage.
|
|
|
402
410
|
|
|
403
411
|
***
|
|
404
412
|
|
|
405
|
-
### blobStorageSymmetricEncryptionKey?
|
|
406
|
-
|
|
407
|
-
> `optional` **blobStorageSymmetricEncryptionKey**: `string`
|
|
408
|
-
|
|
409
|
-
A symmetric encryption key for the blob storage, should be ChaCha20Poly1305 in base64 format.
|
|
410
|
-
If encryption is enabled but a key is not provided one will be generated.
|
|
411
|
-
|
|
412
|
-
***
|
|
413
|
-
|
|
414
413
|
### blobStoragePrefix?
|
|
415
414
|
|
|
416
415
|
> `optional` **blobStoragePrefix**: `string`
|
|
@@ -539,6 +538,14 @@ The type of the default vault connector: entity-storage, hashicorp.
|
|
|
539
538
|
|
|
540
539
|
***
|
|
541
540
|
|
|
541
|
+
### vaultPrefix?
|
|
542
|
+
|
|
543
|
+
> `optional` **vaultPrefix**: `string`
|
|
544
|
+
|
|
545
|
+
Prefix to prepend to entries in the vault.
|
|
546
|
+
|
|
547
|
+
***
|
|
548
|
+
|
|
542
549
|
### hashicorpVaultToken?
|
|
543
550
|
|
|
544
551
|
> `optional` **hashicorpVaultToken**: `string`
|
|
@@ -563,14 +570,6 @@ The type of logging task connector, can be a comma separated list: console, enti
|
|
|
563
570
|
|
|
564
571
|
***
|
|
565
572
|
|
|
566
|
-
### backgroundTaskConnector?
|
|
567
|
-
|
|
568
|
-
> `optional` **backgroundTaskConnector**: `string`
|
|
569
|
-
|
|
570
|
-
The type of background task connector: entity-storage.
|
|
571
|
-
|
|
572
|
-
***
|
|
573
|
-
|
|
574
573
|
### eventBusConnector?
|
|
575
574
|
|
|
576
575
|
> `optional` **eventBusConnector**: `string`
|
|
@@ -707,6 +706,14 @@ The type of identity connector: entity-storage, iota.
|
|
|
707
706
|
|
|
708
707
|
***
|
|
709
708
|
|
|
709
|
+
### identityWalletAddressIndex?
|
|
710
|
+
|
|
711
|
+
> `optional` **identityWalletAddressIndex**: `string`
|
|
712
|
+
|
|
713
|
+
The index of the wallet address to use, defaults to 0.
|
|
714
|
+
|
|
715
|
+
***
|
|
716
|
+
|
|
710
717
|
### identityResolverConnector?
|
|
711
718
|
|
|
712
719
|
> `optional` **identityResolverConnector**: `string`
|
|
@@ -975,19 +982,53 @@ Is the federated catalogue enabled, defaults to false.
|
|
|
975
982
|
|
|
976
983
|
***
|
|
977
984
|
|
|
978
|
-
###
|
|
985
|
+
### federatedCatalogueFilters?
|
|
986
|
+
|
|
987
|
+
> `optional` **federatedCatalogueFilters**: `string`
|
|
988
|
+
|
|
989
|
+
Federated catalog filters, command separated list of filters to add.
|
|
990
|
+
|
|
991
|
+
***
|
|
992
|
+
|
|
993
|
+
### trustEnabled?
|
|
994
|
+
|
|
995
|
+
> `optional` **trustEnabled**: `string`
|
|
996
|
+
|
|
997
|
+
Is the trust management enabled, defaults to false.
|
|
998
|
+
|
|
999
|
+
***
|
|
1000
|
+
|
|
1001
|
+
### trustGenerators?
|
|
1002
|
+
|
|
1003
|
+
> `optional` **trustGenerators**: `string`
|
|
1004
|
+
|
|
1005
|
+
The trust generators to add to the factory, comma separated list.
|
|
1006
|
+
|
|
1007
|
+
***
|
|
1008
|
+
|
|
1009
|
+
### trustVerifiers?
|
|
1010
|
+
|
|
1011
|
+
> `optional` **trustVerifiers**: `string`
|
|
1012
|
+
|
|
1013
|
+
The trust verifiers to add to the factory, comma separated list.
|
|
1014
|
+
|
|
1015
|
+
***
|
|
1016
|
+
|
|
1017
|
+
### trustVerificationMethodId?
|
|
979
1018
|
|
|
980
|
-
> `optional` **
|
|
1019
|
+
> `optional` **trustVerificationMethodId**: `string`
|
|
981
1020
|
|
|
982
|
-
|
|
1021
|
+
The verification method to use for trust identities.
|
|
1022
|
+
Defaults to trust-assertion.
|
|
983
1023
|
|
|
984
1024
|
***
|
|
985
1025
|
|
|
986
|
-
###
|
|
1026
|
+
### trustJwtTtlSeconds?
|
|
987
1027
|
|
|
988
|
-
> `optional` **
|
|
1028
|
+
> `optional` **trustJwtTtlSeconds**: `string`
|
|
989
1029
|
|
|
990
|
-
|
|
1030
|
+
The trust time to live for generating JWTs.
|
|
1031
|
+
Defaults to undefined for never expiring.
|
|
991
1032
|
|
|
992
1033
|
***
|
|
993
1034
|
|
|
@@ -999,74 +1040,75 @@ Is the rights management enabled, defaults to false.
|
|
|
999
1040
|
|
|
1000
1041
|
***
|
|
1001
1042
|
|
|
1002
|
-
###
|
|
1043
|
+
### rightsManagementCallbackPath?
|
|
1044
|
+
|
|
1045
|
+
> `optional` **rightsManagementCallbackPath**: `string`
|
|
1046
|
+
|
|
1047
|
+
What is the callback path for rights management negotiations, will be combined with hosting public url e.g. /callback.
|
|
1048
|
+
|
|
1049
|
+
***
|
|
1050
|
+
|
|
1051
|
+
### rightsManagementPolicyInformationSources?
|
|
1003
1052
|
|
|
1004
|
-
> `optional` **
|
|
1053
|
+
> `optional` **rightsManagementPolicyInformationSources**: `string`
|
|
1005
1054
|
|
|
1006
|
-
|
|
1055
|
+
The rights management policy information sources to add to the factory.
|
|
1007
1056
|
|
|
1008
1057
|
***
|
|
1009
1058
|
|
|
1010
|
-
###
|
|
1059
|
+
### rightsManagementPolicyNegotiators?
|
|
1011
1060
|
|
|
1012
|
-
> `optional` **
|
|
1061
|
+
> `optional` **rightsManagementPolicyNegotiators**: `string`
|
|
1013
1062
|
|
|
1014
|
-
The rights management
|
|
1015
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1063
|
+
The rights management policy negotiators sources to add to the factory.
|
|
1016
1064
|
|
|
1017
1065
|
***
|
|
1018
1066
|
|
|
1019
|
-
###
|
|
1067
|
+
### rightsManagementPolicyRequesters?
|
|
1020
1068
|
|
|
1021
|
-
> `optional` **
|
|
1069
|
+
> `optional` **rightsManagementPolicyRequesters**: `string`
|
|
1022
1070
|
|
|
1023
|
-
The rights management
|
|
1024
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1071
|
+
The rights management policy requesters to add to the factory.
|
|
1025
1072
|
|
|
1026
1073
|
***
|
|
1027
1074
|
|
|
1028
|
-
###
|
|
1075
|
+
### rightsManagementPolicyExecutionActions?
|
|
1029
1076
|
|
|
1030
|
-
> `optional` **
|
|
1077
|
+
> `optional` **rightsManagementPolicyExecutionActions**: `string`
|
|
1031
1078
|
|
|
1032
|
-
The rights management
|
|
1033
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1079
|
+
The rights management policy execution actions to add to the factory.
|
|
1034
1080
|
|
|
1035
1081
|
***
|
|
1036
1082
|
|
|
1037
|
-
###
|
|
1083
|
+
### rightsManagementPolicyEnforcementProcessors?
|
|
1038
1084
|
|
|
1039
|
-
> `optional` **
|
|
1085
|
+
> `optional` **rightsManagementPolicyEnforcementProcessors**: `string`
|
|
1040
1086
|
|
|
1041
|
-
The rights management
|
|
1042
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1087
|
+
The rights management policy enforcement processors to add to the factory.
|
|
1043
1088
|
|
|
1044
1089
|
***
|
|
1045
1090
|
|
|
1046
|
-
###
|
|
1091
|
+
### rightsManagementPolicyArbiters?
|
|
1047
1092
|
|
|
1048
|
-
> `optional` **
|
|
1093
|
+
> `optional` **rightsManagementPolicyArbiters**: `string`
|
|
1049
1094
|
|
|
1050
|
-
The rights management
|
|
1051
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1095
|
+
The rights management policy arbiters to add to the factory.
|
|
1052
1096
|
|
|
1053
1097
|
***
|
|
1054
1098
|
|
|
1055
|
-
###
|
|
1099
|
+
### rightsManagementPolicyObligationEnforcers?
|
|
1056
1100
|
|
|
1057
|
-
> `optional` **
|
|
1101
|
+
> `optional` **rightsManagementPolicyObligationEnforcers**: `string`
|
|
1058
1102
|
|
|
1059
|
-
The rights management
|
|
1060
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1103
|
+
The rights management policy obligation enforcers to add to the factory.
|
|
1061
1104
|
|
|
1062
1105
|
***
|
|
1063
1106
|
|
|
1064
|
-
###
|
|
1107
|
+
### backgroundTasksEnabled?
|
|
1065
1108
|
|
|
1066
|
-
> `optional` **
|
|
1109
|
+
> `optional` **backgroundTasksEnabled**: `string`
|
|
1067
1110
|
|
|
1068
|
-
|
|
1069
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1111
|
+
Are background tasks enabled, defaults to false.
|
|
1070
1112
|
|
|
1071
1113
|
***
|
|
1072
1114
|
|
|
@@ -1114,23 +1156,6 @@ The interval for cleaning up the activity logs.
|
|
|
1114
1156
|
|
|
1115
1157
|
***
|
|
1116
1158
|
|
|
1117
|
-
### vcAuthenticationEnabled?
|
|
1118
|
-
|
|
1119
|
-
> `optional` **vcAuthenticationEnabled**: `string`
|
|
1120
|
-
|
|
1121
|
-
Enable verifiable credential authentication for the API.
|
|
1122
|
-
|
|
1123
|
-
***
|
|
1124
|
-
|
|
1125
|
-
### vcAuthenticationVerificationMethodId?
|
|
1126
|
-
|
|
1127
|
-
> `optional` **vcAuthenticationVerificationMethodId**: `string`
|
|
1128
|
-
|
|
1129
|
-
Verifiable credential assertion for node to node communication.
|
|
1130
|
-
Defaults to node-authentication-assertion.
|
|
1131
|
-
|
|
1132
|
-
***
|
|
1133
|
-
|
|
1134
1159
|
### extensions?
|
|
1135
1160
|
|
|
1136
1161
|
> `optional` **extensions**: `string`
|