@twin.org/engine-types 0.0.3-next.29 → 0.0.3-next.30
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/notarization.js +78 -0
- package/dist/es/components/notarization.js.map +1 -0
- package/dist/es/index.js +5 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IEngineConfig.js.map +1 -1
- package/dist/es/models/config/notarizationComponentConfig.js +2 -0
- package/dist/es/models/config/notarizationComponentConfig.js.map +1 -0
- package/dist/es/models/config/notarizationConnectorConfig.js +2 -0
- package/dist/es/models/config/notarizationConnectorConfig.js.map +1 -0
- package/dist/es/models/types/notarizationComponentType.js +17 -0
- package/dist/es/models/types/notarizationComponentType.js.map +1 -0
- package/dist/es/models/types/notarizationConnectorType.js +17 -0
- package/dist/es/models/types/notarizationConnectorType.js.map +1 -0
- package/dist/types/components/notarization.d.ts +22 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/models/IEngineConfig.d.ts +10 -0
- package/dist/types/models/config/notarizationComponentConfig.d.ts +13 -0
- package/dist/types/models/config/notarizationConnectorConfig.d.ts +13 -0
- package/dist/types/models/types/notarizationComponentType.d.ts +17 -0
- package/dist/types/models/types/notarizationConnectorType.d.ts +17 -0
- package/docs/changelog.md +15 -0
- package/docs/reference/functions/initialiseNotarizationComponent.md +31 -0
- package/docs/reference/functions/initialiseNotarizationConnector.md +31 -0
- package/docs/reference/index.md +8 -0
- package/docs/reference/interfaces/IEngineConfig.md +12 -0
- package/docs/reference/type-aliases/NotarizationComponentConfig.md +5 -0
- package/docs/reference/type-aliases/NotarizationComponentType.md +5 -0
- package/docs/reference/type-aliases/NotarizationConnectorConfig.md +5 -0
- package/docs/reference/type-aliases/NotarizationConnectorType.md +5 -0
- package/docs/reference/variables/NotarizationComponentType.md +19 -0
- package/docs/reference/variables/NotarizationConnectorType.md +19 -0
- package/package.json +8 -3
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
import { ContextIdHelper, ContextIdKeys } from "@twin.org/context";
|
|
4
|
+
import { ComponentFactory } from "@twin.org/core";
|
|
5
|
+
import { EntityStorageNotarizationConnector, initSchema } from "@twin.org/notarization-connector-entity-storage";
|
|
6
|
+
import { IotaNotarizationConnector } from "@twin.org/notarization-connector-iota";
|
|
7
|
+
import { NotarizationConnectorFactory } from "@twin.org/notarization-models";
|
|
8
|
+
import { NotarizationRestClient } from "@twin.org/notarization-rest-client";
|
|
9
|
+
import { NotarizationService } from "@twin.org/notarization-service";
|
|
10
|
+
import { initialiseEntityStorageConnector } from "./entityStorage.js";
|
|
11
|
+
import { DltConfigType } from "../models/types/dltConfigType.js";
|
|
12
|
+
import { NotarizationComponentType } from "../models/types/notarizationComponentType.js";
|
|
13
|
+
import { NotarizationConnectorType } from "../models/types/notarizationConnectorType.js";
|
|
14
|
+
import { EngineTypeHelper } from "../utils/engineTypeHelper.js";
|
|
15
|
+
/**
|
|
16
|
+
* Initialise the notarization connector.
|
|
17
|
+
* @param engineCore The engine core.
|
|
18
|
+
* @param context The context for the engine.
|
|
19
|
+
* @param instanceConfig The instance config.
|
|
20
|
+
* @returns The instance created and the factory for it.
|
|
21
|
+
*/
|
|
22
|
+
export function initialiseNotarizationConnector(engineCore, context, instanceConfig) {
|
|
23
|
+
let createComponent;
|
|
24
|
+
let instanceTypeName;
|
|
25
|
+
if (instanceConfig.type === NotarizationConnectorType.EntityStorage) {
|
|
26
|
+
createComponent = (createConfig) => {
|
|
27
|
+
initSchema();
|
|
28
|
+
initialiseEntityStorageConnector(engineCore, context, createConfig.options?.notarizationEntityStorageType, "Notarization", ContextIdHelper.pickKeysFromAvailable(engineCore.getContextIdKeys(), [
|
|
29
|
+
ContextIdKeys.Node,
|
|
30
|
+
ContextIdKeys.Tenant
|
|
31
|
+
]));
|
|
32
|
+
return new EntityStorageNotarizationConnector(EngineTypeHelper.mergeConfig(createConfig.options));
|
|
33
|
+
};
|
|
34
|
+
instanceTypeName = EntityStorageNotarizationConnector.NAMESPACE;
|
|
35
|
+
}
|
|
36
|
+
else if (instanceConfig.type === NotarizationConnectorType.Iota) {
|
|
37
|
+
createComponent = (createConfig) => {
|
|
38
|
+
const dltConfig = EngineTypeHelper.getConfigOfType(engineCore.getConfig(), "dltConfig", DltConfigType.Iota);
|
|
39
|
+
return new IotaNotarizationConnector(EngineTypeHelper.mergeConfig({
|
|
40
|
+
vaultConnectorType: engineCore.getRegisteredInstanceType("vaultConnector"),
|
|
41
|
+
walletConnectorType: engineCore.getRegisteredInstanceType("walletConnector"),
|
|
42
|
+
loggingComponentType: engineCore.getRegisteredInstanceTypeOptional("loggingComponent"),
|
|
43
|
+
config: dltConfig?.options?.config
|
|
44
|
+
}, createConfig.options));
|
|
45
|
+
};
|
|
46
|
+
instanceTypeName = IotaNotarizationConnector.NAMESPACE;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
createComponent: createComponent,
|
|
50
|
+
instanceTypeName,
|
|
51
|
+
factory: NotarizationConnectorFactory
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Initialise the notarization component.
|
|
56
|
+
* @param engineCore The engine core.
|
|
57
|
+
* @param context The context for the engine.
|
|
58
|
+
* @param instanceConfig The instance config.
|
|
59
|
+
* @returns The instance created and the factory for it.
|
|
60
|
+
*/
|
|
61
|
+
export function initialiseNotarizationComponent(engineCore, context, instanceConfig) {
|
|
62
|
+
let createComponent;
|
|
63
|
+
let instanceTypeName;
|
|
64
|
+
if (instanceConfig.type === NotarizationComponentType.Service) {
|
|
65
|
+
createComponent = (createConfig) => new NotarizationService(EngineTypeHelper.mergeConfig(createConfig.options));
|
|
66
|
+
instanceTypeName = "notarization-service";
|
|
67
|
+
}
|
|
68
|
+
else if (instanceConfig.type === NotarizationComponentType.RestClient) {
|
|
69
|
+
createComponent = (createConfig) => new NotarizationRestClient(EngineTypeHelper.mergeConfig(createConfig.options));
|
|
70
|
+
instanceTypeName = "notarization-rest-client";
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
createComponent: createComponent,
|
|
74
|
+
instanceTypeName,
|
|
75
|
+
factory: ComponentFactory
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=notarization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notarization.js","sourceRoot":"","sources":["../../../src/components/notarization.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAQlD,OAAO,EACN,kCAAkC,EAClC,UAAU,EAEV,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAKtE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,UAAU,+BAA+B,CAC9C,UAAsC,EACtC,OAA0C,EAC1C,cAA2C;IAE3C,IAAI,eAAe,CAAC;IACpB,IAAI,gBAAgB,CAAC;IAErB,IAAI,cAAc,CAAC,IAAI,KAAK,yBAAyB,CAAC,aAAa,EAAE,CAAC;QACrE,eA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AA+B,CAC9C,UAAsC,EACtC,OAA0C,EAC1C,cAA2C;IAE3C,IAAI,eAAe,CAAC;IACpB,IAAI,gBAAgB,CAAC;IAErB,IAAI,cAAc,CAAC,IAAI,KAAK,yBAAyB,CAAC,OAAO,EAAE,CAAC;QAC/D,eAAe,GAAG,CAAC,YAAmC,EAAE,EAAE,CACzD,IAAI,mBAAmB,CACtB,gBAAgB,CAAC,WAAW,CAAqC,YAAY,CAAC,OAAO,CAAC,CACtF,CAAC;QACH,gBAAgB,yBAAuC,CAAC;IACzD,CAAC;SAAM,IAAI,cAAc,CAAC,IAAI,KAAK,yBAAyB,CAAC,UAAU,EAAE,CAAC;QACzE,eAAe,GAAG,CAAC,YAAmC,EAAE,EAAE,CACzD,IAAI,sBAAsB,CACzB,gBAAgB,CAAC,WAAW,CAAqC,YAAY,CAAC,OAAO,CAAC,CACtF,CAAC;QACH,gBAAgB,6BAA0C,CAAC;IAC5D,CAAC;IAED,OAAO;QACN,eAAe,EAAE,eAAsE;QACvF,gBAAgB;QAChB,OAAO,EAAE,gBAAgB;KACzB,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { ContextIdHelper, ContextIdKeys } from \"@twin.org/context\";\nimport { ComponentFactory } from \"@twin.org/core\";\nimport type { IComponent } from \"@twin.org/core\";\nimport type {\n\tEngineTypeInitialiserReturn,\n\tIEngineCore,\n\tIEngineCoreContext\n} from \"@twin.org/engine-models\";\nimport { nameof, nameofKebabCase } from \"@twin.org/nameof\";\nimport {\n\tEntityStorageNotarizationConnector,\n\tinitSchema,\n\ttype Notarization\n} from \"@twin.org/notarization-connector-entity-storage\";\nimport { IotaNotarizationConnector } from \"@twin.org/notarization-connector-iota\";\nimport { NotarizationConnectorFactory } from \"@twin.org/notarization-models\";\nimport { NotarizationRestClient } from \"@twin.org/notarization-rest-client\";\nimport { NotarizationService } from \"@twin.org/notarization-service\";\nimport { initialiseEntityStorageConnector } from \"./entityStorage.js\";\nimport type { DltConfig } from \"../models/config/dltConfig.js\";\nimport type { NotarizationComponentConfig } from \"../models/config/notarizationComponentConfig.js\";\nimport type { NotarizationConnectorConfig } from \"../models/config/notarizationConnectorConfig.js\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\nimport { DltConfigType } from \"../models/types/dltConfigType.js\";\nimport { NotarizationComponentType } from \"../models/types/notarizationComponentType.js\";\nimport { NotarizationConnectorType } from \"../models/types/notarizationConnectorType.js\";\nimport { EngineTypeHelper } from \"../utils/engineTypeHelper.js\";\n\n/**\n * Initialise the notarization connector.\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 function initialiseNotarizationConnector(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: NotarizationConnectorConfig\n): EngineTypeInitialiserReturn<typeof instanceConfig, typeof NotarizationConnectorFactory> {\n\tlet createComponent;\n\tlet instanceTypeName;\n\n\tif (instanceConfig.type === NotarizationConnectorType.EntityStorage) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) => {\n\t\t\tinitSchema();\n\t\t\tinitialiseEntityStorageConnector(\n\t\t\t\tengineCore,\n\t\t\t\tcontext,\n\t\t\t\tcreateConfig.options?.notarizationEntityStorageType,\n\t\t\t\tnameof<Notarization>(),\n\t\t\t\tContextIdHelper.pickKeysFromAvailable(engineCore.getContextIdKeys(), [\n\t\t\t\t\tContextIdKeys.Node,\n\t\t\t\t\tContextIdKeys.Tenant\n\t\t\t\t])\n\t\t\t);\n\n\t\t\treturn new EntityStorageNotarizationConnector(\n\t\t\t\tEngineTypeHelper.mergeConfig<(typeof instanceConfig)[\"options\"]>(createConfig.options)\n\t\t\t);\n\t\t};\n\t\tinstanceTypeName = EntityStorageNotarizationConnector.NAMESPACE;\n\t} else if (instanceConfig.type === NotarizationConnectorType.Iota) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) => {\n\t\t\tconst dltConfig = EngineTypeHelper.getConfigOfType<DltConfig>(\n\t\t\t\tengineCore.getConfig(),\n\t\t\t\t\"dltConfig\",\n\t\t\t\tDltConfigType.Iota\n\t\t\t);\n\t\t\treturn new IotaNotarizationConnector(\n\t\t\t\tEngineTypeHelper.mergeConfig<(typeof instanceConfig)[\"options\"]>(\n\t\t\t\t\t{\n\t\t\t\t\t\tvaultConnectorType: engineCore.getRegisteredInstanceType(\"vaultConnector\"),\n\t\t\t\t\t\twalletConnectorType: engineCore.getRegisteredInstanceType(\"walletConnector\"),\n\t\t\t\t\t\tloggingComponentType: engineCore.getRegisteredInstanceTypeOptional(\"loggingComponent\"),\n\t\t\t\t\t\tconfig: dltConfig?.options?.config\n\t\t\t\t\t},\n\t\t\t\t\tcreateConfig.options\n\t\t\t\t)\n\t\t\t);\n\t\t};\n\t\tinstanceTypeName = IotaNotarizationConnector.NAMESPACE;\n\t}\n\n\treturn {\n\t\tcreateComponent: createComponent as (createConfig: typeof instanceConfig) => IComponent,\n\t\tinstanceTypeName,\n\t\tfactory: NotarizationConnectorFactory\n\t};\n}\n\n/**\n * Initialise the notarization 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 function initialiseNotarizationComponent(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: NotarizationComponentConfig\n): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory> {\n\tlet createComponent;\n\tlet instanceTypeName;\n\n\tif (instanceConfig.type === NotarizationComponentType.Service) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) =>\n\t\t\tnew NotarizationService(\n\t\t\t\tEngineTypeHelper.mergeConfig<(typeof instanceConfig)[\"options\"]>(createConfig.options)\n\t\t\t);\n\t\tinstanceTypeName = nameofKebabCase(NotarizationService);\n\t} else if (instanceConfig.type === NotarizationComponentType.RestClient) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) =>\n\t\t\tnew NotarizationRestClient(\n\t\t\t\tEngineTypeHelper.mergeConfig<(typeof instanceConfig)[\"options\"]>(createConfig.options)\n\t\t\t);\n\t\tinstanceTypeName = nameofKebabCase(NotarizationRestClient);\n\t}\n\n\treturn {\n\t\tcreateComponent: createComponent as (createConfig: typeof instanceConfig) => IComponent,\n\t\tinstanceTypeName,\n\t\tfactory: ComponentFactory\n\t};\n}\n"]}
|
package/dist/es/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export * from "./components/immutableProof.js";
|
|
|
22
22
|
export * from "./components/logging.js";
|
|
23
23
|
export * from "./components/messaging.js";
|
|
24
24
|
export * from "./components/nft.js";
|
|
25
|
+
export * from "./components/notarization.js";
|
|
25
26
|
export * from "./components/rightsManagementPap.js";
|
|
26
27
|
export * from "./components/rightsManagementPdp.js";
|
|
27
28
|
export * from "./components/rightsManagementPep.js";
|
|
@@ -85,6 +86,8 @@ export * from "./models/config/messagingPushNotificationConnectorConfig.js";
|
|
|
85
86
|
export * from "./models/config/messagingSmsConnectorConfig.js";
|
|
86
87
|
export * from "./models/config/nftComponentConfig.js";
|
|
87
88
|
export * from "./models/config/nftConnectorConfig.js";
|
|
89
|
+
export * from "./models/config/notarizationComponentConfig.js";
|
|
90
|
+
export * from "./models/config/notarizationConnectorConfig.js";
|
|
88
91
|
export * from "./models/config/rightsManagementPapComponentConfig.js";
|
|
89
92
|
export * from "./models/config/rightsManagementPdpComponentConfig.js";
|
|
90
93
|
export * from "./models/config/rightsManagementPepComponentConfig.js";
|
|
@@ -151,6 +154,8 @@ export * from "./models/types/messagingPushNotificationConnectorType.js";
|
|
|
151
154
|
export * from "./models/types/messagingSmsConnectorType.js";
|
|
152
155
|
export * from "./models/types/nftComponentType.js";
|
|
153
156
|
export * from "./models/types/nftConnectorType.js";
|
|
157
|
+
export * from "./models/types/notarizationComponentType.js";
|
|
158
|
+
export * from "./models/types/notarizationConnectorType.js";
|
|
154
159
|
export * from "./models/types/rightsManagementPapComponentType.js";
|
|
155
160
|
export * from "./models/types/rightsManagementPdpComponentType.js";
|
|
156
161
|
export * from "./models/types/rightsManagementPepComponentType.js";
|
package/dist/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,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,0CAA0C,CAAC;AACzD,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,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,kDAAkD,CAAC;AACjE,cAAc,0DAA0D,CAAC;AACzE,cAAc,iDAAiD,CAA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c,8CAA8C,CAAC;AAC7D,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/backgroundTask.js\";\nexport * from \"./components/blobStorage.js\";\nexport * from \"./components/contextIdHandler.js\";\nexport * from \"./components/dataProcessing.js\";\nexport * from \"./components/dataspaceControlPlane.js\";\nexport * from \"./components/dataspaceDataPlane.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/federatedCatalogueFilter.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/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/rightsManagementPolicyArbiter.js\";\nexport * from \"./components/rightsManagementPolicyEnforcementProcessor.js\";\nexport * from \"./components/rightsManagementPolicyExecutionAction.js\";\nexport * from \"./components/rightsManagementPolicyInformationSource.js\";\nexport * from \"./components/rightsManagementPolicyNegotiator.js\";\nexport * from \"./components/rightsManagementPolicyObligationEnforcer.js\";\nexport * from \"./components/rightsManagementPolicyRequester.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/trust.js\";\nexport * from \"./components/trustGenerator.js\";\nexport * from \"./components/trustVerifier.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/backgroundTaskComponentConfig.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/dataspaceControlPlaneComponentConfig.js\";\nexport * from \"./models/config/dataspaceDataPlaneComponentConfig.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/federatedCatalogueFilterComponentConfig.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/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/rightsManagementPolicyArbiterComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyExecutionActionComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyInformationSourceComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyNegotiatorComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyRequesterComponentConfig.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/trustComponentConfig.js\";\nexport * from \"./models/config/trustGeneratorComponentConfig.js\";\nexport * from \"./models/config/trustVerifierComponentConfig.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/backgroundTaskComponentType.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/dataspaceControlPlaneComponentType.js\";\nexport * from \"./models/types/dataspaceDataPlaneComponentType.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/federatedCatalogueFilterComponentType.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/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/rightsManagementPolicyArbiterComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyEnforcementProcessorComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyExecutionActionComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyInformationSourceComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyNegotiatorComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyObligationEnforcerComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyRequesterComponentType.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/trustComponentType.js\";\nexport * from \"./models/types/trustGeneratorComponentType.js\";\nexport * from \"./models/types/trustVerifierComponentType.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":[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C;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/backgroundTask.js\";\nexport * from \"./components/blobStorage.js\";\nexport * from \"./components/contextIdHandler.js\";\nexport * from \"./components/dataProcessing.js\";\nexport * from \"./components/dataspaceControlPlane.js\";\nexport * from \"./components/dataspaceDataPlane.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/federatedCatalogueFilter.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/notarization.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/rightsManagementPolicyArbiter.js\";\nexport * from \"./components/rightsManagementPolicyEnforcementProcessor.js\";\nexport * from \"./components/rightsManagementPolicyExecutionAction.js\";\nexport * from \"./components/rightsManagementPolicyInformationSource.js\";\nexport * from \"./components/rightsManagementPolicyNegotiator.js\";\nexport * from \"./components/rightsManagementPolicyObligationEnforcer.js\";\nexport * from \"./components/rightsManagementPolicyRequester.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/trust.js\";\nexport * from \"./components/trustGenerator.js\";\nexport * from \"./components/trustVerifier.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/backgroundTaskComponentConfig.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/dataspaceControlPlaneComponentConfig.js\";\nexport * from \"./models/config/dataspaceDataPlaneComponentConfig.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/federatedCatalogueFilterComponentConfig.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/notarizationComponentConfig.js\";\nexport * from \"./models/config/notarizationConnectorConfig.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/rightsManagementPolicyArbiterComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyExecutionActionComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyInformationSourceComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyNegotiatorComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPolicyRequesterComponentConfig.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/trustComponentConfig.js\";\nexport * from \"./models/config/trustGeneratorComponentConfig.js\";\nexport * from \"./models/config/trustVerifierComponentConfig.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/backgroundTaskComponentType.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/dataspaceControlPlaneComponentType.js\";\nexport * from \"./models/types/dataspaceDataPlaneComponentType.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/federatedCatalogueFilterComponentType.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/notarizationComponentType.js\";\nexport * from \"./models/types/notarizationConnectorType.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/rightsManagementPolicyArbiterComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyEnforcementProcessorComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyExecutionActionComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyInformationSourceComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyNegotiatorComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyObligationEnforcerComponentType.js\";\nexport * from \"./models/types/rightsManagementPolicyRequesterComponentType.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/trustComponentType.js\";\nexport * from \"./models/types/trustGeneratorComponentType.js\";\nexport * from \"./models/types/trustVerifierComponentType.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 { BackgroundTaskComponentConfig } from \"./config/backgroundTaskComponentConfig.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 { DataspaceControlPlaneComponentConfig } from \"./config/dataspaceControlPlaneComponentConfig.js\";\nimport type { DataspaceDataPlaneComponentConfig } from \"./config/dataspaceDataPlaneComponentConfig.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 { FederatedCatalogueFilterComponentConfig } from \"./config/federatedCatalogueFilterComponentConfig.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 { 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 { RightsManagementPolicyArbiterComponentConfig } from \"./config/rightsManagementPolicyArbiterComponentConfig.js\";\nimport type { RightsManagementPolicyEnforcementProcessorComponentConfig } from \"./config/rightsManagementPolicyEnforcementProcessorComponentConfig.js\";\nimport type { RightsManagementPolicyExecutionActionComponentConfig } from \"./config/rightsManagementPolicyExecutionActionComponentConfig.js\";\nimport type { RightsManagementPolicyInformationSourceComponentConfig } from \"./config/rightsManagementPolicyInformationSourceComponentConfig.js\";\nimport type { RightsManagementPolicyNegotiatorComponentConfig } from \"./config/rightsManagementPolicyNegotiatorComponentConfig.js\";\nimport type { RightsManagementPolicyObligationEnforcerComponentConfig } from \"./config/rightsManagementPolicyObligationEnforcerComponentConfig.js\";\nimport type { RightsManagementPolicyRequesterComponentConfig } from \"./config/rightsManagementPolicyRequesterComponentConfig.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 { TrustComponentConfig } from \"./config/trustComponentConfig.js\";\nimport type { TrustGeneratorComponentConfig } from \"./config/trustGeneratorComponentConfig.js\";\nimport type { TrustVerifierComponentConfig } from \"./config/trustVerifierComponentConfig.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 component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tbackgroundTaskComponent?: IEngineCoreTypeConfig<BackgroundTaskComponentConfig>[];\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 * Trust component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttrustComponent?: IEngineCoreTypeConfig<TrustComponentConfig>[];\n\n\t\t/**\n\t\t * Trust generator component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttrustGeneratorComponent?: IEngineCoreTypeConfig<TrustGeneratorComponentConfig>[];\n\n\t\t/**\n\t\t * Trust verifier component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttrustVerifierComponent?: IEngineCoreTypeConfig<TrustVerifierComponentConfig>[];\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 policy arbiter options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPolicyArbiterComponent?: IEngineCoreTypeConfig<RightsManagementPolicyArbiterComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy obligation enforcer options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyObligationEnforcerComponent?: IEngineCoreTypeConfig<RightsManagementPolicyObligationEnforcerComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy enforcement processor options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyEnforcementProcessorComponent?: IEngineCoreTypeConfig<RightsManagementPolicyEnforcementProcessorComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy execution action options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyExecutionActionComponent?: IEngineCoreTypeConfig<RightsManagementPolicyExecutionActionComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy information source options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyInformationSourceComponent?: IEngineCoreTypeConfig<RightsManagementPolicyInformationSourceComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy negotiator options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyNegotiatorComponent?: IEngineCoreTypeConfig<RightsManagementPolicyNegotiatorComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy requester options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyRequesterComponent?: IEngineCoreTypeConfig<RightsManagementPolicyRequesterComponentConfig>[];\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 * Federated catalogue filter options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfederatedCatalogueFilterComponent?: IEngineCoreTypeConfig<FederatedCatalogueFilterComponentConfig>[];\n\n\t\t/**\n\t\t * Dataspace control plane component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataspaceControlPlaneComponent?: IEngineCoreTypeConfig<DataspaceControlPlaneComponentConfig>[];\n\n\t\t/**\n\t\t * Dataspace data plane component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataspaceDataPlaneComponent?: IEngineCoreTypeConfig<DataspaceDataPlaneComponentConfig>[];\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"]}
|
|
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 { BackgroundTaskComponentConfig } from \"./config/backgroundTaskComponentConfig.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 { DataspaceControlPlaneComponentConfig } from \"./config/dataspaceControlPlaneComponentConfig.js\";\nimport type { DataspaceDataPlaneComponentConfig } from \"./config/dataspaceDataPlaneComponentConfig.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 { FederatedCatalogueFilterComponentConfig } from \"./config/federatedCatalogueFilterComponentConfig.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 { NotarizationComponentConfig } from \"./config/notarizationComponentConfig.js\";\nimport type { NotarizationConnectorConfig } from \"./config/notarizationConnectorConfig.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 { RightsManagementPolicyArbiterComponentConfig } from \"./config/rightsManagementPolicyArbiterComponentConfig.js\";\nimport type { RightsManagementPolicyEnforcementProcessorComponentConfig } from \"./config/rightsManagementPolicyEnforcementProcessorComponentConfig.js\";\nimport type { RightsManagementPolicyExecutionActionComponentConfig } from \"./config/rightsManagementPolicyExecutionActionComponentConfig.js\";\nimport type { RightsManagementPolicyInformationSourceComponentConfig } from \"./config/rightsManagementPolicyInformationSourceComponentConfig.js\";\nimport type { RightsManagementPolicyNegotiatorComponentConfig } from \"./config/rightsManagementPolicyNegotiatorComponentConfig.js\";\nimport type { RightsManagementPolicyObligationEnforcerComponentConfig } from \"./config/rightsManagementPolicyObligationEnforcerComponentConfig.js\";\nimport type { RightsManagementPolicyRequesterComponentConfig } from \"./config/rightsManagementPolicyRequesterComponentConfig.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 { TrustComponentConfig } from \"./config/trustComponentConfig.js\";\nimport type { TrustGeneratorComponentConfig } from \"./config/trustGeneratorComponentConfig.js\";\nimport type { TrustVerifierComponentConfig } from \"./config/trustVerifierComponentConfig.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 component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tbackgroundTaskComponent?: IEngineCoreTypeConfig<BackgroundTaskComponentConfig>[];\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 * Notarization connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnotarizationConnector?: IEngineCoreTypeConfig<NotarizationConnectorConfig>[];\n\n\t\t/**\n\t\t * Notarization component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnotarizationComponent?: IEngineCoreTypeConfig<NotarizationComponentConfig>[];\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 * Trust component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttrustComponent?: IEngineCoreTypeConfig<TrustComponentConfig>[];\n\n\t\t/**\n\t\t * Trust generator component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttrustGeneratorComponent?: IEngineCoreTypeConfig<TrustGeneratorComponentConfig>[];\n\n\t\t/**\n\t\t * Trust verifier component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttrustVerifierComponent?: IEngineCoreTypeConfig<TrustVerifierComponentConfig>[];\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 policy arbiter options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPolicyArbiterComponent?: IEngineCoreTypeConfig<RightsManagementPolicyArbiterComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy obligation enforcer options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyObligationEnforcerComponent?: IEngineCoreTypeConfig<RightsManagementPolicyObligationEnforcerComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy enforcement processor options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyEnforcementProcessorComponent?: IEngineCoreTypeConfig<RightsManagementPolicyEnforcementProcessorComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy execution action options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyExecutionActionComponent?: IEngineCoreTypeConfig<RightsManagementPolicyExecutionActionComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy information source options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyInformationSourceComponent?: IEngineCoreTypeConfig<RightsManagementPolicyInformationSourceComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy negotiator options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyNegotiatorComponent?: IEngineCoreTypeConfig<RightsManagementPolicyNegotiatorComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management policy requester options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\t// eslint-disable-next-line max-len\n\t\trightsManagementPolicyRequesterComponent?: IEngineCoreTypeConfig<RightsManagementPolicyRequesterComponentConfig>[];\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 * Federated catalogue filter options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfederatedCatalogueFilterComponent?: IEngineCoreTypeConfig<FederatedCatalogueFilterComponentConfig>[];\n\n\t\t/**\n\t\t * Dataspace control plane component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataspaceControlPlaneComponent?: IEngineCoreTypeConfig<DataspaceControlPlaneComponentConfig>[];\n\n\t\t/**\n\t\t * Dataspace data plane component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataspaceDataPlaneComponent?: IEngineCoreTypeConfig<DataspaceDataPlaneComponentConfig>[];\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 @@
|
|
|
1
|
+
{"version":3,"file":"notarizationComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/notarizationComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBaseRestClientConfig } from \"@twin.org/api-models\";\nimport type { INotarizationServiceConstructorOptions } from \"@twin.org/notarization-service\";\nimport type { NotarizationComponentType } from \"../types/notarizationComponentType.js\";\n\n/**\n * Notarization component configuration.\n */\nexport type NotarizationComponentConfig =\n\t| {\n\t\t\ttype: typeof NotarizationComponentType.Service;\n\t\t\toptions?: INotarizationServiceConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof NotarizationComponentType.RestClient;\n\t\t\toptions: IBaseRestClientConfig;\n\t };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notarizationConnectorConfig.js","sourceRoot":"","sources":["../../../../src/models/config/notarizationConnectorConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEntityStorageNotarizationConnectorConstructorOptions } from \"@twin.org/notarization-connector-entity-storage\";\nimport type { IIotaNotarizationConnectorConstructorOptions } from \"@twin.org/notarization-connector-iota\";\nimport type { NotarizationConnectorType } from \"../types/notarizationConnectorType.js\";\n\n/**\n * Notarization connector configuration.\n */\nexport type NotarizationConnectorConfig =\n\t| {\n\t\t\ttype: typeof NotarizationConnectorType.EntityStorage;\n\t\t\toptions?: IEntityStorageNotarizationConnectorConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof NotarizationConnectorType.Iota;\n\t\t\toptions: IIotaNotarizationConnectorConstructorOptions;\n\t };\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Notarization component types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const NotarizationComponentType = {
|
|
8
|
+
/**
|
|
9
|
+
* Service.
|
|
10
|
+
*/
|
|
11
|
+
Service: "service",
|
|
12
|
+
/**
|
|
13
|
+
* REST client.
|
|
14
|
+
*/
|
|
15
|
+
RestClient: "rest-client"
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=notarizationComponentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notarizationComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/notarizationComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,UAAU,EAAE,aAAa;CAChB,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Notarization component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const NotarizationComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\",\n\n\t/**\n\t * REST client.\n\t */\n\tRestClient: \"rest-client\"\n} as const;\n\n/**\n * Notarization component types.\n */\nexport type NotarizationComponentType =\n\t(typeof NotarizationComponentType)[keyof typeof NotarizationComponentType];\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Notarization connector types.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const NotarizationConnectorType = {
|
|
8
|
+
/**
|
|
9
|
+
* Entity storage.
|
|
10
|
+
*/
|
|
11
|
+
EntityStorage: "entity-storage",
|
|
12
|
+
/**
|
|
13
|
+
* IOTA.
|
|
14
|
+
*/
|
|
15
|
+
Iota: "iota"
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=notarizationConnectorType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notarizationConnectorType.js","sourceRoot":"","sources":["../../../../src/models/types/notarizationConnectorType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,IAAI,EAAE,MAAM;CACH,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Notarization connector types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const NotarizationConnectorType = {\n\t/**\n\t * Entity storage.\n\t */\n\tEntityStorage: \"entity-storage\",\n\n\t/**\n\t * IOTA.\n\t */\n\tIota: \"iota\"\n} as const;\n\n/**\n * Notarization connector types.\n */\nexport type NotarizationConnectorType =\n\t(typeof NotarizationConnectorType)[keyof typeof NotarizationConnectorType];\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentFactory } from "@twin.org/core";
|
|
2
|
+
import type { EngineTypeInitialiserReturn, IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
|
|
3
|
+
import { NotarizationConnectorFactory } from "@twin.org/notarization-models";
|
|
4
|
+
import type { NotarizationComponentConfig } from "../models/config/notarizationComponentConfig.js";
|
|
5
|
+
import type { NotarizationConnectorConfig } from "../models/config/notarizationConnectorConfig.js";
|
|
6
|
+
import type { IEngineConfig } from "../models/IEngineConfig.js";
|
|
7
|
+
/**
|
|
8
|
+
* Initialise the notarization connector.
|
|
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 declare function initialiseNotarizationConnector(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: NotarizationConnectorConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof NotarizationConnectorFactory>;
|
|
15
|
+
/**
|
|
16
|
+
* Initialise the notarization component.
|
|
17
|
+
* @param engineCore The engine core.
|
|
18
|
+
* @param context The context for the engine.
|
|
19
|
+
* @param instanceConfig The instance config.
|
|
20
|
+
* @returns The instance created and the factory for it.
|
|
21
|
+
*/
|
|
22
|
+
export declare function initialiseNotarizationComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: NotarizationComponentConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from "./components/immutableProof.js";
|
|
|
20
20
|
export * from "./components/logging.js";
|
|
21
21
|
export * from "./components/messaging.js";
|
|
22
22
|
export * from "./components/nft.js";
|
|
23
|
+
export * from "./components/notarization.js";
|
|
23
24
|
export * from "./components/rightsManagementPap.js";
|
|
24
25
|
export * from "./components/rightsManagementPdp.js";
|
|
25
26
|
export * from "./components/rightsManagementPep.js";
|
|
@@ -83,6 +84,8 @@ export * from "./models/config/messagingPushNotificationConnectorConfig.js";
|
|
|
83
84
|
export * from "./models/config/messagingSmsConnectorConfig.js";
|
|
84
85
|
export * from "./models/config/nftComponentConfig.js";
|
|
85
86
|
export * from "./models/config/nftConnectorConfig.js";
|
|
87
|
+
export * from "./models/config/notarizationComponentConfig.js";
|
|
88
|
+
export * from "./models/config/notarizationConnectorConfig.js";
|
|
86
89
|
export * from "./models/config/rightsManagementPapComponentConfig.js";
|
|
87
90
|
export * from "./models/config/rightsManagementPdpComponentConfig.js";
|
|
88
91
|
export * from "./models/config/rightsManagementPepComponentConfig.js";
|
|
@@ -149,6 +152,8 @@ export * from "./models/types/messagingPushNotificationConnectorType.js";
|
|
|
149
152
|
export * from "./models/types/messagingSmsConnectorType.js";
|
|
150
153
|
export * from "./models/types/nftComponentType.js";
|
|
151
154
|
export * from "./models/types/nftConnectorType.js";
|
|
155
|
+
export * from "./models/types/notarizationComponentType.js";
|
|
156
|
+
export * from "./models/types/notarizationConnectorType.js";
|
|
152
157
|
export * from "./models/types/rightsManagementPapComponentType.js";
|
|
153
158
|
export * from "./models/types/rightsManagementPdpComponentType.js";
|
|
154
159
|
export * from "./models/types/rightsManagementPepComponentType.js";
|
|
@@ -37,6 +37,8 @@ import type { MessagingPushNotificationConnectorConfig } from "./config/messagin
|
|
|
37
37
|
import type { MessagingSmsConnectorConfig } from "./config/messagingSmsConnectorConfig.js";
|
|
38
38
|
import type { NftComponentConfig } from "./config/nftComponentConfig.js";
|
|
39
39
|
import type { NftConnectorConfig } from "./config/nftConnectorConfig.js";
|
|
40
|
+
import type { NotarizationComponentConfig } from "./config/notarizationComponentConfig.js";
|
|
41
|
+
import type { NotarizationConnectorConfig } from "./config/notarizationConnectorConfig.js";
|
|
40
42
|
import type { RightsManagementPapComponentConfig } from "./config/rightsManagementPapComponentConfig.js";
|
|
41
43
|
import type { RightsManagementPdpComponentConfig } from "./config/rightsManagementPdpComponentConfig.js";
|
|
42
44
|
import type { RightsManagementPepComponentConfig } from "./config/rightsManagementPepComponentConfig.js";
|
|
@@ -201,6 +203,14 @@ export interface IEngineConfig extends IEngineCoreConfig {
|
|
|
201
203
|
* NFT component options which can be overridden by individual components by specifying types other than default.
|
|
202
204
|
*/
|
|
203
205
|
nftComponent?: IEngineCoreTypeConfig<NftComponentConfig>[];
|
|
206
|
+
/**
|
|
207
|
+
* Notarization connector options which can be overridden by individual components by specifying types other than default.
|
|
208
|
+
*/
|
|
209
|
+
notarizationConnector?: IEngineCoreTypeConfig<NotarizationConnectorConfig>[];
|
|
210
|
+
/**
|
|
211
|
+
* Notarization component options which can be overridden by individual components by specifying types other than default.
|
|
212
|
+
*/
|
|
213
|
+
notarizationComponent?: IEngineCoreTypeConfig<NotarizationComponentConfig>[];
|
|
204
214
|
/**
|
|
205
215
|
* Attestation connector options which can be overridden by individual components by specifying types other than default.
|
|
206
216
|
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IBaseRestClientConfig } from "@twin.org/api-models";
|
|
2
|
+
import type { INotarizationServiceConstructorOptions } from "@twin.org/notarization-service";
|
|
3
|
+
import type { NotarizationComponentType } from "../types/notarizationComponentType.js";
|
|
4
|
+
/**
|
|
5
|
+
* Notarization component configuration.
|
|
6
|
+
*/
|
|
7
|
+
export type NotarizationComponentConfig = {
|
|
8
|
+
type: typeof NotarizationComponentType.Service;
|
|
9
|
+
options?: INotarizationServiceConstructorOptions;
|
|
10
|
+
} | {
|
|
11
|
+
type: typeof NotarizationComponentType.RestClient;
|
|
12
|
+
options: IBaseRestClientConfig;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IEntityStorageNotarizationConnectorConstructorOptions } from "@twin.org/notarization-connector-entity-storage";
|
|
2
|
+
import type { IIotaNotarizationConnectorConstructorOptions } from "@twin.org/notarization-connector-iota";
|
|
3
|
+
import type { NotarizationConnectorType } from "../types/notarizationConnectorType.js";
|
|
4
|
+
/**
|
|
5
|
+
* Notarization connector configuration.
|
|
6
|
+
*/
|
|
7
|
+
export type NotarizationConnectorConfig = {
|
|
8
|
+
type: typeof NotarizationConnectorType.EntityStorage;
|
|
9
|
+
options?: IEntityStorageNotarizationConnectorConstructorOptions;
|
|
10
|
+
} | {
|
|
11
|
+
type: typeof NotarizationConnectorType.Iota;
|
|
12
|
+
options: IIotaNotarizationConnectorConstructorOptions;
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Notarization component types.
|
|
3
|
+
*/
|
|
4
|
+
export declare const NotarizationComponentType: {
|
|
5
|
+
/**
|
|
6
|
+
* Service.
|
|
7
|
+
*/
|
|
8
|
+
readonly Service: "service";
|
|
9
|
+
/**
|
|
10
|
+
* REST client.
|
|
11
|
+
*/
|
|
12
|
+
readonly RestClient: "rest-client";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Notarization component types.
|
|
16
|
+
*/
|
|
17
|
+
export type NotarizationComponentType = (typeof NotarizationComponentType)[keyof typeof NotarizationComponentType];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Notarization connector types.
|
|
3
|
+
*/
|
|
4
|
+
export declare const NotarizationConnectorType: {
|
|
5
|
+
/**
|
|
6
|
+
* Entity storage.
|
|
7
|
+
*/
|
|
8
|
+
readonly EntityStorage: "entity-storage";
|
|
9
|
+
/**
|
|
10
|
+
* IOTA.
|
|
11
|
+
*/
|
|
12
|
+
readonly Iota: "iota";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Notarization connector types.
|
|
16
|
+
*/
|
|
17
|
+
export type NotarizationConnectorType = (typeof NotarizationConnectorType)[keyof typeof NotarizationConnectorType];
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.30](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.3-next.29...engine-types-v0.0.3-next.30) (2026-04-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add notarization ([#98](https://github.com/twinfoundation/engine/issues/98)) ([f560e2a](https://github.com/twinfoundation/engine/commit/f560e2a12a5fba01c95e47518ebdc4220801f8b8))
|
|
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.29 to 0.0.3-next.30
|
|
16
|
+
* @twin.org/engine-models bumped from 0.0.3-next.29 to 0.0.3-next.30
|
|
17
|
+
|
|
3
18
|
## [0.0.3-next.29](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.3-next.28...engine-types-v0.0.3-next.29) (2026-04-14)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Function: initialiseNotarizationComponent()
|
|
2
|
+
|
|
3
|
+
> **initialiseNotarizationComponent**(`engineCore`, `context`, `instanceConfig`): `EngineTypeInitialiserReturn`\<[`NotarizationComponentConfig`](../type-aliases/NotarizationComponentConfig.md), `Factory`\<`IComponent`\>\>
|
|
4
|
+
|
|
5
|
+
Initialise the notarization 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
|
+
[`NotarizationComponentConfig`](../type-aliases/NotarizationComponentConfig.md)
|
|
24
|
+
|
|
25
|
+
The instance config.
|
|
26
|
+
|
|
27
|
+
## Returns
|
|
28
|
+
|
|
29
|
+
`EngineTypeInitialiserReturn`\<[`NotarizationComponentConfig`](../type-aliases/NotarizationComponentConfig.md), `Factory`\<`IComponent`\>\>
|
|
30
|
+
|
|
31
|
+
The instance created and the factory for it.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Function: initialiseNotarizationConnector()
|
|
2
|
+
|
|
3
|
+
> **initialiseNotarizationConnector**(`engineCore`, `context`, `instanceConfig`): `EngineTypeInitialiserReturn`\<[`NotarizationConnectorConfig`](../type-aliases/NotarizationConnectorConfig.md), `Factory`\<`INotarizationConnector`\>\>
|
|
4
|
+
|
|
5
|
+
Initialise the notarization connector.
|
|
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
|
+
[`NotarizationConnectorConfig`](../type-aliases/NotarizationConnectorConfig.md)
|
|
24
|
+
|
|
25
|
+
The instance config.
|
|
26
|
+
|
|
27
|
+
## Returns
|
|
28
|
+
|
|
29
|
+
`EngineTypeInitialiserReturn`\<[`NotarizationConnectorConfig`](../type-aliases/NotarizationConnectorConfig.md), `Factory`\<`INotarizationConnector`\>\>
|
|
30
|
+
|
|
31
|
+
The instance created and the factory for it.
|
package/docs/reference/index.md
CHANGED
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
- [MessagingSmsConnectorConfig](type-aliases/MessagingSmsConnectorConfig.md)
|
|
49
49
|
- [NftComponentConfig](type-aliases/NftComponentConfig.md)
|
|
50
50
|
- [NftConnectorConfig](type-aliases/NftConnectorConfig.md)
|
|
51
|
+
- [NotarizationComponentConfig](type-aliases/NotarizationComponentConfig.md)
|
|
52
|
+
- [NotarizationConnectorConfig](type-aliases/NotarizationConnectorConfig.md)
|
|
51
53
|
- [RightsManagementPapComponentConfig](type-aliases/RightsManagementPapComponentConfig.md)
|
|
52
54
|
- [RightsManagementPdpComponentConfig](type-aliases/RightsManagementPdpComponentConfig.md)
|
|
53
55
|
- [RightsManagementPepComponentConfig](type-aliases/RightsManagementPepComponentConfig.md)
|
|
@@ -113,6 +115,8 @@
|
|
|
113
115
|
- [MessagingSmsConnectorType](type-aliases/MessagingSmsConnectorType.md)
|
|
114
116
|
- [NftComponentType](type-aliases/NftComponentType.md)
|
|
115
117
|
- [NftConnectorType](type-aliases/NftConnectorType.md)
|
|
118
|
+
- [NotarizationComponentType](type-aliases/NotarizationComponentType.md)
|
|
119
|
+
- [NotarizationConnectorType](type-aliases/NotarizationConnectorType.md)
|
|
116
120
|
- [RightsManagementPapComponentType](type-aliases/RightsManagementPapComponentType.md)
|
|
117
121
|
- [RightsManagementPdpComponentType](type-aliases/RightsManagementPdpComponentType.md)
|
|
118
122
|
- [RightsManagementPepComponentType](type-aliases/RightsManagementPepComponentType.md)
|
|
@@ -181,6 +185,8 @@
|
|
|
181
185
|
- [MessagingSmsConnectorType](variables/MessagingSmsConnectorType.md)
|
|
182
186
|
- [NftComponentType](variables/NftComponentType.md)
|
|
183
187
|
- [NftConnectorType](variables/NftConnectorType.md)
|
|
188
|
+
- [NotarizationComponentType](variables/NotarizationComponentType.md)
|
|
189
|
+
- [NotarizationConnectorType](variables/NotarizationConnectorType.md)
|
|
184
190
|
- [RightsManagementPapComponentType](variables/RightsManagementPapComponentType.md)
|
|
185
191
|
- [RightsManagementPdpComponentType](variables/RightsManagementPdpComponentType.md)
|
|
186
192
|
- [RightsManagementPepComponentType](variables/RightsManagementPepComponentType.md)
|
|
@@ -248,6 +254,8 @@
|
|
|
248
254
|
- [initialiseMessagingAdminComponent](functions/initialiseMessagingAdminComponent.md)
|
|
249
255
|
- [initialiseNftConnector](functions/initialiseNftConnector.md)
|
|
250
256
|
- [initialiseNftComponent](functions/initialiseNftComponent.md)
|
|
257
|
+
- [initialiseNotarizationConnector](functions/initialiseNotarizationConnector.md)
|
|
258
|
+
- [initialiseNotarizationComponent](functions/initialiseNotarizationComponent.md)
|
|
251
259
|
- [initialiseRightsManagementPapComponent](functions/initialiseRightsManagementPapComponent.md)
|
|
252
260
|
- [initialiseRightsManagementPdpComponent](functions/initialiseRightsManagementPdpComponent.md)
|
|
253
261
|
- [initialiseRightsManagementPepComponent](functions/initialiseRightsManagementPepComponent.md)
|
|
@@ -246,6 +246,18 @@ NFT connector options which can be overridden by individual components by specif
|
|
|
246
246
|
|
|
247
247
|
NFT component options which can be overridden by individual components by specifying types other than default.
|
|
248
248
|
|
|
249
|
+
#### notarizationConnector?
|
|
250
|
+
|
|
251
|
+
> `optional` **notarizationConnector?**: `IEngineCoreTypeConfig`\<[`NotarizationConnectorConfig`](../type-aliases/NotarizationConnectorConfig.md)\>[]
|
|
252
|
+
|
|
253
|
+
Notarization connector options which can be overridden by individual components by specifying types other than default.
|
|
254
|
+
|
|
255
|
+
#### notarizationComponent?
|
|
256
|
+
|
|
257
|
+
> `optional` **notarizationComponent?**: `IEngineCoreTypeConfig`\<[`NotarizationComponentConfig`](../type-aliases/NotarizationComponentConfig.md)\>[]
|
|
258
|
+
|
|
259
|
+
Notarization component options which can be overridden by individual components by specifying types other than default.
|
|
260
|
+
|
|
249
261
|
#### attestationConnector?
|
|
250
262
|
|
|
251
263
|
> `optional` **attestationConnector?**: `IEngineCoreTypeConfig`\<[`AttestationConnectorConfig`](../type-aliases/AttestationConnectorConfig.md)\>[]
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: NotarizationComponentConfig
|
|
2
|
+
|
|
3
|
+
> **NotarizationComponentConfig** = \{ `type`: *typeof* [`Service`](../variables/NotarizationComponentType.md#service); `options?`: `INotarizationServiceConstructorOptions`; \} \| \{ `type`: *typeof* [`RestClient`](../variables/NotarizationComponentType.md#restclient); `options`: `IBaseRestClientConfig`; \}
|
|
4
|
+
|
|
5
|
+
Notarization component configuration.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: NotarizationComponentType
|
|
2
|
+
|
|
3
|
+
> **NotarizationComponentType** = *typeof* [`NotarizationComponentType`](../variables/NotarizationComponentType.md)\[keyof *typeof* [`NotarizationComponentType`](../variables/NotarizationComponentType.md)\]
|
|
4
|
+
|
|
5
|
+
Notarization component types.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: NotarizationConnectorConfig
|
|
2
|
+
|
|
3
|
+
> **NotarizationConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/NotarizationConnectorType.md#entitystorage); `options?`: `IEntityStorageNotarizationConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/NotarizationConnectorType.md#iota); `options`: `IIotaNotarizationConnectorConstructorOptions`; \}
|
|
4
|
+
|
|
5
|
+
Notarization connector configuration.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: NotarizationConnectorType
|
|
2
|
+
|
|
3
|
+
> **NotarizationConnectorType** = *typeof* [`NotarizationConnectorType`](../variables/NotarizationConnectorType.md)\[keyof *typeof* [`NotarizationConnectorType`](../variables/NotarizationConnectorType.md)\]
|
|
4
|
+
|
|
5
|
+
Notarization connector types.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Variable: NotarizationComponentType
|
|
2
|
+
|
|
3
|
+
> `const` **NotarizationComponentType**: `object`
|
|
4
|
+
|
|
5
|
+
Notarization component types.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### Service {#service}
|
|
10
|
+
|
|
11
|
+
> `readonly` **Service**: `"service"` = `"service"`
|
|
12
|
+
|
|
13
|
+
Service.
|
|
14
|
+
|
|
15
|
+
### RestClient {#restclient}
|
|
16
|
+
|
|
17
|
+
> `readonly` **RestClient**: `"rest-client"` = `"rest-client"`
|
|
18
|
+
|
|
19
|
+
REST client.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Variable: NotarizationConnectorType
|
|
2
|
+
|
|
3
|
+
> `const` **NotarizationConnectorType**: `object`
|
|
4
|
+
|
|
5
|
+
Notarization connector types.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### EntityStorage {#entitystorage}
|
|
10
|
+
|
|
11
|
+
> `readonly` **EntityStorage**: `"entity-storage"` = `"entity-storage"`
|
|
12
|
+
|
|
13
|
+
Entity storage.
|
|
14
|
+
|
|
15
|
+
### Iota {#iota}
|
|
16
|
+
|
|
17
|
+
> `readonly` **Iota**: `"iota"` = `"iota"`
|
|
18
|
+
|
|
19
|
+
IOTA.
|
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.30",
|
|
4
4
|
"description": "Component and connector type definitions with configuration helpers for engine composition.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@twin.org/document-management-models": "next",
|
|
57
57
|
"@twin.org/document-management-rest-client": "next",
|
|
58
58
|
"@twin.org/document-management-service": "next",
|
|
59
|
-
"@twin.org/engine-core": "0.0.3-next.
|
|
60
|
-
"@twin.org/engine-models": "0.0.3-next.
|
|
59
|
+
"@twin.org/engine-core": "0.0.3-next.30",
|
|
60
|
+
"@twin.org/engine-models": "0.0.3-next.30",
|
|
61
61
|
"@twin.org/entity": "next",
|
|
62
62
|
"@twin.org/entity-storage-connector-cosmosdb": "next",
|
|
63
63
|
"@twin.org/entity-storage-connector-dynamodb": "next",
|
|
@@ -105,6 +105,11 @@
|
|
|
105
105
|
"@twin.org/nft-models": "next",
|
|
106
106
|
"@twin.org/nft-rest-client": "next",
|
|
107
107
|
"@twin.org/nft-service": "next",
|
|
108
|
+
"@twin.org/notarization-connector-entity-storage": "next",
|
|
109
|
+
"@twin.org/notarization-connector-iota": "next",
|
|
110
|
+
"@twin.org/notarization-models": "next",
|
|
111
|
+
"@twin.org/notarization-rest-client": "next",
|
|
112
|
+
"@twin.org/notarization-service": "next",
|
|
108
113
|
"@twin.org/rights-management-dap-service": "next",
|
|
109
114
|
"@twin.org/rights-management-models": "next",
|
|
110
115
|
"@twin.org/rights-management-pap-service": "next",
|