@twin.org/engine-types 0.0.3-next.2 → 0.0.3-next.21

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 (396) hide show
  1. package/dist/es/components/attestation.js +20 -22
  2. package/dist/es/components/attestation.js.map +1 -1
  3. package/dist/es/components/auditableItemGraph.js +26 -22
  4. package/dist/es/components/auditableItemGraph.js.map +1 -1
  5. package/dist/es/components/auditableItemStream.js +26 -22
  6. package/dist/es/components/auditableItemStream.js.map +1 -1
  7. package/dist/es/components/backgroundTask.js +18 -18
  8. package/dist/es/components/backgroundTask.js.map +1 -1
  9. package/dist/es/components/blobStorage.js +69 -80
  10. package/dist/es/components/blobStorage.js.map +1 -1
  11. package/dist/es/components/contextIdHandler.js +31 -0
  12. package/dist/es/components/contextIdHandler.js.map +1 -0
  13. package/dist/es/components/dataProcessing.js +33 -32
  14. package/dist/es/components/dataProcessing.js.map +1 -1
  15. package/dist/es/components/dataSpaceConnector.js +26 -25
  16. package/dist/es/components/dataSpaceConnector.js.map +1 -1
  17. package/dist/es/components/documentManagement.js +12 -12
  18. package/dist/es/components/documentManagement.js.map +1 -1
  19. package/dist/es/components/entityStorage.js +20 -21
  20. package/dist/es/components/entityStorage.js.map +1 -1
  21. package/dist/es/components/eventBus.js +19 -27
  22. package/dist/es/components/eventBus.js.map +1 -1
  23. package/dist/es/components/faucet.js +18 -18
  24. package/dist/es/components/faucet.js.map +1 -1
  25. package/dist/es/components/federatedCatalogue.js +14 -18
  26. package/dist/es/components/federatedCatalogue.js.map +1 -1
  27. package/dist/es/components/federatedCatalogueFilter.js +34 -0
  28. package/dist/es/components/federatedCatalogueFilter.js.map +1 -0
  29. package/dist/es/components/identity.js +28 -31
  30. package/dist/es/components/identity.js.map +1 -1
  31. package/dist/es/components/identityProfile.js +26 -24
  32. package/dist/es/components/identityProfile.js.map +1 -1
  33. package/dist/es/components/identityResolver.js +36 -40
  34. package/dist/es/components/identityResolver.js.map +1 -1
  35. package/dist/es/components/immutableProof.js +23 -20
  36. package/dist/es/components/immutableProof.js.map +1 -1
  37. package/dist/es/components/logging.js +28 -28
  38. package/dist/es/components/logging.js.map +1 -1
  39. package/dist/es/components/messaging.js +77 -89
  40. package/dist/es/components/messaging.js.map +1 -1
  41. package/dist/es/components/nft.js +33 -33
  42. package/dist/es/components/nft.js.map +1 -1
  43. package/dist/es/components/rightsManagementPap.js +17 -17
  44. package/dist/es/components/rightsManagementPap.js.map +1 -1
  45. package/dist/es/components/rightsManagementPdp.js +11 -25
  46. package/dist/es/components/rightsManagementPdp.js.map +1 -1
  47. package/dist/es/components/rightsManagementPep.js +12 -24
  48. package/dist/es/components/rightsManagementPep.js.map +1 -1
  49. package/dist/es/components/rightsManagementPip.js +9 -25
  50. package/dist/es/components/rightsManagementPip.js.map +1 -1
  51. package/dist/es/components/rightsManagementPmp.js +10 -10
  52. package/dist/es/components/rightsManagementPmp.js.map +1 -1
  53. package/dist/es/components/rightsManagementPnap.js +20 -18
  54. package/dist/es/components/rightsManagementPnap.js.map +1 -1
  55. package/dist/es/components/rightsManagementPnp.js +14 -36
  56. package/dist/es/components/rightsManagementPnp.js.map +1 -1
  57. package/dist/es/components/rightsManagementPolicyArbiter.js +32 -0
  58. package/dist/es/components/rightsManagementPolicyArbiter.js.map +1 -0
  59. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js +33 -0
  60. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js.map +1 -0
  61. package/dist/es/components/rightsManagementPolicyExecutionAction.js +25 -0
  62. package/dist/es/components/rightsManagementPolicyExecutionAction.js.map +1 -0
  63. package/dist/es/components/rightsManagementPolicyInformationSource.js +34 -0
  64. package/dist/es/components/rightsManagementPolicyInformationSource.js.map +1 -0
  65. package/dist/es/components/rightsManagementPolicyNegotiator.js +27 -0
  66. package/dist/es/components/rightsManagementPolicyNegotiator.js.map +1 -0
  67. package/dist/es/components/rightsManagementPolicyObligationEnforcer.js +27 -0
  68. package/dist/es/components/rightsManagementPolicyObligationEnforcer.js.map +1 -0
  69. package/dist/es/components/rightsManagementPolicyRequester.js +25 -0
  70. package/dist/es/components/rightsManagementPolicyRequester.js.map +1 -0
  71. package/dist/es/components/rightsManagementPxp.js +9 -25
  72. package/dist/es/components/rightsManagementPxp.js.map +1 -1
  73. package/dist/es/components/synchronisedStorage.js +25 -23
  74. package/dist/es/components/synchronisedStorage.js.map +1 -1
  75. package/dist/es/components/taskScheduler.js +10 -10
  76. package/dist/es/components/taskScheduler.js.map +1 -1
  77. package/dist/es/components/telemetry.js +29 -32
  78. package/dist/es/components/telemetry.js.map +1 -1
  79. package/dist/es/components/tenant.js +12 -11
  80. package/dist/es/components/tenant.js.map +1 -1
  81. package/dist/es/components/trust.js +27 -0
  82. package/dist/es/components/trust.js.map +1 -0
  83. package/dist/es/components/trustGenerator.js +28 -0
  84. package/dist/es/components/trustGenerator.js.map +1 -0
  85. package/dist/es/components/trustVerifier.js +28 -0
  86. package/dist/es/components/trustVerifier.js.map +1 -0
  87. package/dist/es/components/vault.js +15 -12
  88. package/dist/es/components/vault.js.map +1 -1
  89. package/dist/es/components/verifiableStorage.js +32 -34
  90. package/dist/es/components/verifiableStorage.js.map +1 -1
  91. package/dist/es/components/wallet.js +23 -24
  92. package/dist/es/components/wallet.js.map +1 -1
  93. package/dist/es/index.js +38 -11
  94. package/dist/es/index.js.map +1 -1
  95. package/dist/es/models/IEngineConfig.js.map +1 -1
  96. package/dist/es/models/config/backgroundTaskComponentConfig.js +2 -0
  97. package/dist/es/models/config/backgroundTaskComponentConfig.js.map +1 -0
  98. package/dist/es/models/config/blobStorageConnectorConfig.js.map +1 -1
  99. package/dist/es/models/config/contextIdHandlerComponentConfig.js +2 -0
  100. package/dist/es/models/config/contextIdHandlerComponentConfig.js.map +1 -0
  101. package/dist/es/models/config/federatedCatalogueFilterComponentConfig.js +2 -0
  102. package/dist/es/models/config/federatedCatalogueFilterComponentConfig.js.map +1 -0
  103. package/dist/es/models/config/rightsManagementPdpComponentConfig.js.map +1 -1
  104. package/dist/es/models/config/rightsManagementPepComponentConfig.js.map +1 -1
  105. package/dist/es/models/config/rightsManagementPipComponentConfig.js.map +1 -1
  106. package/dist/es/models/config/rightsManagementPnpComponentConfig.js.map +1 -1
  107. package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js +2 -0
  108. package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js.map +1 -0
  109. package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js +2 -0
  110. package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js.map +1 -0
  111. package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js +2 -0
  112. package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js.map +1 -0
  113. package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js +2 -0
  114. package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js.map +1 -0
  115. package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js +2 -0
  116. package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js.map +1 -0
  117. package/dist/es/models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js +2 -0
  118. package/dist/es/models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js.map +1 -0
  119. package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js +2 -0
  120. package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js.map +1 -0
  121. package/dist/es/models/config/rightsManagementPxpComponentConfig.js.map +1 -1
  122. package/dist/es/models/config/trustComponentConfig.js +2 -0
  123. package/dist/es/models/config/trustComponentConfig.js.map +1 -0
  124. package/dist/es/models/config/trustGeneratorComponentConfig.js +2 -0
  125. package/dist/es/models/config/trustGeneratorComponentConfig.js.map +1 -0
  126. package/dist/es/models/config/trustVerifierComponentConfig.js +2 -0
  127. package/dist/es/models/config/trustVerifierComponentConfig.js.map +1 -0
  128. package/dist/es/models/types/{rightsManagementDarpComponentType.js → backgroundTaskComponentType.js} +3 -3
  129. package/dist/es/models/types/backgroundTaskComponentType.js.map +1 -0
  130. package/dist/es/models/types/contextIdHandlerComponentType.js +17 -0
  131. package/dist/es/models/types/contextIdHandlerComponentType.js.map +1 -0
  132. package/dist/es/models/types/federatedCatalogueFilterComponentType.js +13 -0
  133. package/dist/es/models/types/federatedCatalogueFilterComponentType.js.map +1 -0
  134. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js +17 -0
  135. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js.map +1 -0
  136. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js +17 -0
  137. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js.map +1 -0
  138. package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js +13 -0
  139. package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js.map +1 -0
  140. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js +17 -0
  141. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js.map +1 -0
  142. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js +13 -0
  143. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js.map +1 -0
  144. package/dist/es/models/types/rightsManagementPolicyObligationEnforcerComponentType.js +13 -0
  145. package/dist/es/models/types/rightsManagementPolicyObligationEnforcerComponentType.js.map +1 -0
  146. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js +13 -0
  147. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js.map +1 -0
  148. package/dist/es/models/types/trustComponentType.js +13 -0
  149. package/dist/es/models/types/trustComponentType.js.map +1 -0
  150. package/dist/es/models/types/trustGeneratorComponentType.js +13 -0
  151. package/dist/es/models/types/trustGeneratorComponentType.js.map +1 -0
  152. package/dist/es/models/types/trustVerifierComponentType.js +13 -0
  153. package/dist/es/models/types/trustVerifierComponentType.js.map +1 -0
  154. package/dist/es/utils/engineTypeHelper.js +19 -1
  155. package/dist/es/utils/engineTypeHelper.js.map +1 -1
  156. package/dist/types/components/attestation.d.ts +5 -13
  157. package/dist/types/components/auditableItemGraph.d.ts +3 -7
  158. package/dist/types/components/auditableItemStream.d.ts +3 -7
  159. package/dist/types/components/backgroundTask.d.ts +5 -10
  160. package/dist/types/components/blobStorage.d.ts +4 -12
  161. package/dist/types/components/contextIdHandler.d.ts +12 -0
  162. package/dist/types/components/dataProcessing.d.ts +5 -17
  163. package/dist/types/components/dataSpaceConnector.d.ts +3 -7
  164. package/dist/types/components/documentManagement.d.ts +3 -7
  165. package/dist/types/components/entityStorage.d.ts +3 -7
  166. package/dist/types/components/eventBus.d.ts +4 -12
  167. package/dist/types/components/faucet.d.ts +2 -7
  168. package/dist/types/components/federatedCatalogue.d.ts +3 -7
  169. package/dist/types/components/federatedCatalogueFilter.d.ts +12 -0
  170. package/dist/types/components/identity.d.ts +4 -12
  171. package/dist/types/components/identityProfile.d.ts +4 -12
  172. package/dist/types/components/identityResolver.d.ts +4 -12
  173. package/dist/types/components/immutableProof.d.ts +3 -7
  174. package/dist/types/components/logging.d.ts +4 -12
  175. package/dist/types/components/messaging.d.ts +7 -27
  176. package/dist/types/components/nft.d.ts +4 -12
  177. package/dist/types/components/rightsManagementPap.d.ts +3 -7
  178. package/dist/types/components/rightsManagementPdp.d.ts +3 -7
  179. package/dist/types/components/rightsManagementPep.d.ts +3 -7
  180. package/dist/types/components/rightsManagementPip.d.ts +3 -7
  181. package/dist/types/components/rightsManagementPmp.d.ts +3 -7
  182. package/dist/types/components/rightsManagementPnap.d.ts +3 -7
  183. package/dist/types/components/rightsManagementPnp.d.ts +3 -7
  184. package/dist/types/components/rightsManagementPolicyArbiter.d.ts +12 -0
  185. package/dist/types/components/rightsManagementPolicyEnforcementProcessor.d.ts +12 -0
  186. package/dist/types/components/rightsManagementPolicyExecutionAction.d.ts +12 -0
  187. package/dist/types/components/rightsManagementPolicyInformationSource.d.ts +12 -0
  188. package/dist/types/components/rightsManagementPolicyNegotiator.d.ts +12 -0
  189. package/dist/types/components/rightsManagementPolicyObligationEnforcer.d.ts +12 -0
  190. package/dist/types/components/rightsManagementPolicyRequester.d.ts +12 -0
  191. package/dist/types/components/rightsManagementPxp.d.ts +3 -7
  192. package/dist/types/components/synchronisedStorage.d.ts +3 -7
  193. package/dist/types/components/taskScheduler.d.ts +3 -7
  194. package/dist/types/components/telemetry.d.ts +4 -12
  195. package/dist/types/components/tenant.d.ts +3 -7
  196. package/dist/types/components/trust.d.ts +12 -0
  197. package/dist/types/components/trustGenerator.d.ts +12 -0
  198. package/dist/types/components/trustVerifier.d.ts +12 -0
  199. package/dist/types/components/vault.d.ts +2 -7
  200. package/dist/types/components/verifiableStorage.d.ts +4 -12
  201. package/dist/types/components/wallet.d.ts +2 -7
  202. package/dist/types/index.d.ts +38 -11
  203. package/dist/types/models/IEngineConfig.d.ts +57 -12
  204. package/dist/types/models/config/backgroundTaskComponentConfig.d.ts +9 -0
  205. package/dist/types/models/config/blobStorageConnectorConfig.d.ts +4 -1
  206. package/dist/types/models/config/contextIdHandlerComponentConfig.d.ts +11 -0
  207. package/dist/types/models/config/federatedCatalogueFilterComponentConfig.d.ts +9 -0
  208. package/dist/types/models/config/rightsManagementPdpComponentConfig.d.ts +1 -4
  209. package/dist/types/models/config/rightsManagementPepComponentConfig.d.ts +1 -4
  210. package/dist/types/models/config/rightsManagementPipComponentConfig.d.ts +1 -4
  211. package/dist/types/models/config/rightsManagementPnpComponentConfig.d.ts +1 -5
  212. package/dist/types/models/config/rightsManagementPolicyArbiterComponentConfig.d.ts +12 -0
  213. package/dist/types/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.d.ts +12 -0
  214. package/dist/types/models/config/rightsManagementPolicyExecutionActionComponentConfig.d.ts +9 -0
  215. package/dist/types/models/config/rightsManagementPolicyInformationSourceComponentConfig.d.ts +12 -0
  216. package/dist/types/models/config/rightsManagementPolicyNegotiatorComponentConfig.d.ts +9 -0
  217. package/dist/types/models/config/rightsManagementPolicyObligationEnforcerComponentConfig.d.ts +9 -0
  218. package/dist/types/models/config/rightsManagementPolicyRequesterComponentConfig.d.ts +9 -0
  219. package/dist/types/models/config/rightsManagementPxpComponentConfig.d.ts +1 -4
  220. package/dist/types/models/config/trustComponentConfig.d.ts +9 -0
  221. package/dist/types/models/config/trustGeneratorComponentConfig.d.ts +9 -0
  222. package/dist/types/models/config/trustVerifierComponentConfig.d.ts +9 -0
  223. package/dist/types/models/types/backgroundTaskComponentType.d.ts +13 -0
  224. package/dist/types/models/types/contextIdHandlerComponentType.d.ts +17 -0
  225. package/dist/types/models/types/federatedCatalogueFilterComponentType.d.ts +13 -0
  226. package/dist/types/models/types/rightsManagementPolicyArbiterComponentType.d.ts +17 -0
  227. package/dist/types/models/types/rightsManagementPolicyEnforcementProcessorComponentType.d.ts +17 -0
  228. package/dist/types/models/types/rightsManagementPolicyExecutionActionComponentType.d.ts +13 -0
  229. package/dist/types/models/types/rightsManagementPolicyInformationSourceComponentType.d.ts +17 -0
  230. package/dist/types/models/types/rightsManagementPolicyNegotiatorComponentType.d.ts +13 -0
  231. package/dist/types/models/types/rightsManagementPolicyObligationEnforcerComponentType.d.ts +13 -0
  232. package/dist/types/models/types/rightsManagementPolicyRequesterComponentType.d.ts +13 -0
  233. package/dist/types/models/types/trustComponentType.d.ts +13 -0
  234. package/dist/types/models/types/trustGeneratorComponentType.d.ts +13 -0
  235. package/dist/types/models/types/trustVerifierComponentType.d.ts +13 -0
  236. package/dist/types/utils/engineTypeHelper.d.ts +11 -0
  237. package/docs/changelog.md +330 -0
  238. package/docs/reference/classes/EngineTypeHelper.md +53 -0
  239. package/docs/reference/functions/initialiseAttestationComponent.md +2 -2
  240. package/docs/reference/functions/initialiseAttestationConnector.md +3 -3
  241. package/docs/reference/functions/initialiseAuditableItemGraphComponent.md +2 -2
  242. package/docs/reference/functions/initialiseAuditableItemStreamComponent.md +2 -2
  243. package/docs/reference/functions/initialiseBackgroundTaskComponent.md +31 -0
  244. package/docs/reference/functions/initialiseBlobStorageComponent.md +2 -2
  245. package/docs/reference/functions/initialiseBlobStorageConnector.md +2 -2
  246. package/docs/reference/functions/initialiseContextIdHandlerComponent.md +31 -0
  247. package/docs/reference/functions/initialiseDataConverterConnector.md +2 -2
  248. package/docs/reference/functions/initialiseDataExtractorConnector.md +2 -2
  249. package/docs/reference/functions/initialiseDataProcessingComponent.md +2 -2
  250. package/docs/reference/functions/initialiseDataSpaceConnectorComponent.md +2 -2
  251. package/docs/reference/functions/initialiseDocumentManagementComponent.md +2 -2
  252. package/docs/reference/functions/initialiseEntityStorageComponent.md +2 -2
  253. package/docs/reference/functions/initialiseEventBusComponent.md +2 -2
  254. package/docs/reference/functions/initialiseEventBusConnector.md +2 -2
  255. package/docs/reference/functions/initialiseFaucetConnector.md +2 -2
  256. package/docs/reference/functions/initialiseFederatedCatalogueComponent.md +2 -2
  257. package/docs/reference/functions/initialiseFederatedCatalogueFilterComponent.md +31 -0
  258. package/docs/reference/functions/initialiseIdentityComponent.md +2 -2
  259. package/docs/reference/functions/initialiseIdentityConnector.md +2 -2
  260. package/docs/reference/functions/initialiseIdentityProfileComponent.md +2 -2
  261. package/docs/reference/functions/initialiseIdentityProfileConnector.md +2 -2
  262. package/docs/reference/functions/initialiseIdentityResolverComponent.md +2 -2
  263. package/docs/reference/functions/initialiseIdentityResolverConnector.md +2 -2
  264. package/docs/reference/functions/initialiseImmutableProofComponent.md +2 -2
  265. package/docs/reference/functions/initialiseLoggingComponent.md +2 -2
  266. package/docs/reference/functions/initialiseLoggingConnector.md +2 -2
  267. package/docs/reference/functions/initialiseMessagingAdminComponent.md +2 -2
  268. package/docs/reference/functions/initialiseMessagingComponent.md +2 -2
  269. package/docs/reference/functions/initialiseMessagingEmailConnector.md +2 -2
  270. package/docs/reference/functions/initialiseMessagingPushNotificationConnector.md +2 -2
  271. package/docs/reference/functions/initialiseMessagingSmsConnector.md +2 -2
  272. package/docs/reference/functions/initialiseNftComponent.md +2 -2
  273. package/docs/reference/functions/initialiseNftConnector.md +2 -2
  274. package/docs/reference/functions/initialiseRightsManagementPapComponent.md +2 -2
  275. package/docs/reference/functions/initialiseRightsManagementPdpComponent.md +2 -2
  276. package/docs/reference/functions/initialiseRightsManagementPepComponent.md +2 -2
  277. package/docs/reference/functions/initialiseRightsManagementPipComponent.md +2 -2
  278. package/docs/reference/functions/initialiseRightsManagementPmpComponent.md +2 -2
  279. package/docs/reference/functions/initialiseRightsManagementPnapComponent.md +2 -2
  280. package/docs/reference/functions/initialiseRightsManagementPnpComponent.md +2 -2
  281. package/docs/reference/functions/initialiseRightsManagementPolicyArbiterComponent.md +31 -0
  282. package/docs/reference/functions/initialiseRightsManagementPolicyEnforcementProcessorComponent.md +31 -0
  283. package/docs/reference/functions/initialiseRightsManagementPolicyExecutionActionComponent.md +31 -0
  284. package/docs/reference/functions/initialiseRightsManagementPolicyInformationSourceComponent.md +31 -0
  285. package/docs/reference/functions/initialiseRightsManagementPolicyNegotiatorComponent.md +31 -0
  286. package/docs/reference/functions/initialiseRightsManagementPolicyObligationEnforcerComponent.md +31 -0
  287. package/docs/reference/functions/initialiseRightsManagementPolicyRequesterComponent.md +31 -0
  288. package/docs/reference/functions/initialiseRightsManagementPxpComponent.md +2 -2
  289. package/docs/reference/functions/initialiseSynchronisedStorageComponent.md +2 -2
  290. package/docs/reference/functions/initialiseTaskSchedulerComponent.md +2 -2
  291. package/docs/reference/functions/initialiseTelemetryComponent.md +2 -2
  292. package/docs/reference/functions/initialiseTelemetryConnector.md +2 -2
  293. package/docs/reference/functions/initialiseTenantAdminComponent.md +2 -2
  294. package/docs/reference/functions/initialiseTrustComponent.md +31 -0
  295. package/docs/reference/functions/initialiseTrustGeneratorComponent.md +31 -0
  296. package/docs/reference/functions/initialiseTrustVerifierComponent.md +31 -0
  297. package/docs/reference/functions/initialiseVaultConnector.md +2 -2
  298. package/docs/reference/functions/initialiseVerifiableStorageComponent.md +2 -2
  299. package/docs/reference/functions/initialiseVerifiableStorageConnector.md +2 -2
  300. package/docs/reference/functions/initialiseWalletConnector.md +2 -2
  301. package/docs/reference/index.md +52 -16
  302. package/docs/reference/interfaces/IEngineConfig.md +66 -12
  303. package/docs/reference/type-aliases/BackgroundTaskComponentConfig.md +17 -0
  304. package/docs/reference/type-aliases/BackgroundTaskComponentType.md +5 -0
  305. package/docs/reference/type-aliases/BlobStorageConnectorConfig.md +1 -1
  306. package/docs/reference/type-aliases/ContextIdHandlerComponentConfig.md +5 -0
  307. package/docs/reference/type-aliases/ContextIdHandlerComponentType.md +5 -0
  308. package/docs/reference/type-aliases/FederatedCatalogueFilterComponentConfig.md +17 -0
  309. package/docs/reference/type-aliases/FederatedCatalogueFilterComponentType.md +5 -0
  310. package/docs/reference/type-aliases/RightsManagementPdpComponentConfig.md +1 -7
  311. package/docs/reference/type-aliases/RightsManagementPepComponentConfig.md +1 -7
  312. package/docs/reference/type-aliases/RightsManagementPipComponentConfig.md +1 -7
  313. package/docs/reference/type-aliases/RightsManagementPnpComponentConfig.md +1 -1
  314. package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentConfig.md +5 -0
  315. package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentType.md +5 -0
  316. package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentConfig.md +5 -0
  317. package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentType.md +5 -0
  318. package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentConfig.md +17 -0
  319. package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentType.md +5 -0
  320. package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentConfig.md +5 -0
  321. package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentType.md +5 -0
  322. package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentConfig.md +17 -0
  323. package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentType.md +5 -0
  324. package/docs/reference/type-aliases/RightsManagementPolicyObligationEnforcerComponentConfig.md +17 -0
  325. package/docs/reference/type-aliases/RightsManagementPolicyObligationEnforcerComponentType.md +5 -0
  326. package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentConfig.md +17 -0
  327. package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentType.md +5 -0
  328. package/docs/reference/type-aliases/RightsManagementPxpComponentConfig.md +1 -7
  329. package/docs/reference/type-aliases/TrustComponentConfig.md +17 -0
  330. package/docs/reference/type-aliases/TrustComponentType.md +5 -0
  331. package/docs/reference/type-aliases/TrustGeneratorComponentConfig.md +17 -0
  332. package/docs/reference/type-aliases/TrustGeneratorComponentType.md +5 -0
  333. package/docs/reference/type-aliases/TrustVerifierComponentConfig.md +17 -0
  334. package/docs/reference/type-aliases/TrustVerifierComponentType.md +5 -0
  335. package/docs/reference/variables/BackgroundTaskComponentType.md +13 -0
  336. package/docs/reference/variables/ContextIdHandlerComponentType.md +19 -0
  337. package/docs/reference/variables/FederatedCatalogueFilterComponentType.md +13 -0
  338. package/docs/reference/variables/RightsManagementPolicyArbiterComponentType.md +19 -0
  339. package/docs/reference/variables/RightsManagementPolicyEnforcementProcessorComponentType.md +19 -0
  340. package/docs/reference/variables/RightsManagementPolicyExecutionActionComponentType.md +13 -0
  341. package/docs/reference/variables/RightsManagementPolicyInformationSourceComponentType.md +19 -0
  342. package/docs/reference/variables/RightsManagementPolicyNegotiatorComponentType.md +13 -0
  343. package/docs/reference/variables/RightsManagementPolicyObligationEnforcerComponentType.md +13 -0
  344. package/docs/reference/variables/RightsManagementPolicyRequesterComponentType.md +13 -0
  345. package/docs/reference/variables/TrustComponentType.md +13 -0
  346. package/docs/reference/variables/TrustGeneratorComponentType.md +13 -0
  347. package/docs/reference/variables/TrustVerifierComponentType.md +13 -0
  348. package/package.json +10 -5
  349. package/dist/es/components/authenticationGenerator.js +0 -30
  350. package/dist/es/components/authenticationGenerator.js.map +0 -1
  351. package/dist/es/components/rightsManagementDap.js +0 -38
  352. package/dist/es/components/rightsManagementDap.js.map +0 -1
  353. package/dist/es/components/rightsManagementDarp.js +0 -29
  354. package/dist/es/components/rightsManagementDarp.js.map +0 -1
  355. package/dist/es/models/config/authenticationGeneratorComponentConfig.js +0 -2
  356. package/dist/es/models/config/authenticationGeneratorComponentConfig.js.map +0 -1
  357. package/dist/es/models/config/backgroundTaskConnectorConfig.js +0 -2
  358. package/dist/es/models/config/backgroundTaskConnectorConfig.js.map +0 -1
  359. package/dist/es/models/config/rightsManagementDapComponentConfig.js +0 -2
  360. package/dist/es/models/config/rightsManagementDapComponentConfig.js.map +0 -1
  361. package/dist/es/models/config/rightsManagementDarpComponentConfig.js +0 -2
  362. package/dist/es/models/config/rightsManagementDarpComponentConfig.js.map +0 -1
  363. package/dist/es/models/types/authenticationGeneratorComponentType.js +0 -13
  364. package/dist/es/models/types/authenticationGeneratorComponentType.js.map +0 -1
  365. package/dist/es/models/types/backgroundTaskConnectorType.js +0 -13
  366. package/dist/es/models/types/backgroundTaskConnectorType.js.map +0 -1
  367. package/dist/es/models/types/rightsManagementDapComponentType.js +0 -17
  368. package/dist/es/models/types/rightsManagementDapComponentType.js.map +0 -1
  369. package/dist/es/models/types/rightsManagementDarpComponentType.js.map +0 -1
  370. package/dist/types/components/authenticationGenerator.d.ts +0 -17
  371. package/dist/types/components/rightsManagementDap.d.ts +0 -16
  372. package/dist/types/components/rightsManagementDarp.d.ts +0 -16
  373. package/dist/types/models/config/authenticationGeneratorComponentConfig.d.ts +0 -9
  374. package/dist/types/models/config/backgroundTaskConnectorConfig.d.ts +0 -9
  375. package/dist/types/models/config/rightsManagementDapComponentConfig.d.ts +0 -16
  376. package/dist/types/models/config/rightsManagementDarpComponentConfig.d.ts +0 -12
  377. package/dist/types/models/types/authenticationGeneratorComponentType.d.ts +0 -13
  378. package/dist/types/models/types/backgroundTaskConnectorType.d.ts +0 -13
  379. package/dist/types/models/types/rightsManagementDapComponentType.d.ts +0 -17
  380. package/dist/types/models/types/rightsManagementDarpComponentType.d.ts +0 -13
  381. package/docs/reference/functions/initialiseAuthenticationGeneratorComponent.md +0 -31
  382. package/docs/reference/functions/initialiseBackgroundTaskConnector.md +0 -31
  383. package/docs/reference/functions/initialiseRightsManagementDapComponent.md +0 -31
  384. package/docs/reference/functions/initialiseRightsManagementDarpComponent.md +0 -31
  385. package/docs/reference/type-aliases/AuthenticationGeneratorComponentConfig.md +0 -17
  386. package/docs/reference/type-aliases/AuthenticationGeneratorComponentType.md +0 -5
  387. package/docs/reference/type-aliases/BackgroundTaskConnectorConfig.md +0 -17
  388. package/docs/reference/type-aliases/BackgroundTaskConnectorType.md +0 -5
  389. package/docs/reference/type-aliases/RightsManagementDapComponentConfig.md +0 -5
  390. package/docs/reference/type-aliases/RightsManagementDapComponentType.md +0 -5
  391. package/docs/reference/type-aliases/RightsManagementDarpComponentConfig.md +0 -23
  392. package/docs/reference/type-aliases/RightsManagementDarpComponentType.md +0 -5
  393. package/docs/reference/variables/AuthenticationGeneratorComponentType.md +0 -13
  394. package/docs/reference/variables/BackgroundTaskConnectorType.md +0 -13
  395. package/docs/reference/variables/RightsManagementDapComponentType.md +0 -19
  396. package/docs/reference/variables/RightsManagementDarpComponentType.md +0 -13
