@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
|
@@ -20,63 +20,63 @@ Start the engine in debug mode.
|
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### silent?
|
|
24
24
|
|
|
25
|
-
> `optional` **
|
|
25
|
+
> `optional` **silent**: `string`
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Start the engine in silent mode.
|
|
28
28
|
|
|
29
29
|
#### Inherited from
|
|
30
30
|
|
|
31
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
31
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`silent`](IEngineServerEnvironmentVariables.md#silent)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### storageFileRoot?
|
|
36
36
|
|
|
37
|
-
> `optional` **
|
|
37
|
+
> `optional` **storageFileRoot**: `string`
|
|
38
38
|
|
|
39
|
-
The
|
|
39
|
+
The root directory for storing items like state file.
|
|
40
40
|
|
|
41
41
|
#### Inherited from
|
|
42
42
|
|
|
43
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
43
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`storageFileRoot`](IEngineServerEnvironmentVariables.md#storagefileroot)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
###
|
|
47
|
+
### stateFilename?
|
|
48
48
|
|
|
49
|
-
> `optional` **
|
|
49
|
+
> `optional` **stateFilename**: `string`
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
The name of the state file.
|
|
52
52
|
|
|
53
53
|
#### Inherited from
|
|
54
54
|
|
|
55
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
55
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`stateFilename`](IEngineServerEnvironmentVariables.md#statefilename)
|
|
56
56
|
|
|
57
57
|
***
|
|
58
58
|
|
|
59
|
-
###
|
|
59
|
+
### nodeIdentityEnabled?
|
|
60
60
|
|
|
61
|
-
> `optional` **
|
|
61
|
+
> `optional` **nodeIdentityEnabled**: `string`
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Does the node have a unique ID, defaults to true.
|
|
64
64
|
|
|
65
65
|
#### Inherited from
|
|
66
66
|
|
|
67
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
67
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`nodeIdentityEnabled`](IEngineServerEnvironmentVariables.md#nodeidentityenabled)
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
71
|
-
###
|
|
71
|
+
### tenantEnabled?
|
|
72
72
|
|
|
73
|
-
> `optional` **
|
|
73
|
+
> `optional` **tenantEnabled**: `string`
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
Is multi-tenant support enabled, defaults to false.
|
|
76
76
|
|
|
77
77
|
#### Inherited from
|
|
78
78
|
|
|
79
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
79
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`tenantEnabled`](IEngineServerEnvironmentVariables.md#tenantenabled)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -177,6 +177,18 @@ AWS Dynamo DB secret access key.
|
|
|
177
177
|
|
|
178
178
|
***
|
|
179
179
|
|
|
180
|
+
### awsDynamodbConnectionTimeoutMs?
|
|
181
|
+
|
|
182
|
+
> `optional` **awsDynamodbConnectionTimeoutMs**: `string`
|
|
183
|
+
|
|
184
|
+
AWS Dynamo DB connection timeout.
|
|
185
|
+
|
|
186
|
+
#### Inherited from
|
|
187
|
+
|
|
188
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`awsDynamodbConnectionTimeoutMs`](IEngineServerEnvironmentVariables.md#awsdynamodbconnectiontimeoutms)
|
|
189
|
+
|
|
190
|
+
***
|
|
191
|
+
|
|
180
192
|
### azureCosmosdbKey?
|
|
181
193
|
|
|
182
194
|
> `optional` **azureCosmosdbKey**: `string`
|
|
@@ -598,19 +610,6 @@ The id of the encryption key for the blob storage.
|
|
|
598
610
|
|
|
599
611
|
***
|
|
600
612
|
|
|
601
|
-
### blobStorageSymmetricEncryptionKey?
|
|
602
|
-
|
|
603
|
-
> `optional` **blobStorageSymmetricEncryptionKey**: `string`
|
|
604
|
-
|
|
605
|
-
A symmetric encryption key for the blob storage, should be ChaCha20Poly1305 in base64 format.
|
|
606
|
-
If encryption is enabled but a key is not provided one will be generated.
|
|
607
|
-
|
|
608
|
-
#### Inherited from
|
|
609
|
-
|
|
610
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`blobStorageSymmetricEncryptionKey`](IEngineServerEnvironmentVariables.md#blobstoragesymmetricencryptionkey)
|
|
611
|
-
|
|
612
|
-
***
|
|
613
|
-
|
|
614
613
|
### blobStoragePrefix?
|
|
615
614
|
|
|
616
615
|
> `optional` **blobStoragePrefix**: `string`
|
|
@@ -803,6 +802,18 @@ The type of the default vault connector: entity-storage, hashicorp.
|
|
|
803
802
|
|
|
804
803
|
***
|
|
805
804
|
|
|
805
|
+
### vaultPrefix?
|
|
806
|
+
|
|
807
|
+
> `optional` **vaultPrefix**: `string`
|
|
808
|
+
|
|
809
|
+
Prefix to prepend to entries in the vault.
|
|
810
|
+
|
|
811
|
+
#### Inherited from
|
|
812
|
+
|
|
813
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`vaultPrefix`](IEngineServerEnvironmentVariables.md#vaultprefix)
|
|
814
|
+
|
|
815
|
+
***
|
|
816
|
+
|
|
806
817
|
### hashicorpVaultToken?
|
|
807
818
|
|
|
808
819
|
> `optional` **hashicorpVaultToken**: `string`
|
|
@@ -839,18 +850,6 @@ The type of logging task connector, can be a comma separated list: console, enti
|
|
|
839
850
|
|
|
840
851
|
***
|
|
841
852
|
|
|
842
|
-
### backgroundTaskConnector?
|
|
843
|
-
|
|
844
|
-
> `optional` **backgroundTaskConnector**: `string`
|
|
845
|
-
|
|
846
|
-
The type of background task connector: entity-storage.
|
|
847
|
-
|
|
848
|
-
#### Inherited from
|
|
849
|
-
|
|
850
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`backgroundTaskConnector`](IEngineServerEnvironmentVariables.md#backgroundtaskconnector)
|
|
851
|
-
|
|
852
|
-
***
|
|
853
|
-
|
|
854
853
|
### eventBusConnector?
|
|
855
854
|
|
|
856
855
|
> `optional` **eventBusConnector**: `string`
|
|
@@ -1055,6 +1054,18 @@ The type of identity connector: entity-storage, iota.
|
|
|
1055
1054
|
|
|
1056
1055
|
***
|
|
1057
1056
|
|
|
1057
|
+
### identityWalletAddressIndex?
|
|
1058
|
+
|
|
1059
|
+
> `optional` **identityWalletAddressIndex**: `string`
|
|
1060
|
+
|
|
1061
|
+
The index of the wallet address to use, defaults to 0.
|
|
1062
|
+
|
|
1063
|
+
#### Inherited from
|
|
1064
|
+
|
|
1065
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`identityWalletAddressIndex`](IEngineServerEnvironmentVariables.md#identitywalletaddressindex)
|
|
1066
|
+
|
|
1067
|
+
***
|
|
1068
|
+
|
|
1058
1069
|
### identityResolverConnector?
|
|
1059
1070
|
|
|
1060
1071
|
> `optional` **identityResolverConnector**: `string`
|
|
@@ -1443,27 +1454,77 @@ Is the federated catalogue enabled, defaults to false.
|
|
|
1443
1454
|
|
|
1444
1455
|
***
|
|
1445
1456
|
|
|
1446
|
-
###
|
|
1457
|
+
### federatedCatalogueFilters?
|
|
1458
|
+
|
|
1459
|
+
> `optional` **federatedCatalogueFilters**: `string`
|
|
1460
|
+
|
|
1461
|
+
Federated catalog filters, command separated list of filters to add.
|
|
1462
|
+
|
|
1463
|
+
#### Inherited from
|
|
1464
|
+
|
|
1465
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`federatedCatalogueFilters`](IEngineServerEnvironmentVariables.md#federatedcataloguefilters)
|
|
1466
|
+
|
|
1467
|
+
***
|
|
1468
|
+
|
|
1469
|
+
### trustEnabled?
|
|
1470
|
+
|
|
1471
|
+
> `optional` **trustEnabled**: `string`
|
|
1472
|
+
|
|
1473
|
+
Is the trust management enabled, defaults to false.
|
|
1474
|
+
|
|
1475
|
+
#### Inherited from
|
|
1476
|
+
|
|
1477
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`trustEnabled`](IEngineServerEnvironmentVariables.md#trustenabled)
|
|
1478
|
+
|
|
1479
|
+
***
|
|
1480
|
+
|
|
1481
|
+
### trustGenerators?
|
|
1447
1482
|
|
|
1448
|
-
> `optional` **
|
|
1483
|
+
> `optional` **trustGenerators**: `string`
|
|
1449
1484
|
|
|
1450
|
-
|
|
1485
|
+
The trust generators to add to the factory, comma separated list.
|
|
1451
1486
|
|
|
1452
1487
|
#### Inherited from
|
|
1453
1488
|
|
|
1454
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1489
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`trustGenerators`](IEngineServerEnvironmentVariables.md#trustgenerators)
|
|
1455
1490
|
|
|
1456
1491
|
***
|
|
1457
1492
|
|
|
1458
|
-
###
|
|
1493
|
+
### trustVerifiers?
|
|
1459
1494
|
|
|
1460
|
-
> `optional` **
|
|
1495
|
+
> `optional` **trustVerifiers**: `string`
|
|
1461
1496
|
|
|
1462
|
-
|
|
1497
|
+
The trust verifiers to add to the factory, comma separated list.
|
|
1463
1498
|
|
|
1464
1499
|
#### Inherited from
|
|
1465
1500
|
|
|
1466
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1501
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`trustVerifiers`](IEngineServerEnvironmentVariables.md#trustverifiers)
|
|
1502
|
+
|
|
1503
|
+
***
|
|
1504
|
+
|
|
1505
|
+
### trustVerificationMethodId?
|
|
1506
|
+
|
|
1507
|
+
> `optional` **trustVerificationMethodId**: `string`
|
|
1508
|
+
|
|
1509
|
+
The verification method to use for trust identities.
|
|
1510
|
+
Defaults to trust-assertion.
|
|
1511
|
+
|
|
1512
|
+
#### Inherited from
|
|
1513
|
+
|
|
1514
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`trustVerificationMethodId`](IEngineServerEnvironmentVariables.md#trustverificationmethodid)
|
|
1515
|
+
|
|
1516
|
+
***
|
|
1517
|
+
|
|
1518
|
+
### trustJwtTtlSeconds?
|
|
1519
|
+
|
|
1520
|
+
> `optional` **trustJwtTtlSeconds**: `string`
|
|
1521
|
+
|
|
1522
|
+
The trust time to live for generating JWTs.
|
|
1523
|
+
Defaults to undefined for never expiring.
|
|
1524
|
+
|
|
1525
|
+
#### Inherited from
|
|
1526
|
+
|
|
1527
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`trustJwtTtlSeconds`](IEngineServerEnvironmentVariables.md#trustjwtttlseconds)
|
|
1467
1528
|
|
|
1468
1529
|
***
|
|
1469
1530
|
|
|
@@ -1479,106 +1540,111 @@ Is the rights management enabled, defaults to false.
|
|
|
1479
1540
|
|
|
1480
1541
|
***
|
|
1481
1542
|
|
|
1482
|
-
###
|
|
1543
|
+
### rightsManagementCallbackPath?
|
|
1544
|
+
|
|
1545
|
+
> `optional` **rightsManagementCallbackPath**: `string`
|
|
1546
|
+
|
|
1547
|
+
What is the callback path for rights management negotiations, will be combined with hosting public url e.g. /callback.
|
|
1548
|
+
|
|
1549
|
+
#### Inherited from
|
|
1550
|
+
|
|
1551
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementCallbackPath`](IEngineServerEnvironmentVariables.md#rightsmanagementcallbackpath)
|
|
1552
|
+
|
|
1553
|
+
***
|
|
1554
|
+
|
|
1555
|
+
### rightsManagementPolicyInformationSources?
|
|
1483
1556
|
|
|
1484
|
-
> `optional` **
|
|
1557
|
+
> `optional` **rightsManagementPolicyInformationSources**: `string`
|
|
1485
1558
|
|
|
1486
|
-
|
|
1559
|
+
The rights management policy information sources to add to the factory.
|
|
1487
1560
|
|
|
1488
1561
|
#### Inherited from
|
|
1489
1562
|
|
|
1490
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1563
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementPolicyInformationSources`](IEngineServerEnvironmentVariables.md#rightsmanagementpolicyinformationsources)
|
|
1491
1564
|
|
|
1492
1565
|
***
|
|
1493
1566
|
|
|
1494
|
-
###
|
|
1567
|
+
### rightsManagementPolicyNegotiators?
|
|
1495
1568
|
|
|
1496
|
-
> `optional` **
|
|
1569
|
+
> `optional` **rightsManagementPolicyNegotiators**: `string`
|
|
1497
1570
|
|
|
1498
|
-
The rights management
|
|
1499
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1571
|
+
The rights management policy negotiators sources to add to the factory.
|
|
1500
1572
|
|
|
1501
1573
|
#### Inherited from
|
|
1502
1574
|
|
|
1503
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1575
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementPolicyNegotiators`](IEngineServerEnvironmentVariables.md#rightsmanagementpolicynegotiators)
|
|
1504
1576
|
|
|
1505
1577
|
***
|
|
1506
1578
|
|
|
1507
|
-
###
|
|
1579
|
+
### rightsManagementPolicyRequesters?
|
|
1508
1580
|
|
|
1509
|
-
> `optional` **
|
|
1581
|
+
> `optional` **rightsManagementPolicyRequesters**: `string`
|
|
1510
1582
|
|
|
1511
|
-
The rights management
|
|
1512
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1583
|
+
The rights management policy requesters to add to the factory.
|
|
1513
1584
|
|
|
1514
1585
|
#### Inherited from
|
|
1515
1586
|
|
|
1516
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1587
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementPolicyRequesters`](IEngineServerEnvironmentVariables.md#rightsmanagementpolicyrequesters)
|
|
1517
1588
|
|
|
1518
1589
|
***
|
|
1519
1590
|
|
|
1520
|
-
###
|
|
1591
|
+
### rightsManagementPolicyExecutionActions?
|
|
1521
1592
|
|
|
1522
|
-
> `optional` **
|
|
1593
|
+
> `optional` **rightsManagementPolicyExecutionActions**: `string`
|
|
1523
1594
|
|
|
1524
|
-
The rights management
|
|
1525
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1595
|
+
The rights management policy execution actions to add to the factory.
|
|
1526
1596
|
|
|
1527
1597
|
#### Inherited from
|
|
1528
1598
|
|
|
1529
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1599
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementPolicyExecutionActions`](IEngineServerEnvironmentVariables.md#rightsmanagementpolicyexecutionactions)
|
|
1530
1600
|
|
|
1531
1601
|
***
|
|
1532
1602
|
|
|
1533
|
-
###
|
|
1603
|
+
### rightsManagementPolicyEnforcementProcessors?
|
|
1534
1604
|
|
|
1535
|
-
> `optional` **
|
|
1605
|
+
> `optional` **rightsManagementPolicyEnforcementProcessors**: `string`
|
|
1536
1606
|
|
|
1537
|
-
The rights management
|
|
1538
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1607
|
+
The rights management policy enforcement processors to add to the factory.
|
|
1539
1608
|
|
|
1540
1609
|
#### Inherited from
|
|
1541
1610
|
|
|
1542
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1611
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementPolicyEnforcementProcessors`](IEngineServerEnvironmentVariables.md#rightsmanagementpolicyenforcementprocessors)
|
|
1543
1612
|
|
|
1544
1613
|
***
|
|
1545
1614
|
|
|
1546
|
-
###
|
|
1615
|
+
### rightsManagementPolicyArbiters?
|
|
1547
1616
|
|
|
1548
|
-
> `optional` **
|
|
1617
|
+
> `optional` **rightsManagementPolicyArbiters**: `string`
|
|
1549
1618
|
|
|
1550
|
-
The rights management
|
|
1551
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1619
|
+
The rights management policy arbiters to add to the factory.
|
|
1552
1620
|
|
|
1553
1621
|
#### Inherited from
|
|
1554
1622
|
|
|
1555
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1623
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementPolicyArbiters`](IEngineServerEnvironmentVariables.md#rightsmanagementpolicyarbiters)
|
|
1556
1624
|
|
|
1557
1625
|
***
|
|
1558
1626
|
|
|
1559
|
-
###
|
|
1627
|
+
### rightsManagementPolicyObligationEnforcers?
|
|
1560
1628
|
|
|
1561
|
-
> `optional` **
|
|
1629
|
+
> `optional` **rightsManagementPolicyObligationEnforcers**: `string`
|
|
1562
1630
|
|
|
1563
|
-
The rights management
|
|
1564
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1631
|
+
The rights management policy obligation enforcers to add to the factory.
|
|
1565
1632
|
|
|
1566
1633
|
#### Inherited from
|
|
1567
1634
|
|
|
1568
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1635
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`rightsManagementPolicyObligationEnforcers`](IEngineServerEnvironmentVariables.md#rightsmanagementpolicyobligationenforcers)
|
|
1569
1636
|
|
|
1570
1637
|
***
|
|
1571
1638
|
|
|
1572
|
-
###
|
|
1639
|
+
### backgroundTasksEnabled?
|
|
1573
1640
|
|
|
1574
|
-
> `optional` **
|
|
1641
|
+
> `optional` **backgroundTasksEnabled**: `string`
|
|
1575
1642
|
|
|
1576
|
-
|
|
1577
|
-
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1643
|
+
Are background tasks enabled, defaults to false.
|
|
1578
1644
|
|
|
1579
1645
|
#### Inherited from
|
|
1580
1646
|
|
|
1581
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`
|
|
1647
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`backgroundTasksEnabled`](IEngineServerEnvironmentVariables.md#backgroundtasksenabled)
|
|
1582
1648
|
|
|
1583
1649
|
***
|
|
1584
1650
|
|
|
@@ -1642,31 +1708,6 @@ The interval for cleaning up the activity logs.
|
|
|
1642
1708
|
|
|
1643
1709
|
***
|
|
1644
1710
|
|
|
1645
|
-
### vcAuthenticationEnabled?
|
|
1646
|
-
|
|
1647
|
-
> `optional` **vcAuthenticationEnabled**: `string`
|
|
1648
|
-
|
|
1649
|
-
Enable verifiable credential authentication for the API.
|
|
1650
|
-
|
|
1651
|
-
#### Inherited from
|
|
1652
|
-
|
|
1653
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`vcAuthenticationEnabled`](IEngineServerEnvironmentVariables.md#vcauthenticationenabled)
|
|
1654
|
-
|
|
1655
|
-
***
|
|
1656
|
-
|
|
1657
|
-
### vcAuthenticationVerificationMethodId?
|
|
1658
|
-
|
|
1659
|
-
> `optional` **vcAuthenticationVerificationMethodId**: `string`
|
|
1660
|
-
|
|
1661
|
-
Verifiable credential assertion for node to node communication.
|
|
1662
|
-
Defaults to node-authentication-assertion.
|
|
1663
|
-
|
|
1664
|
-
#### Inherited from
|
|
1665
|
-
|
|
1666
|
-
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`vcAuthenticationVerificationMethodId`](IEngineServerEnvironmentVariables.md#vcauthenticationverificationmethodid)
|
|
1667
|
-
|
|
1668
|
-
***
|
|
1669
|
-
|
|
1670
1711
|
### extensions?
|
|
1671
1712
|
|
|
1672
1713
|
> `optional` **extensions**: `string`
|
|
@@ -1751,6 +1792,18 @@ The CORS headers to expose.
|
|
|
1751
1792
|
|
|
1752
1793
|
***
|
|
1753
1794
|
|
|
1795
|
+
### publicOrigin?
|
|
1796
|
+
|
|
1797
|
+
> `optional` **publicOrigin**: `string`
|
|
1798
|
+
|
|
1799
|
+
The public origin URL for the API e.g. https://api.example.com:1234
|
|
1800
|
+
|
|
1801
|
+
#### Inherited from
|
|
1802
|
+
|
|
1803
|
+
[`IEngineServerEnvironmentVariables`](IEngineServerEnvironmentVariables.md).[`publicOrigin`](IEngineServerEnvironmentVariables.md#publicorigin)
|
|
1804
|
+
|
|
1805
|
+
***
|
|
1806
|
+
|
|
1754
1807
|
### authAdminProcessorType?
|
|
1755
1808
|
|
|
1756
1809
|
> `optional` **authAdminProcessorType**: `string`
|
|
@@ -1835,90 +1888,6 @@ List of properties to obfuscate in the REST logging output, comma separated.
|
|
|
1835
1888
|
|
|
1836
1889
|
***
|
|
1837
1890
|
|
|
1838
|
-
### features?
|
|
1839
|
-
|
|
1840
|
-
> `optional` **features**: `string`
|
|
1841
|
-
|
|
1842
|
-
The features that are enabled on the node.
|
|
1843
|
-
|
|
1844
|
-
#### Default
|
|
1845
|
-
|
|
1846
|
-
```ts
|
|
1847
|
-
[]
|
|
1848
|
-
```
|
|
1849
|
-
|
|
1850
|
-
***
|
|
1851
|
-
|
|
1852
|
-
### nodeIdentity?
|
|
1853
|
-
|
|
1854
|
-
> `optional` **nodeIdentity**: `string`
|
|
1855
|
-
|
|
1856
|
-
The identity of the node which, if empty and node-identity feature is enabled it will be generated.
|
|
1857
|
-
|
|
1858
|
-
***
|
|
1859
|
-
|
|
1860
|
-
### nodeMnemonic?
|
|
1861
|
-
|
|
1862
|
-
> `optional` **nodeMnemonic**: `string`
|
|
1863
|
-
|
|
1864
|
-
The mnemonic for the identity, if empty and node-identity feature is enabled it will be randomly generated.
|
|
1865
|
-
|
|
1866
|
-
***
|
|
1867
|
-
|
|
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?
|
|
1901
|
-
|
|
1902
|
-
> `optional` **adminUserName**: `string`
|
|
1903
|
-
|
|
1904
|
-
If the node-admin-user feature is enabled, this will be the name of the user.
|
|
1905
|
-
|
|
1906
|
-
#### Default
|
|
1907
|
-
|
|
1908
|
-
```ts
|
|
1909
|
-
admin@node
|
|
1910
|
-
```
|
|
1911
|
-
|
|
1912
|
-
***
|
|
1913
|
-
|
|
1914
|
-
### adminUserPassword?
|
|
1915
|
-
|
|
1916
|
-
> `optional` **adminUserPassword**: `string`
|
|
1917
|
-
|
|
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
1891
|
### extensionsMaxSizeMb?
|
|
1923
1892
|
|
|
1924
1893
|
> `optional` **extensionsMaxSizeMb**: `number`
|
|
@@ -8,12 +8,12 @@ The options when running the node.
|
|
|
8
8
|
|
|
9
9
|
> `optional` **serverName**: `string`
|
|
10
10
|
|
|
11
|
-
The name of the server, defaults to "TWIN Node
|
|
11
|
+
The name of the server, defaults to "TWIN Node".
|
|
12
12
|
|
|
13
13
|
#### Default
|
|
14
14
|
|
|
15
15
|
```ts
|
|
16
|
-
"TWIN Node
|
|
16
|
+
"TWIN Node"
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
***
|
|
@@ -73,6 +73,14 @@ This will be merged with any configuration loaded from the environment variables
|
|
|
73
73
|
|
|
74
74
|
***
|
|
75
75
|
|
|
76
|
+
### scriptDirectory?
|
|
77
|
+
|
|
78
|
+
> `optional` **scriptDirectory**: `string`
|
|
79
|
+
|
|
80
|
+
The directory to override the script location, defaults to location of index.js.
|
|
81
|
+
|
|
82
|
+
***
|
|
83
|
+
|
|
76
84
|
### executionDirectory?
|
|
77
85
|
|
|
78
86
|
> `optional` **executionDirectory**: `string`
|