@twin.org/engine-types 0.0.3-next.3 → 0.0.3-next.4

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.
@@ -0,0 +1,31 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ import { TenantIdContextIdHandler } from "@twin.org/api-tenant-processor";
4
+ import { ComponentFactory } from "@twin.org/core";
5
+ import { DidContextIdHandler } from "@twin.org/identity-models";
6
+ import { ContextIdHandlerComponentType } from "../models/types/contextIdHandlerComponentType.js";
7
+ /**
8
+ * Initialise the context id handler component.
9
+ * @param engineCore The engine core.
10
+ * @param context The context for the engine.
11
+ * @param instanceConfig The instance config.
12
+ * @returns The instance created and the factory for it.
13
+ */
14
+ export async function initialiseContextIdHandlerComponent(engineCore, context, instanceConfig) {
15
+ let component;
16
+ let instanceType;
17
+ if (instanceConfig.type === ContextIdHandlerComponentType.Did) {
18
+ component = new DidContextIdHandler();
19
+ instanceType = "did-context-id-handler";
20
+ }
21
+ else if (instanceConfig.type === ContextIdHandlerComponentType.Tenant) {
22
+ component = new TenantIdContextIdHandler();
23
+ instanceType = "tenant-id-context-id-handler";
24
+ }
25
+ return {
26
+ component,
27
+ instanceType,
28
+ factory: ComponentFactory
29
+ };
30
+ }
31
+ //# sourceMappingURL=contextIdHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextIdHandler.js","sourceRoot":"","sources":["../../../src/components/contextIdHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,EAAE,gBAAgB,EAAmB,MAAM,gBAAgB,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAIhE,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AAEjG;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,mCAAmC,CACxD,UAAsC,EACtC,OAA0C,EAC1C,cAA+C;IAM/C,IAAI,SAAwC,CAAC;IAC7C,IAAI,YAAgC,CAAC;IAErC,IAAI,cAAc,CAAC,IAAI,KAAK,6BAA6B,CAAC,GAAG,EAAE,CAAC;QAC/D,SAAS,GAAG,IAAI,mBAAmB,EAAE,CAAC;QACtC,YAAY,2BAAuC,CAAC;IACrD,CAAC;SAAM,IAAI,cAAc,CAAC,IAAI,KAAK,6BAA6B,CAAC,MAAM,EAAE,CAAC;QACzE,SAAS,GAAG,IAAI,wBAAwB,EAAE,CAAC;QAC3C,YAAY,iCAA4C,CAAC;IAC1D,CAAC;IAED,OAAO;QACN,SAAS;QACT,YAAY;QACZ,OAAO,EAAE,gBAAgB;KACzB,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { TenantIdContextIdHandler } from \"@twin.org/api-tenant-processor\";\nimport type { IContextIdHandler } from \"@twin.org/context\";\nimport { ComponentFactory, type IComponent } from \"@twin.org/core\";\nimport type { IEngineCore, IEngineCoreContext } from \"@twin.org/engine-models\";\nimport { DidContextIdHandler } from \"@twin.org/identity-models\";\nimport { nameofKebabCase } from \"@twin.org/nameof\";\nimport type { ContextIdHandlerComponentConfig } from \"../models/config/contextIdHandlerComponentConfig.js\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\nimport { ContextIdHandlerComponentType } from \"../models/types/contextIdHandlerComponentType.js\";\n\n/**\n * Initialise the context id handler component.\n * @param engineCore The engine core.\n * @param context The context for the engine.\n * @param instanceConfig The instance config.\n * @returns The instance created and the factory for it.\n */\nexport async function initialiseContextIdHandlerComponent(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: ContextIdHandlerComponentConfig\n): Promise<{\n\tinstanceType?: string;\n\tfactory?: typeof ComponentFactory;\n\tcomponent?: IComponent;\n}> {\n\tlet component: IContextIdHandler | undefined;\n\tlet instanceType: string | undefined;\n\n\tif (instanceConfig.type === ContextIdHandlerComponentType.Did) {\n\t\tcomponent = new DidContextIdHandler();\n\t\tinstanceType = nameofKebabCase(DidContextIdHandler);\n\t} else if (instanceConfig.type === ContextIdHandlerComponentType.Tenant) {\n\t\tcomponent = new TenantIdContextIdHandler();\n\t\tinstanceType = nameofKebabCase(TenantIdContextIdHandler);\n\t}\n\n\treturn {\n\t\tcomponent,\n\t\tinstanceType,\n\t\tfactory: ComponentFactory\n\t};\n}\n"]}
package/dist/es/index.js CHANGED
@@ -6,6 +6,7 @@ export * from "./components/auditableItemStream.js";
6
6
  export * from "./components/authenticationGenerator.js";
7
7
  export * from "./components/backgroundTask.js";
8
8
  export * from "./components/blobStorage.js";
9
+ export * from "./components/contextIdHandler.js";
9
10
  export * from "./components/dataProcessing.js";
10
11
  export * from "./components/dataSpaceConnector.js";
11
12
  export * from "./components/documentManagement.js";
@@ -45,6 +46,7 @@ export * from "./models/config/authenticationGeneratorComponentConfig.js";
45
46
  export * from "./models/config/backgroundTaskConnectorConfig.js";
46
47
  export * from "./models/config/blobStorageComponentConfig.js";
47
48
  export * from "./models/config/blobStorageConnectorConfig.js";
49
+ export * from "./models/config/contextIdHandlerComponentConfig.js";
48
50
  export * from "./models/config/dataConverterConnectorConfig.js";
49
51
  export * from "./models/config/dataExtractorConnectorConfig.js";
50
52
  export * from "./models/config/dataProcessingComponentConfig.js";
@@ -101,6 +103,7 @@ export * from "./models/types/authenticationGeneratorComponentType.js";
101
103
  export * from "./models/types/backgroundTaskConnectorType.js";
102
104
  export * from "./models/types/blobStorageComponentType.js";
103
105
  export * from "./models/types/blobStorageConnectorType.js";
106
+ export * from "./models/types/contextIdHandlerComponentType.js";
104
107
  export * from "./models/types/dataConverterConnectorType.js";
105
108
  export * from "./models/types/dataExtractorConnectorType.js";