@@ -19,34 +19,34 @@ import { EngineTypeHelper } from "../utils/engineTypeHelper.js";
19
19
  * @param instanceConfig The instance config.
20
20
  * @returns The instance created and the factory for it.
21
21
  */
22
- export async function initialiseVerifiableStorageConnector(engineCore, context, instanceConfig) {
23
- let component;
24
- let instanceType;
22
+ export function initialiseVerifiableStorageConnector(engineCore, context, instanceConfig) {
23
+ let createComponent;
24
+ let instanceTypeName;
25
25
  if (instanceConfig.type === VerifiableStorageConnectorType.Iota) {
26
- const dltConfig = EngineTypeHelper.getConfigOfType(engineCore.getConfig(), "dltConfig", DltConfigType.Iota);
27
- component = new IotaVerifiableStorageConnector({
28
- vaultConnectorType: engineCore.getRegisteredInstanceType("vaultConnector"),
29
- loggingComponentType: engineCore.getRegisteredInstanceTypeOptional("loggingComponent"),
30
- ...instanceConfig.options,
31
- config: {
32
- ...dltConfig?.options?.config,
33
- ...instanceConfig.options.config
34
- }
35
- });
36
- instanceType = IotaVerifiableStorageConnector.NAMESPACE;
26
+ createComponent = (createConfig) => {
27
+ const dltConfig = EngineTypeHelper.getConfigOfType(engineCore.getConfig(), "dltConfig", DltConfigType.Iota);
28
+ return new IotaVerifiableStorageConnector(EngineTypeHelper.mergeConfig({
29
+ vaultConnectorType: engineCore.getRegisteredInstanceType("vaultConnector"),
30
+ loggingComponentType: engineCore.getRegisteredInstanceTypeOptional("loggingComponent"),
31
+ config: dltConfig?.options?.config
32
+ }, createConfig.options));
33
+ };
34
+ instanceTypeName = IotaVerifiableStorageConnector.NAMESPACE;
37
35
  }
38
36
  else if (instanceConfig.type === VerifiableStorageConnectorType.EntityStorage) {
39
- initSchemaVerifiableStorageStorage();
40
- initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.verifiableStorageEntityStorageType, "VerifiableItem", ContextIdHelper.pickKeysFromAvailable(engineCore.getContextIdKeys(), [
41
- ContextIdKeys.Node,
42
- ContextIdKeys.Tenant
43
- ]));
44
- component = new EntityStorageVerifiableStorageConnector(instanceConfig.options);
45
- instanceType = EntityStorageVerifiableStorageConnector.NAMESPACE;
37
+ createComponent = (createConfig) => {
38
+ initSchemaVerifiableStorageStorage();
39
+ initialiseEntityStorageConnector(engineCore, context, createConfig.options?.verifiableStorageEntityStorageType, "VerifiableItem", ContextIdHelper.pickKeysFromAvailable(engineCore.getContextIdKeys(), [
40
+ ContextIdKeys.Node,
41
+ ContextIdKeys.Tenant
42
+ ]));
43
+ return new EntityStorageVerifiableStorageConnector(EngineTypeHelper.mergeConfig(createConfig.options));
44
+ };
45
+ instanceTypeName = EntityStorageVerifiableStorageConnector.NAMESPACE;
46
46
  }
47
47
  return {
48
- component,
49
- instanceType,
48
+ createComponent: createComponent,
49
+ instanceTypeName,
50
50
  factory: VerifiableStorageConnectorFactory
51
51
  };
52
52
  }
