@twin.org/node 0.0.3-next.27 → 0.0.3-next.29
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/README.md +12 -22
- package/dist/locales/en.json +12 -5
- package/docs/changelog.md +29 -1
- package/docs/configuration.md +1 -1
- package/docs/deployment-docker.md +1 -1
- package/docs/deployment-ec2.md +1 -1
- package/docs/deployment.md +1 -1
- package/docs/open-api/spec.json +692 -1461
- package/docs/{examples.md → usage.md} +78 -27
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
# TWIN Node
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This app provides the executable server runtime for delivering service workloads through a deployable Node.js application. It assembles shared runtime components into a practical entry point so teams can run, configure, and operate service endpoints with predictable behaviour.
|
|
4
4
|
|
|
5
|
-
The OpenAPI
|
|
5
|
+
It supports local development and production aligned operation while keeping configuration and extension patterns explicit. The generated OpenAPI specification offers a clear integration contract and helps maintain consistency across consuming systems.
|
|
6
6
|
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
To install the dependencies, perform a full build and start the server.
|
|
7
|
+
## Installation
|
|
10
8
|
|
|
11
9
|
```shell
|
|
12
|
-
npm install
|
|
13
|
-
npm run dist
|
|
14
|
-
npm start
|
|
10
|
+
npm install -D @twin.org/node
|
|
15
11
|
```
|
|
16
12
|
|
|
17
|
-
##
|
|
18
|
-
|
|
19
|
-
Once you have performed a full build you can run the server in development mode, this will watch the TypeScript code, rebuild if there are any changes, and relaunch the server.
|
|
20
|
-
|
|
21
|
-
```shell
|
|
22
|
-
npm run dev
|
|
23
|
-
```
|
|
13
|
+
## Configuration
|
|
24
14
|
|
|
25
|
-
|
|
15
|
+
Configuration options are documented in [docs/configuration.md](docs/configuration.md)
|
|
26
16
|
|
|
27
|
-
|
|
17
|
+
## Deployment
|
|
28
18
|
|
|
29
|
-
|
|
19
|
+
Examples of how to deploy the app can be found in [docs/deployment.md](docs/deployment.md)
|
|
30
20
|
|
|
31
|
-
##
|
|
21
|
+
## Usage
|
|
32
22
|
|
|
33
|
-
|
|
23
|
+
Usage of the tool is shown in the examples [docs/usage.md](docs/usage.md)
|
|
34
24
|
|
|
35
|
-
##
|
|
25
|
+
## Reference
|
|
36
26
|
|
|
37
|
-
|
|
27
|
+
Detailed reference documentation for the API can be found in [docs/open-api/spec.json](docs/open-api/spec.json)
|
|
38
28
|
|
|
39
29
|
## Changelog
|
|
40
30
|
|
package/dist/locales/en.json
CHANGED
|
@@ -125,9 +125,10 @@
|
|
|
125
125
|
"atLeastOneNumber": "The value should contain at least one number",
|
|
126
126
|
"atLeastOneSpecialChar": "The value should contain at least one symbol",
|
|
127
127
|
"schema": {
|
|
128
|
-
"failedValidation": "The JSON schema failed validation, {message}",
|
|
129
128
|
"missingType": "Failed to validate as there is no handler for type \"{dataType}\""
|
|
130
129
|
},
|
|
130
|
+
"schemaFailed": "Schema failed validation, \"{message}\", keyword: \"{keyword}\", schemaPath: \"{schemaPath}\"",
|
|
131
|
+
"missingType": "The object must include at least one @type value",
|
|
131
132
|
"geo": {
|
|
132
133
|
"coordinatesLatitudeNumber": "The latitude value must be a number",
|
|
133
134
|
"coordinatesLatitudeRange": "The latitude value must be between -90 and 90",
|
|
@@ -560,7 +561,6 @@
|
|
|
560
561
|
"activityStillProcessing": "Activity is still being processed",
|
|
561
562
|
"noFailedTasksToRetry": "Activity has error status but no failed tasks to retry",
|
|
562
563
|
"invalidActivityGeneratorIdentity": "Invalid activity. No identity specified either on 'generator' or 'actor'",
|
|
563
|
-
"invalidActivity": "Invalid Activity. Expected fields not specified",
|
|
564
564
|
"unknownActivityLogEntryId": "Unknown Activity Log Entry Id \"{activityLogEntryId}\"",
|
|
565
565
|
"tooManyAppsRegistered": "There are several DS Apps registered for Dataset \"{datasetId}\"",
|
|
566
566
|
"noAppRegistered": "There are no DS Apps registered for Dataset \"{datasetId}\"",
|
|
@@ -668,7 +668,8 @@
|
|
|
668
668
|
"abstractScyllaDBConnector": {
|
|
669
669
|
"getFailed": "Getting item with \"{id}\" failed",
|
|
670
670
|
"findFailed": "Error while querying data on \"{table}\"",
|
|
671
|
-
"parseJSONFailed": "Parsing JSON failed for field \"{name}\" with value \"{value}\""
|
|
671
|
+
"parseJSONFailed": "Parsing JSON failed for field \"{name}\" with value \"{value}\"",
|
|
672
|
+
"comparisonNotSupported": "Dot-notation nested property path \"{property}\" is not supported in CQL queries"
|
|
672
673
|
},
|
|
673
674
|
"synchronisedEntityStorageConnector": {
|
|
674
675
|
"missingRequiredProperty": "The property \"{requiredProperty}\" is required when using the Synchronised Entity Storage Connector.",
|
|
@@ -687,7 +688,6 @@
|
|
|
687
688
|
},
|
|
688
689
|
"federatedCatalogueService": {
|
|
689
690
|
"datasetNotFound": "Dataset with ID \"{notFoundId}\" not found in the catalogue",
|
|
690
|
-
"datasetNotConformant": "Dataset \"{dataSetId}\" does not conform to DS Protocol specification",
|
|
691
691
|
"datasetIdInvalidUri": "Dataset @id \"{dataSetId}\" must be a valid URI (URN or URL) per DS Protocol",
|
|
692
692
|
"datasetMissingPublisher": "Dataset \"{dataSetId}\" is missing required dcterms:publisher property (needed for participant identification)",
|
|
693
693
|
"filterIndexCreationFailed": "Failed to create filter index for dataset \"{dataSetId}\" using filter \"{filterType}\"",
|
|
@@ -786,6 +786,12 @@
|
|
|
786
786
|
"gasStationTransactionFailed": "The gas station transaction failed",
|
|
787
787
|
"dryRunFailed": "The dry run execution failed"
|
|
788
788
|
},
|
|
789
|
+
"iotaIdentityUtils": {
|
|
790
|
+
"getControllerCapInfoFailed": "Getting the controller capability info for the identity failed",
|
|
791
|
+
"identityNotFound": "The identity could not be found \"{notFoundId}\"",
|
|
792
|
+
"identityDeleted": "The identity \"{identityId}\" has been deleted and cannot be used for minting",
|
|
793
|
+
"controllerTokenNotFound": "No controller token found for the identity \"{notFoundId}\" with the provided controller address"
|
|
794
|
+
},
|
|
789
795
|
"iotaSmartContractUtils": {
|
|
790
796
|
"migrationFailed": "Smart contract migration failed",
|
|
791
797
|
"migrateSmartContractFailed": "Failed to migrate smart contract for object \"{objectId}\"",
|
|
@@ -999,7 +1005,8 @@
|
|
|
999
1005
|
"actionExecutionFailed": "Action execution failed for id: \"{actionId}\", at stage \"{stage}\", policy id: \"{policyId}\""
|
|
1000
1006
|
},
|
|
1001
1007
|
"policyNegotiationPointRestClient": {
|
|
1002
|
-
"notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component"
|
|
1008
|
+
"notSupportedOnClient": "The method \"{methodName}\" is not supported on the REST client, it can only be used on a server side component",
|
|
1009
|
+
"publicOriginNotRequired": "The publicOrigin parameter is not required on the REST client"
|
|
1003
1010
|
},
|
|
1004
1011
|
"synchronisedStorageService": {
|
|
1005
1012
|
"notTrustedNode": "This method can only be called on a trusted node",
|
package/docs/changelog.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.0.3-next.29](https://github.com/twinfoundation/node/compare/node-v0.0.3-next.28...node-v0.0.3-next.29) (2026-03-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update dependencies ([aab05b5](https://github.com/twinfoundation/node/commit/aab05b552152a208a504fb9a080603f1990d4f79))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/node-core bumped from 0.0.3-next.28 to 0.0.3-next.29
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.28](https://github.com/twinfoundation/node/compare/node-v0.0.3-next.27...node-v0.0.3-next.28) (2026-03-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **node:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/node-core bumped from 0.0.3-next.27 to 0.0.3-next.28
|
|
2
30
|
|
|
3
31
|
## [0.0.3-next.27](https://github.com/twinfoundation/node/compare/node-v0.0.3-next.26...node-v0.0.3-next.27) (2026-03-09)
|
|
4
32
|
|
package/docs/configuration.md
CHANGED
package/docs/deployment-ec2.md
CHANGED
package/docs/deployment.md
CHANGED