106
109
  export * from "./models/types/dataProcessingComponentType.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","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AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./components/attestation.js\";\nexport * from \"./components/auditableItemGraph.js\";\nexport * from \"./components/auditableItemStream.js\";\nexport * from \"./components/authenticationGenerator.js\";\nexport * from \"./components/backgroundTask.js\";\nexport * from \"./components/blobStorage.js\";\nexport * from \"./components/dataProcessing.js\";\nexport * from \"./components/dataSpaceConnector.js\";\nexport * from \"./components/documentManagement.js\";\nexport * from \"./components/entityStorage.js\";\nexport * from \"./components/eventBus.js\";\nexport * from \"./components/faucet.js\";\nexport * from \"./components/federatedCatalogue.js\";\nexport * from \"./components/identity.js\";\nexport * from \"./components/identityProfile.js\";\nexport * from \"./components/identityResolver.js\";\nexport * from \"./components/immutableProof.js\";\nexport * from \"./components/logging.js\";\nexport * from \"./components/messaging.js\";\nexport * from \"./components/nft.js\";\nexport * from \"./components/rightsManagementDap.js\";\nexport * from \"./components/rightsManagementDarp.js\";\nexport * from \"./components/rightsManagementPap.js\";\nexport * from \"./components/rightsManagementPdp.js\";\nexport * from \"./components/rightsManagementPep.js\";\nexport * from \"./components/rightsManagementPip.js\";\nexport * from \"./components/rightsManagementPmp.js\";\nexport * from \"./components/rightsManagementPnap.js\";\nexport * from \"./components/rightsManagementPnp.js\";\nexport * from \"./components/rightsManagementPxp.js\";\nexport * from \"./components/synchronisedStorage.js\";\nexport * from \"./components/taskScheduler.js\";\nexport * from \"./components/telemetry.js\";\nexport * from \"./components/tenant.js\";\nexport * from \"./components/vault.js\";\nexport * from \"./components/verifiableStorage.js\";\nexport * from \"./components/wallet.js\";\nexport * from \"./models/config/attestationComponentConfig.js\";\nexport * from \"./models/config/attestationConnectorConfig.js\";\nexport * from \"./models/config/auditableItemGraphComponentConfig.js\";\nexport * from \"./models/config/auditableItemStreamComponentConfig.js\";\nexport * from \"./models/config/authenticationGeneratorComponentConfig.js\";\nexport * from \"./models/config/backgroundTaskConnectorConfig.js\";\nexport * from \"./models/config/blobStorageComponentConfig.js\";\nexport * from \"./models/config/blobStorageConnectorConfig.js\";\nexport * from \"./models/config/dataConverterConnectorConfig.js\";\nexport * from \"./models/config/dataExtractorConnectorConfig.js\";\nexport * from \"./models/config/dataProcessingComponentConfig.js\";\nexport * from \"./models/config/dataSpaceConnectorComponentConfig.js\";\nexport * from \"./models/config/dltConfig.js\";\nexport * from \"./models/config/documentManagementComponentConfig.js\";\nexport * from \"./models/config/entityStorageComponentConfig.js\";\nexport * from \"./models/config/entityStorageConnectorConfig.js\";\nexport * from \"./models/config/eventBusComponentConfig.js\";\nexport * from \"./models/config/eventBusConnectorConfig.js\";\nexport * from \"./models/config/faucetConnectorConfig.js\";\nexport * from \"./models/config/federatedCatalogueComponentConfig.js\";\nexport * from \"./models/config/identityComponentConfig.js\";\nexport * from \"./models/config/identityConnectorConfig.js\";\nexport * from \"./models/config/identityProfileComponentConfig.js\";\nexport * from \"./models/config/identityProfileConnectorConfig.js\";\nexport * from \"./models/config/identityResolverComponentConfig.js\";\nexport * from \"./models/config/identityResolverConnectorConfig.js\";\nexport * from \"./models/config/immutableProofComponentConfig.js\";\nexport * from \"./models/config/loggingComponentConfig.js\";\nexport * from \"./models/config/loggingConnectorConfig.js\";\nexport * from \"./models/config/messagingAdminComponentConfig.js\";\nexport * from \"./models/config/messagingComponentConfig.js\";\nexport * from \"./models/config/messagingEmailConnectorConfig.js\";\nexport * from \"./models/config/messagingPushNotificationConnectorConfig.js\";\nexport * from \"./models/config/messagingSmsConnectorConfig.js\";\nexport * from \"./models/config/nftComponentConfig.js\";\nexport * from \"./models/config/nftConnectorConfig.js\";\nexport * from \"./models/config/rightsManagementDapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementDarpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPdpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPepComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPipComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPmpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPnapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPnpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPxpComponentConfig.js\";\nexport * from \"./models/config/synchronisedStorageComponentConfig.js\";\nexport * from \"./models/config/taskSchedulerComponentConfig.js\";\nexport * from \"./models/config/telemetryComponentConfig.js\";\nexport * from \"./models/config/telemetryConnectorConfig.js\";\nexport * from \"./models/config/tenantAdminComponentConfig.js\";\nexport * from \"./models/config/vaultConnectorConfig.js\";\nexport * from \"./models/config/verifiableStorageComponentConfig.js\";\nexport * from \"./models/config/verifiableStorageConnectorConfig.js\";\nexport * from \"./models/config/walletConnectorConfig.js\";\nexport * from \"./models/IEngineConfig.js\";\nexport * from \"./models/types/attestationComponentType.js\";\nexport * from \"./models/types/attestationConnectorType.js\";\nexport * from \"./models/types/auditableItemGraphComponentType.js\";\nexport * from \"./models/types/auditableItemStreamComponentType.js\";\nexport * from \"./models/types/authenticationGeneratorComponentType.js\";\nexport * from \"./models/types/backgroundTaskConnectorType.js\";\nexport * from \"./models/types/blobStorageComponentType.js\";\nexport * from \"./models/types/blobStorageConnectorType.js\";\nexport * from \"./models/types/dataConverterConnectorType.js\";\nexport * from \"./models/types/dataExtractorConnectorType.js\";\nexport * from \"./models/types/dataProcessingComponentType.js\";\nexport * from \"./models/types/dataSpaceConnectorComponentType.js\";\nexport * from \"./models/types/dltConfigType.js\";\nexport * from \"./models/types/documentManagementComponentType.js\";\nexport * from \"./models/types/entityStorageComponentType.js\";\nexport * from \"./models/types/entityStorageConnectorType.js\";\nexport * from \"./models/types/eventBusComponentType.js\";\nexport * from \"./models/types/eventBusConnectorType.js\";\nexport * from \"./models/types/faucetConnectorType.js\";\nexport * from \"./models/types/federatedCatalogueComponentType.js\";\nexport * from \"./models/types/identityComponentType.js\";\nexport * from \"./models/types/identityConnectorType.js\";\nexport * from \"./models/types/identityProfileComponentType.js\";\nexport * from \"./models/types/identityProfileConnectorType.js\";\nexport * from \"./models/types/identityResolverComponentType.js\";\nexport * from \"./models/types/identityResolverConnectorType.js\";\nexport * from \"./models/types/immutableProofComponentType.js\";\nexport * from \"./models/types/loggingComponentType.js\";\nexport * from \"./models/types/loggingConnectorType.js\";\nexport * from \"./models/types/messagingAdminComponentType.js\";\nexport * from \"./models/types/messagingComponentType.js\";\nexport * from \"./models/types/messagingEmailConnectorType.js\";\nexport * from \"./models/types/messagingPushNotificationConnectorType.js\";\nexport * from \"./models/types/messagingSmsConnectorType.js\";\nexport * from \"./models/types/nftComponentType.js\";\nexport * from \"./models/types/nftConnectorType.js\";\nexport * from \"./models/types/rightsManagementDapComponentType.js\";\nexport * from \"./models/types/rightsManagementDarpComponentType.js\";\nexport * from \"./models/types/rightsManagementPapComponentType.js\";\nexport * from \"./models/types/rightsManagementPdpComponentType.js\";\nexport * from \"./models/types/rightsManagementPepComponentType.js\";\nexport * from \"./models/types/rightsManagementPipComponentType.js\";\nexport * from \"./models/types/rightsManagementPmpComponentType.js\";\nexport * from \"./models/types/rightsManagementPnapComponentType.js\";\nexport * from \"./models/types/rightsManagementPnpComponentType.js\";\nexport * from \"./models/types/rightsManagementPxpComponentType.js\";\nexport * from \"./models/types/synchronisedStorageComponentType.js\";\nexport * from \"./models/types/taskSchedulerComponentType.js\";\nexport * from \"./models/types/telemetryComponentType.js\";\nexport * from \"./models/types/telemetryConnectorType.js\";\nexport * from \"./models/types/tenantAdminComponentType.js\";\nexport * from \"./models/types/vaultConnectorType.js\";\nexport * from \"./models/types/verifiableStorageComponentType.js\";\nexport * from \"./models/types/verifiableStorageConnectorType.js\";\nexport * from \"./models/types/walletConnectorType.js\";\nexport * from \"./utils/engineTypeHelper.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAw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AAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./components/attestation.js\";\nexport * from \"./components/auditableItemGraph.js\";\nexport * from \"./components/auditableItemStream.js\";\nexport * from \"./components/authenticationGenerator.js\";\nexport * from \"./components/backgroundTask.js\";\nexport * from \"./components/blobStorage.js\";\nexport * from \"./components/contextIdHandler.js\";\nexport * from \"./components/dataProcessing.js\";\nexport * from \"./components/dataSpaceConnector.js\";\nexport * from \"./components/documentManagement.js\";\nexport * from \"./components/entityStorage.js\";\nexport * from \"./components/eventBus.js\";\nexport * from \"./components/faucet.js\";\nexport * from \"./components/federatedCatalogue.js\";\nexport * from \"./components/identity.js\";\nexport * from \"./components/identityProfile.js\";\nexport * from \"./components/identityResolver.js\";\nexport * from \"./components/immutableProof.js\";\nexport * from \"./components/logging.js\";\nexport * from \"./components/messaging.js\";\nexport * from \"./components/nft.js\";\nexport * from \"./components/rightsManagementDap.js\";\nexport * from \"./components/rightsManagementDarp.js\";\nexport * from \"./components/rightsManagementPap.js\";\nexport * from \"./components/rightsManagementPdp.js\";\nexport * from \"./components/rightsManagementPep.js\";\nexport * from \"./components/rightsManagementPip.js\";\nexport * from \"./components/rightsManagementPmp.js\";\nexport * from \"./components/rightsManagementPnap.js\";\nexport * from \"./components/rightsManagementPnp.js\";\nexport * from \"./components/rightsManagementPxp.js\";\nexport * from \"./components/synchronisedStorage.js\";\nexport * from \"./components/taskScheduler.js\";\nexport * from \"./components/telemetry.js\";\nexport * from \"./components/tenant.js\";\nexport * from \"./components/vault.js\";\nexport * from \"./components/verifiableStorage.js\";\nexport * from \"./components/wallet.js\";\nexport * from \"./models/config/attestationComponentConfig.js\";\nexport * from \"./models/config/attestationConnectorConfig.js\";\nexport * from \"./models/config/auditableItemGraphComponentConfig.js\";\nexport * from \"./models/config/auditableItemStreamComponentConfig.js\";\nexport * from \"./models/config/authenticationGeneratorComponentConfig.js\";\nexport * from \"./models/config/backgroundTaskConnectorConfig.js\";\nexport * from \"./models/config/blobStorageComponentConfig.js\";\nexport * from \"./models/config/blobStorageConnectorConfig.js\";\nexport * from \"./models/config/contextIdHandlerComponentConfig.js\";\nexport * from \"./models/config/dataConverterConnectorConfig.js\";\nexport * from \"./models/config/dataExtractorConnectorConfig.js\";\nexport * from \"./models/config/dataProcessingComponentConfig.js\";\nexport * from \"./models/config/dataSpaceConnectorComponentConfig.js\";\nexport * from \"./models/config/dltConfig.js\";\nexport * from \"./models/config/documentManagementComponentConfig.js\";\nexport * from \"./models/config/entityStorageComponentConfig.js\";\nexport * from \"./models/config/entityStorageConnectorConfig.js\";\nexport * from \"./models/config/eventBusComponentConfig.js\";\nexport * from \"./models/config/eventBusConnectorConfig.js\";\nexport * from \"./models/config/faucetConnectorConfig.js\";\nexport * from \"./models/config/federatedCatalogueComponentConfig.js\";\nexport * from \"./models/config/identityComponentConfig.js\";\nexport * from \"./models/config/identityConnectorConfig.js\";\nexport * from \"./models/config/identityProfileComponentConfig.js\";\nexport * from \"./models/config/identityProfileConnectorConfig.js\";\nexport * from \"./models/config/identityResolverComponentConfig.js\";\nexport * from \"./models/config/identityResolverConnectorConfig.js\";\nexport * from \"./models/config/immutableProofComponentConfig.js\";\nexport * from \"./models/config/loggingComponentConfig.js\";\nexport * from \"./models/config/loggingConnectorConfig.js\";\nexport * from \"./models/config/messagingAdminComponentConfig.js\";\nexport * from \"./models/config/messagingComponentConfig.js\";\nexport * from \"./models/config/messagingEmailConnectorConfig.js\";\nexport * from \"./models/config/messagingPushNotificationConnectorConfig.js\";\nexport * from \"./models/config/messagingSmsConnectorConfig.js\";\nexport * from \"./models/config/nftComponentConfig.js\";\nexport * from \"./models/config/nftConnectorConfig.js\";\nexport * from \"./models/config/rightsManagementDapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementDarpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPdpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPepComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPipComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPmpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPnapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPnpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPxpComponentConfig.js\";\nexport * from \"./models/config/synchronisedStorageComponentConfig.js\";\nexport * from \"./models/config/taskSchedulerComponentConfig.js\";\nexport * from \"./models/config/telemetryComponentConfig.js\";\nexport * from \"./models/config/telemetryConnectorConfig.js\";\nexport * from \"./models/config/tenantAdminComponentConfig.js\";\nexport * from \"./models/config/vaultConnectorConfig.js\";\nexport * from \"./models/config/verifiableStorageComponentConfig.js\";\nexport * from \"./models/config/verifiableStorageConnectorConfig.js\";\nexport * from \"./models/config/walletConnectorConfig.js\";\nexport * from \"./models/IEngineConfig.js\";\nexport * from \"./models/types/attestationComponentType.js\";\nexport * from \"./models/types/attestationConnectorType.js\";\nexport * from \"./models/types/auditableItemGraphComponentType.js\";\nexport * from \"./models/types/auditableItemStreamComponentType.js\";\nexport * from \"./models/types/authenticationGeneratorComponentType.js\";\nexport * from \"./models/types/backgroundTaskConnectorType.js\";\nexport * from \"./models/types/blobStorageComponentType.js\";\nexport * from \"./models/types/blobStorageConnectorType.js\";\nexport * from \"./models/types/contextIdHandlerComponentType.js\";\nexport * from \"./models/types/dataConverterConnectorType.js\";\nexport * from \"./models/types/dataExtractorConnectorType.js\";\nexport * from \"./models/types/dataProcessingComponentType.js\";\nexport * from \"./models/types/dataSpaceConnectorComponentType.js\";\nexport * from \"./models/types/dltConfigType.js\";\nexport * from \"./models/types/documentManagementComponentType.js\";\nexport * from \"./models/types/entityStorageComponentType.js\";\nexport * from \"./models/types/entityStorageConnectorType.js\";\nexport * from \"./models/types/eventBusComponentType.js\";\nexport * from \"./models/types/eventBusConnectorType.js\";\nexport * from \"./models/types/faucetConnectorType.js\";\nexport * from \"./models/types/federatedCatalogueComponentType.js\";\nexport * from \"./models/types/identityComponentType.js\";\nexport * from \"./models/types/identityConnectorType.js\";\nexport * from \"./models/types/identityProfileComponentType.js\";\nexport * from \"./models/types/identityProfileConnectorType.js\";\nexport * from \"./models/types/identityResolverComponentType.js\";\nexport * from \"./models/types/identityResolverConnectorType.js\";\nexport * from \"./models/types/immutableProofComponentType.js\";\nexport * from \"./models/types/loggingComponentType.js\";\nexport * from \"./models/types/loggingConnectorType.js\";\nexport * from \"./models/types/messagingAdminComponentType.js\";\nexport * from \"./models/types/messagingComponentType.js\";\nexport * from \"./models/types/messagingEmailConnectorType.js\";\nexport * from \"./models/types/messagingPushNotificationConnectorType.js\";\nexport * from \"./models/types/messagingSmsConnectorType.js\";\nexport * from \"./models/types/nftComponentType.js\";\nexport * from \"./models/types/nftConnectorType.js\";\nexport * from \"./models/types/rightsManagementDapComponentType.js\";\nexport * from \"./models/types/rightsManagementDarpComponentType.js\";\nexport * from \"./models/types/rightsManagementPapComponentType.js\";\nexport * from \"./models/types/rightsManagementPdpComponentType.js\";\nexport * from \"./models/types/rightsManagementPepComponentType.js\";\nexport * from \"./models/types/rightsManagementPipComponentType.js\";\nexport * from \"./models/types/rightsManagementPmpComponentType.js\";\nexport * from \"./models/types/rightsManagementPnapComponentType.js\";\nexport * from \"./models/types/rightsManagementPnpComponentType.js\";\nexport * from \"./models/types/rightsManagementPxpComponentType.js\";\nexport * from \"./models/types/synchronisedStorageComponentType.js\";\nexport * from \"./models/types/taskSchedulerComponentType.js\";\nexport * from \"./models/types/telemetryComponentType.js\";\nexport * from \"./models/types/telemetryConnectorType.js\";\nexport * from \"./models/types/tenantAdminComponentType.js\";\nexport * from \"./models/types/vaultConnectorType.js\";\nexport * from \"./models/types/verifiableStorageComponentType.js\";\nexport * from \"./models/types/verifiableStorageConnectorType.js\";\nexport * from \"./models/types/walletConnectorType.js\";\nexport * from \"./utils/engineTypeHelper.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IEngineConfig.js","sourceRoot":"","sources":["../../../src/models/IEngineConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineCoreConfig, IEngineCoreTypeConfig } from \"@twin.org/engine-models\";\nimport type { AttestationComponentConfig } from \"./config/attestationComponentConfig.js\";\nimport type { AttestationConnectorConfig } from \"./config/attestationConnectorConfig.js\";\nimport type { AuditableItemGraphComponentConfig } from \"./config/auditableItemGraphComponentConfig.js\";\nimport type { AuditableItemStreamComponentConfig } from \"./config/auditableItemStreamComponentConfig.js\";\nimport type { AuthenticationGeneratorComponentConfig } from \"./config/authenticationGeneratorComponentConfig.js\";\nimport type { BackgroundTaskConnectorConfig } from \"./config/backgroundTaskConnectorConfig.js\";\nimport type { BlobStorageComponentConfig } from \"./config/blobStorageComponentConfig.js\";\nimport type { BlobStorageConnectorConfig } from \"./config/blobStorageConnectorConfig.js\";\nimport type { DataConverterConnectorConfig } from \"./config/dataConverterConnectorConfig.js\";\nimport type { DataExtractorConnectorConfig } from \"./config/dataExtractorConnectorConfig.js\";\nimport type { DataProcessingComponentConfig } from \"./config/dataProcessingComponentConfig.js\";\nimport type { DataSpaceConnectorComponentConfig } from \"./config/dataSpaceConnectorComponentConfig.js\";\nimport type { DltConfig } from \"./config/dltConfig.js\";\nimport type { DocumentManagementComponentConfig } from \"./config/documentManagementComponentConfig.js\";\nimport type { EntityStorageComponentConfig } from \"./config/entityStorageComponentConfig.js\";\nimport type { EntityStorageConnectorConfig } from \"./config/entityStorageConnectorConfig.js\";\nimport type { EventBusComponentConfig } from \"./config/eventBusComponentConfig.js\";\nimport type { EventBusConnectorConfig } from \"./config/eventBusConnectorConfig.js\";\nimport type { FaucetConnectorConfig } from \"./config/faucetConnectorConfig.js\";\nimport type { FederatedCatalogueComponentConfig } from \"./config/federatedCatalogueComponentConfig.js\";\nimport type { IdentityComponentConfig } from \"./config/identityComponentConfig.js\";\nimport type { IdentityConnectorConfig } from \"./config/identityConnectorConfig.js\";\nimport type { IdentityProfileComponentConfig } from \"./config/identityProfileComponentConfig.js\";\nimport type { IdentityProfileConnectorConfig } from \"./config/identityProfileConnectorConfig.js\";\nimport type { IdentityResolverComponentConfig } from \"./config/identityResolverComponentConfig.js\";\nimport type { IdentityResolverConnectorConfig } from \"./config/identityResolverConnectorConfig.js\";\nimport type { ImmutableProofComponentConfig } from \"./config/immutableProofComponentConfig.js\";\nimport type { LoggingComponentConfig } from \"./config/loggingComponentConfig.js\";\nimport type { LoggingConnectorConfig } from \"./config/loggingConnectorConfig.js\";\nimport type { MessagingAdminComponentConfig } from \"./config/messagingAdminComponentConfig.js\";\nimport type { MessagingComponentConfig } from \"./config/messagingComponentConfig.js\";\nimport type { MessagingEmailConnectorConfig } from \"./config/messagingEmailConnectorConfig.js\";\nimport type { MessagingPushNotificationConnectorConfig } from \"./config/messagingPushNotificationConnectorConfig.js\";\nimport type { MessagingSmsConnectorConfig } from \"./config/messagingSmsConnectorConfig.js\";\nimport type { NftComponentConfig } from \"./config/nftComponentConfig.js\";\nimport type { NftConnectorConfig } from \"./config/nftConnectorConfig.js\";\nimport type { RightsManagementDapComponentConfig } from \"./config/rightsManagementDapComponentConfig.js\";\nimport type { RightsManagementDarpComponentConfig } from \"./config/rightsManagementDarpComponentConfig.js\";\nimport type { RightsManagementPapComponentConfig } from \"./config/rightsManagementPapComponentConfig.js\";\nimport type { RightsManagementPdpComponentConfig } from \"./config/rightsManagementPdpComponentConfig.js\";\nimport type { RightsManagementPepComponentConfig } from \"./config/rightsManagementPepComponentConfig.js\";\nimport type { RightsManagementPipComponentConfig } from \"./config/rightsManagementPipComponentConfig.js\";\nimport type { RightsManagementPmpComponentConfig } from \"./config/rightsManagementPmpComponentConfig.js\";\nimport type { RightsManagementPnapComponentConfig } from \"./config/rightsManagementPnapComponentConfig.js\";\nimport type { RightsManagementPnpComponentConfig } from \"./config/rightsManagementPnpComponentConfig.js\";\nimport type { RightsManagementPxpComponentConfig } from \"./config/rightsManagementPxpComponentConfig.js\";\nimport type { SynchronisedStorageComponentConfig } from \"./config/synchronisedStorageComponentConfig.js\";\nimport type { TaskSchedulerComponentConfig } from \"./config/taskSchedulerComponentConfig.js\";\nimport type { TelemetryComponentConfig } from \"./config/telemetryComponentConfig.js\";\nimport type { TelemetryConnectorConfig } from \"./config/telemetryConnectorConfig.js\";\nimport type { TenantAdminComponentConfig } from \"./config/tenantAdminComponentConfig.js\";\nimport type { VaultConnectorConfig } from \"./config/vaultConnectorConfig.js\";\nimport type { VerifiableStorageComponentConfig } from \"./config/verifiableStorageComponentConfig.js\";\nimport type { VerifiableStorageConnectorConfig } from \"./config/verifiableStorageConnectorConfig.js\";\nimport type { WalletConnectorConfig } from \"./config/walletConnectorConfig.js\";\n\n/**\n * Extended engine core config with known types.\n */\nexport interface IEngineConfig extends IEngineCoreConfig {\n\t/**\n\t * The types to initialise in the engine.\n\t */\n\ttypes: {\n\t\t[type: string]: IEngineCoreTypeConfig[] | undefined;\n\n\t\t/**\n\t\t * Logging connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tloggingConnector?: IEngineCoreTypeConfig<LoggingConnectorConfig>[];\n\n\t\t/**\n\t\t * Logging component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tloggingComponent?: IEngineCoreTypeConfig<LoggingComponentConfig>[];\n\n\t\t/**\n\t\t * Entity storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tentityStorageConnector?: IEngineCoreTypeConfig<EntityStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Entity storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tentityStorageComponent?: IEngineCoreTypeConfig<EntityStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Blob storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tblobStorageConnector?: IEngineCoreTypeConfig<BlobStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Blob storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tblobStorageComponent?: IEngineCoreTypeConfig<BlobStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Telemetry connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttelemetryConnector?: IEngineCoreTypeConfig<TelemetryConnectorConfig>[];\n\n\t\t/**\n\t\t * Telemetry component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttelemetryComponent?: IEngineCoreTypeConfig<TelemetryComponentConfig>[];\n\n\t\t/**\n\t\t * Messaging email connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingEmailConnector?: IEngineCoreTypeConfig<MessagingEmailConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging SMS connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingSmsConnector?: IEngineCoreTypeConfig<MessagingSmsConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging push notification connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingPushNotificationConnector?: IEngineCoreTypeConfig<MessagingPushNotificationConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging admin component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingAdminComponent?: IEngineCoreTypeConfig<MessagingAdminComponentConfig>[];\n\n\t\t/**\n\t\t * Messaging component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingComponent?: IEngineCoreTypeConfig<MessagingComponentConfig>[];\n\n\t\t/**\n\t\t * Background task connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tbackgroundTaskConnector?: IEngineCoreTypeConfig<BackgroundTaskConnectorConfig>[];\n\n\t\t/**\n\t\t * Task scheduler component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttaskSchedulerComponent?: IEngineCoreTypeConfig<TaskSchedulerComponentConfig>[];\n\n\t\t/**\n\t\t * Event bus connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\teventBusConnector?: IEngineCoreTypeConfig<EventBusConnectorConfig>[];\n\n\t\t/**\n\t\t * Event bus component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\teventBusComponent?: IEngineCoreTypeConfig<EventBusComponentConfig>[];\n\n\t\t/**\n\t\t * Vault connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tvaultConnector?: IEngineCoreTypeConfig<VaultConnectorConfig>[];\n\n\t\t/**\n\t\t * DLT options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdltConfig?: IEngineCoreTypeConfig<DltConfig>[];\n\n\t\t/**\n\t\t * Wallet connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\twalletConnector?: IEngineCoreTypeConfig<WalletConnectorConfig>[];\n\n\t\t/**\n\t\t * Verifiable storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tverifiableStorageConnector?: IEngineCoreTypeConfig<VerifiableStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Verifiable storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tverifiableStorageComponent?: IEngineCoreTypeConfig<VerifiableStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Immutable proof component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\timmutableProofComponent?: IEngineCoreTypeConfig<ImmutableProofComponentConfig>[];\n\n\t\t/**\n\t\t * Faucet connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfaucetConnector?: IEngineCoreTypeConfig<FaucetConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityConnector?: IEngineCoreTypeConfig<IdentityConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityComponent?: IEngineCoreTypeConfig<IdentityComponentConfig>[];\n\n\t\t/**\n\t\t * Identity resolver connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityResolverConnector?: IEngineCoreTypeConfig<IdentityResolverConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity resolver component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityResolverComponent?: IEngineCoreTypeConfig<IdentityResolverComponentConfig>[];\n\n\t\t/**\n\t\t * Identity profile connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityProfileConnector?: IEngineCoreTypeConfig<IdentityProfileConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity profile component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityProfileComponent?: IEngineCoreTypeConfig<IdentityProfileComponentConfig>[];\n\n\t\t/**\n\t\t * NFT connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnftConnector?: IEngineCoreTypeConfig<NftConnectorConfig>[];\n\n\t\t/**\n\t\t * NFT component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnftComponent?: IEngineCoreTypeConfig<NftComponentConfig>[];\n\n\t\t/**\n\t\t * Attestation connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tattestationConnector?: IEngineCoreTypeConfig<AttestationConnectorConfig>[];\n\n\t\t/**\n\t\t * Attestation component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tattestationComponent?: IEngineCoreTypeConfig<AttestationComponentConfig>[];\n\n\t\t/**\n\t\t * Auditable item graph component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauditableItemGraphComponent?: IEngineCoreTypeConfig<AuditableItemGraphComponentConfig>[];\n\n\t\t/**\n\t\t * Auditable item stream component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauditableItemStreamComponent?: IEngineCoreTypeConfig<AuditableItemStreamComponentConfig>[];\n\n\t\t/**\n\t\t * Data converter connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataConverterConnector?: IEngineCoreTypeConfig<DataConverterConnectorConfig>[];\n\n\t\t/**\n\t\t * Data extractor connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataExtractorConnector?: IEngineCoreTypeConfig<DataExtractorConnectorConfig>[];\n\n\t\t/**\n\t\t * Date processing options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataProcessingComponent?: IEngineCoreTypeConfig<DataProcessingComponentConfig>[];\n\n\t\t/**\n\t\t * Document management options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdocumentManagementComponent?: IEngineCoreTypeConfig<DocumentManagementComponentConfig>[];\n\n\t\t/**\n\t\t * Authentication generator options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauthenticationGeneratorComponent?: IEngineCoreTypeConfig<AuthenticationGeneratorComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPapComponent?: IEngineCoreTypeConfig<RightsManagementPapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PDP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPdpComponent?: IEngineCoreTypeConfig<RightsManagementPdpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PEP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPepComponent?: IEngineCoreTypeConfig<RightsManagementPepComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PIP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPipComponent?: IEngineCoreTypeConfig<RightsManagementPipComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PMP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPmpComponent?: IEngineCoreTypeConfig<RightsManagementPmpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PXP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPxpComponent?: IEngineCoreTypeConfig<RightsManagementPxpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PNP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPnpComponent?: IEngineCoreTypeConfig<RightsManagementPnpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PNAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPnapComponent?: IEngineCoreTypeConfig<RightsManagementPnapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management DAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementDapComponent?: IEngineCoreTypeConfig<RightsManagementDapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management DARP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementDarpComponent?: IEngineCoreTypeConfig<RightsManagementDarpComponentConfig>[];\n\n\t\t/**\n\t\t * Synchronised storage options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tsynchronisedStorageComponent?: IEngineCoreTypeConfig<SynchronisedStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Federated catalogue options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfederatedCatalogueComponent?: IEngineCoreTypeConfig<FederatedCatalogueComponentConfig>[];\n\n\t\t/**\n\t\t * Data space connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataSpaceConnectorComponent?: IEngineCoreTypeConfig<DataSpaceConnectorComponentConfig>[];\n\n\t\t/**\n\t\t * Tenant admin component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttenantAdminComponent?: IEngineCoreTypeConfig<TenantAdminComponentConfig>[];\n\t};\n}\n"]}