@@ -57,22 +57,20 @@ export async function initialiseVerifiableStorageConnector(engineCore, context,
57
57
  * @param instanceConfig The instance config.
58
58
  * @returns The instance created and the factory for it.
59
59
  */
60
- export async function initialiseVerifiableStorageComponent(engineCore, context, instanceConfig) {
61
- let component;
62
- let instanceType;
60
+ export function initialiseVerifiableStorageComponent(engineCore, context, instanceConfig) {
61
+ let createComponent;
62
+ let instanceTypeName;
63
63
  if (instanceConfig.type === VerifiableStorageComponentType.Service) {
64
- component = new VerifiableStorageService({
65
- ...instanceConfig.options
66
- });
67
- instanceType = "verifiable-storage-service";
64
+ createComponent = (createConfig) => new VerifiableStorageService(EngineTypeHelper.mergeConfig(createConfig.options));
65
+ instanceTypeName = "verifiable-storage-service";
68
66
  }
69
67
  else if (instanceConfig.type === VerifiableStorageComponentType.RestClient) {
70
- component = new VerifiableStorageRestClient(instanceConfig.options);
71
- instanceType = "verifiable-storage-rest-client";
68
+ createComponent = (createConfig) => new VerifiableStorageRestClient(EngineTypeHelper.mergeConfig(createConfig.options));
69
+ instanceTypeName = "verifiable-storage-rest-client";
72
70
  }
73
71
  return {
74
- component,
75
- instanceType,
72
+ createComponent: createComponent,
73
+ instanceTypeName,
76
74
  factory: ComponentFactory
77
75
  };
78
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"verifiableStorage.js","sourceRoot":"","sources":["../../../src/components/verifiableStorage.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,gBAAgB,CAAC;AAGnE,OAAO,EACN,uCAAuC,EACvC,UAAU,IAAI,kCAAkC,EAEhD,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EACN,iCAAiC,EAGjC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAC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C,UAAU,CAAC,gBAAgB,EAAE,EAAE;YACpE,aAAa,CAAC,IAAI;YAClB,aAAa,CAAC,MAAM;SACpB,CAAC,CACF,CAAC;QACF,SAAS,GAAG,IAAI,uCAAuC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAChF,YAAY,GAAG,uCAAuC,CAAC,SAAS,CAAC;IAClE,CAAC;IAED,OAAO;QACN,SAAS;QACT,YAAY;QACZ,OAAO,EAAE,iCAAiC;KAC1C,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,oCAAoC,CACzD,UAAsC,EACtC,OAA0C,EAC1C,cAAgD;IAMhD,IAAI,SAAkD,CAAC;IACvD,IAAI,YAAgC,CAAC;IAErC,IAAI,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,OAAO,EAAE,CAAC;QACpE,SAAS,GAAG,IAAI,wBAAwB,CAAC;YACxC,GAAG,cAAc,CAAC,OAAO;SACzB,CAAC,CAAC;QACH,YAAY,+BAA4C,CAAC;IAC1D,CAAC;SAAM,IAAI,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,UAAU,EAAE,CAAC;QAC9E,SAAS,GAAG,IAAI,2BAA2B,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACpE,YAAY,mCAA+C,CAAC;IAC7D,CAAC;IAED,OAAO;QACN,SAAS;QACT,YAAY;QACZ,OAAO,EAAE,gBAAgB;KACzB,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { ContextIdHelper, ContextIdKeys } from \"@twin.org/context\";\nimport { ComponentFactory, type IComponent } from \"@twin.org/core\";\nimport type { IEngineCore, IEngineCoreContext } from \"@twin.org/engine-models\";\nimport { nameof, nameofKebabCase } from \"@twin.org/nameof\";\nimport {\n\tEntityStorageVerifiableStorageConnector,\n\tinitSchema as initSchemaVerifiableStorageStorage,\n\ttype VerifiableItem\n} from \"@twin.org/verifiable-storage-connector-entity-storage\";\nimport { IotaVerifiableStorageConnector } from \"@twin.org/verifiable-storage-connector-iota\";\nimport {\n\tVerifiableStorageConnectorFactory,\n\ttype IVerifiableStorageComponent,\n\ttype IVerifiableStorageConnector\n} from \"@twin.org/verifiable-storage-models\";\nimport { VerifiableStorageRestClient } from \"@twin.org/verifiable-storage-rest-client\";\nimport { VerifiableStorageService } from \"@twin.org/verifiable-storage-service\";\nimport { initialiseEntityStorageConnector } from \"./entityStorage.js\";\nimport type { DltConfig } from \"../models/config/dltConfig.js\";\nimport type { VerifiableStorageComponentConfig } from \"../models/config/verifiableStorageComponentConfig.js\";\nimport type { VerifiableStorageConnectorConfig } from \"../models/config/verifiableStorageConnectorConfig.js\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\nimport { DltConfigType } from \"../models/types/dltConfigType.js\";\nimport { VerifiableStorageComponentType } from \"../models/types/verifiableStorageComponentType.js\";\nimport { VerifiableStorageConnectorType } from \"../models/types/verifiableStorageConnectorType.js\";\nimport { EngineTypeHelper } from \"../utils/engineTypeHelper.js\";\n\n/**\n * Initialise the verifiable storage 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 async function initialiseVerifiableStorageConnector(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: VerifiableStorageConnectorConfig\n): Promise<{\n\tinstanceType?: string;\n\tfactory?: typeof VerifiableStorageConnectorFactory;\n\tcomponent?: IComponent;\n}> {\n\tlet component: IVerifiableStorageConnector | undefined;\n\tlet instanceType: string | undefined;\n\n\tif (instanceConfig.type === VerifiableStorageConnectorType.Iota) {\n\t\tconst dltConfig = EngineTypeHelper.getConfigOfType<DltConfig>(\n\t\t\tengineCore.getConfig(),\n\t\t\t\"dltConfig\",\n\t\t\tDltConfigType.Iota\n\t\t);\n\t\tcomponent = new IotaVerifiableStorageConnector({\n\t\t\tvaultConnectorType: engineCore.getRegisteredInstanceType(\"vaultConnector\"),\n\t\t\tloggingComponentType: engineCore.getRegisteredInstanceTypeOptional(\"loggingComponent\"),\n\t\t\t...instanceConfig.options,\n\t\t\tconfig: {\n\t\t\t\t...dltConfig?.options?.config,\n\t\t\t\t...instanceConfig.options.config\n\t\t\t}\n\t\t});\n\t\tinstanceType = IotaVerifiableStorageConnector.NAMESPACE;\n\t} else if (instanceConfig.type === VerifiableStorageConnectorType.EntityStorage) {\n\t\tinitSchemaVerifiableStorageStorage();\n\t\tinitialiseEntityStorageConnector(\n\t\t\tengineCore,\n\t\t\tcontext,\n\t\t\tinstanceConfig.options?.verifiableStorageEntityStorageType,\n\t\t\tnameof<VerifiableItem>(),\n\t\t\tContextIdHelper.pickKeysFromAvailable(engineCore.getContextIdKeys(), [\n\t\t\t\tContextIdKeys.Node,\n\t\t\t\tContextIdKeys.Tenant\n\t\t\t])\n\t\t);\n\t\tcomponent = new EntityStorageVerifiableStorageConnector(instanceConfig.options);\n\t\tinstanceType = EntityStorageVerifiableStorageConnector.NAMESPACE;\n\t}\n\n\treturn {\n\t\tcomponent,\n\t\tinstanceType,\n\t\tfactory: VerifiableStorageConnectorFactory\n\t};\n}\n\n/**\n * Initialise the verifiable storage component.\n * @param engineCore The engine core.\n * @param context The context for the engine.\n * @param instanceConfig The instance config.\n * @returns The instance created and the factory for it.\n */\nexport async function initialiseVerifiableStorageComponent(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: VerifiableStorageComponentConfig\n): Promise<{\n\tinstanceType?: string;\n\tfactory?: typeof ComponentFactory;\n\tcomponent?: IComponent;\n}> {\n\tlet component: IVerifiableStorageComponent | undefined;\n\tlet instanceType: string | undefined;\n\n\tif (instanceConfig.type === VerifiableStorageComponentType.Service) {\n\t\tcomponent = new VerifiableStorageService({\n\t\t\t...instanceConfig.options\n\t\t});\n\t\tinstanceType = nameofKebabCase(VerifiableStorageService);\n\t} else if (instanceConfig.type === VerifiableStorageComponentType.RestClient) {\n\t\tcomponent = new VerifiableStorageRestClient(instanceConfig.options);\n\t\tinstanceType = nameofKebabCase(VerifiableStorageRestClient);\n\t}\n\n\treturn {\n\t\tcomponent,\n\t\tinstanceType,\n\t\tfactory: ComponentFactory\n\t};\n}\n"]}
1
+ {"version":3,"file":"verifiableStorage.js","sourceRoot":"","sources":["../../../src/components/verifiableStorage.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,EACN,uCAAuC,EACvC,UAAU,IAAI,kCAAkC,EAEhD,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAKtE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mDAAmD,CAAC;AACnG,OAAO,EAAE,8BAA8B,EAAE,MAAM,mDAAmD,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,UAAU,oCAAoC,CACnD,UAAsC,EACtC,OAA0C,EAC1C,cAAgD;IAEhD,IAAI,eAAe,CAAC;IACpB,IAAI,gBAAgB,CAAC;IAErB,IAAI,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,IAAI,EAAE,CAAC;QACjE,eAAe,GAAG,CAAC,YAAmC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,gBAAgB,CAAC;IAErB,IAAI,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,OAAO,EAAE,CAAC;QACpE,eAAe,GAAG,CAAC,YAAmC,EAAE,EAAE,CACzD,IAAI,wBAAwB,CAC3B,gBAAgB,CAAC,WAAW,CAAqC,YAAY,CAAC,OAAO,CAAC,CACtF,CAAC;QACH,gBAAgB,+BAA4C,CAAC;IAC9D,CAAC;SAAM,IAAI,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,UAAU,EAAE,CAAC;QAC9E,eAAe,GAAG,CAAC,YAAmC,EAAE,EAAE,CACzD,IAAI,2BAA2B,CAC9B,gBAAgB,CAAC,WAAW,CAAqC,YAAY,CAAC,OAAO,CAAC,CACtF,CAAC;QACH,gBAAgB,mCAA+C,CAAC;IACjE,CAAC;IAED,OAAO;QACN,eAAe,EAAE,eAAsE;QACvF,gBAAgB;QAChB,OAAO,EAAE,gBAAgB;KACzB,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { ContextIdHelper, ContextIdKeys } from \"@twin.org/context\";\nimport type { IComponent } from \"@twin.org/core\";\nimport { ComponentFactory } 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\tEntityStorageVerifiableStorageConnector,\n\tinitSchema as initSchemaVerifiableStorageStorage,\n\ttype VerifiableItem\n} from \"@twin.org/verifiable-storage-connector-entity-storage\";\nimport { IotaVerifiableStorageConnector } from \"@twin.org/verifiable-storage-connector-iota\";\nimport { VerifiableStorageConnectorFactory } from \"@twin.org/verifiable-storage-models\";\nimport { VerifiableStorageRestClient } from \"@twin.org/verifiable-storage-rest-client\";\nimport { VerifiableStorageService } from \"@twin.org/verifiable-storage-service\";\nimport { initialiseEntityStorageConnector } from \"./entityStorage.js\";\nimport type { DltConfig } from \"../models/config/dltConfig.js\";\nimport type { VerifiableStorageComponentConfig } from \"../models/config/verifiableStorageComponentConfig.js\";\nimport type { VerifiableStorageConnectorConfig } from \"../models/config/verifiableStorageConnectorConfig.js\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\nimport { DltConfigType } from \"../models/types/dltConfigType.js\";\nimport { VerifiableStorageComponentType } from \"../models/types/verifiableStorageComponentType.js\";\nimport { VerifiableStorageConnectorType } from \"../models/types/verifiableStorageConnectorType.js\";\nimport { EngineTypeHelper } from \"../utils/engineTypeHelper.js\";\n\n/**\n * Initialise the verifiable storage 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 initialiseVerifiableStorageConnector(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: VerifiableStorageConnectorConfig\n): EngineTypeInitialiserReturn<typeof instanceConfig, typeof VerifiableStorageConnectorFactory> {\n\tlet createComponent;\n\tlet instanceTypeName;\n\n\tif (instanceConfig.type === VerifiableStorageConnectorType.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 IotaVerifiableStorageConnector(\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\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 = IotaVerifiableStorageConnector.NAMESPACE;\n\t} else if (instanceConfig.type === VerifiableStorageConnectorType.EntityStorage) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) => {\n\t\t\tinitSchemaVerifiableStorageStorage();\n\t\t\tinitialiseEntityStorageConnector(\n\t\t\t\tengineCore,\n\t\t\t\tcontext,\n\t\t\t\tcreateConfig.options?.verifiableStorageEntityStorageType,\n\t\t\t\tnameof<VerifiableItem>(),\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\t\t\treturn new EntityStorageVerifiableStorageConnector(\n\t\t\t\tEngineTypeHelper.mergeConfig<(typeof instanceConfig)[\"options\"]>(createConfig.options)\n\t\t\t);\n\t\t};\n\t\tinstanceTypeName = EntityStorageVerifiableStorageConnector.NAMESPACE;\n\t}\n\n\treturn {\n\t\tcreateComponent: createComponent as (createConfig: typeof instanceConfig) => IComponent,\n\t\tinstanceTypeName,\n\t\tfactory: VerifiableStorageConnectorFactory\n\t};\n}\n\n/**\n * Initialise the verifiable storage 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 initialiseVerifiableStorageComponent(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: VerifiableStorageComponentConfig\n): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory> {\n\tlet createComponent;\n\tlet instanceTypeName;\n\n\tif (instanceConfig.type === VerifiableStorageComponentType.Service) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) =>\n\t\t\tnew VerifiableStorageService(\n\t\t\t\tEngineTypeHelper.mergeConfig<(typeof instanceConfig)[\"options\"]>(createConfig.options)\n\t\t\t);\n\t\tinstanceTypeName = nameofKebabCase(VerifiableStorageService);\n\t} else if (instanceConfig.type === VerifiableStorageComponentType.RestClient) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) =>\n\t\t\tnew VerifiableStorageRestClient(\n\t\t\t\tEngineTypeHelper.mergeConfig<(typeof instanceConfig)[\"options\"]>(createConfig.options)\n\t\t\t);\n\t\tinstanceTypeName = nameofKebabCase(VerifiableStorageRestClient);\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"]}
@@ -12,35 +12,34 @@ import { EngineTypeHelper } from "../utils/engineTypeHelper.js";
12
12
  * @param instanceConfig The instance config.
13
13
  * @returns The instance created and the factory for it.
14
14
  */
15
- export async function initialiseWalletConnector(engineCore, context, instanceConfig) {
16
- let component;
17
- let instanceType;
15
+ export function initialiseWalletConnector(engineCore, context, instanceConfig) {
16
+ let createComponent;
17
+ let instanceTypeName;
18
18
  if (instanceConfig.type === WalletConnectorType.Iota) {
19
- const dltConfig = EngineTypeHelper.getConfigOfType(engineCore.getConfig(), "dltConfig", DltConfigType.Iota);
20
- component = new IotaWalletConnector({
21
- vaultConnectorType: engineCore.getRegisteredInstanceType("vaultConnector"),
22
- faucetConnectorType: engineCore.getRegisteredInstanceType("faucetConnector"),
23
- ...instanceConfig.options,
24
- config: {
25
- ...dltConfig?.options?.config,
26
- ...instanceConfig.options.config
27
- }
28
- });
29
- instanceType = IotaWalletConnector.NAMESPACE;
19
+ createComponent = (createConfig) => {
20
+ const dltConfig = EngineTypeHelper.getConfigOfType(engineCore.getConfig(), "dltConfig", DltConfigType.Iota);
21
+ return new IotaWalletConnector(EngineTypeHelper.mergeConfig({
22
+ vaultConnectorType: engineCore.getRegisteredInstanceType("vaultConnector"),
23
+ faucetConnectorType: engineCore.getRegisteredInstanceType("faucetConnector"),
24
+ config: dltConfig?.options?.config
25
+ }, createConfig.options));
26
+ };
27
+ instanceTypeName = IotaWalletConnector.NAMESPACE;
30
28
  }
31
29
  else if (instanceConfig.type === WalletConnectorType.EntityStorage) {
32
- initSchemaWallet();
33
- initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.walletAddressEntityStorageType, "WalletAddress", []);
34
- component = new EntityStorageWalletConnector({
35
- vaultConnectorType: engineCore.getRegisteredInstanceType("vaultConnector"),
36
- faucetConnectorType: engineCore.getRegisteredInstanceType("faucetConnector"),
37
- ...instanceConfig.options
38
- });
39
- instanceType = EntityStorageWalletConnector.NAMESPACE;
30
+ createComponent = (createConfig) => {
31
+ initSchemaWallet();
32
+ initialiseEntityStorageConnector(engineCore, context, createConfig.options?.walletAddressEntityStorageType, "WalletAddress", []);
33
+ return new EntityStorageWalletConnector(EngineTypeHelper.mergeConfig({
34
+ vaultConnectorType: engineCore.getRegisteredInstanceType("vaultConnector"),
35
+ faucetConnectorType: engineCore.getRegisteredInstanceType("faucetConnector")
36
+ }, createConfig.options));
37
+ };
38
+ instanceTypeName = EntityStorageWalletConnector.NAMESPACE;
40
39
  }
41
40
  return {
42
- component,
43
- instanceType,
41
+ createComponent: createComponent,
42
+ instanceTypeName,
44
43
  factory: WalletConnectorFactory
45
44
  };
46
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../../src/components/wallet.ts"],"names":[],"mappings":"AAKA,OAAO,EACN,4BAA4B,EAC5B,UAAU,IAAI,gBAAgB,EAE9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAyB,MAAM,yBAAyB,CAAC;AACxF,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAItE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE;;;;;;GAMG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AAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IEngineCore, IEngineCoreContext } from \"@twin.org/engine-models\";\nimport { nameof } from \"@twin.org/nameof\";\nimport {\n\tEntityStorageWalletConnector,\n\tinitSchema as initSchemaWallet,\n\ttype WalletAddress\n} from \"@twin.org/wallet-connector-entity-storage\";\nimport { IotaWalletConnector } from \"@twin.org/wallet-connector-iota\";\nimport { WalletConnectorFactory, type IWalletConnector } from \"@twin.org/wallet-models\";\nimport { initialiseEntityStorageConnector } from \"./entityStorage.js\";\nimport type { DltConfig } from \"../models/config/dltConfig.js\";\nimport type { WalletConnectorConfig } from \"../models/config/walletConnectorConfig.js\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\nimport { DltConfigType } from \"../models/types/dltConfigType.js\";\nimport { WalletConnectorType } from \"../models/types/walletConnectorType.js\";\nimport { EngineTypeHelper } from \"../utils/engineTypeHelper.js\";\n\n/**\n * Initialise a wallet connector.\n * @param engineCore The engine core.\n * @param context The context for the node.\n * @param instanceConfig The instance config.\n * @returns The instance created and the factory for it.\n */\nexport async function initialiseWalletConnector(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: WalletConnectorConfig\n): Promise<{\n\tinstanceType?: string;\n\tfactory?: typeof WalletConnectorFactory;\n\tcomponent?: IComponent;\n}> {\n\tlet component: IWalletConnector | undefined;\n\tlet instanceType: string | undefined;\n\n\tif (instanceConfig.type === WalletConnectorType.Iota) {\n\t\tconst dltConfig = EngineTypeHelper.getConfigOfType<DltConfig>(\n\t\t\tengineCore.getConfig(),\n\t\t\t\"dltConfig\",\n\t\t\tDltConfigType.Iota\n\t\t);\n\t\tcomponent = new IotaWalletConnector({\n\t\t\tvaultConnectorType: engineCore.getRegisteredInstanceType(\"vaultConnector\"),\n\t\t\tfaucetConnectorType: engineCore.getRegisteredInstanceType(\"faucetConnector\"),\n\t\t\t...instanceConfig.options,\n\t\t\tconfig: {\n\t\t\t\t...dltConfig?.options?.config,\n\t\t\t\t...instanceConfig.options.config\n\t\t\t}\n\t\t});\n\t\tinstanceType = IotaWalletConnector.NAMESPACE;\n\t} else if (instanceConfig.type === WalletConnectorType.EntityStorage) {\n\t\tinitSchemaWallet();\n\t\tinitialiseEntityStorageConnector(\n\t\t\tengineCore,\n\t\t\tcontext,\n\t\t\tinstanceConfig.options?.walletAddressEntityStorageType,\n\t\t\tnameof<WalletAddress>(),\n\t\t\t[]\n\t\t);\n\n\t\tcomponent = new EntityStorageWalletConnector({\n\t\t\tvaultConnectorType: engineCore.getRegisteredInstanceType(\"vaultConnector\"),\n\t\t\tfaucetConnectorType: engineCore.getRegisteredInstanceType(\"faucetConnector\"),\n\t\t\t...instanceConfig.options\n\t\t});\n\t\tinstanceType = EntityStorageWalletConnector.NAMESPACE;\n\t}\n\n\treturn {\n\t\tcomponent,\n\t\tinstanceType,\n\t\tfactory: WalletConnectorFactory\n\t};\n}\n"]}
1
+ {"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../../src/components/wallet.ts"],"names":[],"mappings":"AASA,OAAO,EACN,4BAA4B,EAC5B,UAAU,IAAI,gBAAgB,EAE9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AAItE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,UAAU,yBAAyB,CACxC,UAAsC,EACtC,OAA0C,EAC1C,cAAqC;IAErC,IAAI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AAO,EAAE,sBAAsB;KAC/B,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type {\n\tEngineTypeInitialiserReturn,\n\tIEngineCore,\n\tIEngineCoreContext\n} from \"@twin.org/engine-models\";\nimport { nameof } from \"@twin.org/nameof\";\nimport {\n\tEntityStorageWalletConnector,\n\tinitSchema as initSchemaWallet,\n\ttype WalletAddress\n} from \"@twin.org/wallet-connector-entity-storage\";\nimport { IotaWalletConnector } from \"@twin.org/wallet-connector-iota\";\nimport { WalletConnectorFactory } from \"@twin.org/wallet-models\";\nimport { initialiseEntityStorageConnector } from \"./entityStorage.js\";\nimport type { DltConfig } from \"../models/config/dltConfig.js\";\nimport type { WalletConnectorConfig } from \"../models/config/walletConnectorConfig.js\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\nimport { DltConfigType } from \"../models/types/dltConfigType.js\";\nimport { WalletConnectorType } from \"../models/types/walletConnectorType.js\";\nimport { EngineTypeHelper } from \"../utils/engineTypeHelper.js\";\n\n/**\n * Initialise a wallet connector.\n * @param engineCore The engine core.\n * @param context The context for the node.\n * @param instanceConfig The instance config.\n * @returns The instance created and the factory for it.\n */\nexport function initialiseWalletConnector(\n\tengineCore: IEngineCore<IEngineConfig>,\n\tcontext: IEngineCoreContext<IEngineConfig>,\n\tinstanceConfig: WalletConnectorConfig\n): EngineTypeInitialiserReturn<typeof instanceConfig, typeof WalletConnectorFactory> {\n\tlet createComponent;\n\tlet instanceTypeName;\n\n\tif (instanceConfig.type === WalletConnectorType.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 IotaWalletConnector(\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\tfaucetConnectorType: engineCore.getRegisteredInstanceType(\"faucetConnector\"),\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 = IotaWalletConnector.NAMESPACE;\n\t} else if (instanceConfig.type === WalletConnectorType.EntityStorage) {\n\t\tcreateComponent = (createConfig: typeof instanceConfig) => {\n\t\t\tinitSchemaWallet();\n\t\t\tinitialiseEntityStorageConnector(\n\t\t\t\tengineCore,\n\t\t\t\tcontext,\n\t\t\t\tcreateConfig.options?.walletAddressEntityStorageType,\n\t\t\t\tnameof<WalletAddress>(),\n\t\t\t\t[]\n\t\t\t);\n\t\t\treturn new EntityStorageWalletConnector(\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\tfaucetConnectorType: engineCore.getRegisteredInstanceType(\"faucetConnector\")\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 = EntityStorageWalletConnector.NAMESPACE;\n\t}\n\n\treturn {\n\t\tcreateComponent: createComponent as (createConfig: typeof instanceConfig) => IComponent,\n\t\tinstanceTypeName,\n\t\tfactory: WalletConnectorFactory\n\t};\n}\n"]}
package/dist/es/index.js CHANGED
@@ -3,9 +3,9 @@
3
3
  export * from "./components/attestation.js";
