@twin.org/node-core 0.0.2-next.1 → 0.0.2-next.10
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/cjs/index.cjs +438 -218
- package/dist/esm/index.mjs +438 -220
- package/dist/types/bootstrap.d.ts +9 -9
- package/dist/types/builders/engineServerEnvBuilder.d.ts +2 -1
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +115 -21
- package/dist/types/models/INodeOptions.d.ts +4 -0
- package/dist/types/models/nodeFeatures.d.ts +4 -0
- package/dist/types/node.d.ts +5 -0
- package/dist/types/utils.d.ts +6 -0
- package/docs/changelog.md +66 -0
- package/docs/reference/functions/{bootstrapAttestationMethod.md → bootstrapSynchronisedStorage.md} +3 -3
- package/docs/reference/functions/buildEngineServerConfiguration.md +7 -1
- package/docs/reference/functions/loadTextFile.md +19 -0
- package/docs/reference/functions/overrideModuleImport.md +17 -0
- package/docs/reference/index.md +3 -1
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +222 -32
- package/docs/reference/interfaces/INodeEnvironmentVariables.md +309 -43
- package/docs/reference/interfaces/INodeOptions.md +8 -0
- package/docs/reference/variables/NodeFeatures.md +7 -1
- package/locales/en.json +6 -4
- package/package.json +5 -2
|
@@ -48,7 +48,8 @@ The name of the state file.
|
|
|
48
48
|
|
|
49
49
|
> `optional` **entityStorageConnectorType**: `string`
|
|
50
50
|
|
|
51
|
-
The type of the
|
|
51
|
+
The type of the entity storage to create, comma separate for more than one connector.
|
|
52
|
+
values: file, memory, aws-dynamodb, azure-cosmosdb, gcp-firestoredb, scylladb, mysql, mongodb, postgresql
|
|
52
53
|
|
|
53
54
|
#### Inherited from
|
|
54
55
|
|
|
@@ -56,39 +57,27 @@ The type of the default entity storage: file, memory, aws-dynamodb, azure-cosmos
|
|
|
56
57
|
|
|
57
58
|
***
|
|
58
59
|
|
|
59
|
-
###
|
|
60
|
-
|
|
61
|
-
> `optional` **entityStorageTablePrefix**: `string`
|
|
62
|
-
|
|
63
|
-
A prefix for all the table in entity-storage, can be empty.
|
|
64
|
-
|
|
65
|
-
#### Inherited from
|
|
60
|
+
### entityStorageConnectorDefault?
|
|
66
61
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
***
|
|
70
|
-
|
|
71
|
-
### entityFileEnable?
|
|
62
|
+
> `optional` **entityStorageConnectorDefault**: `string`
|
|
72
63
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Enable the file entity storage connector.
|
|
64
|
+
The default entity storage connector to use, defaults to the first one in the list.
|
|
76
65
|
|
|
77
66
|
#### Inherited from
|
|
78
67
|
|
|
79
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
68
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`entityStorageConnectorDefault`](IEngineEnvironmentVariables.md#entitystorageconnectordefault)
|
|
80
69
|
|
|
81
70
|
***
|
|
82
71
|
|
|
83
|
-
###
|
|
72
|
+
### entityStorageTablePrefix?
|
|
84
73
|
|
|
85
|
-
> `optional` **
|
|
74
|
+
> `optional` **entityStorageTablePrefix**: `string`
|
|
86
75
|
|
|
87
|
-
|
|
76
|
+
A prefix for all the table in entity-storage, can be empty.
|
|
88
77
|
|
|
89
78
|
#### Inherited from
|
|
90
79
|
|
|
91
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
80
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`entityStorageTablePrefix`](IEngineEnvironmentVariables.md#entitystoragetableprefix)
|
|
92
81
|
|
|
93
82
|
***
|
|
94
83
|
|
|
@@ -284,6 +273,18 @@ ScyllaDB local data center.
|
|
|
284
273
|
|
|
285
274
|
***
|
|
286
275
|
|
|
276
|
+
### scylladbPort?
|
|
277
|
+
|
|
278
|
+
> `optional` **scylladbPort**: `string`
|
|
279
|
+
|
|
280
|
+
ScyllaDB port.
|
|
281
|
+
|
|
282
|
+
#### Inherited from
|
|
283
|
+
|
|
284
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`scylladbPort`](IEngineEnvironmentVariables.md#scylladbport)
|
|
285
|
+
|
|
286
|
+
***
|
|
287
|
+
|
|
287
288
|
### mySqlHost?
|
|
288
289
|
|
|
289
290
|
> `optional` **mySqlHost**: `string`
|
|
@@ -492,7 +493,8 @@ The url for accessing IPFS API.
|
|
|
492
493
|
|
|
493
494
|
> `optional` **blobStorageConnectorType**: `string`
|
|
494
495
|
|
|
495
|
-
The type of the
|
|
496
|
+
The type of the entity storage to create, comma separate for more than one connector.
|
|
497
|
+
values: memory, file, ipfs, aws-s3, azure-storage, gcp-storage.
|
|
496
498
|
|
|
497
499
|
#### Inherited from
|
|
498
500
|
|
|
@@ -500,63 +502,76 @@ The type of the default blob storage: memory, file, ipfs, aws-s3, azure-storage,
|
|
|
500
502
|
|
|
501
503
|
***
|
|
502
504
|
|
|
503
|
-
###
|
|
505
|
+
### blobStorageConnectorDefault?
|
|
504
506
|
|
|
505
|
-
> `optional` **
|
|
507
|
+
> `optional` **blobStorageConnectorDefault**: `string`
|
|
506
508
|
|
|
507
|
-
|
|
509
|
+
The default blob storage connector to use, defaults to the first one in the list.
|
|
508
510
|
|
|
509
511
|
#### Inherited from
|
|
510
512
|
|
|
511
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
513
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`blobStorageConnectorDefault`](IEngineEnvironmentVariables.md#blobstorageconnectordefault)
|
|
512
514
|
|
|
513
515
|
***
|
|
514
516
|
|
|
515
|
-
###
|
|
517
|
+
### blobStorageConnectorPublic?
|
|
516
518
|
|
|
517
|
-
> `optional` **
|
|
519
|
+
> `optional` **blobStorageConnectorPublic**: `string`
|
|
518
520
|
|
|
519
|
-
|
|
521
|
+
Blog storage connector which has public access.
|
|
520
522
|
|
|
521
523
|
#### Inherited from
|
|
522
524
|
|
|
523
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
525
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`blobStorageConnectorPublic`](IEngineEnvironmentVariables.md#blobstorageconnectorpublic)
|
|
524
526
|
|
|
525
527
|
***
|
|
526
528
|
|
|
527
|
-
###
|
|
529
|
+
### blobStorageEnableEncryption?
|
|
528
530
|
|
|
529
|
-
> `optional` **
|
|
531
|
+
> `optional` **blobStorageEnableEncryption**: `string`
|
|
530
532
|
|
|
531
|
-
|
|
533
|
+
Enable encryption for the blob storage.
|
|
532
534
|
|
|
533
535
|
#### Inherited from
|
|
534
536
|
|
|
535
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
537
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`blobStorageEnableEncryption`](IEngineEnvironmentVariables.md#blobstorageenableencryption)
|
|
538
|
+
|
|
539
|
+
***
|
|
540
|
+
|
|
541
|
+
### blobStorageEncryptionKeyId?
|
|
542
|
+
|
|
543
|
+
> `optional` **blobStorageEncryptionKeyId**: `string`
|
|
544
|
+
|
|
545
|
+
The id of the encryption key for the blob storage.
|
|
546
|
+
|
|
547
|
+
#### Inherited from
|
|
548
|
+
|
|
549
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`blobStorageEncryptionKeyId`](IEngineEnvironmentVariables.md#blobstorageencryptionkeyid)
|
|
536
550
|
|
|
537
551
|
***
|
|
538
552
|
|
|
539
|
-
###
|
|
553
|
+
### blobStorageSymmetricEncryptionKey?
|
|
540
554
|
|
|
541
|
-
> `optional` **
|
|
555
|
+
> `optional` **blobStorageSymmetricEncryptionKey**: `string`
|
|
542
556
|
|
|
543
|
-
|
|
557
|
+
A symmetric encryption key for the blob storage, should be ChaCha20Poly1305 in base64 format.
|
|
558
|
+
If encryption is enabled but a key is not provided one will be generated.
|
|
544
559
|
|
|
545
560
|
#### Inherited from
|
|
546
561
|
|
|
547
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
562
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`blobStorageSymmetricEncryptionKey`](IEngineEnvironmentVariables.md#blobstoragesymmetricencryptionkey)
|
|
548
563
|
|
|
549
564
|
***
|
|
550
565
|
|
|
551
|
-
###
|
|
566
|
+
### blobStoragePrefix?
|
|
552
567
|
|
|
553
|
-
> `optional` **
|
|
568
|
+
> `optional` **blobStoragePrefix**: `string`
|
|
554
569
|
|
|
555
|
-
|
|
570
|
+
A prefix for all the blobs in blob-storage, can be empty.
|
|
556
571
|
|
|
557
572
|
#### Inherited from
|
|
558
573
|
|
|
559
|
-
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`
|
|
574
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`blobStoragePrefix`](IEngineEnvironmentVariables.md#blobstorageprefix)
|
|
560
575
|
|
|
561
576
|
***
|
|
562
577
|
|
|
@@ -1112,6 +1127,167 @@ The type of the default data extractor, can be a comma separated list: json-path
|
|
|
1112
1127
|
|
|
1113
1128
|
***
|
|
1114
1129
|
|
|
1130
|
+
### synchronisedStorageEnabled?
|
|
1131
|
+
|
|
1132
|
+
> `optional` **synchronisedStorageEnabled**: `string`
|
|
1133
|
+
|
|
1134
|
+
Is the synchronised storage enabled, defaults to false.
|
|
1135
|
+
|
|
1136
|
+
#### Inherited from
|
|
1137
|
+
|
|
1138
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageEnabled`](IEngineEnvironmentVariables.md#synchronisedstorageenabled)
|
|
1139
|
+
|
|
1140
|
+
***
|
|
1141
|
+
|
|
1142
|
+
### synchronisedStorageTrustedUrl?
|
|
1143
|
+
|
|
1144
|
+
> `optional` **synchronisedStorageTrustedUrl**: `string`
|
|
1145
|
+
|
|
1146
|
+
Url which points to the api for a trusted synchronised storage node, not required if this is a trusted node.
|
|
1147
|
+
|
|
1148
|
+
#### Inherited from
|
|
1149
|
+
|
|
1150
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageTrustedUrl`](IEngineEnvironmentVariables.md#synchronisedstoragetrustedurl)
|
|
1151
|
+
|
|
1152
|
+
***
|
|
1153
|
+
|
|
1154
|
+
### synchronisedStorageVerifiableStorageKeyId?
|
|
1155
|
+
|
|
1156
|
+
> `optional` **synchronisedStorageVerifiableStorageKeyId**: `string`
|
|
1157
|
+
|
|
1158
|
+
The key for the smart contract which contains the verifiable storage pointer store for synchronised storage.
|
|
1159
|
+
This only required if using a custom verifiable storage item, otherwise it will default the the network name.
|
|
1160
|
+
|
|
1161
|
+
#### Inherited from
|
|
1162
|
+
|
|
1163
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageVerifiableStorageKeyId`](IEngineEnvironmentVariables.md#synchronisedstorageverifiablestoragekeyid)
|
|
1164
|
+
|
|
1165
|
+
***
|
|
1166
|
+
|
|
1167
|
+
### synchronisedStorageVerificationMethodId?
|
|
1168
|
+
|
|
1169
|
+
> `optional` **synchronisedStorageVerificationMethodId**: `string`
|
|
1170
|
+
|
|
1171
|
+
The identity verification method id to use with synchronised storage for signing/verifying changesets.
|
|
1172
|
+
Defaults to synchronised-storage-assertion.
|
|
1173
|
+
|
|
1174
|
+
#### Inherited from
|
|
1175
|
+
|
|
1176
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageVerificationMethodId`](IEngineEnvironmentVariables.md#synchronisedstorageverificationmethodid)
|
|
1177
|
+
|
|
1178
|
+
***
|
|
1179
|
+
|
|
1180
|
+
### synchronisedStorageBlobStorageEncryptionKeyId?
|
|
1181
|
+
|
|
1182
|
+
> `optional` **synchronisedStorageBlobStorageEncryptionKeyId**: `string`
|
|
1183
|
+
|
|
1184
|
+
The key from the vault which is used to encrypt the synchronised storage blobs.
|
|
1185
|
+
Only required for trusted nodes, as regular nodes will request from the trusted nodes.
|
|
1186
|
+
Defaults to synchronised-storage-blob-encryption
|
|
1187
|
+
|
|
1188
|
+
#### Inherited from
|
|
1189
|
+
|
|
1190
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageBlobStorageEncryptionKeyId`](IEngineEnvironmentVariables.md#synchronisedstorageblobstorageencryptionkeyid)
|
|
1191
|
+
|
|
1192
|
+
***
|
|
1193
|
+
|
|
1194
|
+
### synchronisedStorageBlobStorageKey?
|
|
1195
|
+
|
|
1196
|
+
> `optional` **synchronisedStorageBlobStorageKey**: `string`
|
|
1197
|
+
|
|
1198
|
+
The key used for blob encryption, should be ChaCha20Poly1305 encoded as base64.
|
|
1199
|
+
Only required for trusted nodes, as regular nodes will not write encrypted data.
|
|
1200
|
+
|
|
1201
|
+
#### Inherited from
|
|
1202
|
+
|
|
1203
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageBlobStorageKey`](IEngineEnvironmentVariables.md#synchronisedstorageblobstoragekey)
|
|
1204
|
+
|
|
1205
|
+
***
|
|
1206
|
+
|
|
1207
|
+
### synchronisedStorageEntityUpdateIntervalMinutes?
|
|
1208
|
+
|
|
1209
|
+
> `optional` **synchronisedStorageEntityUpdateIntervalMinutes**: `string`
|
|
1210
|
+
|
|
1211
|
+
How often to check for entity updates in minutes.
|
|
1212
|
+
|
|
1213
|
+
#### Default
|
|
1214
|
+
|
|
1215
|
+
```ts
|
|
1216
|
+
5
|
|
1217
|
+
```
|
|
1218
|
+
|
|
1219
|
+
#### Inherited from
|
|
1220
|
+
|
|
1221
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageEntityUpdateIntervalMinutes`](IEngineEnvironmentVariables.md#synchronisedstorageentityupdateintervalminutes)
|
|
1222
|
+
|
|
1223
|
+
***
|
|
1224
|
+
|
|
1225
|
+
### synchronisedStorageConsolidationIntervalMinutes?
|
|
1226
|
+
|
|
1227
|
+
> `optional` **synchronisedStorageConsolidationIntervalMinutes**: `string`
|
|
1228
|
+
|
|
1229
|
+
Interval to perform consolidation of changesets, only used if this is a trusted node.
|
|
1230
|
+
|
|
1231
|
+
#### Default
|
|
1232
|
+
|
|
1233
|
+
```ts
|
|
1234
|
+
60
|
|
1235
|
+
```
|
|
1236
|
+
|
|
1237
|
+
#### Inherited from
|
|
1238
|
+
|
|
1239
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageConsolidationIntervalMinutes`](IEngineEnvironmentVariables.md#synchronisedstorageconsolidationintervalminutes)
|
|
1240
|
+
|
|
1241
|
+
***
|
|
1242
|
+
|
|
1243
|
+
### synchronisedStorageConsolidationBatchSize?
|
|
1244
|
+
|
|
1245
|
+
> `optional` **synchronisedStorageConsolidationBatchSize**: `string`
|
|
1246
|
+
|
|
1247
|
+
The number of entities to process in a single consolidation batch, only used if this is a trusted node.
|
|
1248
|
+
|
|
1249
|
+
#### Default
|
|
1250
|
+
|
|
1251
|
+
```ts
|
|
1252
|
+
1000
|
|
1253
|
+
```
|
|
1254
|
+
|
|
1255
|
+
#### Inherited from
|
|
1256
|
+
|
|
1257
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageConsolidationBatchSize`](IEngineEnvironmentVariables.md#synchronisedstorageconsolidationbatchsize)
|
|
1258
|
+
|
|
1259
|
+
***
|
|
1260
|
+
|
|
1261
|
+
### synchronisedStorageMaxConsolidations?
|
|
1262
|
+
|
|
1263
|
+
> `optional` **synchronisedStorageMaxConsolidations**: `string`
|
|
1264
|
+
|
|
1265
|
+
The maximum number of consolidations to keep in storage, only used if this is a trusted node.
|
|
1266
|
+
|
|
1267
|
+
#### Default
|
|
1268
|
+
|
|
1269
|
+
```ts
|
|
1270
|
+
5
|
|
1271
|
+
```
|
|
1272
|
+
|
|
1273
|
+
#### Inherited from
|
|
1274
|
+
|
|
1275
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`synchronisedStorageMaxConsolidations`](IEngineEnvironmentVariables.md#synchronisedstoragemaxconsolidations)
|
|
1276
|
+
|
|
1277
|
+
***
|
|
1278
|
+
|
|
1279
|
+
### federatedCatalogueEnabled?
|
|
1280
|
+
|
|
1281
|
+
> `optional` **federatedCatalogueEnabled**: `string`
|
|
1282
|
+
|
|
1283
|
+
Is the federated catalogue enabled, defaults to false.
|
|
1284
|
+
|
|
1285
|
+
#### Inherited from
|
|
1286
|
+
|
|
1287
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`federatedCatalogueEnabled`](IEngineEnvironmentVariables.md#federatedcatalogueenabled)
|
|
1288
|
+
|
|
1289
|
+
***
|
|
1290
|
+
|
|
1115
1291
|
### federatedCatalogueCacheTtlMs?
|
|
1116
1292
|
|
|
1117
1293
|
> `optional` **federatedCatalogueCacheTtlMs**: `number`
|
|
@@ -1148,11 +1324,76 @@ Is the rights management enabled, defaults to false.
|
|
|
1148
1324
|
|
|
1149
1325
|
***
|
|
1150
1326
|
|
|
1327
|
+
### rightsManagementNegotiationMethodId?
|
|
1328
|
+
|
|
1329
|
+
> `optional` **rightsManagementNegotiationMethodId**: `string`
|
|
1330
|
+
|
|
1331
|
+
The rights management verification method id to use when signing/verifying negotiation requests.
|
|
1332
|
+
Defaults to policy-negotiation-assertion.
|
|
1333
|
+
|
|
1334
|
+
#### Inherited from
|
|
1335
|
+
|
|
1336
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`rightsManagementNegotiationMethodId`](IEngineEnvironmentVariables.md#rightsmanagementnegotiationmethodid)
|
|
1337
|
+
|
|
1338
|
+
***
|
|
1339
|
+
|
|
1340
|
+
### rightsManagementNegotiators?
|
|
1341
|
+
|
|
1342
|
+
> `optional` **rightsManagementNegotiators**: `string`
|
|
1343
|
+
|
|
1344
|
+
The rights management configuration which includes the negotiator modules to load.
|
|
1345
|
+
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1346
|
+
|
|
1347
|
+
#### Inherited from
|
|
1348
|
+
|
|
1349
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`rightsManagementNegotiators`](IEngineEnvironmentVariables.md#rightsmanagementnegotiators)
|
|
1350
|
+
|
|
1351
|
+
***
|
|
1352
|
+
|
|
1353
|
+
### rightsManagementInformationSources?
|
|
1354
|
+
|
|
1355
|
+
> `optional` **rightsManagementInformationSources**: `string`
|
|
1356
|
+
|
|
1357
|
+
The rights management configuration which includes the information sources modules to load.
|
|
1358
|
+
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1359
|
+
|
|
1360
|
+
#### Inherited from
|
|
1361
|
+
|
|
1362
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`rightsManagementInformationSources`](IEngineEnvironmentVariables.md#rightsmanagementinformationsources)
|
|
1363
|
+
|
|
1364
|
+
***
|
|
1365
|
+
|
|
1366
|
+
### rightsManagementExecutionActions?
|
|
1367
|
+
|
|
1368
|
+
> `optional` **rightsManagementExecutionActions**: `string`
|
|
1369
|
+
|
|
1370
|
+
The rights management configuration which includes the execution actions modules to load.
|
|
1371
|
+
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1372
|
+
|
|
1373
|
+
#### Inherited from
|
|
1374
|
+
|
|
1375
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`rightsManagementExecutionActions`](IEngineEnvironmentVariables.md#rightsmanagementexecutionactions)
|
|
1376
|
+
|
|
1377
|
+
***
|
|
1378
|
+
|
|
1379
|
+
### rightsManagementEnforcementProcessors?
|
|
1380
|
+
|
|
1381
|
+
> `optional` **rightsManagementEnforcementProcessors**: `string`
|
|
1382
|
+
|
|
1383
|
+
The rights management configuration which includes the enforcement processor modules to load.
|
|
1384
|
+
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1385
|
+
|
|
1386
|
+
#### Inherited from
|
|
1387
|
+
|
|
1388
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`rightsManagementEnforcementProcessors`](IEngineEnvironmentVariables.md#rightsmanagementenforcementprocessors)
|
|
1389
|
+
|
|
1390
|
+
***
|
|
1391
|
+
|
|
1151
1392
|
### taskSchedulerEnabled?
|
|
1152
1393
|
|
|
1153
1394
|
> `optional` **taskSchedulerEnabled**: `string`
|
|
1154
1395
|
|
|
1155
|
-
Is the task scheduler enabled, defaults to
|
|
1396
|
+
Is the task scheduler enabled, defaults to false.
|
|
1156
1397
|
|
|
1157
1398
|
#### Inherited from
|
|
1158
1399
|
|
|
@@ -1160,6 +1401,31 @@ Is the task scheduler enabled, defaults to true.
|
|
|
1160
1401
|
|
|
1161
1402
|
***
|
|
1162
1403
|
|
|
1404
|
+
### dataSpaceConnectorEnabled?
|
|
1405
|
+
|
|
1406
|
+
> `optional` **dataSpaceConnectorEnabled**: `string`
|
|
1407
|
+
|
|
1408
|
+
Is the data space connector enabled, defaults to false.
|
|
1409
|
+
|
|
1410
|
+
#### Inherited from
|
|
1411
|
+
|
|
1412
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`dataSpaceConnectorEnabled`](IEngineEnvironmentVariables.md#dataspaceconnectorenabled)
|
|
1413
|
+
|
|
1414
|
+
***
|
|
1415
|
+
|
|
1416
|
+
### dataSpaceConnectorApps?
|
|
1417
|
+
|
|
1418
|
+
> `optional` **dataSpaceConnectorApps**: `string`
|
|
1419
|
+
|
|
1420
|
+
The application configuration for the data space connector.
|
|
1421
|
+
Use the @json: prefix to specify the path to the JSON configuration file.
|
|
1422
|
+
|
|
1423
|
+
#### Inherited from
|
|
1424
|
+
|
|
1425
|
+
[`IEngineEnvironmentVariables`](IEngineEnvironmentVariables.md).[`dataSpaceConnectorApps`](IEngineEnvironmentVariables.md#dataspaceconnectorapps)
|
|
1426
|
+
|
|
1427
|
+
***
|
|
1428
|
+
|
|
1163
1429
|
### port?
|
|
1164
1430
|
|
|
1165
1431
|
> `optional` **port**: `string`
|
|
@@ -85,6 +85,14 @@ The path to the OpenAPI spec file, defaults to docs/open-api/spec.json.
|
|
|
85
85
|
|
|
86
86
|
***
|
|
87
87
|
|
|
88
|
+
### favIconFile?
|
|
89
|
+
|
|
90
|
+
> `optional` **favIconFile**: `string`
|
|
91
|
+
|
|
92
|
+
The path to the favicon, defaults to static/favicon.png.
|
|
93
|
+
|
|
94
|
+
***
|
|
95
|
+
|
|
88
96
|
### extendEnvVars()?
|
|
89
97
|
|
|
90
98
|
> `optional` **extendEnvVars**: (`envVars`) => `Promise`\<`void`\>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
The features that can be enabled on the node.
|
|
6
6
|
|
|
7
|
-
## Type
|
|
7
|
+
## Type Declaration
|
|
8
8
|
|
|
9
9
|
### NodeIdentity
|
|
10
10
|
|
|
@@ -17,3 +17,9 @@ NodeIdentity - generates an identity for the node if not provided in config.
|
|
|
17
17
|
> `readonly` **NodeUser**: `"node-user"` = `"node-user"`
|
|
18
18
|
|
|
19
19
|
NodeUser - generates a user for the node if not provided in config.
|
|
20
|
+
|
|
21
|
+
### NodeWallet
|
|
22
|
+
|
|
23
|
+
> `readonly` **NodeWallet**: `"node-wallet"` = `"node-wallet"`
|
|
24
|
+
|
|
25
|
+
NodeWallet - generates a wallet for the node and funds it when there is a faucet available.
|
package/locales/en.json
CHANGED
|
@@ -19,12 +19,14 @@
|
|
|
19
19
|
"existingNodeUser": "Node user already exists \"{email}\"",
|
|
20
20
|
"creatingAuthKey": "Creating authentication key \"{keyName}\"",
|
|
21
21
|
"existingAuthKey": "Authentication key already exists \"{keyName}\"",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"existingImmutableProof": "Immutable proof verification method already exists \"{methodId}\"",
|
|
22
|
+
"addingVerificationMethod": "Adding {title} verification method \"{methodId}\"",
|
|
23
|
+
"existingVerificationMethod": "Verification method for {title} already exists \"{methodId}\"",
|
|
24
|
+
"addingBlobEncryptionKey": "Adding blob encryption key \"{keyName}\"",
|
|
26
25
|
"creatingBlobEncryptionKey": "Creating blob encryption key \"{keyName}\"",
|
|
26
|
+
"createdBlobEncryptionKey": "Created blob encryption key \"{keyName}\" with value \"{keyValue}\"",
|
|
27
27
|
"existingBlobEncryptionKey": "Blob encryption key already exists \"{keyName}\"",
|
|
28
|
+
"addingSynchronisedStorageBlobEncryptionKey": "Adding synchronised storage blob encryption key \"{keyName}\"",
|
|
29
|
+
"existingSynchronisedStorageBlobEncryptionKey": "Synchronised storage blob encryption key already exists \"{keyName}\"",
|
|
28
30
|
"creatingUserProfile": "Creating user profile \"{identity}\"",
|
|
29
31
|
"existingUserProfile": "User profile already exists \"{identity}\"",
|
|
30
32
|
"nodeIdentity": "Node identity \"{identity}\"",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/node-core",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.10",
|
|
4
4
|
"description": "TWIN Node Core for serving APIs using the specified configuration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"@twin.org/api-auth-entity-storage-service": "next",
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/crypto": "next",
|
|
20
|
+
"@twin.org/data-space-connector-models": "next",
|
|
20
21
|
"@twin.org/engine": "next",
|
|
21
22
|
"@twin.org/engine-core": "next",
|
|
22
23
|
"@twin.org/engine-models": "next",
|
|
@@ -26,9 +27,11 @@
|
|
|
26
27
|
"@twin.org/entity": "next",
|
|
27
28
|
"@twin.org/entity-storage-models": "next",
|
|
28
29
|
"@twin.org/identity-models": "next",
|
|
30
|
+
"@twin.org/modules": "next",
|
|
31
|
+
"@twin.org/rights-management-rest-client": "next",
|
|
29
32
|
"@twin.org/vault-models": "next",
|
|
30
33
|
"@twin.org/wallet-models": "next",
|
|
31
|
-
"dotenv": "
|
|
34
|
+
"dotenv": "17.2.1",
|
|
32
35
|
"schema-dts": "1.1.5"
|
|
33
36
|
},
|
|
34
37
|
"main": "./dist/cjs/index.cjs",
|