1
+ {"version":3,"file":"IEngineConfig.js","sourceRoot":"","sources":["../../../src/models/IEngineConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineCoreConfig, IEngineCoreTypeConfig } from \"@twin.org/engine-models\";\nimport type { AttestationComponentConfig } from \"./config/attestationComponentConfig.js\";\nimport type { AttestationConnectorConfig } from \"./config/attestationConnectorConfig.js\";\nimport type { AuditableItemGraphComponentConfig } from \"./config/auditableItemGraphComponentConfig.js\";\nimport type { AuditableItemStreamComponentConfig } from \"./config/auditableItemStreamComponentConfig.js\";\nimport type { AuthenticationGeneratorComponentConfig } from \"./config/authenticationGeneratorComponentConfig.js\";\nimport type { BackgroundTaskConnectorConfig } from \"./config/backgroundTaskConnectorConfig.js\";\nimport type { BlobStorageComponentConfig } from \"./config/blobStorageComponentConfig.js\";\nimport type { BlobStorageConnectorConfig } from \"./config/blobStorageConnectorConfig.js\";\nimport type { ContextIdHandlerComponentConfig } from \"./config/contextIdHandlerComponentConfig.js\";\nimport type { DataConverterConnectorConfig } from \"./config/dataConverterConnectorConfig.js\";\nimport type { DataExtractorConnectorConfig } from \"./config/dataExtractorConnectorConfig.js\";\nimport type { DataProcessingComponentConfig } from \"./config/dataProcessingComponentConfig.js\";\nimport type { DataSpaceConnectorComponentConfig } from \"./config/dataSpaceConnectorComponentConfig.js\";\nimport type { DltConfig } from \"./config/dltConfig.js\";\nimport type { DocumentManagementComponentConfig } from \"./config/documentManagementComponentConfig.js\";\nimport type { EntityStorageComponentConfig } from \"./config/entityStorageComponentConfig.js\";\nimport type { EntityStorageConnectorConfig } from \"./config/entityStorageConnectorConfig.js\";\nimport type { EventBusComponentConfig } from \"./config/eventBusComponentConfig.js\";\nimport type { EventBusConnectorConfig } from \"./config/eventBusConnectorConfig.js\";\nimport type { FaucetConnectorConfig } from \"./config/faucetConnectorConfig.js\";\nimport type { FederatedCatalogueComponentConfig } from \"./config/federatedCatalogueComponentConfig.js\";\nimport type { IdentityComponentConfig } from \"./config/identityComponentConfig.js\";\nimport type { IdentityConnectorConfig } from \"./config/identityConnectorConfig.js\";\nimport type { IdentityProfileComponentConfig } from \"./config/identityProfileComponentConfig.js\";\nimport type { IdentityProfileConnectorConfig } from \"./config/identityProfileConnectorConfig.js\";\nimport type { IdentityResolverComponentConfig } from \"./config/identityResolverComponentConfig.js\";\nimport type { IdentityResolverConnectorConfig } from \"./config/identityResolverConnectorConfig.js\";\nimport type { ImmutableProofComponentConfig } from \"./config/immutableProofComponentConfig.js\";\nimport type { LoggingComponentConfig } from \"./config/loggingComponentConfig.js\";\nimport type { LoggingConnectorConfig } from \"./config/loggingConnectorConfig.js\";\nimport type { MessagingAdminComponentConfig } from \"./config/messagingAdminComponentConfig.js\";\nimport type { MessagingComponentConfig } from \"./config/messagingComponentConfig.js\";\nimport type { MessagingEmailConnectorConfig } from \"./config/messagingEmailConnectorConfig.js\";\nimport type { MessagingPushNotificationConnectorConfig } from \"./config/messagingPushNotificationConnectorConfig.js\";\nimport type { MessagingSmsConnectorConfig } from \"./config/messagingSmsConnectorConfig.js\";\nimport type { NftComponentConfig } from \"./config/nftComponentConfig.js\";\nimport type { NftConnectorConfig } from \"./config/nftConnectorConfig.js\";\nimport type { RightsManagementDapComponentConfig } from \"./config/rightsManagementDapComponentConfig.js\";\nimport type { RightsManagementDarpComponentConfig } from \"./config/rightsManagementDarpComponentConfig.js\";\nimport type { RightsManagementPapComponentConfig } from \"./config/rightsManagementPapComponentConfig.js\";\nimport type { RightsManagementPdpComponentConfig } from \"./config/rightsManagementPdpComponentConfig.js\";\nimport type { RightsManagementPepComponentConfig } from \"./config/rightsManagementPepComponentConfig.js\";\nimport type { RightsManagementPipComponentConfig } from \"./config/rightsManagementPipComponentConfig.js\";\nimport type { RightsManagementPmpComponentConfig } from \"./config/rightsManagementPmpComponentConfig.js\";\nimport type { RightsManagementPnapComponentConfig } from \"./config/rightsManagementPnapComponentConfig.js\";\nimport type { RightsManagementPnpComponentConfig } from \"./config/rightsManagementPnpComponentConfig.js\";\nimport type { RightsManagementPxpComponentConfig } from \"./config/rightsManagementPxpComponentConfig.js\";\nimport type { SynchronisedStorageComponentConfig } from \"./config/synchronisedStorageComponentConfig.js\";\nimport type { TaskSchedulerComponentConfig } from \"./config/taskSchedulerComponentConfig.js\";\nimport type { TelemetryComponentConfig } from \"./config/telemetryComponentConfig.js\";\nimport type { TelemetryConnectorConfig } from \"./config/telemetryConnectorConfig.js\";\nimport type { TenantAdminComponentConfig } from \"./config/tenantAdminComponentConfig.js\";\nimport type { VaultConnectorConfig } from \"./config/vaultConnectorConfig.js\";\nimport type { VerifiableStorageComponentConfig } from \"./config/verifiableStorageComponentConfig.js\";\nimport type { VerifiableStorageConnectorConfig } from \"./config/verifiableStorageConnectorConfig.js\";\nimport type { WalletConnectorConfig } from \"./config/walletConnectorConfig.js\";\n\n/**\n * Extended engine core config with known types.\n */\nexport interface IEngineConfig extends IEngineCoreConfig {\n\t/**\n\t * The types to initialise in the engine.\n\t */\n\ttypes: {\n\t\t[type: string]: IEngineCoreTypeConfig[] | undefined;\n\n\t\t/**\n\t\t * Logging connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tloggingConnector?: IEngineCoreTypeConfig<LoggingConnectorConfig>[];\n\n\t\t/**\n\t\t * Logging component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tloggingComponent?: IEngineCoreTypeConfig<LoggingComponentConfig>[];\n\n\t\t/**\n\t\t * Entity storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tentityStorageConnector?: IEngineCoreTypeConfig<EntityStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Entity storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tentityStorageComponent?: IEngineCoreTypeConfig<EntityStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Blob storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tblobStorageConnector?: IEngineCoreTypeConfig<BlobStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Blob storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tblobStorageComponent?: IEngineCoreTypeConfig<BlobStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Telemetry connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttelemetryConnector?: IEngineCoreTypeConfig<TelemetryConnectorConfig>[];\n\n\t\t/**\n\t\t * Telemetry component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttelemetryComponent?: IEngineCoreTypeConfig<TelemetryComponentConfig>[];\n\n\t\t/**\n\t\t * Messaging email connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingEmailConnector?: IEngineCoreTypeConfig<MessagingEmailConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging SMS connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingSmsConnector?: IEngineCoreTypeConfig<MessagingSmsConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging push notification connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingPushNotificationConnector?: IEngineCoreTypeConfig<MessagingPushNotificationConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging admin component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingAdminComponent?: IEngineCoreTypeConfig<MessagingAdminComponentConfig>[];\n\n\t\t/**\n\t\t * Messaging component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingComponent?: IEngineCoreTypeConfig<MessagingComponentConfig>[];\n\n\t\t/**\n\t\t * Background task connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tbackgroundTaskConnector?: IEngineCoreTypeConfig<BackgroundTaskConnectorConfig>[];\n\n\t\t/**\n\t\t * Task scheduler component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttaskSchedulerComponent?: IEngineCoreTypeConfig<TaskSchedulerComponentConfig>[];\n\n\t\t/**\n\t\t * Event bus connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\teventBusConnector?: IEngineCoreTypeConfig<EventBusConnectorConfig>[];\n\n\t\t/**\n\t\t * Event bus component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\teventBusComponent?: IEngineCoreTypeConfig<EventBusComponentConfig>[];\n\n\t\t/**\n\t\t * Vault connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tvaultConnector?: IEngineCoreTypeConfig<VaultConnectorConfig>[];\n\n\t\t/**\n\t\t * DLT options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdltConfig?: IEngineCoreTypeConfig<DltConfig>[];\n\n\t\t/**\n\t\t * Wallet connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\twalletConnector?: IEngineCoreTypeConfig<WalletConnectorConfig>[];\n\n\t\t/**\n\t\t * Verifiable storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tverifiableStorageConnector?: IEngineCoreTypeConfig<VerifiableStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Verifiable storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tverifiableStorageComponent?: IEngineCoreTypeConfig<VerifiableStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Immutable proof component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\timmutableProofComponent?: IEngineCoreTypeConfig<ImmutableProofComponentConfig>[];\n\n\t\t/**\n\t\t * Faucet connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfaucetConnector?: IEngineCoreTypeConfig<FaucetConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityConnector?: IEngineCoreTypeConfig<IdentityConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityComponent?: IEngineCoreTypeConfig<IdentityComponentConfig>[];\n\n\t\t/**\n\t\t * Identity resolver connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityResolverConnector?: IEngineCoreTypeConfig<IdentityResolverConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity resolver component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityResolverComponent?: IEngineCoreTypeConfig<IdentityResolverComponentConfig>[];\n\n\t\t/**\n\t\t * Identity profile connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityProfileConnector?: IEngineCoreTypeConfig<IdentityProfileConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity profile component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityProfileComponent?: IEngineCoreTypeConfig<IdentityProfileComponentConfig>[];\n\n\t\t/**\n\t\t * NFT connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnftConnector?: IEngineCoreTypeConfig<NftConnectorConfig>[];\n\n\t\t/**\n\t\t * NFT component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnftComponent?: IEngineCoreTypeConfig<NftComponentConfig>[];\n\n\t\t/**\n\t\t * Attestation connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tattestationConnector?: IEngineCoreTypeConfig<AttestationConnectorConfig>[];\n\n\t\t/**\n\t\t * Attestation component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tattestationComponent?: IEngineCoreTypeConfig<AttestationComponentConfig>[];\n\n\t\t/**\n\t\t * Auditable item graph component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauditableItemGraphComponent?: IEngineCoreTypeConfig<AuditableItemGraphComponentConfig>[];\n\n\t\t/**\n\t\t * Auditable item stream component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauditableItemStreamComponent?: IEngineCoreTypeConfig<AuditableItemStreamComponentConfig>[];\n\n\t\t/**\n\t\t * Data converter connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataConverterConnector?: IEngineCoreTypeConfig<DataConverterConnectorConfig>[];\n\n\t\t/**\n\t\t * Data extractor connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataExtractorConnector?: IEngineCoreTypeConfig<DataExtractorConnectorConfig>[];\n\n\t\t/**\n\t\t * Date processing options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataProcessingComponent?: IEngineCoreTypeConfig<DataProcessingComponentConfig>[];\n\n\t\t/**\n\t\t * Document management options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdocumentManagementComponent?: IEngineCoreTypeConfig<DocumentManagementComponentConfig>[];\n\n\t\t/**\n\t\t * Authentication generator options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauthenticationGeneratorComponent?: IEngineCoreTypeConfig<AuthenticationGeneratorComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPapComponent?: IEngineCoreTypeConfig<RightsManagementPapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PDP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPdpComponent?: IEngineCoreTypeConfig<RightsManagementPdpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PEP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPepComponent?: IEngineCoreTypeConfig<RightsManagementPepComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PIP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPipComponent?: IEngineCoreTypeConfig<RightsManagementPipComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PMP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPmpComponent?: IEngineCoreTypeConfig<RightsManagementPmpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PXP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPxpComponent?: IEngineCoreTypeConfig<RightsManagementPxpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PNP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPnpComponent?: IEngineCoreTypeConfig<RightsManagementPnpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PNAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPnapComponent?: IEngineCoreTypeConfig<RightsManagementPnapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management DAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementDapComponent?: IEngineCoreTypeConfig<RightsManagementDapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management DARP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementDarpComponent?: IEngineCoreTypeConfig<RightsManagementDarpComponentConfig>[];\n\n\t\t/**\n\t\t * Synchronised storage options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tsynchronisedStorageComponent?: IEngineCoreTypeConfig<SynchronisedStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Federated catalogue options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfederatedCatalogueComponent?: IEngineCoreTypeConfig<FederatedCatalogueComponentConfig>[];\n\n\t\t/**\n\t\t * Data space connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataSpaceConnectorComponent?: IEngineCoreTypeConfig<DataSpaceConnectorComponentConfig>[];\n\n\t\t/**\n\t\t * Tenant admin component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttenantAdminComponent?: IEngineCoreTypeConfig<TenantAdminComponentConfig>[];\n\n\t\t/**\n\t\t * Context Id Handler component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tcontextIdHandlerComponent?: IEngineCoreTypeConfig<ContextIdHandlerComponentConfig>[];\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=contextIdHandlerComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextIdHandlerComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/contextIdHandlerComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContextIdHandlerComponentType } from \"../types/contextIdHandlerComponentType.js\";\n\n/**\n * Context Id Handler component config types.\n */\nexport type ContextIdHandlerComponentConfig =\n\t| {\n\t\t\ttype: typeof ContextIdHandlerComponentType.Did;\n\t\t\toptions?: never;\n\t }\n\t| {\n\t\t\ttype: typeof ContextIdHandlerComponentType.Tenant;\n\t\t\toptions?: never;\n\t };\n"]}
@@ -0,0 +1,17 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Context Id Handler types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const ContextIdHandlerComponentType = {
8
+ /**
9
+ * Did.
10
+ */
11
+ Did: "Did",
12
+ /**
13
+ * Tenant.
14
+ */
15
+ Tenant: "Tenant"
16
+ };
17
+ //# sourceMappingURL=contextIdHandlerComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextIdHandlerComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/contextIdHandlerComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC5C;;OAEG;IACH,GAAG,EAAE,KAAK;IAEV;;OAEG;IACH,MAAM,EAAE,QAAQ;CACP,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Context Id Handler types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContextIdHandlerComponentType = {\n\t/**\n\t * Did.\n\t */\n\tDid: \"Did\",\n\n\t/**\n\t * Tenant.\n\t */\n\tTenant: \"Tenant\"\n} as const;\n\n/**\n * Context Id Handler component types.\n */\nexport type ContextIdHandlerComponentType =\n\t(typeof ContextIdHandlerComponentType)[keyof typeof ContextIdHandlerComponentType];\n"]}
@@ -0,0 +1,16 @@
1
+ import { ComponentFactory, type IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import type { ContextIdHandlerComponentConfig } from "../models/config/contextIdHandlerComponentConfig.js";
4
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
5
+ /**
6
+ * Initialise the context id handler 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 initialiseContextIdHandlerComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: ContextIdHandlerComponentConfig): Promise<{
13
+ instanceType?: string;
14
+ factory?: typeof ComponentFactory;
15
+ component?: IComponent;
16
+ }>;
@@ -4,6 +4,7 @@ export * from "./components/auditableItemStream.js";
4
4
  export * from "./components/authenticationGenerator.js";
5
5
  export * from "./components/backgroundTask.js";
6
6
  export * from "./components/blobStorage.js";
7
+ export * from "./components/contextIdHandler.js";
7
8
  export * from "./components/dataProcessing.js";
8
9
  export * from "./components/dataSpaceConnector.js";
9
10
  export * from "./components/documentManagement.js";
@@ -43,6 +44,7 @@ export * from "./models/config/authenticationGeneratorComponentConfig.js";
43
44
  export * from "./models/config/backgroundTaskConnectorConfig.js";
44
45
  export * from "./models/config/blobStorageComponentConfig.js";
45
46
  export * from "./models/config/blobStorageConnectorConfig.js";
47
+ export * from "./models/config/contextIdHandlerComponentConfig.js";
46
48
  export * from "./models/config/dataConverterConnectorConfig.js";
47
49
  export * from "./models/config/dataExtractorConnectorConfig.js";
48
50
  export * from "./models/config/dataProcessingComponentConfig.js";
@@ -99,6 +101,7 @@ export * from "./models/types/authenticationGeneratorComponentType.js";
99
101
  export * from "./models/types/backgroundTaskConnectorType.js";
100
102
  export * from "./models/types/blobStorageComponentType.js";
101
103
  export * from "./models/types/blobStorageConnectorType.js";
104
+ export * from "./models/types/contextIdHandlerComponentType.js";
102
105
  export * from "./models/types/dataConverterConnectorType.js";
103
106
  export * from "./models/types/dataExtractorConnectorType.js";
104
107
  export * from "./models/types/dataProcessingComponentType.js";
@@ -7,6 +7,7 @@ import type { AuthenticationGeneratorComponentConfig } from "./config/authentica
7
7
  import type { BackgroundTaskConnectorConfig } from "./config/backgroundTaskConnectorConfig.js";
8
8
  import type { BlobStorageComponentConfig } from "./config/blobStorageComponentConfig.js";
9
9
  import type { BlobStorageConnectorConfig } from "./config/blobStorageConnectorConfig.js";
10
+ import type { ContextIdHandlerComponentConfig } from "./config/contextIdHandlerComponentConfig.js";
10
11
  import type { DataConverterConnectorConfig } from "./config/dataConverterConnectorConfig.js";
11
12
  import type { DataExtractorConnectorConfig } from "./config/dataExtractorConnectorConfig.js";
12
13
  import type { DataProcessingComponentConfig } from "./config/dataProcessingComponentConfig.js";
@@ -283,5 +284,9 @@ export interface IEngineConfig extends IEngineCoreConfig {
283
284
  * Tenant admin component options which can be overridden by individual components by specifying types other than default.
284
285
  */
285
286
  tenantAdminComponent?: IEngineCoreTypeConfig<TenantAdminComponentConfig>[];
287
+ /**
288
+ * Context Id Handler component options which can be overridden by individual components by specifying types other than default.
289
+ */
290
+ contextIdHandlerComponent?: IEngineCoreTypeConfig<ContextIdHandlerComponentConfig>[];
286
291
  };