4
4
  export * from "./components/auditableItemGraph.js";
5
5
  export * from "./components/auditableItemStream.js";
6
- export * from "./components/authenticationGenerator.js";
7
6
  export * from "./components/backgroundTask.js";
8
7
  export * from "./components/blobStorage.js";
8
+ export * from "./components/contextIdHandler.js";
9
9
  export * from "./components/dataProcessing.js";
10
10
  export * from "./components/dataSpaceConnector.js";
11
11
  export * from "./components/documentManagement.js";
@@ -13,6 +13,7 @@ export * from "./components/entityStorage.js";
13
13
  export * from "./components/eventBus.js";
14
14
  export * from "./components/faucet.js";
15
15
  export * from "./components/federatedCatalogue.js";
16
+ export * from "./components/federatedCatalogueFilter.js";
16
17
  export * from "./components/identity.js";
17
18
  export * from "./components/identityProfile.js";
18
19
  export * from "./components/identityResolver.js";
@@ -20,8 +21,6 @@ export * from "./components/immutableProof.js";
20
21
  export * from "./components/logging.js";
21
22
  export * from "./components/messaging.js";
22
23
  export * from "./components/nft.js";
23
- export * from "./components/rightsManagementDap.js";
24
- export * from "./components/rightsManagementDarp.js";
25
24
  export * from "./components/rightsManagementPap.js";
