@twin.org/engine-types 0.0.3-next.5 → 0.0.3-next.7

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.
Files changed (214) hide show
  1. package/dist/es/components/backgroundTask.js +9 -11
  2. package/dist/es/components/backgroundTask.js.map +1 -1
  3. package/dist/es/components/dataSpaceConnector.js +1 -1
  4. package/dist/es/components/dataSpaceConnector.js.map +1 -1
  5. package/dist/es/components/federatedCatalogue.js +1 -5
  6. package/dist/es/components/federatedCatalogue.js.map +1 -1
  7. package/dist/es/components/federatedCatalogueFilter.js +31 -0
  8. package/dist/es/components/federatedCatalogueFilter.js.map +1 -0
  9. package/dist/es/components/immutableProof.js +1 -1
  10. package/dist/es/components/immutableProof.js.map +1 -1
  11. package/dist/es/components/rightsManagementDap.js +2 -4
  12. package/dist/es/components/rightsManagementDap.js.map +1 -1
  13. package/dist/es/components/rightsManagementDarp.js +1 -0
  14. package/dist/es/components/rightsManagementDarp.js.map +1 -1
  15. package/dist/es/components/rightsManagementDataAccessHandler.js +27 -0
  16. package/dist/es/components/rightsManagementDataAccessHandler.js.map +1 -0
  17. package/dist/es/components/rightsManagementPdp.js +2 -16
  18. package/dist/es/components/rightsManagementPdp.js.map +1 -1
  19. package/dist/es/components/rightsManagementPep.js +2 -16
  20. package/dist/es/components/rightsManagementPep.js.map +1 -1
  21. package/dist/es/components/rightsManagementPip.js +2 -16
  22. package/dist/es/components/rightsManagementPip.js.map +1 -1
  23. package/dist/es/components/rightsManagementPnp.js +3 -23
  24. package/dist/es/components/rightsManagementPnp.js.map +1 -1
  25. package/dist/es/components/rightsManagementPolicyArbiter.js +27 -0
  26. package/dist/es/components/rightsManagementPolicyArbiter.js.map +1 -0
  27. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js +27 -0
  28. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js.map +1 -0
  29. package/dist/es/components/rightsManagementPolicyExecutionAction.js +27 -0
  30. package/dist/es/components/rightsManagementPolicyExecutionAction.js.map +1 -0
  31. package/dist/es/components/rightsManagementPolicyInformationSource.js +35 -0
  32. package/dist/es/components/rightsManagementPolicyInformationSource.js.map +1 -0
  33. package/dist/es/components/rightsManagementPolicyNegotiator.js +27 -0
  34. package/dist/es/components/rightsManagementPolicyNegotiator.js.map +1 -0
  35. package/dist/es/components/rightsManagementPolicyRequester.js +27 -0
  36. package/dist/es/components/rightsManagementPolicyRequester.js.map +1 -0
  37. package/dist/es/components/rightsManagementPxp.js +2 -16
  38. package/dist/es/components/rightsManagementPxp.js.map +1 -1
  39. package/dist/es/components/synchronisedStorage.js +1 -1
  40. package/dist/es/components/synchronisedStorage.js.map +1 -1
  41. package/dist/es/components/trust.js +29 -0
  42. package/dist/es/components/trust.js.map +1 -0
  43. package/dist/es/components/trustGenerator.js +28 -0
  44. package/dist/es/components/trustGenerator.js.map +1 -0
  45. package/dist/es/components/trustVerifier.js +28 -0
  46. package/dist/es/components/trustVerifier.js.map +1 -0
  47. package/dist/es/index.js +35 -2
  48. package/dist/es/index.js.map +1 -1
  49. package/dist/es/models/IEngineConfig.js.map +1 -1
  50. package/dist/es/models/config/backgroundTaskComponentConfig.js +2 -0
  51. package/dist/es/models/config/backgroundTaskComponentConfig.js.map +1 -0
  52. package/dist/es/models/config/federatedCatalogueFilterComponentConfig.js +2 -0
  53. package/dist/es/models/config/federatedCatalogueFilterComponentConfig.js.map +1 -0
  54. package/dist/es/models/config/rightsManagementDarpComponentConfig.js.map +1 -1
  55. package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js +2 -0
  56. package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js.map +1 -0
  57. package/dist/es/models/config/rightsManagementPdpComponentConfig.js.map +1 -1
  58. package/dist/es/models/config/rightsManagementPepComponentConfig.js.map +1 -1
  59. package/dist/es/models/config/rightsManagementPipComponentConfig.js.map +1 -1
  60. package/dist/es/models/config/rightsManagementPnpComponentConfig.js.map +1 -1
  61. package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js +2 -0
  62. package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js.map +1 -0
  63. package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js +2 -0
  64. package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js.map +1 -0
  65. package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js +2 -0
  66. package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js.map +1 -0
  67. package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js +2 -0
  68. package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js.map +1 -0
  69. package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js +2 -0
  70. package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js.map +1 -0
  71. package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js +2 -0
  72. package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js.map +1 -0
  73. package/dist/es/models/config/rightsManagementPxpComponentConfig.js.map +1 -1
  74. package/dist/es/models/config/trustComponentConfig.js +2 -0
  75. package/dist/es/models/config/trustComponentConfig.js.map +1 -0
  76. package/dist/es/models/config/trustGeneratorComponentConfig.js +2 -0
  77. package/dist/es/models/config/trustGeneratorComponentConfig.js.map +1 -0
  78. package/dist/es/models/config/trustVerifierComponentConfig.js +2 -0
  79. package/dist/es/models/config/trustVerifierComponentConfig.js.map +1 -0
  80. package/dist/es/models/types/backgroundTaskComponentType.js +13 -0
  81. package/dist/es/models/types/backgroundTaskComponentType.js.map +1 -0
  82. package/dist/es/models/types/federatedCatalogueFilterComponentType.js +13 -0
  83. package/dist/es/models/types/federatedCatalogueFilterComponentType.js.map +1 -0
  84. package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js +13 -0
  85. package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js.map +1 -0
  86. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js +13 -0
  87. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js.map +1 -0
  88. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js +13 -0
  89. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js.map +1 -0
  90. package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js +13 -0
  91. package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js.map +1 -0
  92. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js +17 -0
  93. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js.map +1 -0
  94. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js +13 -0
  95. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js.map +1 -0
  96. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js +13 -0
  97. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js.map +1 -0
  98. package/dist/es/models/types/trustComponentType.js +13 -0
  99. package/dist/es/models/types/trustComponentType.js.map +1 -0
  100. package/dist/es/models/types/trustGeneratorComponentType.js +13 -0
  101. package/dist/es/models/types/trustGeneratorComponentType.js.map +1 -0
  102. package/dist/es/models/types/trustVerifierComponentType.js +13 -0
  103. package/dist/es/models/types/trustVerifierComponentType.js.map +1 -0
  104. package/dist/types/components/backgroundTask.d.ts +5 -6
  105. package/dist/types/components/federatedCatalogueFilter.d.ts +17 -0
  106. package/dist/types/components/rightsManagementDataAccessHandler.d.ts +17 -0
  107. package/dist/types/components/rightsManagementPolicyArbiter.d.ts +17 -0
  108. package/dist/types/components/rightsManagementPolicyEnforcementProcessor.d.ts +17 -0
  109. package/dist/types/components/rightsManagementPolicyExecutionAction.d.ts +17 -0
  110. package/dist/types/components/rightsManagementPolicyInformationSource.d.ts +17 -0
  111. package/dist/types/components/rightsManagementPolicyNegotiator.d.ts +17 -0
  112. package/dist/types/components/rightsManagementPolicyRequester.d.ts +17 -0
  113. package/dist/types/components/trust.d.ts +16 -0
  114. package/dist/types/components/trustGenerator.d.ts +17 -0
  115. package/dist/types/components/trustVerifier.d.ts +17 -0
  116. package/dist/types/index.d.ts +35 -2
  117. package/dist/types/models/IEngineConfig.d.ts +58 -3
  118. package/dist/types/models/config/backgroundTaskComponentConfig.d.ts +9 -0
  119. package/dist/types/models/config/federatedCatalogueFilterComponentConfig.d.ts +9 -0
  120. package/dist/types/models/config/rightsManagementDarpComponentConfig.d.ts +1 -4
  121. package/dist/types/models/config/rightsManagementDataAccessHandlerComponentConfig.d.ts +9 -0
  122. package/dist/types/models/config/rightsManagementPdpComponentConfig.d.ts +1 -4
  123. package/dist/types/models/config/rightsManagementPepComponentConfig.d.ts +1 -4
  124. package/dist/types/models/config/rightsManagementPipComponentConfig.d.ts +1 -4
  125. package/dist/types/models/config/rightsManagementPnpComponentConfig.d.ts +1 -5
  126. package/dist/types/models/config/rightsManagementPolicyArbiterComponentConfig.d.ts +9 -0
  127. package/dist/types/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.d.ts +9 -0
  128. package/dist/types/models/config/rightsManagementPolicyExecutionActionComponentConfig.d.ts +9 -0
  129. package/dist/types/models/config/rightsManagementPolicyInformationSourceComponentConfig.d.ts +12 -0
  130. package/dist/types/models/config/rightsManagementPolicyNegotiatorComponentConfig.d.ts +9 -0
  131. package/dist/types/models/config/rightsManagementPolicyRequesterComponentConfig.d.ts +9 -0
  132. package/dist/types/models/config/rightsManagementPxpComponentConfig.d.ts +1 -4
  133. package/dist/types/models/config/trustComponentConfig.d.ts +9 -0
  134. package/dist/types/models/config/trustGeneratorComponentConfig.d.ts +9 -0
  135. package/dist/types/models/config/trustVerifierComponentConfig.d.ts +9 -0
  136. package/dist/types/models/types/backgroundTaskComponentType.d.ts +13 -0
  137. package/dist/types/models/types/federatedCatalogueFilterComponentType.d.ts +13 -0
  138. package/dist/types/models/types/rightsManagementDataAccessHandlerComponentType.d.ts +13 -0
  139. package/dist/types/models/types/rightsManagementPolicyArbiterComponentType.d.ts +13 -0
  140. package/dist/types/models/types/rightsManagementPolicyEnforcementProcessorComponentType.d.ts +13 -0
  141. package/dist/types/models/types/rightsManagementPolicyExecutionActionComponentType.d.ts +13 -0
  142. package/dist/types/models/types/rightsManagementPolicyInformationSourceComponentType.d.ts +17 -0
  143. package/dist/types/models/types/rightsManagementPolicyNegotiatorComponentType.d.ts +13 -0
  144. package/dist/types/models/types/rightsManagementPolicyRequesterComponentType.d.ts +13 -0
  145. package/dist/types/models/types/trustComponentType.d.ts +13 -0
  146. package/dist/types/models/types/trustGeneratorComponentType.d.ts +13 -0
  147. package/dist/types/models/types/trustVerifierComponentType.d.ts +13 -0
  148. package/docs/changelog.md +30 -0
  149. package/docs/reference/functions/{initialiseBackgroundTaskConnector.md → initialiseBackgroundTaskComponent.md} +5 -5
  150. package/docs/reference/functions/initialiseFederatedCatalogueFilterComponent.md +31 -0
  151. package/docs/reference/functions/initialiseRightsManagementDataAccessHandlerComponent.md +31 -0
  152. package/docs/reference/functions/initialiseRightsManagementPolicyArbiterComponent.md +31 -0
  153. package/docs/reference/functions/initialiseRightsManagementPolicyEnforcementProcessorComponent.md +31 -0
  154. package/docs/reference/functions/initialiseRightsManagementPolicyExecutionActionComponent.md +31 -0
  155. package/docs/reference/functions/initialiseRightsManagementPolicyInformationSourceComponent.md +31 -0
  156. package/docs/reference/functions/initialiseRightsManagementPolicyNegotiatorComponent.md +31 -0
  157. package/docs/reference/functions/initialiseRightsManagementPolicyRequesterComponent.md +31 -0
  158. package/docs/reference/functions/initialiseTrustComponent.md +31 -0
  159. package/docs/reference/functions/initialiseTrustGeneratorComponent.md +31 -0
  160. package/docs/reference/functions/initialiseTrustVerifierComponent.md +31 -0
  161. package/docs/reference/index.md +48 -4
  162. package/docs/reference/interfaces/IEngineConfig.md +69 -3
  163. package/docs/reference/type-aliases/BackgroundTaskComponentConfig.md +17 -0
  164. package/docs/reference/type-aliases/BackgroundTaskComponentType.md +5 -0
  165. package/docs/reference/type-aliases/FederatedCatalogueFilterComponentConfig.md +17 -0
  166. package/docs/reference/type-aliases/FederatedCatalogueFilterComponentType.md +5 -0
  167. package/docs/reference/type-aliases/RightsManagementDarpComponentConfig.md +1 -7
  168. package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentConfig.md +17 -0
  169. package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentType.md +5 -0
  170. package/docs/reference/type-aliases/RightsManagementPdpComponentConfig.md +1 -7
  171. package/docs/reference/type-aliases/RightsManagementPepComponentConfig.md +1 -7
  172. package/docs/reference/type-aliases/RightsManagementPipComponentConfig.md +1 -7
  173. package/docs/reference/type-aliases/RightsManagementPnpComponentConfig.md +1 -1
  174. package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentConfig.md +17 -0
  175. package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentType.md +5 -0
  176. package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentConfig.md +17 -0
  177. package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentType.md +5 -0
  178. package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentConfig.md +17 -0
  179. package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentType.md +5 -0
  180. package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentConfig.md +5 -0
  181. package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentType.md +5 -0
  182. package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentConfig.md +17 -0
  183. package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentType.md +5 -0
  184. package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentConfig.md +17 -0
  185. package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentType.md +5 -0
  186. package/docs/reference/type-aliases/RightsManagementPxpComponentConfig.md +1 -7
  187. package/docs/reference/type-aliases/TrustComponentConfig.md +17 -0
  188. package/docs/reference/type-aliases/TrustComponentType.md +5 -0
  189. package/docs/reference/type-aliases/TrustGeneratorComponentConfig.md +17 -0
  190. package/docs/reference/type-aliases/TrustGeneratorComponentType.md +5 -0
  191. package/docs/reference/type-aliases/TrustVerifierComponentConfig.md +17 -0
  192. package/docs/reference/type-aliases/TrustVerifierComponentType.md +5 -0
  193. package/docs/reference/variables/BackgroundTaskComponentType.md +13 -0
  194. package/docs/reference/variables/FederatedCatalogueFilterComponentType.md +13 -0
  195. package/docs/reference/variables/RightsManagementDataAccessHandlerComponentType.md +13 -0
  196. package/docs/reference/variables/RightsManagementPolicyArbiterComponentType.md +13 -0
  197. package/docs/reference/variables/RightsManagementPolicyEnforcementProcessorComponentType.md +13 -0
  198. package/docs/reference/variables/RightsManagementPolicyExecutionActionComponentType.md +13 -0
  199. package/docs/reference/variables/RightsManagementPolicyInformationSourceComponentType.md +19 -0
  200. package/docs/reference/variables/RightsManagementPolicyNegotiatorComponentType.md +13 -0
  201. package/docs/reference/variables/RightsManagementPolicyRequesterComponentType.md +13 -0
  202. package/docs/reference/variables/TrustComponentType.md +13 -0
  203. package/docs/reference/variables/TrustGeneratorComponentType.md +13 -0
  204. package/docs/reference/variables/TrustVerifierComponentType.md +13 -0
  205. package/package.json +10 -4
  206. package/dist/es/models/config/backgroundTaskConnectorConfig.js +0 -2
  207. package/dist/es/models/config/backgroundTaskConnectorConfig.js.map +0 -1
  208. package/dist/es/models/types/backgroundTaskConnectorType.js +0 -13
  209. package/dist/es/models/types/backgroundTaskConnectorType.js.map +0 -1
  210. package/dist/types/models/config/backgroundTaskConnectorConfig.d.ts +0 -9
  211. package/dist/types/models/types/backgroundTaskConnectorType.d.ts +0 -13
  212. package/docs/reference/type-aliases/BackgroundTaskConnectorConfig.md +0 -17
  213. package/docs/reference/type-aliases/BackgroundTaskConnectorType.md +0 -5
  214. package/docs/reference/variables/BackgroundTaskConnectorType.md +0 -13
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Trust generator component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const TrustGeneratorComponentType = {
8
+ /**
9
+ * JWT Verifiable Credential.
10
+ */
11
+ JwtVerifiableCredential: "jwt-verifiable-credential"
12
+ };
13
+ //# sourceMappingURL=trustGeneratorComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustGeneratorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustGeneratorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;CAC3C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust generator component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustGeneratorComponentType = {\n\t/**\n\t * JWT Verifiable Credential.\n\t */\n\tJwtVerifiableCredential: \"jwt-verifiable-credential\"\n} as const;\n\n/**\n * Trust generator component types.\n */\nexport type TrustGeneratorComponentType =\n\t(typeof TrustGeneratorComponentType)[keyof typeof TrustGeneratorComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Trust verifier component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const TrustVerifierComponentType = {
8
+ /**
9
+ * JWT Verifiable Credential.
10
+ */
11
+ JwtVerifiableCredential: "jwt-verifiable-credential"
12
+ };
13
+ //# sourceMappingURL=trustVerifierComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustVerifierComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustVerifierComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;CAC3C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust verifier component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustVerifierComponentType = {\n\t/**\n\t * JWT Verifiable Credential.\n\t */\n\tJwtVerifiableCredential: \"jwt-verifiable-credential\"\n} as const;\n\n/**\n * Trust verifier component types.\n */\nexport type TrustVerifierComponentType =\n\t(typeof TrustVerifierComponentType)[keyof typeof TrustVerifierComponentType];\n"]}
@@ -1,17 +1,16 @@
1
- import { BackgroundTaskConnectorFactory } from "@twin.org/background-task-models";
2
- import type { IComponent } from "@twin.org/core";
1
+ import { ComponentFactory, type IComponent } from "@twin.org/core";
3
2
  import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