287
292
  }
@@ -0,0 +1,11 @@
1
+ import type { ContextIdHandlerComponentType } from "../types/contextIdHandlerComponentType.js";
2
+ /**
3
+ * Context Id Handler component config types.
4
+ */
5
+ export type ContextIdHandlerComponentConfig = {
6
+ type: typeof ContextIdHandlerComponentType.Did;
7
+ options?: never;
8
+ } | {
9
+ type: typeof ContextIdHandlerComponentType.Tenant;
10
+ options?: never;
11
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Context Id Handler types.
3
+ */
4
+ export declare const ContextIdHandlerComponentType: {
5
+ /**
6
+ * Did.
7
+ */
8
+ readonly Did: "Did";
9
+ /**
10
+ * Tenant.
11
+ */
12
+ readonly Tenant: "Tenant";
13
+ };
14
+ /**
15
+ * Context Id Handler component types.
16
+ */
17
+ export type ContextIdHandlerComponentType = (typeof ContextIdHandlerComponentType)[keyof typeof ContextIdHandlerComponentType];
package/docs/changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @twin.org/engine-types - Changelog
2
2
 
3
+ ## [0.0.3-next.4](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.3-next.3...engine-types-v0.0.3-next.4) (2025-11-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * context id handlers repopulated after engine clone ([9712e32](https://github.com/twinfoundation/engine/commit/9712e328f4607f5b2c82355c394c61bde0ee39bf))
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.3 to 0.0.3-next.4
16
+ * @twin.org/engine-models bumped from 0.0.3-next.3 to 0.0.3-next.4
17
+
3
18
  ## [0.0.3-next.3](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.3-next.2...engine-types-v0.0.3-next.3) (2025-11-14)
4
19
 
5
20
 
@@ -0,0 +1,31 @@
1
+ # Function: initialiseContextIdHandlerComponent()
2
+
3
+ > **initialiseContextIdHandlerComponent**(`engineCore`, `context`, `instanceConfig`): `Promise`\<\{ `instanceType?`: `string`; `factory?`: `Factory`\<`IComponent`\>; `component?`: `IComponent`; \}\>
4
+
5
+ Initialise the context id handler 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
+ [`ContextIdHandlerComponentConfig`](../type-aliases/ContextIdHandlerComponentConfig.md)
24
+
25
+ The instance config.
26
+
27
+ ## Returns
28
+
29
+ `Promise`\<\{ `instanceType?`: `string`; `factory?`: `Factory`\<`IComponent`\>; `component?`: `IComponent`; \}\>
30
+
31
+ The instance created and the factory for it.
@@ -18,6 +18,7 @@
18
18
  - [BackgroundTaskConnectorConfig](type-aliases/BackgroundTaskConnectorConfig.md)
19
19
  - [BlobStorageComponentConfig](type-aliases/BlobStorageComponentConfig.md)
20
20
  - [BlobStorageConnectorConfig](type-aliases/BlobStorageConnectorConfig.md)
21
+ - [ContextIdHandlerComponentConfig](type-aliases/ContextIdHandlerComponentConfig.md)
21
22
  - [DataConverterConnectorConfig](type-aliases/DataConverterConnectorConfig.md)
22
23
  - [DataExtractorConnectorConfig](type-aliases/DataExtractorConnectorConfig.md)
23
24
  - [DataProcessingComponentConfig](type-aliases/DataProcessingComponentConfig.md)
@@ -73,6 +74,7 @@
73
74
  - [BackgroundTaskConnectorType](type-aliases/BackgroundTaskConnectorType.md)
74
75
  - [BlobStorageComponentType](type-aliases/BlobStorageComponentType.md)
75
76
  - [BlobStorageConnectorType](type-aliases/BlobStorageConnectorType.md)
77
+ - [ContextIdHandlerComponentType](type-aliases/ContextIdHandlerComponentType.md)
76
78
  - [DataConverterConnectorType](type-aliases/DataConverterConnectorType.md)
77
79
  - [DataExtractorConnectorType](type-aliases/DataExtractorConnectorType.md)
78
80
  - [DataProcessingComponentType](type-aliases/DataProcessingComponentType.md)
@@ -131,6 +133,7 @@
131
133
  - [BackgroundTaskConnectorType](variables/BackgroundTaskConnectorType.md)
132
134
  - [BlobStorageComponentType](variables/BlobStorageComponentType.md)
133
135
  - [BlobStorageConnectorType](variables/BlobStorageConnectorType.md)
136
+ - [ContextIdHandlerComponentType](variables/ContextIdHandlerComponentType.md)
134
137
  - [DataConverterConnectorType](variables/DataConverterConnectorType.md)
135
138
  - [DataExtractorConnectorType](variables/DataExtractorConnectorType.md)
136
139
  - [DataProcessingComponentType](variables/DataProcessingComponentType.md)
@@ -189,6 +192,7 @@
189
192
  - [initialiseBackgroundTaskConnector](functions/initialiseBackgroundTaskConnector.md)
190
193
  - [initialiseBlobStorageConnector](functions/initialiseBlobStorageConnector.md)
191
194
  - [initialiseBlobStorageComponent](functions/initialiseBlobStorageComponent.md)
195
+ - [initialiseContextIdHandlerComponent](functions/initialiseContextIdHandlerComponent.md)
192
196
  - [initialiseDataConverterConnector](functions/initialiseDataConverterConnector.md)
193
197
  - [initialiseDataExtractorConnector](functions/initialiseDataExtractorConnector.md)
194
198
  - [initialiseDataProcessingComponent](functions/initialiseDataProcessingComponent.md)
@@ -348,6 +348,12 @@ Data space connector options which can be overridden by individual components by
348
348
 
349
349
  Tenant admin component options which can be overridden by individual components by specifying types other than default.
350
350
 
351
+ #### contextIdHandlerComponent?
352
+
353
+ > `optional` **contextIdHandlerComponent**: `IEngineCoreTypeConfig`\<[`ContextIdHandlerComponentConfig`](../type-aliases/ContextIdHandlerComponentConfig.md)\>[]
354
+
355
+ Context Id Handler component options which can be overridden by individual components by specifying types other than default.
356
+
351
357
  #### Overrides
352
358
 
353
359
  `IEngineCoreConfig.types`
@@ -0,0 +1,5 @@
1
+ # Type Alias: ContextIdHandlerComponentConfig
2
+
3
+ > **ContextIdHandlerComponentConfig** = \{ `type`: *typeof* [`Did`](../variables/ContextIdHandlerComponentType.md#did); `options?`: `never`; \} \| \{ `type`: *typeof* [`Tenant`](../variables/ContextIdHandlerComponentType.md#tenant); `options?`: `never`; \}
4
+
5
+ Context Id Handler component config types.
@@ -0,0 +1,5 @@
1
+ # Type Alias: ContextIdHandlerComponentType
2
+
3
+ > **ContextIdHandlerComponentType** = *typeof* [`ContextIdHandlerComponentType`](../variables/ContextIdHandlerComponentType.md)\[keyof *typeof* [`ContextIdHandlerComponentType`](../variables/ContextIdHandlerComponentType.md)\]
4
+
5
+ Context Id Handler component types.
@@ -0,0 +1,19 @@
1
+ # Variable: ContextIdHandlerComponentType
2
+
3
+ > `const` **ContextIdHandlerComponentType**: `object`
4
+
5
+ Context Id Handler types.
6
+
7
+ ## Type Declaration
8
+
9
+ ### Did
10
+
11
+ > `readonly` **Did**: `"Did"` = `"Did"`
12
+
13
+ Did.
14
+
15
+ ### Tenant
16
+
17
+ > `readonly` **Tenant**: `"Tenant"` = `"Tenant"`
18
+
19
+ Tenant.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine-types",
3
- "version": "0.0.3-next.3",
3
+ "version": "0.0.3-next.4",
4
4
  "description": "Types to use in an engine.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,8 +54,8 @@
54
54
  "@twin.org/document-management-models": "next",
55
55
  "@twin.org/document-management-rest-client": "next",
56
56
  "@twin.org/document-management-service": "next",
57
- "@twin.org/engine-core": "0.0.3-next.3",
58
- "@twin.org/engine-models": "0.0.3-next.3",
57
+ "@twin.org/engine-core": "0.0.3-next.4",
58
+ "@twin.org/engine-models": "0.0.3-next.4",
59
59
  "@twin.org/entity": "next",
60
60
  "@twin.org/entity-storage-connector-cosmosdb": "next",
61
61
  "@twin.org/entity-storage-connector-dynamodb": "next",