26
25
  export * from "./components/rightsManagementPdp.js";
27
26
  export * from "./components/rightsManagementPep.js";
@@ -29,11 +28,21 @@ export * from "./components/rightsManagementPip.js";
29
28
  export * from "./components/rightsManagementPmp.js";
30
29
  export * from "./components/rightsManagementPnap.js";
31
30
  export * from "./components/rightsManagementPnp.js";
31
+ export * from "./components/rightsManagementPolicyArbiter.js";
32
+ export * from "./components/rightsManagementPolicyEnforcementProcessor.js";
33
+ export * from "./components/rightsManagementPolicyExecutionAction.js";
34
+ export * from "./components/rightsManagementPolicyInformationSource.js";
35
+ export * from "./components/rightsManagementPolicyNegotiator.js";
36
+ export * from "./components/rightsManagementPolicyObligationEnforcer.js";
37
+ export * from "./components/rightsManagementPolicyRequester.js";
32
38
  export * from "./components/rightsManagementPxp.js";
33
39
  export * from "./components/synchronisedStorage.js";
34
40
  export * from "./components/taskScheduler.js";
35
41
  export * from "./components/telemetry.js";
36
42
  export * from "./components/tenant.js";
43
+ export * from "./components/trust.js";
44
+ export * from "./components/trustGenerator.js";
45
+ export * from "./components/trustVerifier.js";
37
46
  export * from "./components/vault.js";
38
47
  export * from "./components/verifiableStorage.js";
