@twin.org/engine-types 0.0.3-next.46 → 0.0.3-next.48
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/components/entityStorage.js +0 -18
- package/dist/es/components/entityStorage.js.map +1 -1
- package/dist/es/components/federatedCatalogue.js +2 -1
- package/dist/es/components/federatedCatalogue.js.map +1 -1
- package/dist/es/components/schemaVersionMigration.js +29 -0
- package/dist/es/components/schemaVersionMigration.js.map +1 -0
- package/dist/es/components/trustVerifier.js +6 -3
- package/dist/es/components/trustVerifier.js.map +1 -1
- package/dist/es/index.js +3 -8
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IEngineConfig.js.map +1 -1
- package/dist/es/models/config/entityStorageConnectorConfig.js.map +1 -1
- package/dist/es/models/config/schemaVersionMigrationComponentConfig.js +2 -0
- package/dist/es/models/config/schemaVersionMigrationComponentConfig.js.map +1 -0
- package/dist/es/models/config/trustVerifierComponentConfig.js.map +1 -1
- package/dist/es/models/types/entityStorageConnectorType.js +1 -5
- package/dist/es/models/types/entityStorageConnectorType.js.map +1 -1
- package/dist/es/models/types/schemaVersionMigrationComponentType.js +13 -0
- package/dist/es/models/types/schemaVersionMigrationComponentType.js.map +1 -0
- package/dist/es/models/types/trustVerifierComponentType.js +5 -1
- package/dist/es/models/types/trustVerifierComponentType.js.map +1 -1
- package/dist/types/components/schemaVersionMigration.d.ts +12 -0
- package/dist/types/index.d.ts +3 -8
- package/dist/types/models/IEngineConfig.d.ts +5 -15
- package/dist/types/models/config/entityStorageConnectorConfig.d.ts +0 -4
- package/dist/types/models/config/schemaVersionMigrationComponentConfig.d.ts +7 -0
- package/dist/types/models/config/trustVerifierComponentConfig.d.ts +4 -1
- package/dist/types/models/types/entityStorageConnectorType.d.ts +0 -4
- package/dist/types/models/types/schemaVersionMigrationComponentType.d.ts +13 -0
- package/dist/types/models/types/trustVerifierComponentType.d.ts +4 -0
- package/docs/changelog.md +30 -0
- package/docs/reference/functions/initialiseSchemaVersionMigrationComponent.md +31 -0
- package/docs/reference/index.md +4 -12
- package/docs/reference/interfaces/IEngineConfig.md +6 -18
- package/docs/reference/type-aliases/EntityStorageConnectorConfig.md +1 -1
- package/docs/reference/type-aliases/SchemaVersionMigrationComponentConfig.md +11 -0
- package/docs/reference/type-aliases/SchemaVersionMigrationComponentType.md +5 -0
- package/docs/reference/type-aliases/TrustVerifierComponentConfig.md +1 -13
- package/docs/reference/variables/EntityStorageConnectorType.md +0 -6
- package/docs/reference/variables/SchemaVersionMigrationComponentType.md +13 -0
- package/docs/reference/variables/TrustVerifierComponentType.md +6 -0
- package/package.json +3 -12
- package/dist/es/components/synchronisedStorage.js +0 -49
- package/dist/es/components/synchronisedStorage.js.map +0 -1
- package/dist/es/components/verifiableStorage.js +0 -77
- package/dist/es/components/verifiableStorage.js.map +0 -1
- package/dist/es/models/config/synchronisedStorageComponentConfig.js +0 -2
- package/dist/es/models/config/synchronisedStorageComponentConfig.js.map +0 -1
- package/dist/es/models/config/verifiableStorageComponentConfig.js +0 -2
- package/dist/es/models/config/verifiableStorageComponentConfig.js.map +0 -1
- package/dist/es/models/config/verifiableStorageConnectorConfig.js +0 -2
- package/dist/es/models/config/verifiableStorageConnectorConfig.js.map +0 -1
- package/dist/es/models/types/synchronisedStorageComponentType.js +0 -17
- package/dist/es/models/types/synchronisedStorageComponentType.js.map +0 -1
- package/dist/es/models/types/verifiableStorageComponentType.js +0 -17
- package/dist/es/models/types/verifiableStorageComponentType.js.map +0 -1
- package/dist/es/models/types/verifiableStorageConnectorType.js +0 -17
- package/dist/es/models/types/verifiableStorageConnectorType.js.map +0 -1
- package/dist/types/components/synchronisedStorage.d.ts +0 -12
- package/dist/types/components/verifiableStorage.d.ts +0 -22
- package/dist/types/models/config/synchronisedStorageComponentConfig.d.ts +0 -13
- package/dist/types/models/config/verifiableStorageComponentConfig.d.ts +0 -13
- package/dist/types/models/config/verifiableStorageConnectorConfig.d.ts +0 -13
- package/dist/types/models/types/synchronisedStorageComponentType.d.ts +0 -17
- package/dist/types/models/types/verifiableStorageComponentType.d.ts +0 -17
- package/dist/types/models/types/verifiableStorageConnectorType.d.ts +0 -17
- package/docs/reference/functions/initialiseSynchronisedStorageComponent.md +0 -31
- package/docs/reference/functions/initialiseVerifiableStorageComponent.md +0 -31
- package/docs/reference/functions/initialiseVerifiableStorageConnector.md +0 -31
- package/docs/reference/type-aliases/IVerifiableStorageComponentType.md +0 -5
- package/docs/reference/type-aliases/SynchronisedStorageComponentConfig.md +0 -5
- package/docs/reference/type-aliases/SynchronisedStorageComponentType.md +0 -5
- package/docs/reference/type-aliases/VerifiableStorageComponentConfig.md +0 -5
- package/docs/reference/type-aliases/VerifiableStorageConnectorConfig.md +0 -5
- package/docs/reference/type-aliases/VerifiableStorageConnectorType.md +0 -5
- package/docs/reference/variables/SynchronisedStorageComponentType.md +0 -19
- package/docs/reference/variables/VerifiableStorageComponentType.md +0 -19
- package/docs/reference/variables/VerifiableStorageConnectorType.md +0 -19
|
@@ -40,10 +40,6 @@ export const EntityStorageConnectorType = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Postgre SQL.
|
|
42
42
|
*/
|
|
43
|
-
PostgreSql: "postgresql"
|
|
44
|
-
/**
|
|
45
|
-
* Synchronised.
|
|
46
|
-
*/
|
|
47
|
-
Synchronised: "synchronised"
|
|
43
|
+
PostgreSql: "postgresql"
|
|
48
44
|
};
|
|
49
45
|
//# sourceMappingURL=entityStorageConnectorType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityStorageConnectorType.js","sourceRoot":"","sources":["../../../../src/models/types/entityStorageConnectorType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,WAAW,EAAE,cAAc;IAE3B;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,cAAc,EAAE,iBAAiB;IAEjC;;OAEG;IACH,OAAO,EAAE,OAAO;IAEhB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,UAAU,EAAE,YAAY;
|
|
1
|
+
{"version":3,"file":"entityStorageConnectorType.js","sourceRoot":"","sources":["../../../../src/models/types/entityStorageConnectorType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,WAAW,EAAE,cAAc;IAE3B;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,cAAc,EAAE,iBAAiB;IAEjC;;OAEG;IACH,OAAO,EAAE,OAAO;IAEhB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,UAAU,EAAE,YAAY;CACf,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Entity storage connector types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EntityStorageConnectorType = {\n\t/**\n\t * Use storage.\n\t */\n\tFile: \"file\",\n\n\t/**\n\t * Memory.\n\t */\n\tMemory: \"memory\",\n\n\t/**\n\t * ScyllaDb.\n\t */\n\tScyllaDb: \"scylladb\",\n\n\t/**\n\t * AWS DynamoDB.\n\t */\n\tAwsDynamoDb: \"aws-dynamodb\",\n\n\t/**\n\t * Azure CosmosDB.\n\t */\n\tAzureCosmosDb: \"azure-cosmosdb\",\n\n\t/**\n\t * GCP Firestore.\n\t */\n\tGcpFirestoreDb: \"gcp-firestoredb\",\n\n\t/**\n\t * MySqlDb.\n\t */\n\tMySqlDb: \"mysql\",\n\n\t/**\n\t * MongoDb.\n\t */\n\tMongoDb: \"mongodb\",\n\n\t/**\n\t * Postgre SQL.\n\t */\n\tPostgreSql: \"postgresql\"\n} as const;\n\n/**\n * Entity storage connector types.\n */\nexport type EntityStorageConnectorType =\n\t(typeof EntityStorageConnectorType)[keyof typeof EntityStorageConnectorType];\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Schema version migration component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const SchemaVersionMigrationComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Service.
|
|
10
|
+
*/
|
|
11
|
+
Service: "service"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=schemaVersionMigrationComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemaVersionMigrationComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/schemaVersionMigrationComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,mCAAmC,GAAG;IAClD;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Schema version migration component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const SchemaVersionMigrationComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\"\n} as const;\n\n/**\n * Schema version migration component types.\n */\nexport type SchemaVersionMigrationComponentType =\n\t(typeof SchemaVersionMigrationComponentType)[keyof typeof SchemaVersionMigrationComponentType];\n"]}
|
|
@@ -8,6 +8,10 @@ export const TrustVerifierComponentType = {
|
|
|
8
8
|
/**
|
|
9
9
|
* JWT Verifiable Credential.
|
|
10
10
|
*/
|
|
11
|
-
JwtVerifiableCredential: "jwt-verifiable-credential"
|
|
11
|
+
JwtVerifiableCredential: "jwt-verifiable-credential",
|
|
12
|
+
/**
|
|
13
|
+
* Identity Allow/Deny Verifier.
|
|
14
|
+
*/
|
|
15
|
+
IdentityAllowDeny: "identity-allow-deny"
|
|
12
16
|
};
|
|
13
17
|
//# sourceMappingURL=trustVerifierComponentType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trustVerifierComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustVerifierComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;
|
|
1
|
+
{"version":3,"file":"trustVerifierComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustVerifierComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;IAEpD;;OAEG;IACH,iBAAiB,EAAE,qBAAqB;CAC/B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust verifier component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustVerifierComponentType = {\n\t/**\n\t * JWT Verifiable Credential.\n\t */\n\tJwtVerifiableCredential: \"jwt-verifiable-credential\",\n\n\t/**\n\t * Identity Allow/Deny Verifier.\n\t */\n\tIdentityAllowDeny: \"identity-allow-deny\"\n} as const;\n\n/**\n * Trust verifier component types.\n */\nexport type TrustVerifierComponentType =\n\t(typeof TrustVerifierComponentType)[keyof typeof TrustVerifierComponentType];\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentFactory } from "@twin.org/core";
|
|
2
|
+
import type { EngineTypeInitialiserReturn, IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import type { SchemaVersionMigrationComponentConfig } from "../models/config/schemaVersionMigrationComponentConfig.js";
|
|
4
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
5
|
+
/**
|
|
6
|
+
* Initialise the schema version migration component.
|
|
7
|
+
* @param engineCore The engine core.
|
|
8
|
+
* @param context The context for the engine.
|
|
9
|
+
* @param instanceConfig The instance config.
|
|
10
|
+
* @returns The instance created and the factory for it.
|
|
11
|
+
*/
|
|
12
|
+
export declare function initialiseSchemaVersionMigrationComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: SchemaVersionMigrationComponentConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export * from "./components/rightsManagementPolicyNegotiator.js";
|
|
|
41
41
|
export * from "./components/rightsManagementPolicyObligationEnforcer.js";
|
|
42
42
|
export * from "./components/rightsManagementPolicyRequester.js";
|
|
43
43
|
export * from "./components/rightsManagementPxp.js";
|
|
44
|
-
export * from "./components/
|
|
44
|
+
export * from "./components/schemaVersionMigration.js";
|
|
45
45
|
export * from "./components/taskScheduler.js";
|
|
46
46
|
export * from "./components/telemetry.js";
|
|
47
47
|
export * from "./components/tenant.js";
|
|
@@ -50,7 +50,6 @@ export * from "./components/trustGenerator.js";
|
|
|
50
50
|
export * from "./components/trustVerifier.js";
|
|
51
51
|
export * from "./components/urlTransformer.js";
|
|
52
52
|
export * from "./components/vault.js";
|
|
53
|
-
export * from "./components/verifiableStorage.js";
|
|
54
53
|
export * from "./components/wallet.js";
|
|
55
54
|
export * from "./models/config/attestationComponentConfig.js";
|
|
56
55
|
export * from "./models/config/attestationConnectorConfig.js";
|
|
@@ -112,7 +111,7 @@ export * from "./models/config/rightsManagementPolicyNegotiatorComponentConfig.j
|
|
|
112
111
|
export * from "./models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js";
|
|
113
112
|
export * from "./models/config/rightsManagementPolicyRequesterComponentConfig.js";
|
|
114
113
|
export * from "./models/config/rightsManagementPxpComponentConfig.js";
|
|
115
|
-
export * from "./models/config/
|
|
114
|
+
export * from "./models/config/schemaVersionMigrationComponentConfig.js";
|
|
116
115
|
export * from "./models/config/taskSchedulerComponentConfig.js";
|
|
117
116
|
export * from "./models/config/telemetryComponentConfig.js";
|
|
118
117
|
export * from "./models/config/telemetryConnectorConfig.js";
|
|
@@ -123,8 +122,6 @@ export * from "./models/config/trustGeneratorComponentConfig.js";
|
|
|
123
122
|
export * from "./models/config/trustVerifierComponentConfig.js";
|
|
124
123
|
export * from "./models/config/urlTransformerComponentConfig.js";
|
|
125
124
|
export * from "./models/config/vaultConnectorConfig.js";
|
|
126
|
-
export * from "./models/config/verifiableStorageComponentConfig.js";
|
|
127
|
-
export * from "./models/config/verifiableStorageConnectorConfig.js";
|
|
128
125
|
export * from "./models/config/walletConnectorConfig.js";
|
|
129
126
|
export * from "./models/IEngineConfig.js";
|
|
130
127
|
export * from "./models/types/attestationComponentType.js";
|
|
@@ -187,7 +184,7 @@ export * from "./models/types/rightsManagementPolicyNegotiatorComponentType.js";
|
|
|
187
184
|
export * from "./models/types/rightsManagementPolicyObligationEnforcerComponentType.js";
|
|
188
185
|
export * from "./models/types/rightsManagementPolicyRequesterComponentType.js";
|
|
189
186
|
export * from "./models/types/rightsManagementPxpComponentType.js";
|
|
190
|
-
export * from "./models/types/
|
|
187
|
+
export * from "./models/types/schemaVersionMigrationComponentType.js";
|
|
191
188
|
export * from "./models/types/taskSchedulerComponentType.js";
|
|
192
189
|
export * from "./models/types/telemetryComponentType.js";
|
|
193
190
|
export * from "./models/types/telemetryConnectorType.js";
|
|
@@ -198,7 +195,5 @@ export * from "./models/types/trustGeneratorComponentType.js";
|
|
|
198
195
|
export * from "./models/types/trustVerifierComponentType.js";
|
|
199
196
|
export * from "./models/types/urlTransformerComponentType.js";
|
|
200
197
|
export * from "./models/types/vaultConnectorType.js";
|
|
201
|
-
export * from "./models/types/verifiableStorageComponentType.js";
|
|
202
|
-
export * from "./models/types/verifiableStorageConnectorType.js";
|
|
203
198
|
export * from "./models/types/walletConnectorType.js";
|
|
204
199
|
export * from "./utils/engineTypeHelper.js";
|
|
@@ -59,7 +59,7 @@ import type { RightsManagementPolicyNegotiatorComponentConfig } from "./config/r
|
|
|
59
59
|
import type { RightsManagementPolicyObligationEnforcerComponentConfig } from "./config/rightsManagementPolicyObligationEnforcerComponentConfig.js";
|
|
60
60
|
import type { RightsManagementPolicyRequesterComponentConfig } from "./config/rightsManagementPolicyRequesterComponentConfig.js";
|
|
61
61
|
import type { RightsManagementPxpComponentConfig } from "./config/rightsManagementPxpComponentConfig.js";
|
|
62
|
-
import type {
|
|
62
|
+
import type { SchemaVersionMigrationComponentConfig } from "./config/schemaVersionMigrationComponentConfig.js";
|
|
63
63
|
import type { TaskSchedulerComponentConfig } from "./config/taskSchedulerComponentConfig.js";
|
|
64
64
|
import type { TelemetryComponentConfig } from "./config/telemetryComponentConfig.js";
|
|
65
65
|
import type { TelemetryConnectorConfig } from "./config/telemetryConnectorConfig.js";
|
|
@@ -70,8 +70,6 @@ import type { TrustGeneratorComponentConfig } from "./config/trustGeneratorCompo
|
|
|
70
70
|
import type { TrustVerifierComponentConfig } from "./config/trustVerifierComponentConfig.js";
|
|
71
71
|
import type { UrlTransformerComponentConfig } from "./config/urlTransformerComponentConfig.js";
|
|
72
72
|
import type { VaultConnectorConfig } from "./config/vaultConnectorConfig.js";
|
|
73
|
-
import type { VerifiableStorageComponentConfig } from "./config/verifiableStorageComponentConfig.js";
|
|
74
|
-
import type { VerifiableStorageConnectorConfig } from "./config/verifiableStorageConnectorConfig.js";
|
|
75
73
|
import type { WalletConnectorConfig } from "./config/walletConnectorConfig.js";
|
|
76
74
|
/**
|
|
77
75
|
* Extended engine core config with known types.
|
|
@@ -142,6 +140,10 @@ export interface IEngineConfig extends IEngineCoreConfig {
|
|
|
142
140
|
* Messaging component options which can be overridden by individual components by specifying types other than default.
|
|
143
141
|
*/
|
|
144
142
|
messagingComponent?: IEngineCoreTypeConfig<MessagingComponentConfig>[];
|
|
143
|
+
/**
|
|
144
|
+
* Schema version migration component options which can be overridden by individual components by specifying types other than default.
|
|
145
|
+
*/
|
|
146
|
+
schemaVersionMigrationComponent?: IEngineCoreTypeConfig<SchemaVersionMigrationComponentConfig>[];
|
|
145
147
|
/**
|
|
146
148
|
* Background task component options which can be overridden by individual components by specifying types other than default.
|
|
147
149
|
*/
|
|
@@ -186,14 +188,6 @@ export interface IEngineConfig extends IEngineCoreConfig {
|
|
|
186
188
|
* Wallet connector options which can be overridden by individual components by specifying types other than default.
|
|
187
189
|
*/
|
|
188
190
|
walletConnector?: IEngineCoreTypeConfig<WalletConnectorConfig>[];
|
|
189
|
-
/**
|
|
190
|
-
* Verifiable storage connector options which can be overridden by individual components by specifying types other than default.
|
|
191
|
-
*/
|
|
192
|
-
verifiableStorageConnector?: IEngineCoreTypeConfig<VerifiableStorageConnectorConfig>[];
|
|
193
|
-
/**
|
|
194
|
-
* Verifiable storage component options which can be overridden by individual components by specifying types other than default.
|
|
195
|
-
*/
|
|
196
|
-
verifiableStorageComponent?: IEngineCoreTypeConfig<VerifiableStorageComponentConfig>[];
|
|
197
191
|
/**
|
|
198
192
|
* Immutable proof component options which can be overridden by individual components by specifying types other than default.
|
|
199
193
|
*/
|
|
@@ -346,10 +340,6 @@ export interface IEngineConfig extends IEngineCoreConfig {
|
|
|
346
340
|
* Rights management policy requester options which can be overridden by individual components by specifying types other than default.
|
|
347
341
|
*/
|
|
348
342
|
rightsManagementPolicyRequesterComponent?: IEngineCoreTypeConfig<RightsManagementPolicyRequesterComponentConfig>[];
|
|
349
|
-
/**
|
|
350
|
-
* Synchronised storage options which can be overridden by individual components by specifying types other than default.
|
|
351
|
-
*/
|
|
352
|
-
synchronisedStorageComponent?: IEngineCoreTypeConfig<SynchronisedStorageComponentConfig>[];
|
|
353
343
|
/**
|
|
354
344
|
* Federated catalogue options which can be overridden by individual components by specifying types other than default.
|
|
355
345
|
*/
|
|
@@ -6,7 +6,6 @@ import type { IMongoDbEntityStorageConnectorConstructorOptions } from "@twin.org
|
|
|
6
6
|
import type { IMySqlEntityStorageConnectorConstructorOptions } from "@twin.org/entity-storage-connector-mysql";
|
|
7
7
|
import type { IPostgreSqlEntityStorageConnectorConstructorOptions } from "@twin.org/entity-storage-connector-postgresql";
|
|
8
8
|
import type { IScyllaDBTableConnectorConstructorOptions } from "@twin.org/entity-storage-connector-scylladb";
|
|
9
|
-
import type { ISynchronisedEntityStorageConnectorConstructorOptions } from "@twin.org/entity-storage-connector-synchronised";
|
|
10
9
|
import type { EntityStorageConnectorType } from "../types/entityStorageConnectorType.js";
|
|
11
10
|
/**
|
|
12
11
|
* Entity storage connector config types.
|
|
@@ -61,7 +60,4 @@ export type EntityStorageConnectorConfig = {
|
|
|
61
60
|
config: Omit<IPostgreSqlEntityStorageConnectorConstructorOptions["config"], "tableName">;
|
|
62
61
|
tablePrefix?: string;
|
|
63
62
|
};
|
|
64
|
-
} | {
|
|
65
|
-
type: typeof EntityStorageConnectorType.Synchronised;
|
|
66
|
-
options: Omit<ISynchronisedEntityStorageConnectorConstructorOptions, "entitySchema">;
|
|
67
63
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SchemaVersionMigrationComponentType } from "../types/schemaVersionMigrationComponentType.js";
|
|
2
|
+
/**
|
|
3
|
+
* Schema version migration component config types.
|
|
4
|
+
*/
|
|
5
|
+
export type SchemaVersionMigrationComponentConfig = {
|
|
6
|
+
type: typeof SchemaVersionMigrationComponentType.Service;
|
|
7
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IJwtVerifiableCredentialVerifierConstructorOptions } from "@twin.org/trust-verifiers";
|
|
1
|
+
import type { IIdentityAllowDenyVerifierConstructorOptions, IJwtVerifiableCredentialVerifierConstructorOptions } from "@twin.org/trust-verifiers";
|
|
2
2
|
import type { TrustVerifierComponentType } from "../types/trustVerifierComponentType.js";
|
|
3
3
|
/**
|
|
4
4
|
* Trust verifier component config types.
|
|
@@ -6,4 +6,7 @@ import type { TrustVerifierComponentType } from "../types/trustVerifierComponent
|
|
|
6
6
|
export type TrustVerifierComponentConfig = {
|
|
7
7
|
type: typeof TrustVerifierComponentType.JwtVerifiableCredential;
|
|
8
8
|
options?: IJwtVerifiableCredentialVerifierConstructorOptions;
|
|
9
|
+
} | {
|
|
10
|
+
type: typeof TrustVerifierComponentType.IdentityAllowDeny;
|
|
11
|
+
options?: IIdentityAllowDenyVerifierConstructorOptions;
|
|
9
12
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Schema version migration component types.
|
|
3
|
+
*/
|
|
4
|
+
export declare const SchemaVersionMigrationComponentType: {
|
|
5
|
+
/**
|
|
6
|
+
* Service.
|
|
7
|
+
*/
|
|
8
|
+
readonly Service: "service";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Schema version migration component types.
|
|
12
|
+
*/
|
|
13
|
+
export type SchemaVersionMigrationComponentType = (typeof SchemaVersionMigrationComponentType)[keyof typeof SchemaVersionMigrationComponentType];
|
|
@@ -6,6 +6,10 @@ export declare const TrustVerifierComponentType: {
|
|
|
6
6
|
* JWT Verifiable Credential.
|
|
7
7
|
*/
|
|
8
8
|
readonly JwtVerifiableCredential: "jwt-verifiable-credential";
|
|
9
|
+
/**
|
|
10
|
+
* Identity Allow/Deny Verifier.
|
|
11
|
+
*/
|
|
12
|
+
readonly IdentityAllowDeny: "identity-allow-deny";
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* Trust verifier component types.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.48](https://github.com/iotaledger/twin-engine/compare/engine-types-v0.0.3-next.47...engine-types-v0.0.3-next.48) (2026-06-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* wire SchemaVersionService as first component for boot-time sche… ([#144](https://github.com/iotaledger/twin-engine/issues/144)) ([29ff3fa](https://github.com/iotaledger/twin-engine/commit/29ff3fac86ee1221e0e1601a5f712fe9fd984a0a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/engine-core bumped from 0.0.3-next.47 to 0.0.3-next.48
|
|
16
|
+
* @twin.org/engine-models bumped from 0.0.3-next.47 to 0.0.3-next.48
|
|
17
|
+
|
|
18
|
+
## [0.0.3-next.47](https://github.com/iotaledger/twin-engine/compare/engine-types-v0.0.3-next.46...engine-types-v0.0.3-next.47) (2026-06-08)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* update federated catalogue to trust mode ([#141](https://github.com/iotaledger/twin-engine/issues/141)) ([95a7d28](https://github.com/iotaledger/twin-engine/commit/95a7d283373a398edace9e5331fe428cccb2a9a2))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/engine-core bumped from 0.0.3-next.46 to 0.0.3-next.47
|
|
31
|
+
* @twin.org/engine-models bumped from 0.0.3-next.46 to 0.0.3-next.47
|
|
32
|
+
|
|
3
33
|
## [0.0.3-next.46](https://github.com/iotaledger/twin-engine/compare/engine-types-v0.0.3-next.45...engine-types-v0.0.3-next.46) (2026-06-04)
|
|
4
34
|
|
|
5
35
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Function: initialiseSchemaVersionMigrationComponent()
|
|
2
|
+
|
|
3
|
+
> **initialiseSchemaVersionMigrationComponent**(`engineCore`, `context`, `instanceConfig`): `EngineTypeInitialiserReturn`\<[`SchemaVersionMigrationComponentConfig`](../type-aliases/SchemaVersionMigrationComponentConfig.md), `Factory`\<`IComponent`\>\>
|
|
4
|
+
|
|
5
|
+
Initialise the schema version migration component.
|
|
6
|
+
|
|
7
|
+
## Parameters
|
|
8
|
+
|
|
9
|
+
### engineCore
|
|
10
|
+
|
|
11
|
+
`IEngineCore`\<[`IEngineConfig`](../interfaces/IEngineConfig.md)\>
|
|
12
|
+
|
|
13
|
+
The engine core.
|
|
14
|
+
|
|
15
|
+
### context
|
|
16
|
+
|
|
17
|
+
`IEngineCoreContext`\<[`IEngineConfig`](../interfaces/IEngineConfig.md)\>
|
|
18
|
+
|
|
19
|
+
The context for the engine.
|
|
20
|
+
|
|
21
|
+
### instanceConfig
|
|
22
|
+
|
|
23
|
+
[`SchemaVersionMigrationComponentConfig`](../type-aliases/SchemaVersionMigrationComponentConfig.md)
|
|
24
|
+
|
|
25
|
+
The instance config.
|
|
26
|
+
|
|
27
|
+
## Returns
|
|
28
|
+
|
|
29
|
+
`EngineTypeInitialiserReturn`\<[`SchemaVersionMigrationComponentConfig`](../type-aliases/SchemaVersionMigrationComponentConfig.md), `Factory`\<`IComponent`\>\>
|
|
30
|
+
|
|
31
|
+
The instance created and the factory for it.
|
package/docs/reference/index.md
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
- [RightsManagementPolicyObligationEnforcerComponentConfig](type-aliases/RightsManagementPolicyObligationEnforcerComponentConfig.md)
|
|
71
71
|
- [RightsManagementPolicyRequesterComponentConfig](type-aliases/RightsManagementPolicyRequesterComponentConfig.md)
|
|
72
72
|
- [RightsManagementPxpComponentConfig](type-aliases/RightsManagementPxpComponentConfig.md)
|
|
73
|
-
- [
|
|
73
|
+
- [SchemaVersionMigrationComponentConfig](type-aliases/SchemaVersionMigrationComponentConfig.md)
|
|
74
74
|
- [TaskSchedulerComponentConfig](type-aliases/TaskSchedulerComponentConfig.md)
|
|
75
75
|
- [TelemetryComponentConfig](type-aliases/TelemetryComponentConfig.md)
|
|
76
76
|
- [TelemetryConnectorConfig](type-aliases/TelemetryConnectorConfig.md)
|
|
@@ -81,8 +81,6 @@
|
|
|
81
81
|
- [TrustVerifierComponentConfig](type-aliases/TrustVerifierComponentConfig.md)
|
|
82
82
|
- [UrlTransformerComponentConfig](type-aliases/UrlTransformerComponentConfig.md)
|
|
83
83
|
- [VaultConnectorConfig](type-aliases/VaultConnectorConfig.md)
|
|
84
|
-
- [VerifiableStorageComponentConfig](type-aliases/VerifiableStorageComponentConfig.md)
|
|
85
|
-
- [VerifiableStorageConnectorConfig](type-aliases/VerifiableStorageConnectorConfig.md)
|
|
86
84
|
- [WalletConnectorConfig](type-aliases/WalletConnectorConfig.md)
|
|
87
85
|
- [AttestationComponentType](type-aliases/AttestationComponentType.md)
|
|
88
86
|
- [AttestationConnectorType](type-aliases/AttestationConnectorType.md)
|
|
@@ -144,7 +142,7 @@
|
|
|
144
142
|
- [RightsManagementPolicyObligationEnforcerComponentType](type-aliases/RightsManagementPolicyObligationEnforcerComponentType.md)
|
|
145
143
|
- [RightsManagementPolicyRequesterComponentType](type-aliases/RightsManagementPolicyRequesterComponentType.md)
|
|
146
144
|
- [RightsManagementPxpComponentType](type-aliases/RightsManagementPxpComponentType.md)
|
|
147
|
-
- [
|
|
145
|
+
- [SchemaVersionMigrationComponentType](type-aliases/SchemaVersionMigrationComponentType.md)
|
|
148
146
|
- [TaskSchedulerComponentType](type-aliases/TaskSchedulerComponentType.md)
|
|
149
147
|
- [TelemetryComponentType](type-aliases/TelemetryComponentType.md)
|
|
150
148
|
- [TelemetryConnectorType](type-aliases/TelemetryConnectorType.md)
|
|
@@ -155,8 +153,6 @@
|
|
|
155
153
|
- [TrustVerifierComponentType](type-aliases/TrustVerifierComponentType.md)
|
|
156
154
|
- [UrlTransformerComponentType](type-aliases/UrlTransformerComponentType.md)
|
|
157
155
|
- [VaultConnectorType](type-aliases/VaultConnectorType.md)
|
|
158
|
-
- [IVerifiableStorageComponentType](type-aliases/IVerifiableStorageComponentType.md)
|
|
159
|
-
- [VerifiableStorageConnectorType](type-aliases/VerifiableStorageConnectorType.md)
|
|
160
156
|
- [WalletConnectorType](type-aliases/WalletConnectorType.md)
|
|
161
157
|
|
|
162
158
|
## Variables
|
|
@@ -221,7 +217,7 @@
|
|
|
221
217
|
- [RightsManagementPolicyObligationEnforcerComponentType](variables/RightsManagementPolicyObligationEnforcerComponentType.md)
|
|
222
218
|
- [RightsManagementPolicyRequesterComponentType](variables/RightsManagementPolicyRequesterComponentType.md)
|
|
223
219
|
- [RightsManagementPxpComponentType](variables/RightsManagementPxpComponentType.md)
|
|
224
|
-
- [
|
|
220
|
+
- [SchemaVersionMigrationComponentType](variables/SchemaVersionMigrationComponentType.md)
|
|
225
221
|
- [TaskSchedulerComponentType](variables/TaskSchedulerComponentType.md)
|
|
226
222
|
- [TelemetryComponentType](variables/TelemetryComponentType.md)
|
|
227
223
|
- [TelemetryConnectorType](variables/TelemetryConnectorType.md)
|
|
@@ -232,8 +228,6 @@
|
|
|
232
228
|
- [TrustVerifierComponentType](variables/TrustVerifierComponentType.md)
|
|
233
229
|
- [UrlTransformerComponentType](variables/UrlTransformerComponentType.md)
|
|
234
230
|
- [VaultConnectorType](variables/VaultConnectorType.md)
|
|
235
|
-
- [VerifiableStorageComponentType](variables/VerifiableStorageComponentType.md)
|
|
236
|
-
- [VerifiableStorageConnectorType](variables/VerifiableStorageConnectorType.md)
|
|
237
231
|
- [WalletConnectorType](variables/WalletConnectorType.md)
|
|
238
232
|
|
|
239
233
|
## Functions
|
|
@@ -297,7 +291,7 @@
|
|
|
297
291
|
- [initialiseRightsManagementPolicyObligationEnforcerComponent](functions/initialiseRightsManagementPolicyObligationEnforcerComponent.md)
|
|
298
292
|
- [initialiseRightsManagementPolicyRequesterComponent](functions/initialiseRightsManagementPolicyRequesterComponent.md)
|
|
299
293
|
- [initialiseRightsManagementPxpComponent](functions/initialiseRightsManagementPxpComponent.md)
|
|
300
|
-
- [
|
|
294
|
+
- [initialiseSchemaVersionMigrationComponent](functions/initialiseSchemaVersionMigrationComponent.md)
|
|
301
295
|
- [initialiseTaskSchedulerComponent](functions/initialiseTaskSchedulerComponent.md)
|
|
302
296
|
- [initialiseTelemetryConnector](functions/initialiseTelemetryConnector.md)
|
|
303
297
|
- [initialiseTelemetryComponent](functions/initialiseTelemetryComponent.md)
|
|
@@ -308,6 +302,4 @@
|
|
|
308
302
|
- [initialiseTrustVerifierComponent](functions/initialiseTrustVerifierComponent.md)
|
|
309
303
|
- [initialiseUrlTransformerComponent](functions/initialiseUrlTransformerComponent.md)
|
|
310
304
|
- [initialiseVaultConnector](functions/initialiseVaultConnector.md)
|
|
311
|
-
- [initialiseVerifiableStorageConnector](functions/initialiseVerifiableStorageConnector.md)
|
|
312
|
-
- [initialiseVerifiableStorageComponent](functions/initialiseVerifiableStorageComponent.md)
|
|
313
305
|
- [initialiseWalletConnector](functions/initialiseWalletConnector.md)
|
|
@@ -144,6 +144,12 @@ Messaging admin component options which can be overridden by individual componen
|
|
|
144
144
|
|
|
145
145
|
Messaging component options which can be overridden by individual components by specifying types other than default.
|
|
146
146
|
|
|
147
|
+
#### schemaVersionMigrationComponent?
|
|
148
|
+
|
|
149
|
+
> `optional` **schemaVersionMigrationComponent?**: `IEngineCoreTypeConfig`\<[`SchemaVersionMigrationComponentConfig`](../type-aliases/SchemaVersionMigrationComponentConfig.md)\>[]
|
|
150
|
+
|
|
151
|
+
Schema version migration component options which can be overridden by individual components by specifying types other than default.
|
|
152
|
+
|
|
147
153
|
#### backgroundTaskComponent?
|
|
148
154
|
|
|
149
155
|
> `optional` **backgroundTaskComponent?**: `IEngineCoreTypeConfig`\<[`BackgroundTaskComponentConfig`](../type-aliases/BackgroundTaskComponentConfig.md)\>[]
|
|
@@ -210,18 +216,6 @@ DLT options which can be overridden by individual components by specifying types
|
|
|
210
216
|
|
|
211
217
|
Wallet connector options which can be overridden by individual components by specifying types other than default.
|
|
212
218
|
|
|
213
|
-
#### verifiableStorageConnector?
|
|
214
|
-
|
|
215
|
-
> `optional` **verifiableStorageConnector?**: `IEngineCoreTypeConfig`\<[`VerifiableStorageConnectorConfig`](../type-aliases/VerifiableStorageConnectorConfig.md)\>[]
|
|
216
|
-
|
|
217
|
-
Verifiable storage connector options which can be overridden by individual components by specifying types other than default.
|
|
218
|
-
|
|
219
|
-
#### verifiableStorageComponent?
|
|
220
|
-
|
|
221
|
-
> `optional` **verifiableStorageComponent?**: `IEngineCoreTypeConfig`\<[`VerifiableStorageComponentConfig`](../type-aliases/VerifiableStorageComponentConfig.md)\>[]
|
|
222
|
-
|
|
223
|
-
Verifiable storage component options which can be overridden by individual components by specifying types other than default.
|
|
224
|
-
|
|
225
219
|
#### immutableProofComponent?
|
|
226
220
|
|
|
227
221
|
> `optional` **immutableProofComponent?**: `IEngineCoreTypeConfig`\<[`ImmutableProofComponentConfig`](../type-aliases/ImmutableProofComponentConfig.md)\>[]
|
|
@@ -450,12 +444,6 @@ Rights management policy negotiator options which can be overridden by individua
|
|
|
450
444
|
|
|
451
445
|
Rights management policy requester options which can be overridden by individual components by specifying types other than default.
|
|
452
446
|
|
|
453
|
-
#### synchronisedStorageComponent?
|
|
454
|
-
|
|
455
|
-
> `optional` **synchronisedStorageComponent?**: `IEngineCoreTypeConfig`\<[`SynchronisedStorageComponentConfig`](../type-aliases/SynchronisedStorageComponentConfig.md)\>[]
|
|
456
|
-
|
|
457
|
-
Synchronised storage options which can be overridden by individual components by specifying types other than default.
|
|
458
|
-
|
|
459
447
|
#### federatedCatalogueComponent?
|
|
460
448
|
|
|
461
449
|
> `optional` **federatedCatalogueComponent?**: `IEngineCoreTypeConfig`\<[`FederatedCatalogueComponentConfig`](../type-aliases/FederatedCatalogueComponentConfig.md)\>[]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: EntityStorageConnectorConfig
|
|
2
2
|
|
|
3
|
-
> **EntityStorageConnectorConfig** = \{ `type`: *typeof* [`File`](../variables/EntityStorageConnectorType.md#file); `options`: `Omit`\<`IFileEntityStorageConnectorConstructorOptions`, `"entitySchema"`\> & `object`; \} \| \{ `type`: *typeof* [`Memory`](../variables/EntityStorageConnectorType.md#memory); `options?`: `never`; \} \| \{ `type`: *typeof* [`AwsDynamoDb`](../variables/EntityStorageConnectorType.md#awsdynamodb); `options`: `Omit`\<`IDynamoDbEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`AzureCosmosDb`](../variables/EntityStorageConnectorType.md#azurecosmosdb); `options`: `Omit`\<`ICosmosDbEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`GcpFirestoreDb`](../variables/EntityStorageConnectorType.md#gcpfirestoredb); `options`: `Omit`\<`IFirestoreEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`ScyllaDb`](../variables/EntityStorageConnectorType.md#scylladb); `options`: `Omit`\<`IScyllaDBTableConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`MySqlDb`](../variables/EntityStorageConnectorType.md#mysqldb); `options`: `Omit`\<`IMySqlEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`MongoDb`](../variables/EntityStorageConnectorType.md#mongodb); `options`: `Omit`\<`IMongoDbEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`PostgreSql`](../variables/EntityStorageConnectorType.md#postgresql); `options`: `Omit`\<`IPostgreSqlEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \}
|
|
3
|
+
> **EntityStorageConnectorConfig** = \{ `type`: *typeof* [`File`](../variables/EntityStorageConnectorType.md#file); `options`: `Omit`\<`IFileEntityStorageConnectorConstructorOptions`, `"entitySchema"`\> & `object`; \} \| \{ `type`: *typeof* [`Memory`](../variables/EntityStorageConnectorType.md#memory); `options?`: `never`; \} \| \{ `type`: *typeof* [`AwsDynamoDb`](../variables/EntityStorageConnectorType.md#awsdynamodb); `options`: `Omit`\<`IDynamoDbEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`AzureCosmosDb`](../variables/EntityStorageConnectorType.md#azurecosmosdb); `options`: `Omit`\<`ICosmosDbEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`GcpFirestoreDb`](../variables/EntityStorageConnectorType.md#gcpfirestoredb); `options`: `Omit`\<`IFirestoreEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`ScyllaDb`](../variables/EntityStorageConnectorType.md#scylladb); `options`: `Omit`\<`IScyllaDBTableConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`MySqlDb`](../variables/EntityStorageConnectorType.md#mysqldb); `options`: `Omit`\<`IMySqlEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`MongoDb`](../variables/EntityStorageConnectorType.md#mongodb); `options`: `Omit`\<`IMongoDbEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \} \| \{ `type`: *typeof* [`PostgreSql`](../variables/EntityStorageConnectorType.md#postgresql); `options`: `Omit`\<`IPostgreSqlEntityStorageConnectorConstructorOptions`, `"entitySchema"` \| `"config"`\> & `object`; \}
|
|
4
4
|
|
|
5
5
|
Entity storage connector config types.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Type Alias: SchemaVersionMigrationComponentConfig
|
|
2
|
+
|
|
3
|
+
> **SchemaVersionMigrationComponentConfig** = `object`
|
|
4
|
+
|
|
5
|
+
Schema version migration component config types.
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### type {#type}
|
|
10
|
+
|
|
11
|
+
> **type**: *typeof* [`Service`](../variables/SchemaVersionMigrationComponentType.md#service)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: SchemaVersionMigrationComponentType
|
|
2
|
+
|
|
3
|
+
> **SchemaVersionMigrationComponentType** = *typeof* [`SchemaVersionMigrationComponentType`](../variables/SchemaVersionMigrationComponentType.md)\[keyof *typeof* [`SchemaVersionMigrationComponentType`](../variables/SchemaVersionMigrationComponentType.md)\]
|
|
4
|
+
|
|
5
|
+
Schema version migration component types.
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
# Type Alias: TrustVerifierComponentConfig
|
|
2
2
|
|
|
3
|
-
> **TrustVerifierComponentConfig** = `
|
|
3
|
+
> **TrustVerifierComponentConfig** = \{ `type`: *typeof* [`JwtVerifiableCredential`](../variables/TrustVerifierComponentType.md#jwtverifiablecredential); `options?`: `IJwtVerifiableCredentialVerifierConstructorOptions`; \} \| \{ `type`: *typeof* [`IdentityAllowDeny`](../variables/TrustVerifierComponentType.md#identityallowdeny); `options?`: `IIdentityAllowDenyVerifierConstructorOptions`; \}
|
|
4
4
|
|
|
5
5
|
Trust verifier component config types.
|
|
6
|
-
|
|
7
|
-
## Properties
|
|
8
|
-
|
|
9
|
-
### type {#type}
|
|
10
|
-
|
|
11
|
-
> **type**: *typeof* [`JwtVerifiableCredential`](../variables/TrustVerifierComponentType.md#jwtverifiablecredential)
|
|
12
|
-
|
|
13
|
-
***
|
|
14
|
-
|
|
15
|
-
### options? {#options}
|
|
16
|
-
|
|
17
|
-
> `optional` **options?**: `IJwtVerifiableCredentialVerifierConstructorOptions`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Variable: SchemaVersionMigrationComponentType
|
|
2
|
+
|
|
3
|
+
> `const` **SchemaVersionMigrationComponentType**: `object`
|
|
4
|
+
|
|
5
|
+
Schema version migration component types.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### Service {#service}
|
|
10
|
+
|
|
11
|
+
> `readonly` **Service**: `"service"` = `"service"`
|
|
12
|
+
|
|
13
|
+
Service.
|
|
@@ -11,3 +11,9 @@ Trust verifier component types.
|
|
|
11
11
|
> `readonly` **JwtVerifiableCredential**: `"jwt-verifiable-credential"` = `"jwt-verifiable-credential"`
|
|
12
12
|
|
|
13
13
|
JWT Verifiable Credential.
|
|
14
|
+
|
|
15
|
+
### IdentityAllowDeny {#identityallowdeny}
|
|
16
|
+
|
|
17
|
+
> `readonly` **IdentityAllowDeny**: `"identity-allow-deny"` = `"identity-allow-deny"`
|
|
18
|
+
|
|
19
|
+
Identity Allow/Deny Verifier.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-types",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.48",
|
|
4
4
|
"description": "Component and connector type definitions with configuration helpers for engine composition.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"@twin.org/document-management-models": "next",
|
|
63
63
|
"@twin.org/document-management-rest-client": "next",
|
|
64
64
|
"@twin.org/document-management-service": "next",
|
|
65
|
-
"@twin.org/engine-core": "0.0.3-next.
|
|
66
|
-
"@twin.org/engine-models": "0.0.3-next.
|
|
65
|
+
"@twin.org/engine-core": "0.0.3-next.48",
|
|
66
|
+
"@twin.org/engine-models": "0.0.3-next.48",
|
|
67
67
|
"@twin.org/entity": "next",
|
|
68
68
|
"@twin.org/entity-storage-connector-cosmosdb": "next",
|
|
69
69
|
"@twin.org/entity-storage-connector-dynamodb": "next",
|
|
@@ -74,7 +74,6 @@
|
|
|
74
74
|
"@twin.org/entity-storage-connector-mysql": "next",
|
|
75
75
|
"@twin.org/entity-storage-connector-postgresql": "next",
|
|
76
76
|
"@twin.org/entity-storage-connector-scylladb": "next",
|
|
77
|
-
"@twin.org/entity-storage-connector-synchronised": "next",
|
|
78
77
|
"@twin.org/entity-storage-models": "next",
|
|
79
78
|
"@twin.org/entity-storage-rest-client": "next",
|
|
80
79
|
"@twin.org/entity-storage-service": "next",
|
|
@@ -128,9 +127,6 @@
|
|
|
128
127
|
"@twin.org/rights-management-pxp-service": "next",
|
|
129
128
|
"@twin.org/rights-management-rest-client": "next",
|
|
130
129
|
"@twin.org/rights-management-service": "next",
|
|
131
|
-
"@twin.org/synchronised-storage-models": "next",
|
|
132
|
-
"@twin.org/synchronised-storage-rest-client": "next",
|
|
133
|
-
"@twin.org/synchronised-storage-service": "next",
|
|
134
130
|
"@twin.org/telemetry-connector-entity-storage": "next",
|
|
135
131
|
"@twin.org/telemetry-connector-opentelemetry": "next",
|
|
136
132
|
"@twin.org/telemetry-models": "next",
|
|
@@ -144,11 +140,6 @@
|
|
|
144
140
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
145
141
|
"@twin.org/vault-connector-hashicorp": "next",
|
|
146
142
|
"@twin.org/vault-models": "next",
|
|
147
|
-
"@twin.org/verifiable-storage-connector-entity-storage": "next",
|
|
148
|
-
"@twin.org/verifiable-storage-connector-iota": "next",
|
|
149
|
-
"@twin.org/verifiable-storage-models": "next",
|
|
150
|
-
"@twin.org/verifiable-storage-rest-client": "next",
|
|
151
|
-
"@twin.org/verifiable-storage-service": "next",
|
|
152
143
|
"@twin.org/wallet-connector-entity-storage": "next",
|
|
153
144
|
"@twin.org/wallet-connector-iota": "next",
|
|
154
145
|
"@twin.org/wallet-models": "next"
|