4
- import type { BackgroundTaskConnectorConfig } from "../models/config/backgroundTaskConnectorConfig.js";
3
+ import type { BackgroundTaskComponentConfig } from "../models/config/backgroundTaskComponentConfig.js";
5
4
  import type { IEngineConfig } from "../models/IEngineConfig.js";
6
5
  /**
7
- * Initialise a background task connector.
6
+ * Initialise a background task component.
8
7
  * @param engineCore The engine core.
9
8
  * @param context The context for the engine.
10
9
  * @param instanceConfig The instance config.
11
10
  * @returns The instance created and the factory for it.
12
11
  */
13
- export declare function initialiseBackgroundTaskConnector(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: BackgroundTaskConnectorConfig): Promise<{
12
+ export declare function initialiseBackgroundTaskComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: BackgroundTaskComponentConfig): Promise<{
14
13
  instanceType?: string;
15
- factory?: typeof BackgroundTaskConnectorFactory;
14
+ factory?: typeof ComponentFactory;
16
15
  component?: IComponent;
17
16
  }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { FederatedCatalogueFilterFactory } from "@twin.org/federated-catalogue-models";
4
+ import type { FederatedCatalogueFilterComponentConfig } from "../models/config/federatedCatalogueFilterComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the federated catalogue filter component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseFederatedCatalogueFilterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: FederatedCatalogueFilterComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof FederatedCatalogueFilterFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { DataAccessHandlerFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementDataAccessHandlerComponentConfig } from "../models/config/rightsManagementDataAccessHandlerComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management data access handler component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementDataAccessHandlerComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementDataAccessHandlerComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof DataAccessHandlerFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyArbiterFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyArbiterComponentConfig } from "../models/config/rightsManagementPolicyArbiterComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy arbiter component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyArbiterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyArbiterComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyArbiterFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyEnforcementProcessorFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyEnforcementProcessorComponentConfig } from "../models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy enforcement processor component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyEnforcementProcessorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyEnforcementProcessorComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyEnforcementProcessorFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyExecutionActionFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyExecutionActionComponentConfig } from "../models/config/rightsManagementPolicyExecutionActionComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy execution action component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyExecutionActionComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyExecutionActionComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyExecutionActionFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyInformationSourceFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyInformationSourceComponentConfig } from "../models/config/rightsManagementPolicyInformationSourceComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy information source component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyInformationSourceComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyInformationSourceComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyInformationSourceFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyNegotiatorFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyNegotiatorComponentConfig } from "../models/config/rightsManagementPolicyNegotiatorComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy negotiator component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyNegotiatorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyNegotiatorComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyNegotiatorFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyRequesterFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyRequesterComponentConfig } from "../models/config/rightsManagementPolicyRequesterComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy requester component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyRequesterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyRequesterComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyRequesterFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,16 @@
1
+ import { ComponentFactory, type IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import type { TrustComponentConfig } from "../models/config/trustComponentConfig.js";
4
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
5
+ /**
6
+ * Initialise the trust component.
7
+ * @param engineCore The engine core.
8
+ * @param context The context for the engine.
9
+ * @param instanceConfig The instance config.
10
+ * @returns The instance created and the factory for it.
11
+ */
12
+ export declare function initialiseTrustComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustComponentConfig): Promise<{
13
+ instanceType?: string;
14
+ factory?: typeof ComponentFactory;
15
+ component?: IComponent;
16
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { TrustGeneratorFactory } from "@twin.org/trust-models";
4
+ import type { TrustGeneratorComponentConfig } from "../models/config/trustGeneratorComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the trust generator component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseTrustGeneratorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustGeneratorComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof TrustGeneratorFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { TrustVerifierFactory } from "@twin.org/trust-models";
4
+ import type { TrustVerifierComponentConfig } from "../models/config/trustVerifierComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the trust verifier component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseTrustVerifierComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustVerifierComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof TrustVerifierFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -12,6 +12,7 @@ export * from "./components/entityStorage.js";
12
12
  export * from "./components/eventBus.js";
13
13
  export * from "./components/faucet.js";
14
14
  export * from "./components/federatedCatalogue.js";
15
+ export * from "./components/federatedCatalogueFilter.js";
15
16
  export * from "./components/identity.js";
16
17
  export * from "./components/identityProfile.js";
17
18
  export * from "./components/identityResolver.js";
@@ -21,6 +22,7 @@ export * from "./components/messaging.js";
21
22
  export * from "./components/nft.js";
22
23
  export * from "./components/rightsManagementDap.js";
23
24
  export * from "./components/rightsManagementDarp.js";
25
+ export * from "./components/rightsManagementDataAccessHandler.js";
24
26
  export * from "./components/rightsManagementPap.js";
25
27
  export * from "./components/rightsManagementPdp.js";
26
28
  export * from "./components/rightsManagementPep.js";
@@ -28,11 +30,20 @@ export * from "./components/rightsManagementPip.js";
28
30
  export * from "./components/rightsManagementPmp.js";
29
31
  export * from "./components/rightsManagementPnap.js";
30
32
  export * from "./components/rightsManagementPnp.js";
33
+ export * from "./components/rightsManagementPolicyArbiter.js";
34
+ export * from "./components/rightsManagementPolicyEnforcementProcessor.js";
35
+ export * from "./components/rightsManagementPolicyExecutionAction.js";
36
+ export * from "./components/rightsManagementPolicyInformationSource.js";
37
+ export * from "./components/rightsManagementPolicyNegotiator.js";
38
+ export * from "./components/rightsManagementPolicyRequester.js";
31
39
  export * from "./components/rightsManagementPxp.js";
32
40
  export * from "./components/synchronisedStorage.js";
33
41
  export * from "./components/taskScheduler.js";
34
42
  export * from "./components/telemetry.js";
35
43
  export * from "./components/tenant.js";
44
+ export * from "./components/trust.js";
45
+ export * from "./components/trustGenerator.js";
46
+ export * from "./components/trustVerifier.js";
36
47
  export * from "./components/vault.js";
37
48
  export * from "./components/verifiableStorage.js";
38
49
  export * from "./components/wallet.js";
@@ -41,7 +52,7 @@ export * from "./models/config/attestationConnectorConfig.js";
41
52
  export * from "./models/config/auditableItemGraphComponentConfig.js";
42
53
  export * from "./models/config/auditableItemStreamComponentConfig.js";
43
54
  export * from "./models/config/authenticationGeneratorComponentConfig.js";
44
- export * from "./models/config/backgroundTaskConnectorConfig.js";
55
+ export * from "./models/config/backgroundTaskComponentConfig.js";
45
56
  export * from "./models/config/blobStorageComponentConfig.js";
46
57
  export * from "./models/config/blobStorageConnectorConfig.js";
47
58
  export * from "./models/config/contextIdHandlerComponentConfig.js";
@@ -57,6 +68,7 @@ export * from "./models/config/eventBusComponentConfig.js";
57
68
  export * from "./models/config/eventBusConnectorConfig.js";
58
69
  export * from "./models/config/faucetConnectorConfig.js";
59
70
  export * from "./models/config/federatedCatalogueComponentConfig.js";
71
+ export * from "./models/config/federatedCatalogueFilterComponentConfig.js";
60
72
  export * from "./models/config/identityComponentConfig.js";
61
73
  export * from "./models/config/identityConnectorConfig.js";
62
74
  export * from "./models/config/identityProfileComponentConfig.js";
@@ -75,6 +87,7 @@ export * from "./models/config/nftComponentConfig.js";
75
87
  export * from "./models/config/nftConnectorConfig.js";
76
88
  export * from "./models/config/rightsManagementDapComponentConfig.js";
77
89
  export * from "./models/config/rightsManagementDarpComponentConfig.js";
90
+ export * from "./models/config/rightsManagementDataAccessHandlerComponentConfig.js";
78
91
  export * from "./models/config/rightsManagementPapComponentConfig.js";
79
92
  export * from "./models/config/rightsManagementPdpComponentConfig.js";
80
93
  export * from "./models/config/rightsManagementPepComponentConfig.js";
@@ -82,12 +95,21 @@ export * from "./models/config/rightsManagementPipComponentConfig.js";
82
95
  export * from "./models/config/rightsManagementPmpComponentConfig.js";
83
96
  export * from "./models/config/rightsManagementPnapComponentConfig.js";
84
97
  export * from "./models/config/rightsManagementPnpComponentConfig.js";
98
+ export * from "./models/config/rightsManagementPolicyArbiterComponentConfig.js";
99
+ export * from "./models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
100
+ export * from "./models/config/rightsManagementPolicyExecutionActionComponentConfig.js";
101
+ export * from "./models/config/rightsManagementPolicyInformationSourceComponentConfig.js";
102
+ export * from "./models/config/rightsManagementPolicyNegotiatorComponentConfig.js";
103
+ export * from "./models/config/rightsManagementPolicyRequesterComponentConfig.js";
85
104
  export * from "./models/config/rightsManagementPxpComponentConfig.js";
86
105
  export * from "./models/config/synchronisedStorageComponentConfig.js";
87
106
  export * from "./models/config/taskSchedulerComponentConfig.js";
88
107
  export * from "./models/config/telemetryComponentConfig.js";
89
108
  export * from "./models/config/telemetryConnectorConfig.js";
90
109
  export * from "./models/config/tenantAdminComponentConfig.js";
110
+ export * from "./models/config/trustComponentConfig.js";
111
+ export * from "./models/config/trustGeneratorComponentConfig.js";
112
+ export * from "./models/config/trustVerifierComponentConfig.js";
91
113
  export * from "./models/config/vaultConnectorConfig.js";
92
114
  export * from "./models/config/verifiableStorageComponentConfig.js";
93
115
  export * from "./models/config/verifiableStorageConnectorConfig.js";
@@ -98,7 +120,7 @@ export * from "./models/types/attestationConnectorType.js";
98
120
  export * from "./models/types/auditableItemGraphComponentType.js";
99
121
  export * from "./models/types/auditableItemStreamComponentType.js";
100
122
  export * from "./models/types/authenticationGeneratorComponentType.js";
101
- export * from "./models/types/backgroundTaskConnectorType.js";
123
+ export * from "./models/types/backgroundTaskComponentType.js";
102
124
  export * from "./models/types/blobStorageComponentType.js";
103
125
  export * from "./models/types/blobStorageConnectorType.js";
104
126
  export * from "./models/types/contextIdHandlerComponentType.js";
@@ -114,6 +136,7 @@ export * from "./models/types/eventBusComponentType.js";
114
136
  export * from "./models/types/eventBusConnectorType.js";
115
137
  export * from "./models/types/faucetConnectorType.js";
116
138
  export * from "./models/types/federatedCatalogueComponentType.js";
139
+ export * from "./models/types/federatedCatalogueFilterComponentType.js";
117
140
  export * from "./models/types/identityComponentType.js";
118
141
  export * from "./models/types/identityConnectorType.js";
119
142
  export * from "./models/types/identityProfileComponentType.js";
@@ -132,6 +155,7 @@ export * from "./models/types/nftComponentType.js";
132
155
  export * from "./models/types/nftConnectorType.js";
133
156
  export * from "./models/types/rightsManagementDapComponentType.js";
134
157
  export * from "./models/types/rightsManagementDarpComponentType.js";
158
+ export * from "./models/types/rightsManagementDataAccessHandlerComponentType.js";
135
159
  export * from "./models/types/rightsManagementPapComponentType.js";
136
160
  export * from "./models/types/rightsManagementPdpComponentType.js";
137
161
  export * from "./models/types/rightsManagementPepComponentType.js";
@@ -139,12 +163,21 @@ export * from "./models/types/rightsManagementPipComponentType.js";
139
163
  export * from "./models/types/rightsManagementPmpComponentType.js";
140
164
  export * from "./models/types/rightsManagementPnapComponentType.js";
141
165
  export * from "./models/types/rightsManagementPnpComponentType.js";
166
+ export * from "./models/types/rightsManagementPolicyArbiterComponentType.js";
167
+ export * from "./models/types/rightsManagementPolicyEnforcementProcessorComponentType.js";
168
+ export * from "./models/types/rightsManagementPolicyExecutionActionComponentType.js";
169
+ export * from "./models/types/rightsManagementPolicyInformationSourceComponentType.js";
170
+ export * from "./models/types/rightsManagementPolicyNegotiatorComponentType.js";
171
+ export * from "./models/types/rightsManagementPolicyRequesterComponentType.js";
142
172
  export * from "./models/types/rightsManagementPxpComponentType.js";
143
173
  export * from "./models/types/synchronisedStorageComponentType.js";
144
174
  export * from "./models/types/taskSchedulerComponentType.js";
145
175
  export * from "./models/types/telemetryComponentType.js";
146
176
  export * from "./models/types/telemetryConnectorType.js";
147
177
  export * from "./models/types/tenantAdminComponentType.js";
178
+ export * from "./models/types/trustComponentType.js";
179
+ export * from "./models/types/trustGeneratorComponentType.js";
180
+ export * from "./models/types/trustVerifierComponentType.js";
148
181
  export * from "./models/types/vaultConnectorType.js";
149
182
  export * from "./models/types/verifiableStorageComponentType.js";
150
183
  export * from "./models/types/verifiableStorageConnectorType.js";
@@ -4,7 +4,7 @@ import type { AttestationConnectorConfig } from "./config/attestationConnectorCo
4
4
  import type { AuditableItemGraphComponentConfig } from "./config/auditableItemGraphComponentConfig.js";
5
5
  import type { AuditableItemStreamComponentConfig } from "./config/auditableItemStreamComponentConfig.js";
6
6
  import type { AuthenticationGeneratorComponentConfig } from "./config/authenticationGeneratorComponentConfig.js";
7
- import type { BackgroundTaskConnectorConfig } from "./config/backgroundTaskConnectorConfig.js";
7
+ import type { BackgroundTaskComponentConfig } from "./config/backgroundTaskComponentConfig.js";
8
8
  import type { BlobStorageComponentConfig } from "./config/blobStorageComponentConfig.js";
9
9
  import type { BlobStorageConnectorConfig } from "./config/blobStorageConnectorConfig.js";
10
10
  import type { ContextIdHandlerComponentConfig } from "./config/contextIdHandlerComponentConfig.js";
@@ -20,6 +20,7 @@ import type { EventBusComponentConfig } from "./config/eventBusComponentConfig.j
20
20
  import type { EventBusConnectorConfig } from "./config/eventBusConnectorConfig.js";
21
21
  import type { FaucetConnectorConfig } from "./config/faucetConnectorConfig.js";
22
22
  import type { FederatedCatalogueComponentConfig } from "./config/federatedCatalogueComponentConfig.js";
23
+ import type { FederatedCatalogueFilterComponentConfig } from "./config/federatedCatalogueFilterComponentConfig.js";
23
24
  import type { IdentityComponentConfig } from "./config/identityComponentConfig.js";
24
25
  import type { IdentityConnectorConfig } from "./config/identityConnectorConfig.js";
25
26
  import type { IdentityProfileComponentConfig } from "./config/identityProfileComponentConfig.js";
@@ -38,6 +39,7 @@ import type { NftComponentConfig } from "./config/nftComponentConfig.js";
38
39
  import type { NftConnectorConfig } from "./config/nftConnectorConfig.js";
39
40
  import type { RightsManagementDapComponentConfig } from "./config/rightsManagementDapComponentConfig.js";
40
41
  import type { RightsManagementDarpComponentConfig } from "./config/rightsManagementDarpComponentConfig.js";
42
+ import type { RightsManagementDataAccessHandlerComponentConfig } from "./config/rightsManagementDataAccessHandlerComponentConfig.js";
41
43
  import type { RightsManagementPapComponentConfig } from "./config/rightsManagementPapComponentConfig.js";
42
44
  import type { RightsManagementPdpComponentConfig } from "./config/rightsManagementPdpComponentConfig.js";
43
45
  import type { RightsManagementPepComponentConfig } from "./config/rightsManagementPepComponentConfig.js";
@@ -45,12 +47,21 @@ import type { RightsManagementPipComponentConfig } from "./config/rightsManageme
45
47
  import type { RightsManagementPmpComponentConfig } from "./config/rightsManagementPmpComponentConfig.js";
46
48
  import type { RightsManagementPnapComponentConfig } from "./config/rightsManagementPnapComponentConfig.js";
47
49
  import type { RightsManagementPnpComponentConfig } from "./config/rightsManagementPnpComponentConfig.js";
50
+ import type { RightsManagementPolicyArbiterComponentConfig } from "./config/rightsManagementPolicyArbiterComponentConfig.js";
51
+ import type { RightsManagementPolicyEnforcementProcessorComponentConfig } from "./config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
52
+ import type { RightsManagementPolicyExecutionActionComponentConfig } from "./config/rightsManagementPolicyExecutionActionComponentConfig.js";
53
+ import type { RightsManagementPolicyInformationSourceComponentConfig } from "./config/rightsManagementPolicyInformationSourceComponentConfig.js";
54
+ import type { RightsManagementPolicyNegotiatorComponentConfig } from "./config/rightsManagementPolicyNegotiatorComponentConfig.js";
55
+ import type { RightsManagementPolicyRequesterComponentConfig } from "./config/rightsManagementPolicyRequesterComponentConfig.js";
48
56
  import type { RightsManagementPxpComponentConfig } from "./config/rightsManagementPxpComponentConfig.js";
49
57
  import type { SynchronisedStorageComponentConfig } from "./config/synchronisedStorageComponentConfig.js";
50
58
  import type { TaskSchedulerComponentConfig } from "./config/taskSchedulerComponentConfig.js";
51
59
  import type { TelemetryComponentConfig } from "./config/telemetryComponentConfig.js";
52
60
  import type { TelemetryConnectorConfig } from "./config/telemetryConnectorConfig.js";
53
61
  import type { TenantAdminComponentConfig } from "./config/tenantAdminComponentConfig.js";
62
+ import type { TrustComponentConfig } from "./config/trustComponentConfig.js";
63
+ import type { TrustGeneratorComponentConfig } from "./config/trustGeneratorComponentConfig.js";
64
+ import type { TrustVerifierComponentConfig } from "./config/trustVerifierComponentConfig.js";
54
65
  import type { VaultConnectorConfig } from "./config/vaultConnectorConfig.js";
55
66
  import type { VerifiableStorageComponentConfig } from "./config/verifiableStorageComponentConfig.js";
56
67
  import type { VerifiableStorageConnectorConfig } from "./config/verifiableStorageConnectorConfig.js";
@@ -117,9 +128,9 @@ export interface IEngineConfig extends IEngineCoreConfig {
117
128
  */
118
129
  messagingComponent?: IEngineCoreTypeConfig<MessagingComponentConfig>[];
119
130
  /**
120
- * Background task connector options which can be overridden by individual components by specifying types other than default.
131
+ * Background task component options which can be overridden by individual components by specifying types other than default.
121
132
  */
122
- backgroundTaskConnector?: IEngineCoreTypeConfig<BackgroundTaskConnectorConfig>[];
133
+ backgroundTaskComponent?: IEngineCoreTypeConfig<BackgroundTaskComponentConfig>[];
123
134
  /**
124
135
  * Task scheduler component options which can be overridden by individual components by specifying types other than default.
125
136
  */
@@ -228,6 +239,18 @@ export interface IEngineConfig extends IEngineCoreConfig {
228
239
  * Authentication generator options which can be overridden by individual components by specifying types other than default.
229
240
  */
230
241
  authenticationGeneratorComponent?: IEngineCoreTypeConfig<AuthenticationGeneratorComponentConfig>[];
242
+ /**
243
+ * Trust component options which can be overridden by individual components by specifying types other than default.
244
+ */
245
+ trustComponent?: IEngineCoreTypeConfig<TrustComponentConfig>[];
246
+ /**
247
+ * Trust generator component options which can be overridden by individual components by specifying types other than default.
248
+ */
249
+ trustGeneratorComponent?: IEngineCoreTypeConfig<TrustGeneratorComponentConfig>[];
250
+ /**
251
+ * Trust verifier component options which can be overridden by individual components by specifying types other than default.
252
+ */
253
+ trustVerifierComponent?: IEngineCoreTypeConfig<TrustVerifierComponentConfig>[];
231
254
  /**
232
255
  * Rights management PAP options which can be overridden by individual components by specifying types other than default.
233
256
  */
@@ -268,6 +291,34 @@ export interface IEngineConfig extends IEngineCoreConfig {
268
291
  * Rights management DARP options which can be overridden by individual components by specifying types other than default.
269
292
  */
270
293
  rightsManagementDarpComponent?: IEngineCoreTypeConfig<RightsManagementDarpComponentConfig>[];
294
+ /**
295
+ * Rights management data access handler options which can be overridden by individual components by specifying types other than default.
296
+ */
297
+ rightsManagementDataAccessHandlerComponent?: IEngineCoreTypeConfig<RightsManagementDataAccessHandlerComponentConfig>[];
298
+ /**
299
+ * Rights management policy arbiter options which can be overridden by individual components by specifying types other than default.
300
+ */
301
+ rightsManagementPolicyArbiterComponent?: IEngineCoreTypeConfig<RightsManagementPolicyArbiterComponentConfig>[];
302
+ /**
303
+ * Rights management policy enforcement processor options which can be overridden by individual components by specifying types other than default.
304
+ */
305
+ rightsManagementPolicyEnforcementProcessorComponent?: IEngineCoreTypeConfig<RightsManagementPolicyEnforcementProcessorComponentConfig>[];
306
+ /**
307
+ * Rights management policy execution action options which can be overridden by individual components by specifying types other than default.
308
+ */
309
+ rightsManagementPolicyExecutionActionComponent?: IEngineCoreTypeConfig<RightsManagementPolicyExecutionActionComponentConfig>[];
310
+ /**
311
+ * Rights management policy information source options which can be overridden by individual components by specifying types other than default.
312
+ */
313
+ rightsManagementPolicyInformationSourceComponent?: IEngineCoreTypeConfig<RightsManagementPolicyInformationSourceComponentConfig>[];
314
+ /**
315
+ * Rights management policy negotiator options which can be overridden by individual components by specifying types other than default.
316
+ */
317
+ rightsManagementPolicyNegotiatorComponent?: IEngineCoreTypeConfig<RightsManagementPolicyNegotiatorComponentConfig>[];
318
+ /**
319
+ * Rights management policy requester options which can be overridden by individual components by specifying types other than default.
320
+ */
321
+ rightsManagementPolicyRequesterComponent?: IEngineCoreTypeConfig<RightsManagementPolicyRequesterComponentConfig>[];
271
322
  /**
272
323
  * Synchronised storage options which can be overridden by individual components by specifying types other than default.
273
324
  */
@@ -276,6 +327,10 @@ export interface IEngineConfig extends IEngineCoreConfig {
276
327
  * Federated catalogue options which can be overridden by individual components by specifying types other than default.
277
328
  */
278
329
  federatedCatalogueComponent?: IEngineCoreTypeConfig<FederatedCatalogueComponentConfig>[];
330
+ /**
331
+ * Federated catalogue filter options which can be overridden by individual components by specifying types other than default.
332
+ */
333
+ federatedCatalogueFilterComponent?: IEngineCoreTypeConfig<FederatedCatalogueFilterComponentConfig>[];
279
334
  /**
280
335
  * Data space connector options which can be overridden by individual components by specifying types other than default.
281
336
  */
@@ -0,0 +1,9 @@
1
+ import type { IBackgroundTaskServiceConstructorOptions } from "@twin.org/background-task-service";
2
+ import type { BackgroundTaskComponentType } from "../types/backgroundTaskComponentType.js";
3
+ /**
4
+ * Background task component config types.
5
+ */
6
+ export type BackgroundTaskComponentConfig = {
7
+ type: typeof BackgroundTaskComponentType.Service;
8
+ options?: IBackgroundTaskServiceConstructorOptions;
9
+ };
@@ -0,0 +1,9 @@
1
+ import type { IFilterByExampleConstructorOptions } from "@twin.org/federated-catalogue-filters";
2
+ import type { FederatedCatalogueFilterComponentType } from "../types/federatedCatalogueFilterComponentType.js";
3
+ /**
4
+ * Federated catalog filter component config types.
5
+ */
6
+ export type FederatedCatalogueFilterComponentConfig = {
7
+ type: typeof FederatedCatalogueFilterComponentType.FilterByExample;
8
+ options: IFilterByExampleConstructorOptions;
9
+ };
@@ -1,4 +1,3 @@
1
- import type { IEngineModuleConfig } from "@twin.org/engine-models";
2
1
  import type { IDataAccessRequestPointServiceConstructorOptions } from "@twin.org/rights-management-dap-service";
3
2
  import type { RightsManagementDarpComponentType } from "../types/rightsManagementDarpComponentType.js";
4
3
  /**
@@ -6,7 +5,5 @@ import type { RightsManagementDarpComponentType } from "../types/rightsManagemen
6
5
  */
7
6
  export type RightsManagementDarpComponentConfig = {
8
7
  type: typeof RightsManagementDarpComponentType.Service;
9
- options: IDataAccessRequestPointServiceConstructorOptions & {
10
- negotiatorModulesConfig?: IEngineModuleConfig[];
11
- };
8
+ options: IDataAccessRequestPointServiceConstructorOptions;
12
9
  };
@@ -0,0 +1,9 @@
1
+ import type { IExampleDataAccessHandlerConstructorOptions } from "@twin.org/rights-management-plugins";
2
+ import type { RightsManagementDataAccessHandlerComponentType } from "../types/rightsManagementDataAccessHandlerComponentType.js";
3
+ /**
4
+ * Rights management data access handler component config types.
5
+ */
6
+ export type RightsManagementDataAccessHandlerComponentConfig = {
7
+ type: typeof RightsManagementDataAccessHandlerComponentType.Example;
8
+ options?: IExampleDataAccessHandlerConstructorOptions;
9
+ };
@@ -1,4 +1,3 @@
1
- import type { IEngineModuleConfig } from "@twin.org/engine-models";
2
1
  import type { IPolicyDecisionPointServiceConstructorOptions } from "@twin.org/rights-management-pdp-service";
3
2
  import type { RightsManagementPdpComponentType } from "../types/rightsManagementPdpComponentType.js";
4
3
  /**
@@ -6,7 +5,5 @@ import type { RightsManagementPdpComponentType } from "../types/rightsManagement
6
5
  */
7
6
  export type RightsManagementPdpComponentConfig = {
8
7
  type: typeof RightsManagementPdpComponentType.Service;
9
- options?: IPolicyDecisionPointServiceConstructorOptions & {
10
- arbiterModulesConfig?: IEngineModuleConfig[];
11
- };
8
+ options?: IPolicyDecisionPointServiceConstructorOptions;
12
9
  };
@@ -1,4 +1,3 @@
1
- import type { IEngineModuleConfig } from "@twin.org/engine-models";
2
1
  import type { IPolicyEnforcementPointServiceConstructorOptions } from "@twin.org/rights-management-pep-service";
3
2
  import type { RightsManagementPepComponentType } from "../types/rightsManagementPepComponentType.js";
4
3
  /**
@@ -6,7 +5,5 @@ import type { RightsManagementPepComponentType } from "../types/rightsManagement
6
5
  */
7
6
  export type RightsManagementPepComponentConfig = {
8
7
  type: typeof RightsManagementPepComponentType.Service;
9
- options?: IPolicyEnforcementPointServiceConstructorOptions & {
10
- processorModulesConfig?: IEngineModuleConfig[];
11
- };
8
+ options?: IPolicyEnforcementPointServiceConstructorOptions;
12
9
  };
@@ -1,4 +1,3 @@
1
- import type { IEngineModuleConfig } from "@twin.org/engine-models";
2
1
  import type { IPolicyInformationPointServiceConstructorOptions } from "@twin.org/rights-management-pip-service";
3
2
  import type { RightsManagementPipComponentType } from "../types/rightsManagementPipComponentType.js";
4
3
  /**
@@ -6,7 +5,5 @@ import type { RightsManagementPipComponentType } from "../types/rightsManagement
6
5
  */
7
6
  export type RightsManagementPipComponentConfig = {
8
7
  type: typeof RightsManagementPipComponentType.Service;
9
- options?: IPolicyInformationPointServiceConstructorOptions & {
10
- informationModulesConfig?: IEngineModuleConfig[];
11
- };
8
+ options?: IPolicyInformationPointServiceConstructorOptions;
12
9
  };