39
48
  export * from "./components/wallet.js";
@@ -41,10 +50,10 @@ export * from "./models/config/attestationComponentConfig.js";
41
50
  export * from "./models/config/attestationConnectorConfig.js";
42
51
  export * from "./models/config/auditableItemGraphComponentConfig.js";
43
52
  export * from "./models/config/auditableItemStreamComponentConfig.js";
44
- export * from "./models/config/authenticationGeneratorComponentConfig.js";
45
- export * from "./models/config/backgroundTaskConnectorConfig.js";
53
+ export * from "./models/config/backgroundTaskComponentConfig.js";
46
54
  export * from "./models/config/blobStorageComponentConfig.js";
47
55
  export * from "./models/config/blobStorageConnectorConfig.js";
56
+ export * from "./models/config/contextIdHandlerComponentConfig.js";
48
57
  export * from "./models/config/dataConverterConnectorConfig.js";
49
58
  export * from "./models/config/dataExtractorConnectorConfig.js";
50
59
  export * from "./models/config/dataProcessingComponentConfig.js";
@@ -57,6 +66,7 @@ export * from "./models/config/eventBusComponentConfig.js";
57
66
  export * from "./models/config/eventBusConnectorConfig.js";
58
67
  export * from "./models/config/faucetConnectorConfig.js";
59
68
  export * from "./models/config/federatedCatalogueComponentConfig.js";
69
+ export * from "./models/config/federatedCatalogueFilterComponentConfig.js";
60
70
  export * from "./models/config/identityComponentConfig.js";
61
71
  export * from "./models/config/identityConnectorConfig.js";
62
72
  export * from "./models/config/identityProfileComponentConfig.js";
@@ -73,8 +83,6 @@ export * from "./models/config/messagingPushNotificationConnectorConfig.js";
73
83
  export * from "./models/config/messagingSmsConnectorConfig.js";
74
84
  export * from "./models/config/nftComponentConfig.js";
75
85
  export * from "./models/config/nftConnectorConfig.js";
76
- export * from "./models/config/rightsManagementDapComponentConfig.js";
77
- export * from "./models/config/rightsManagementDarpComponentConfig.js";
78
86
  export * from "./models/config/rightsManagementPapComponentConfig.js";
79
87
  export * from "./models/config/rightsManagementPdpComponentConfig.js";
80
88
  export * from "./models/config/rightsManagementPepComponentConfig.js";
@@ -82,12 +90,22 @@ export * from "./models/config/rightsManagementPipComponentConfig.js";
82
90
  export * from "./models/config/rightsManagementPmpComponentConfig.js";
83
91
  export * from "./models/config/rightsManagementPnapComponentConfig.js";
84
92
  export * from "./models/config/rightsManagementPnpComponentConfig.js";
93
+ export * from "./models/config/rightsManagementPolicyArbiterComponentConfig.js";
94
+ export * from "./models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
95
+ export * from "./models/config/rightsManagementPolicyExecutionActionComponentConfig.js";
96
+ export * from "./models/config/rightsManagementPolicyInformationSourceComponentConfig.js";
97
+ export * from "./models/config/rightsManagementPolicyNegotiatorComponentConfig.js";
98
+ export * from "./models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js";
99
+ export * from "./models/config/rightsManagementPolicyRequesterComponentConfig.js";
85
100
  export * from "./models/config/rightsManagementPxpComponentConfig.js";
86
101
  export * from "./models/config/synchronisedStorageComponentConfig.js";
87
102
  export * from "./models/config/taskSchedulerComponentConfig.js";
88
103
  export * from "./models/config/telemetryComponentConfig.js";
89
104
  export * from "./models/config/telemetryConnectorConfig.js";
90
105
  export * from "./models/config/tenantAdminComponentConfig.js";
106
+ export * from "./models/config/trustComponentConfig.js";
107
+ export * from "./models/config/trustGeneratorComponentConfig.js";
108
+ export * from "./models/config/trustVerifierComponentConfig.js";
91
109
  export * from "./models/config/vaultConnectorConfig.js";
92
110
  export * from "./models/config/verifiableStorageComponentConfig.js";
93
111
  export * from "./models/config/verifiableStorageConnectorConfig.js";
@@ -97,10 +115,10 @@ export * from "./models/types/attestationComponentType.js";
97
115
  export * from "./models/types/attestationConnectorType.js";
98
116
  export * from "./models/types/auditableItemGraphComponentType.js";
99
117
  export * from "./models/types/auditableItemStreamComponentType.js";
100
- export * from "./models/types/authenticationGeneratorComponentType.js";
101
- export * from "./models/types/backgroundTaskConnectorType.js";
118
+ export * from "./models/types/backgroundTaskComponentType.js";
102
119
  export * from "./models/types/blobStorageComponentType.js";
103
120
  export * from "./models/types/blobStorageConnectorType.js";
121
+ export * from "./models/types/contextIdHandlerComponentType.js";
104
122
  export * from "./models/types/dataConverterConnectorType.js";
105
123
  export * from "./models/types/dataExtractorConnectorType.js";
106
124
  export * from "./models/types/dataProcessingComponentType.js";
@@ -113,6 +131,7 @@ export * from "./models/types/eventBusComponentType.js";
113
131
  export * from "./models/types/eventBusConnectorType.js";
114
132
  export * from "./models/types/faucetConnectorType.js";
115
133
  export * from "./models/types/federatedCatalogueComponentType.js";
134
+ export * from "./models/types/federatedCatalogueFilterComponentType.js";
116
135
  export * from "./models/types/identityComponentType.js";
117
136
  export * from "./models/types/identityConnectorType.js";
118
137
  export * from "./models/types/identityProfileComponentType.js";
@@ -129,8 +148,6 @@ export * from "./models/types/messagingPushNotificationConnectorType.js";
129
148
  export * from "./models/types/messagingSmsConnectorType.js";
130
149
  export * from "./models/types/nftComponentType.js";
131
150
  export * from "./models/types/nftConnectorType.js";
132
- export * from "./models/types/rightsManagementDapComponentType.js";
133
- export * from "./models/types/rightsManagementDarpComponentType.js";
134
151
  export * from "./models/types/rightsManagementPapComponentType.js";
135
152
  export * from "./models/types/rightsManagementPdpComponentType.js";
136
153
  export * from "./models/types/rightsManagementPepComponentType.js";
@@ -138,12 +155,22 @@ export * from "./models/types/rightsManagementPipComponentType.js";
138
155
  export * from "./models/types/rightsManagementPmpComponentType.js";
139
156
  export * from "./models/types/rightsManagementPnapComponentType.js";
140
157
  export * from "./models/types/rightsManagementPnpComponentType.js";
158
+ export * from "./models/types/rightsManagementPolicyArbiterComponentType.js";
159
+ export * from "./models/types/rightsManagementPolicyEnforcementProcessorComponentType.js";
160
+ export * from "./models/types/rightsManagementPolicyExecutionActionComponentType.js";
161
+ export * from "./models/types/rightsManagementPolicyInformationSourceComponentType.js";
162
+ export * from "./models/types/rightsManagementPolicyNegotiatorComponentType.js";
163
+ export * from "./models/types/rightsManagementPolicyObligationEnforcerComponentType.js";
164
+ export * from "./models/types/rightsManagementPolicyRequesterComponentType.js";
141
165
  export * from "./models/types/rightsManagementPxpComponentType.js";
142
166
  export * from "./models/types/synchronisedStorageComponentType.js";
143
167
  export * from "./models/types/taskSchedulerComponentType.js";
144
168
  export * from "./models/types/telemetryComponentType.js";
145
169
  export * from "./models/types/telemetryConnectorType.js";
146
170
  export * from "./models/types/tenantAdminComponentType.js";
171
+ export * from "./models/types/trustComponentType.js";
172
+ export * from "./models/types/trustGeneratorComponentType.js";
173
+ export * from "./models/types/trustVerifierComponentType.js";
147
174
  export * from "./models/types/vaultConnectorType.js";
148
175
  export * from "./models/types/verifiableStorageComponentType.js";
149
176
  export * from "./models/types/verifiableStorageConnectorType.js";
@@ -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,yCAAyC,CAAC;AACxD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD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,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./components/attestation.js\";\nexport * from \"./components/auditableItemGraph.js\";\nexport * from \"./components/auditableItemStream.js\";\nexport * from \"./components/authenticationGenerator.js\";\nexport * from \"./components/backgroundTask.js\";\nexport * from \"./components/blobStorage.js\";\nexport * from \"./components/dataProcessing.js\";\nexport * from \"./components/dataSpaceConnector.js\";\nexport * from \"./components/documentManagement.js\";\nexport * from \"./components/entityStorage.js\";\nexport * from \"./components/eventBus.js\";\nexport * from \"./components/faucet.js\";\nexport * from \"./components/federatedCatalogue.js\";\nexport * from \"./components/identity.js\";\nexport * from \"./components/identityProfile.js\";\nexport * from \"./components/identityResolver.js\";\nexport * from \"./components/immutableProof.js\";\nexport * from \"./components/logging.js\";\nexport * from \"./components/messaging.js\";\nexport * from \"./components/nft.js\";\nexport * from \"./components/rightsManagementDap.js\";\nexport * from \"./components/rightsManagementDarp.js\";\nexport * from \"./components/rightsManagementPap.js\";\nexport * from \"./components/rightsManagementPdp.js\";\nexport * from \"./components/rightsManagementPep.js\";\nexport * from \"./components/rightsManagementPip.js\";\nexport * from \"./components/rightsManagementPmp.js\";\nexport * from \"./components/rightsManagementPnap.js\";\nexport * from \"./components/rightsManagementPnp.js\";\nexport * from \"./components/rightsManagementPxp.js\";\nexport * from \"./components/synchronisedStorage.js\";\nexport * from \"./components/taskScheduler.js\";\nexport * from \"./components/telemetry.js\";\nexport * from \"./components/tenant.js\";\nexport * from \"./components/vault.js\";\nexport * from \"./components/verifiableStorage.js\";\nexport * from \"./components/wallet.js\";\nexport * from \"./models/config/attestationComponentConfig.js\";\nexport * from \"./models/config/attestationConnectorConfig.js\";\nexport * from \"./models/config/auditableItemGraphComponentConfig.js\";\nexport * from \"./models/config/auditableItemStreamComponentConfig.js\";\nexport * from \"./models/config/authenticationGeneratorComponentConfig.js\";\nexport * from \"./models/config/backgroundTaskConnectorConfig.js\";\nexport * from \"./models/config/blobStorageComponentConfig.js\";\nexport * from \"./models/config/blobStorageConnectorConfig.js\";\nexport * from \"./models/config/dataConverterConnectorConfig.js\";\nexport * from \"./models/config/dataExtractorConnectorConfig.js\";\nexport * from \"./models/config/dataProcessingComponentConfig.js\";\nexport * from \"./models/config/dataSpaceConnectorComponentConfig.js\";\nexport * from \"./models/config/dltConfig.js\";\nexport * from \"./models/config/documentManagementComponentConfig.js\";\nexport * from \"./models/config/entityStorageComponentConfig.js\";\nexport * from \"./models/config/entityStorageConnectorConfig.js\";\nexport * from \"./models/config/eventBusComponentConfig.js\";\nexport * from \"./models/config/eventBusConnectorConfig.js\";\nexport * from \"./models/config/faucetConnectorConfig.js\";\nexport * from \"./models/config/federatedCatalogueComponentConfig.js\";\nexport * from \"./models/config/identityComponentConfig.js\";\nexport * from \"./models/config/identityConnectorConfig.js\";\nexport * from \"./models/config/identityProfileComponentConfig.js\";\nexport * from \"./models/config/identityProfileConnectorConfig.js\";\nexport * from \"./models/config/identityResolverComponentConfig.js\";\nexport * from \"./models/config/identityResolverConnectorConfig.js\";\nexport * from \"./models/config/immutableProofComponentConfig.js\";\nexport * from \"./models/config/loggingComponentConfig.js\";\nexport * from \"./models/config/loggingConnectorConfig.js\";\nexport * from \"./models/config/messagingAdminComponentConfig.js\";\nexport * from \"./models/config/messagingComponentConfig.js\";\nexport * from \"./models/config/messagingEmailConnectorConfig.js\";\nexport * from \"./models/config/messagingPushNotificationConnectorConfig.js\";\nexport * from \"./models/config/messagingSmsConnectorConfig.js\";\nexport * from \"./models/config/nftComponentConfig.js\";\nexport * from \"./models/config/nftConnectorConfig.js\";\nexport * from \"./models/config/rightsManagementDapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementDarpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPdpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPepComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPipComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPmpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPnapComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPnpComponentConfig.js\";\nexport * from \"./models/config/rightsManagementPxpComponentConfig.js\";\nexport * from \"./models/config/synchronisedStorageComponentConfig.js\";\nexport * from \"./models/config/taskSchedulerComponentConfig.js\";\nexport * from \"./models/config/telemetryComponentConfig.js\";\nexport * from \"./models/config/telemetryConnectorConfig.js\";\nexport * from \"./models/config/tenantAdminComponentConfig.js\";\nexport * from \"./models/config/vaultConnectorConfig.js\";\nexport * from \"./models/config/verifiableStorageComponentConfig.js\";\nexport * from \"./models/config/verifiableStorageConnectorConfig.js\";\nexport * from \"./models/config/walletConnectorConfig.js\";\nexport * from \"./models/IEngineConfig.js\";\nexport * from \"./models/types/attestationComponentType.js\";\nexport * from \"./models/types/attestationConnectorType.js\";\nexport * from \"./models/types/auditableItemGraphComponentType.js\";\nexport * from \"./models/types/auditableItemStreamComponentType.js\";\nexport * from \"./models/types/authenticationGeneratorComponentType.js\";\nexport * from \"./models/types/backgroundTaskConnectorType.js\";\nexport * from \"./models/types/blobStorageComponentType.js\";\nexport * from \"./models/types/blobStorageConnectorType.js\";\nexport * from \"./models/types/dataConverterConnectorType.js\";\nexport * from \"./models/types/dataExtractorConnectorType.js\";\nexport * from \"./models/types/dataProcessingComponentType.js\";\nexport * from \"./models/types/dataSpaceConnectorComponentType.js\";\nexport * from \"./models/types/dltConfigType.js\";\nexport * from \"./models/types/documentManagementComponentType.js\";\nexport * from \"./models/types/entityStorageComponentType.js\";\nexport * from \"./models/types/entityStorageConnectorType.js\";\nexport * from \"./models/types/eventBusComponentType.js\";\nexport * from \"./models/types/eventBusConnectorType.js\";\nexport * from \"./models/types/faucetConnectorType.js\";\nexport * from \"./models/types/federatedCatalogueComponentType.js\";\nexport * from \"./models/types/identityComponentType.js\";\nexport * from \"./models/types/identityConnectorType.js\";\nexport * from \"./models/types/identityProfileComponentType.js\";\nexport * from \"./models/types/identityProfileConnectorType.js\";\nexport * from \"./models/types/identityResolverComponentType.js\";\nexport * from \"./models/types/identityResolverConnectorType.js\";\nexport * from \"./models/types/immutableProofComponentType.js\";\nexport * from \"./models/types/loggingComponentType.js\";\nexport * from \"./models/types/loggingConnectorType.js\";\nexport * from \"./models/types/messagingAdminComponentType.js\";\nexport * from \"./models/types/messagingComponentType.js\";\nexport * from \"./models/types/messagingEmailConnectorType.js\";\nexport * from \"./models/types/messagingPushNotificationConnectorType.js\";\nexport * from \"./models/types/messagingSmsConnectorType.js\";\nexport * from \"./models/types/nftComponentType.js\";\nexport * from \"./models/types/nftConnectorType.js\";\nexport * from \"./models/types/rightsManagementDapComponentType.js\";\nexport * from \"./models/types/rightsManagementDarpComponentType.js\";\nexport * from \"./models/types/rightsManagementPapComponentType.js\";\nexport * from \"./models/types/rightsManagementPdpComponentType.js\";\nexport * from \"./models/types/rightsManagementPepComponentType.js\";\nexport * from \"./models/types/rightsManagementPipComponentType.js\";\nexport * from \"./models/types/rightsManagementPmpComponentType.js\";\nexport * from \"./models/types/rightsManagementPnapComponentType.js\";\nexport * from \"./models/types/rightsManagementPnpComponentType.js\";\nexport * from \"./models/types/rightsManagementPxpComponentType.js\";\nexport * from \"./models/types/synchronisedStorageComponentType.js\";\nexport * from \"./models/types/taskSchedulerComponentType.js\";\nexport * from \"./models/types/telemetryComponentType.js\";\nexport * from \"./models/types/telemetryConnectorType.js\";\nexport * from \"./models/types/tenantAdminComponentType.js\";\nexport * from \"./models/types/vaultConnectorType.js\";\nexport * from \"./models/types/verifiableStorageComponentType.js\";\nexport * from \"./models/types/verifiableStorageConnectorType.js\";\nexport * from \"./models/types/walletConnectorType.js\";\nexport * from \"./utils/engineTypeHelper.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,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,cAA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C;AAChF,cAAc,yEAAyE,CAAC;AACxF,cAAc,gEAAgE,CAAC;AAC/E,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,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/dataSpaceConnector.js\";\nexport * from \"./components/documentManagement.js\";\nexport * from \"./components/entityStorage.js\";\nexport * from \"./components/eventBus.js\";\nexport * from \"./components/faucet.js\";\nexport * from \"./components/federatedCatalogue.js\";\nexport * from \"./components/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/dataSpaceConnectorComponentConfig.js\";\nexport * from \"./models/config/dltConfig.js\";\nexport * from \"./models/config/documentManagementComponentConfig.js\";\nexport * from \"./models/config/entityStorageComponentConfig.js\";\nexport * from \"./models/config/entityStorageConnectorConfig.js\";\nexport * from \"./models/config/eventBusComponentConfig.js\";\nexport * from \"./models/config/eventBusConnectorConfig.js\";\nexport * from \"./models/config/faucetConnectorConfig.js\";\nexport * from \"./models/config/federatedCatalogueComponentConfig.js\";\nexport * from \"./models/config/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/dataSpaceConnectorComponentType.js\";\nexport * from \"./models/types/dltConfigType.js\";\nexport * from \"./models/types/documentManagementComponentType.js\";\nexport * from \"./models/types/entityStorageComponentType.js\";\nexport * from \"./models/types/entityStorageConnectorType.js\";\nexport * from \"./models/types/eventBusComponentType.js\";\nexport * from \"./models/types/eventBusConnectorType.js\";\nexport * from \"./models/types/faucetConnectorType.js\";\nexport * from \"./models/types/federatedCatalogueComponentType.js\";\nexport * from \"./models/types/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 +1 @@
1
- {"version":3,"file":"IEngineConfig.js","sourceRoot":"","sources":["../../../src/models/IEngineConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineCoreConfig, IEngineCoreTypeConfig } from \"@twin.org/engine-models\";\nimport type { AttestationComponentConfig } from \"./config/attestationComponentConfig.js\";\nimport type { AttestationConnectorConfig } from \"./config/attestationConnectorConfig.js\";\nimport type { AuditableItemGraphComponentConfig } from \"./config/auditableItemGraphComponentConfig.js\";\nimport type { AuditableItemStreamComponentConfig } from \"./config/auditableItemStreamComponentConfig.js\";\nimport type { AuthenticationGeneratorComponentConfig } from \"./config/authenticationGeneratorComponentConfig.js\";\nimport type { BackgroundTaskConnectorConfig } from \"./config/backgroundTaskConnectorConfig.js\";\nimport type { BlobStorageComponentConfig } from \"./config/blobStorageComponentConfig.js\";\nimport type { BlobStorageConnectorConfig } from \"./config/blobStorageConnectorConfig.js\";\nimport type { DataConverterConnectorConfig } from \"./config/dataConverterConnectorConfig.js\";\nimport type { DataExtractorConnectorConfig } from \"./config/dataExtractorConnectorConfig.js\";\nimport type { DataProcessingComponentConfig } from \"./config/dataProcessingComponentConfig.js\";\nimport type { DataSpaceConnectorComponentConfig } from \"./config/dataSpaceConnectorComponentConfig.js\";\nimport type { DltConfig } from \"./config/dltConfig.js\";\nimport type { DocumentManagementComponentConfig } from \"./config/documentManagementComponentConfig.js\";\nimport type { EntityStorageComponentConfig } from \"./config/entityStorageComponentConfig.js\";\nimport type { EntityStorageConnectorConfig } from \"./config/entityStorageConnectorConfig.js\";\nimport type { EventBusComponentConfig } from \"./config/eventBusComponentConfig.js\";\nimport type { EventBusConnectorConfig } from \"./config/eventBusConnectorConfig.js\";\nimport type { FaucetConnectorConfig } from \"./config/faucetConnectorConfig.js\";\nimport type { FederatedCatalogueComponentConfig } from \"./config/federatedCatalogueComponentConfig.js\";\nimport type { IdentityComponentConfig } from \"./config/identityComponentConfig.js\";\nimport type { IdentityConnectorConfig } from \"./config/identityConnectorConfig.js\";\nimport type { IdentityProfileComponentConfig } from \"./config/identityProfileComponentConfig.js\";\nimport type { IdentityProfileConnectorConfig } from \"./config/identityProfileConnectorConfig.js\";\nimport type { IdentityResolverComponentConfig } from \"./config/identityResolverComponentConfig.js\";\nimport type { IdentityResolverConnectorConfig } from \"./config/identityResolverConnectorConfig.js\";\nimport type { ImmutableProofComponentConfig } from \"./config/immutableProofComponentConfig.js\";\nimport type { LoggingComponentConfig } from \"./config/loggingComponentConfig.js\";\nimport type { LoggingConnectorConfig } from \"./config/loggingConnectorConfig.js\";\nimport type { MessagingAdminComponentConfig } from \"./config/messagingAdminComponentConfig.js\";\nimport type { MessagingComponentConfig } from \"./config/messagingComponentConfig.js\";\nimport type { MessagingEmailConnectorConfig } from \"./config/messagingEmailConnectorConfig.js\";\nimport type { MessagingPushNotificationConnectorConfig } from \"./config/messagingPushNotificationConnectorConfig.js\";\nimport type { MessagingSmsConnectorConfig } from \"./config/messagingSmsConnectorConfig.js\";\nimport type { NftComponentConfig } from \"./config/nftComponentConfig.js\";\nimport type { NftConnectorConfig } from \"./config/nftConnectorConfig.js\";\nimport type { RightsManagementDapComponentConfig } from \"./config/rightsManagementDapComponentConfig.js\";\nimport type { RightsManagementDarpComponentConfig } from \"./config/rightsManagementDarpComponentConfig.js\";\nimport type { RightsManagementPapComponentConfig } from \"./config/rightsManagementPapComponentConfig.js\";\nimport type { RightsManagementPdpComponentConfig } from \"./config/rightsManagementPdpComponentConfig.js\";\nimport type { RightsManagementPepComponentConfig } from \"./config/rightsManagementPepComponentConfig.js\";\nimport type { RightsManagementPipComponentConfig } from \"./config/rightsManagementPipComponentConfig.js\";\nimport type { RightsManagementPmpComponentConfig } from \"./config/rightsManagementPmpComponentConfig.js\";\nimport type { RightsManagementPnapComponentConfig } from \"./config/rightsManagementPnapComponentConfig.js\";\nimport type { RightsManagementPnpComponentConfig } from \"./config/rightsManagementPnpComponentConfig.js\";\nimport type { RightsManagementPxpComponentConfig } from \"./config/rightsManagementPxpComponentConfig.js\";\nimport type { SynchronisedStorageComponentConfig } from \"./config/synchronisedStorageComponentConfig.js\";\nimport type { TaskSchedulerComponentConfig } from \"./config/taskSchedulerComponentConfig.js\";\nimport type { TelemetryComponentConfig } from \"./config/telemetryComponentConfig.js\";\nimport type { TelemetryConnectorConfig } from \"./config/telemetryConnectorConfig.js\";\nimport type { TenantAdminComponentConfig } from \"./config/tenantAdminComponentConfig.js\";\nimport type { VaultConnectorConfig } from \"./config/vaultConnectorConfig.js\";\nimport type { VerifiableStorageComponentConfig } from \"./config/verifiableStorageComponentConfig.js\";\nimport type { VerifiableStorageConnectorConfig } from \"./config/verifiableStorageConnectorConfig.js\";\nimport type { WalletConnectorConfig } from \"./config/walletConnectorConfig.js\";\n\n/**\n * Extended engine core config with known types.\n */\nexport interface IEngineConfig extends IEngineCoreConfig {\n\t/**\n\t * The types to initialise in the engine.\n\t */\n\ttypes: {\n\t\t[type: string]: IEngineCoreTypeConfig[] | undefined;\n\n\t\t/**\n\t\t * Logging connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tloggingConnector?: IEngineCoreTypeConfig<LoggingConnectorConfig>[];\n\n\t\t/**\n\t\t * Logging component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tloggingComponent?: IEngineCoreTypeConfig<LoggingComponentConfig>[];\n\n\t\t/**\n\t\t * Entity storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tentityStorageConnector?: IEngineCoreTypeConfig<EntityStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Entity storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tentityStorageComponent?: IEngineCoreTypeConfig<EntityStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Blob storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tblobStorageConnector?: IEngineCoreTypeConfig<BlobStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Blob storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tblobStorageComponent?: IEngineCoreTypeConfig<BlobStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Telemetry connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttelemetryConnector?: IEngineCoreTypeConfig<TelemetryConnectorConfig>[];\n\n\t\t/**\n\t\t * Telemetry component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttelemetryComponent?: IEngineCoreTypeConfig<TelemetryComponentConfig>[];\n\n\t\t/**\n\t\t * Messaging email connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingEmailConnector?: IEngineCoreTypeConfig<MessagingEmailConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging SMS connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingSmsConnector?: IEngineCoreTypeConfig<MessagingSmsConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging push notification connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingPushNotificationConnector?: IEngineCoreTypeConfig<MessagingPushNotificationConnectorConfig>[];\n\n\t\t/**\n\t\t * Messaging admin component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingAdminComponent?: IEngineCoreTypeConfig<MessagingAdminComponentConfig>[];\n\n\t\t/**\n\t\t * Messaging component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tmessagingComponent?: IEngineCoreTypeConfig<MessagingComponentConfig>[];\n\n\t\t/**\n\t\t * Background task connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tbackgroundTaskConnector?: IEngineCoreTypeConfig<BackgroundTaskConnectorConfig>[];\n\n\t\t/**\n\t\t * Task scheduler component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttaskSchedulerComponent?: IEngineCoreTypeConfig<TaskSchedulerComponentConfig>[];\n\n\t\t/**\n\t\t * Event bus connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\teventBusConnector?: IEngineCoreTypeConfig<EventBusConnectorConfig>[];\n\n\t\t/**\n\t\t * Event bus component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\teventBusComponent?: IEngineCoreTypeConfig<EventBusComponentConfig>[];\n\n\t\t/**\n\t\t * Vault connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tvaultConnector?: IEngineCoreTypeConfig<VaultConnectorConfig>[];\n\n\t\t/**\n\t\t * DLT options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdltConfig?: IEngineCoreTypeConfig<DltConfig>[];\n\n\t\t/**\n\t\t * Wallet connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\twalletConnector?: IEngineCoreTypeConfig<WalletConnectorConfig>[];\n\n\t\t/**\n\t\t * Verifiable storage connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tverifiableStorageConnector?: IEngineCoreTypeConfig<VerifiableStorageConnectorConfig>[];\n\n\t\t/**\n\t\t * Verifiable storage component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tverifiableStorageComponent?: IEngineCoreTypeConfig<VerifiableStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Immutable proof component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\timmutableProofComponent?: IEngineCoreTypeConfig<ImmutableProofComponentConfig>[];\n\n\t\t/**\n\t\t * Faucet connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfaucetConnector?: IEngineCoreTypeConfig<FaucetConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityConnector?: IEngineCoreTypeConfig<IdentityConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityComponent?: IEngineCoreTypeConfig<IdentityComponentConfig>[];\n\n\t\t/**\n\t\t * Identity resolver connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityResolverConnector?: IEngineCoreTypeConfig<IdentityResolverConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity resolver component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityResolverComponent?: IEngineCoreTypeConfig<IdentityResolverComponentConfig>[];\n\n\t\t/**\n\t\t * Identity profile connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityProfileConnector?: IEngineCoreTypeConfig<IdentityProfileConnectorConfig>[];\n\n\t\t/**\n\t\t * Identity profile component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tidentityProfileComponent?: IEngineCoreTypeConfig<IdentityProfileComponentConfig>[];\n\n\t\t/**\n\t\t * NFT connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnftConnector?: IEngineCoreTypeConfig<NftConnectorConfig>[];\n\n\t\t/**\n\t\t * NFT component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tnftComponent?: IEngineCoreTypeConfig<NftComponentConfig>[];\n\n\t\t/**\n\t\t * Attestation connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tattestationConnector?: IEngineCoreTypeConfig<AttestationConnectorConfig>[];\n\n\t\t/**\n\t\t * Attestation component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tattestationComponent?: IEngineCoreTypeConfig<AttestationComponentConfig>[];\n\n\t\t/**\n\t\t * Auditable item graph component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauditableItemGraphComponent?: IEngineCoreTypeConfig<AuditableItemGraphComponentConfig>[];\n\n\t\t/**\n\t\t * Auditable item stream component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauditableItemStreamComponent?: IEngineCoreTypeConfig<AuditableItemStreamComponentConfig>[];\n\n\t\t/**\n\t\t * Data converter connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataConverterConnector?: IEngineCoreTypeConfig<DataConverterConnectorConfig>[];\n\n\t\t/**\n\t\t * Data extractor connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataExtractorConnector?: IEngineCoreTypeConfig<DataExtractorConnectorConfig>[];\n\n\t\t/**\n\t\t * Date processing options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataProcessingComponent?: IEngineCoreTypeConfig<DataProcessingComponentConfig>[];\n\n\t\t/**\n\t\t * Document management options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdocumentManagementComponent?: IEngineCoreTypeConfig<DocumentManagementComponentConfig>[];\n\n\t\t/**\n\t\t * Authentication generator options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tauthenticationGeneratorComponent?: IEngineCoreTypeConfig<AuthenticationGeneratorComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPapComponent?: IEngineCoreTypeConfig<RightsManagementPapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PDP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPdpComponent?: IEngineCoreTypeConfig<RightsManagementPdpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PEP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPepComponent?: IEngineCoreTypeConfig<RightsManagementPepComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PIP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPipComponent?: IEngineCoreTypeConfig<RightsManagementPipComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PMP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPmpComponent?: IEngineCoreTypeConfig<RightsManagementPmpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PXP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPxpComponent?: IEngineCoreTypeConfig<RightsManagementPxpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PNP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPnpComponent?: IEngineCoreTypeConfig<RightsManagementPnpComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management PNAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementPnapComponent?: IEngineCoreTypeConfig<RightsManagementPnapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management DAP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementDapComponent?: IEngineCoreTypeConfig<RightsManagementDapComponentConfig>[];\n\n\t\t/**\n\t\t * Rights management DARP options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\trightsManagementDarpComponent?: IEngineCoreTypeConfig<RightsManagementDarpComponentConfig>[];\n\n\t\t/**\n\t\t * Synchronised storage options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tsynchronisedStorageComponent?: IEngineCoreTypeConfig<SynchronisedStorageComponentConfig>[];\n\n\t\t/**\n\t\t * Federated catalogue options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tfederatedCatalogueComponent?: IEngineCoreTypeConfig<FederatedCatalogueComponentConfig>[];\n\n\t\t/**\n\t\t * Data space connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataSpaceConnectorComponent?: IEngineCoreTypeConfig<DataSpaceConnectorComponentConfig>[];\n\n\t\t/**\n\t\t * Tenant admin component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttenantAdminComponent?: IEngineCoreTypeConfig<TenantAdminComponentConfig>[];\n\t};\n}\n"]}
1
+ {"version":3,"file":"IEngineConfig.js","sourceRoot":"","sources":["../../../src/models/IEngineConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineCoreConfig, IEngineCoreTypeConfig } from \"@twin.org/engine-models\";\nimport type { AttestationComponentConfig } from \"./config/attestationComponentConfig.js\";\nimport type { AttestationConnectorConfig } from \"./config/attestationConnectorConfig.js\";\nimport type { AuditableItemGraphComponentConfig } from \"./config/auditableItemGraphComponentConfig.js\";\nimport type { AuditableItemStreamComponentConfig } from \"./config/auditableItemStreamComponentConfig.js\";\nimport type { 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 { DataSpaceConnectorComponentConfig } from \"./config/dataSpaceConnectorComponentConfig.js\";\nimport type { DltConfig } from \"./config/dltConfig.js\";\nimport type { DocumentManagementComponentConfig } from \"./config/documentManagementComponentConfig.js\";\nimport type { EntityStorageComponentConfig } from \"./config/entityStorageComponentConfig.js\";\nimport type { EntityStorageConnectorConfig } from \"./config/entityStorageConnectorConfig.js\";\nimport type { EventBusComponentConfig } from \"./config/eventBusComponentConfig.js\";\nimport type { EventBusConnectorConfig } from \"./config/eventBusConnectorConfig.js\";\nimport type { FaucetConnectorConfig } from \"./config/faucetConnectorConfig.js\";\nimport type { FederatedCatalogueComponentConfig } from \"./config/federatedCatalogueComponentConfig.js\";\nimport type { 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 * Data space connector options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tdataSpaceConnectorComponent?: IEngineCoreTypeConfig<DataSpaceConnectorComponentConfig>[];\n\n\t\t/**\n\t\t * Tenant admin component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\ttenantAdminComponent?: IEngineCoreTypeConfig<TenantAdminComponentConfig>[];\n\n\t\t/**\n\t\t * Context Id Handler component options which can be overridden by individual components by specifying types other than default.\n\t\t */\n\t\tcontextIdHandlerComponent?: IEngineCoreTypeConfig<ContextIdHandlerComponentConfig>[];\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=backgroundTaskComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backgroundTaskComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/backgroundTaskComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBackgroundTaskServiceConstructorOptions } from \"@twin.org/background-task-service\";\nimport type { BackgroundTaskComponentType } from \"../types/backgroundTaskComponentType.js\";\n\n/**\n * Background task component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type BackgroundTaskComponentConfig = {\n\ttype: typeof BackgroundTaskComponentType.Service;\n\toptions?: IBackgroundTaskServiceConstructorOptions;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"blobStorageConnectorConfig.js","sourceRoot":"","sources":["../../../../src/models/config/blobStorageConnectorConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IS3BlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-aws-s3\";\nimport type { IAzureBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-azure\";\nimport type { IFileBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-file\";\nimport type { IGcpBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-gcp\";\nimport type { IIpfsBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-ipfs\";\nimport type { BlobStorageConnectorType } from \"../types/blobStorageConnectorType.js\";\n\n/**\n * Blob storage connector config types.\n */\nexport type BlobStorageConnectorConfig =\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.File;\n\t\t\toptions: IFileBlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.Memory;\n\t\t\toptions?: never;\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.AwsS3;\n\t\t\toptions: IS3BlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.AzureStorage;\n\t\t\toptions: IAzureBlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.GcpStorage;\n\t\t\toptions: IGcpBlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.Ipfs;\n\t\t\toptions: IIpfsBlobStorageConnectorConstructorOptions;\n\t };\n"]}
1
+ {"version":3,"file":"blobStorageConnectorConfig.js","sourceRoot":"","sources":["../../../../src/models/config/blobStorageConnectorConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IS3BlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-aws-s3\";\nimport type { IAzureBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-azure\";\nimport type { IFileBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-file\";\nimport type { IGcpBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-gcp\";\nimport type { IIpfsBlobStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-ipfs\";\nimport type { IMemoryStorageConnectorConstructorOptions } from \"@twin.org/blob-storage-connector-memory\";\nimport type { BlobStorageConnectorType } from \"../types/blobStorageConnectorType.js\";\n\n/**\n * Blob storage connector config types.\n */\nexport type BlobStorageConnectorConfig =\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.File;\n\t\t\toptions: IFileBlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.Memory;\n\t\t\toptions?: IMemoryStorageConnectorConstructorOptions & { config: never };\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.AwsS3;\n\t\t\toptions: IS3BlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.AzureStorage;\n\t\t\toptions: IAzureBlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.GcpStorage;\n\t\t\toptions: IGcpBlobStorageConnectorConstructorOptions & {\n\t\t\t\tstoragePrefix?: string;\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof BlobStorageConnectorType.Ipfs;\n\t\t\toptions: IIpfsBlobStorageConnectorConstructorOptions;\n\t };\n"]}