@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
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=contextIdHandlerComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextIdHandlerComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/contextIdHandlerComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContextIdHandlerComponentType } from \"../types/contextIdHandlerComponentType.js\";\n\n/**\n * Context Id Handler component config types.\n */\nexport type ContextIdHandlerComponentConfig =\n\t| {\n\t\t\ttype: typeof ContextIdHandlerComponentType.Did;\n\t\t\toptions?: never;\n\t }\n\t| {\n\t\t\ttype: typeof ContextIdHandlerComponentType.Tenant;\n\t\t\toptions?: never;\n\t };\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=federatedCatalogueFilterComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"federatedCatalogueFilterComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/federatedCatalogueFilterComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IFilterByExampleConstructorOptions } from \"@twin.org/federated-catalogue-filters\";\nimport type { FederatedCatalogueFilterComponentType } from \"../types/federatedCatalogueFilterComponentType.js\";\n\n/**\n * Federated catalog filter component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type FederatedCatalogueFilterComponentConfig = {\n\ttype: typeof FederatedCatalogueFilterComponentType.FilterByExample;\n\toptions: IFilterByExampleConstructorOptions;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"rightsManagementPdpComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPdpComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineModuleConfig } from \"@twin.org/engine-models\";\nimport type { IPolicyDecisionPointServiceConstructorOptions } from \"@twin.org/rights-management-pdp-service\";\nimport type { RightsManagementPdpComponentType } from \"../types/rightsManagementPdpComponentType.js\";\n\n/**\n * Rights management PDP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPdpComponentConfig = {\n\ttype: typeof RightsManagementPdpComponentType.Service;\n\toptions?: IPolicyDecisionPointServiceConstructorOptions & {\n\t\tarbiterModulesConfig?: IEngineModuleConfig[];\n\t};\n};\n"]}
1
+ {"version":3,"file":"rightsManagementPdpComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPdpComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPolicyDecisionPointServiceConstructorOptions } from \"@twin.org/rights-management-pdp-service\";\nimport type { RightsManagementPdpComponentType } from \"../types/rightsManagementPdpComponentType.js\";\n\n/**\n * Rights management PDP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPdpComponentConfig = {\n\ttype: typeof RightsManagementPdpComponentType.Service;\n\toptions?: IPolicyDecisionPointServiceConstructorOptions;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"rightsManagementPepComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPepComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineModuleConfig } from \"@twin.org/engine-models\";\nimport type { IPolicyEnforcementPointServiceConstructorOptions } from \"@twin.org/rights-management-pep-service\";\nimport type { RightsManagementPepComponentType } from \"../types/rightsManagementPepComponentType.js\";\n\n/**\n * Rights management PEP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPepComponentConfig = {\n\ttype: typeof RightsManagementPepComponentType.Service;\n\toptions?: IPolicyEnforcementPointServiceConstructorOptions & {\n\t\tprocessorModulesConfig?: IEngineModuleConfig[];\n\t};\n};\n"]}
1
+ {"version":3,"file":"rightsManagementPepComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPepComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPolicyEnforcementPointServiceConstructorOptions } from \"@twin.org/rights-management-pep-service\";\nimport type { RightsManagementPepComponentType } from \"../types/rightsManagementPepComponentType.js\";\n\n/**\n * Rights management PEP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPepComponentConfig = {\n\ttype: typeof RightsManagementPepComponentType.Service;\n\toptions?: IPolicyEnforcementPointServiceConstructorOptions;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"rightsManagementPipComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPipComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineModuleConfig } from \"@twin.org/engine-models\";\nimport type { IPolicyInformationPointServiceConstructorOptions } from \"@twin.org/rights-management-pip-service\";\nimport type { RightsManagementPipComponentType } from \"../types/rightsManagementPipComponentType.js\";\n\n/**\n * Rights management PIP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPipComponentConfig = {\n\ttype: typeof RightsManagementPipComponentType.Service;\n\toptions?: IPolicyInformationPointServiceConstructorOptions & {\n\t\tinformationModulesConfig?: IEngineModuleConfig[];\n\t};\n};\n"]}
1
+ {"version":3,"file":"rightsManagementPipComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPipComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPolicyInformationPointServiceConstructorOptions } from \"@twin.org/rights-management-pip-service\";\nimport type { RightsManagementPipComponentType } from \"../types/rightsManagementPipComponentType.js\";\n\n/**\n * Rights management PIP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPipComponentConfig = {\n\ttype: typeof RightsManagementPipComponentType.Service;\n\toptions?: IPolicyInformationPointServiceConstructorOptions;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"rightsManagementPnpComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPnpComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBaseRestClientConfig } from \"@twin.org/api-models\";\nimport type { IEngineModuleConfig } from \"@twin.org/engine-models\";\nimport type { IPolicyNegotiationPointServiceConstructorOptions } from \"@twin.org/rights-management-pnp-service\";\nimport type { RightsManagementPnpComponentType } from \"../types/rightsManagementPnpComponentType.js\";\n\n/**\n * Rights management PNP component config types.\n */\nexport type RightsManagementPnpComponentConfig =\n\t| {\n\t\t\ttype: typeof RightsManagementPnpComponentType.Service;\n\t\t\toptions: IPolicyNegotiationPointServiceConstructorOptions & {\n\t\t\t\tnegotiatorModulesConfig?: IEngineModuleConfig[];\n\t\t\t\trequesterModulesConfig?: IEngineModuleConfig[];\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof RightsManagementPnpComponentType.RestClient;\n\t\t\toptions: IBaseRestClientConfig;\n\t };\n"]}
1
+ {"version":3,"file":"rightsManagementPnpComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPnpComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBaseRestClientConfig } from \"@twin.org/api-models\";\nimport type { IPolicyNegotiationPointServiceConstructorOptions } from \"@twin.org/rights-management-pnp-service\";\nimport type { RightsManagementPnpComponentType } from \"../types/rightsManagementPnpComponentType.js\";\n\n/**\n * Rights management PNP component config types.\n */\nexport type RightsManagementPnpComponentConfig =\n\t| {\n\t\t\ttype: typeof RightsManagementPnpComponentType.Service;\n\t\t\toptions: IPolicyNegotiationPointServiceConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof RightsManagementPnpComponentType.RestClient;\n\t\t\toptions: IBaseRestClientConfig;\n\t };\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rightsManagementPolicyArbiterComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyArbiterComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPolicyArbiterComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDefaultPolicyArbiterConstructorOptions,\n\tIPassThroughPolicyArbiterConstructorOptions\n} from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementPolicyArbiterComponentType } from \"../types/rightsManagementPolicyArbiterComponentType.js\";\n\n/**\n * Rights management policy arbiter component config types.\n */\nexport type RightsManagementPolicyArbiterComponentConfig =\n\t| {\n\t\t\ttype: typeof RightsManagementPolicyArbiterComponentType.PassThrough;\n\t\t\toptions?: IPassThroughPolicyArbiterConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof RightsManagementPolicyArbiterComponentType.Default;\n\t\t\toptions?: IDefaultPolicyArbiterConstructorOptions;\n\t };\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rightsManagementPolicyEnforcementProcessorComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyEnforcementProcessorComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIDefaultPolicyEnforcementProcessorConstructorOptions,\n\tIPassThroughPolicyEnforcementProcessorConstructorOptions\n} from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementPolicyEnforcementProcessorComponentType } from \"../types/rightsManagementPolicyEnforcementProcessorComponentType.js\";\n\n/**\n * Rights management policy enforcement processor component config types.\n */\nexport type RightsManagementPolicyEnforcementProcessorComponentConfig =\n\t| {\n\t\t\ttype: typeof RightsManagementPolicyEnforcementProcessorComponentType.PassThrough;\n\t\t\toptions?: IPassThroughPolicyEnforcementProcessorConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof RightsManagementPolicyEnforcementProcessorComponentType.Default;\n\t\t\toptions?: IDefaultPolicyEnforcementProcessorConstructorOptions;\n\t };\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rightsManagementPolicyExecutionActionComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyExecutionActionComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPolicyExecutionActionComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ILoggingPolicyExecutionActionConstructorOptions } from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementPolicyExecutionActionComponentType } from \"../types/rightsManagementPolicyExecutionActionComponentType.js\";\n\n/**\n * Rights management policy execution action component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPolicyExecutionActionComponentConfig = {\n\ttype: typeof RightsManagementPolicyExecutionActionComponentType.Logging;\n\toptions?: ILoggingPolicyExecutionActionConstructorOptions;\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rightsManagementPolicyInformationSourceComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyInformationSourceComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPolicyInformationSourceComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {\n\tIIdentityPolicyInformationSourceConstructorOptions,\n\tIStaticPolicyInformationSourceConstructorOptions\n} from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementPolicyInformationSourceComponentType } from \"../types/rightsManagementPolicyInformationSourceComponentType.js\";\n\n/**\n * Rights management policy information source component config types.\n */\nexport type RightsManagementPolicyInformationSourceComponentConfig =\n\t| {\n\t\t\ttype: typeof RightsManagementPolicyInformationSourceComponentType.Identity;\n\t\t\toptions?: IIdentityPolicyInformationSourceConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof RightsManagementPolicyInformationSourceComponentType.Static;\n\t\t\toptions?: IStaticPolicyInformationSourceConstructorOptions;\n\t };\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rightsManagementPolicyNegotiatorComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyNegotiatorComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPolicyNegotiatorComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPassThroughPolicyNegotiatorConstructorOptions } from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementPolicyNegotiatorComponentType } from \"../types/rightsManagementPolicyNegotiatorComponentType.js\";\n\n/**\n * Rights management policy negotiator component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPolicyNegotiatorComponentConfig = {\n\ttype: typeof RightsManagementPolicyNegotiatorComponentType.PassThrough;\n\toptions?: IPassThroughPolicyNegotiatorConstructorOptions;\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rightsManagementPolicyObligationEnforcerComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyObligationEnforcerComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPolicyObligationEnforcerComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPassThroughPolicyObligationEnforcerConstructorOptions } from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementPolicyObligationEnforcerComponentType } from \"../types/rightsManagementPolicyObligationEnforcerComponentType.js\";\n\n/**\n * Rights management policy obligation enforcer component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPolicyObligationEnforcerComponentConfig = {\n\ttype: typeof RightsManagementPolicyObligationEnforcerComponentType.PassThrough;\n\toptions?: IPassThroughPolicyObligationEnforcerConstructorOptions;\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rightsManagementPolicyRequesterComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyRequesterComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPolicyRequesterComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPassThroughPolicyRequesterConstructorOptions } from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementPolicyRequesterComponentType } from \"../types/rightsManagementPolicyRequesterComponentType.js\";\n\n/**\n * Rights management policy requester component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPolicyRequesterComponentConfig = {\n\ttype: typeof RightsManagementPolicyRequesterComponentType.PassThrough;\n\toptions?: IPassThroughPolicyRequesterConstructorOptions;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"rightsManagementPxpComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPxpComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEngineModuleConfig } from \"@twin.org/engine-models\";\nimport type { IPolicyExecutionPointServiceConstructorOptions } from \"@twin.org/rights-management-pxp-service\";\nimport type { RightsManagementPxpComponentType } from \"../types/rightsManagementPxpComponentType.js\";\n\n/**\n * Rights management PXP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPxpComponentConfig = {\n\ttype: typeof RightsManagementPxpComponentType.Service;\n\toptions?: IPolicyExecutionPointServiceConstructorOptions & {\n\t\tactionModulesConfig?: IEngineModuleConfig[];\n\t};\n};\n"]}
1
+ {"version":3,"file":"rightsManagementPxpComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementPxpComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPolicyExecutionPointServiceConstructorOptions } from \"@twin.org/rights-management-pxp-service\";\nimport type { RightsManagementPxpComponentType } from \"../types/rightsManagementPxpComponentType.js\";\n\n/**\n * Rights management PXP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementPxpComponentConfig = {\n\ttype: typeof RightsManagementPxpComponentType.Service;\n\toptions?: IPolicyExecutionPointServiceConstructorOptions;\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=trustComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/trustComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ITrustServiceConstructorOptions } from \"@twin.org/trust-service\";\nimport type { TrustComponentType } from \"../types/trustComponentType.js\";\n\n/**\n * Trust component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type TrustComponentConfig = {\n\ttype: typeof TrustComponentType.Service;\n\toptions?: ITrustServiceConstructorOptions;\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=trustGeneratorComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustGeneratorComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/trustGeneratorComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJwtVerifiableCredentialGeneratorConstructorOptions } from \"@twin.org/trust-generators\";\nimport type { TrustGeneratorComponentType } from \"../types/trustGeneratorComponentType.js\";\n\n/**\n * Trust Generator component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type TrustGeneratorComponentConfig = {\n\ttype: typeof TrustGeneratorComponentType.JwtVerifiableCredential;\n\toptions: IJwtVerifiableCredentialGeneratorConstructorOptions;\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=trustVerifierComponentConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustVerifierComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/trustVerifierComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJwtVerifiableCredentialVerifierConstructorOptions } from \"@twin.org/trust-verifiers\";\nimport type { TrustVerifierComponentType } from \"../types/trustVerifierComponentType.js\";\n\n/**\n * Trust verifier component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type TrustVerifierComponentConfig = {\n\ttype: typeof TrustVerifierComponentType.JwtVerifiableCredential;\n\toptions?: IJwtVerifiableCredentialVerifierConstructorOptions;\n};\n"]}
@@ -1,13 +1,13 @@
1
1
  // Copyright 2024 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  /**
4
- * Rights management DARP component types.
4
+ * Background task component types.
5
5
  */
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
- export const RightsManagementDarpComponentType = {
7
+ export const BackgroundTaskComponentType = {
8
8
  /**
9
9
  * Service.
10
10
  */
11
11
  Service: "service"
12
12
  };
13
- //# sourceMappingURL=rightsManagementDarpComponentType.js.map
13
+ //# sourceMappingURL=backgroundTaskComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backgroundTaskComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/backgroundTaskComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Background task component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const BackgroundTaskComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\"\n} as const;\n\n/**\n * Background task component types.\n */\nexport type BackgroundTaskComponentType =\n\t(typeof BackgroundTaskComponentType)[keyof typeof BackgroundTaskComponentType];\n"]}
@@ -0,0 +1,17 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Context Id Handler types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const ContextIdHandlerComponentType = {
8
+ /**
9
+ * Did.
10
+ */
11
+ Did: "Did",
12
+ /**
13
+ * Tenant.
14
+ */
15
+ Tenant: "Tenant"
16
+ };
17
+ //# sourceMappingURL=contextIdHandlerComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextIdHandlerComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/contextIdHandlerComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC5C;;OAEG;IACH,GAAG,EAAE,KAAK;IAEV;;OAEG;IACH,MAAM,EAAE,QAAQ;CACP,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Context Id Handler types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContextIdHandlerComponentType = {\n\t/**\n\t * Did.\n\t */\n\tDid: \"Did\",\n\n\t/**\n\t * Tenant.\n\t */\n\tTenant: \"Tenant\"\n} as const;\n\n/**\n * Context Id Handler component types.\n */\nexport type ContextIdHandlerComponentType =\n\t(typeof ContextIdHandlerComponentType)[keyof typeof ContextIdHandlerComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Federated catalogue filter component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const FederatedCatalogueFilterComponentType = {
8
+ /**
9
+ * Filter By Example.
10
+ */
11
+ FilterByExample: "filter-by-example"
12
+ };
13
+ //# sourceMappingURL=federatedCatalogueFilterComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"federatedCatalogueFilterComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/federatedCatalogueFilterComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACpD;;OAEG;IACH,eAAe,EAAE,mBAAmB;CAC3B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Federated catalogue filter component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const FederatedCatalogueFilterComponentType = {\n\t/**\n\t * Filter By Example.\n\t */\n\tFilterByExample: \"filter-by-example\"\n} as const;\n\n/**\n * Federated catalogue filter component types.\n */\nexport type FederatedCatalogueFilterComponentType =\n\t(typeof FederatedCatalogueFilterComponentType)[keyof typeof FederatedCatalogueFilterComponentType];\n"]}
@@ -0,0 +1,17 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Rights management Policy Arbiter component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyArbiterComponentType = {
8
+ /**
9
+ * PassThrough.
10
+ */
11
+ PassThrough: "pass-through",
12
+ /**
13
+ * Default.
14
+ */
15
+ Default: "default"
16
+ };
17
+ //# sourceMappingURL=rightsManagementPolicyArbiterComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyArbiterComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyArbiterComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0CAA0C,GAAG;IACzD;;OAEG;IACH,WAAW,EAAE,cAAc;IAE3B;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Arbiter component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyArbiterComponentType = {\n\t/**\n\t * PassThrough.\n\t */\n\tPassThrough: \"pass-through\",\n\n\t/**\n\t * Default.\n\t */\n\tDefault: \"default\"\n} as const;\n\n/**\n * Rights management Policy Arbiter component types.\n */\nexport type RightsManagementPolicyArbiterComponentType =\n\t(typeof RightsManagementPolicyArbiterComponentType)[keyof typeof RightsManagementPolicyArbiterComponentType];\n"]}
@@ -0,0 +1,17 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Rights management Policy Enforcement Processor component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyEnforcementProcessorComponentType = {
8
+ /**
9
+ * Pass Through.
10
+ */
11
+ PassThrough: "pass-through",
12
+ /**
13
+ * Default.
14
+ */
15
+ Default: "default"
16
+ };
17
+ //# sourceMappingURL=rightsManagementPolicyEnforcementProcessorComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyEnforcementProcessorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyEnforcementProcessorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uDAAuD,GAAG;IACtE;;OAEG;IACH,WAAW,EAAE,cAAc;IAE3B;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Enforcement Processor component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyEnforcementProcessorComponentType = {\n\t/**\n\t * Pass Through.\n\t */\n\tPassThrough: \"pass-through\",\n\n\t/**\n\t * Default.\n\t */\n\tDefault: \"default\"\n} as const;\n\n/**\n * Rights management Policy Enforcement Processor component types.\n */\nexport type RightsManagementPolicyEnforcementProcessorComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementPolicyEnforcementProcessorComponentType)[keyof typeof RightsManagementPolicyEnforcementProcessorComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Rights management Policy Execution Action component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyExecutionActionComponentType = {
8
+ /**
9
+ * Logging.
10
+ */
11
+ Logging: "logging"
12
+ };
13
+ //# sourceMappingURL=rightsManagementPolicyExecutionActionComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyExecutionActionComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyExecutionActionComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,kDAAkD,GAAG;IACjE;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Execution Action component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyExecutionActionComponentType = {\n\t/**\n\t * Logging.\n\t */\n\tLogging: \"logging\"\n} as const;\n\n/**\n * Rights management Policy Execution Action component types.\n */\nexport type RightsManagementPolicyExecutionActionComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementPolicyExecutionActionComponentType)[keyof typeof RightsManagementPolicyExecutionActionComponentType];\n"]}
@@ -0,0 +1,17 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Rights management Policy Information Source component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyInformationSourceComponentType = {
8
+ /**
9
+ * Identity.
10
+ */
11
+ Identity: "identity",
12
+ /**
13
+ * Static.
14
+ */
15
+ Static: "static"
16
+ };
17
+ //# sourceMappingURL=rightsManagementPolicyInformationSourceComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyInformationSourceComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyInformationSourceComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oDAAoD,GAAG;IACnE;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,MAAM,EAAE,QAAQ;CACP,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Information Source component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyInformationSourceComponentType = {\n\t/**\n\t * Identity.\n\t */\n\tIdentity: \"identity\",\n\n\t/**\n\t * Static.\n\t */\n\tStatic: \"static\"\n} as const;\n\n/**\n * Rights management Policy Information Source component types.\n */\nexport type RightsManagementPolicyInformationSourceComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementPolicyInformationSourceComponentType)[keyof typeof RightsManagementPolicyInformationSourceComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Rights management Policy Negotiator component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyNegotiatorComponentType = {
8
+ /**
9
+ * Pass Through.
10
+ */
11
+ PassThrough: "pass-through"
12
+ };
13
+ //# sourceMappingURL=rightsManagementPolicyNegotiatorComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyNegotiatorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyNegotiatorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6CAA6C,GAAG;IAC5D;;OAEG;IACH,WAAW,EAAE,cAAc;CAClB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Negotiator component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyNegotiatorComponentType = {\n\t/**\n\t * Pass Through.\n\t */\n\tPassThrough: \"pass-through\"\n} as const;\n\n/**\n * Rights management Policy Negotiator component types.\n */\nexport type RightsManagementPolicyNegotiatorComponentType =\n\t(typeof RightsManagementPolicyNegotiatorComponentType)[keyof typeof RightsManagementPolicyNegotiatorComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Rights management Policy Obligation Enforcer component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyObligationEnforcerComponentType = {
8
+ /**
9
+ * PassThrough.
10
+ */
11
+ PassThrough: "pass-through"
12
+ };
13
+ //# sourceMappingURL=rightsManagementPolicyObligationEnforcerComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyObligationEnforcerComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyObligationEnforcerComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qDAAqD,GAAG;IACpE;;OAEG;IACH,WAAW,EAAE,cAAc;CAClB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Obligation Enforcer component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyObligationEnforcerComponentType = {\n\t/**\n\t * PassThrough.\n\t */\n\tPassThrough: \"pass-through\"\n} as const;\n\n/**\n * Rights management Policy Obligation Enforcer component types.\n */\nexport type RightsManagementPolicyObligationEnforcerComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementPolicyObligationEnforcerComponentType)[keyof typeof RightsManagementPolicyObligationEnforcerComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Rights management Policy Requester component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyRequesterComponentType = {
8
+ /**
9
+ * PassThrough.
10
+ */
11
+ PassThrough: "pass-through"
12
+ };
13
+ //# sourceMappingURL=rightsManagementPolicyRequesterComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightsManagementPolicyRequesterComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementPolicyRequesterComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC3D;;OAEG;IACH,WAAW,EAAE,cAAc;CAClB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Policy Requester component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementPolicyRequesterComponentType = {\n\t/**\n\t * PassThrough.\n\t */\n\tPassThrough: \"pass-through\"\n} as const;\n\n/**\n * Rights management Policy Requester component types.\n */\nexport type RightsManagementPolicyRequesterComponentType =\n\t(typeof RightsManagementPolicyRequesterComponentType)[keyof typeof RightsManagementPolicyRequesterComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Trust component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const TrustComponentType = {
8
+ /**
9
+ * Service.
10
+ */
11
+ Service: "service"
12
+ };
13
+ //# sourceMappingURL=trustComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\"\n} as const;\n\n/**\n * Trust component types.\n */\nexport type TrustComponentType = (typeof TrustComponentType)[keyof typeof TrustComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Trust generator component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const TrustGeneratorComponentType = {
8
+ /**
9
+ * JWT Verifiable Credential.
10
+ */
11
+ JwtVerifiableCredential: "jwt-verifiable-credential"
12
+ };
13
+ //# sourceMappingURL=trustGeneratorComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustGeneratorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustGeneratorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;CAC3C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust generator component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustGeneratorComponentType = {\n\t/**\n\t * JWT Verifiable Credential.\n\t */\n\tJwtVerifiableCredential: \"jwt-verifiable-credential\"\n} as const;\n\n/**\n * Trust generator component types.\n */\nexport type TrustGeneratorComponentType =\n\t(typeof TrustGeneratorComponentType)[keyof typeof TrustGeneratorComponentType];\n"]}
@@ -0,0 +1,13 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Trust verifier component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const TrustVerifierComponentType = {
8
+ /**
9
+ * JWT Verifiable Credential.
10
+ */
11
+ JwtVerifiableCredential: "jwt-verifiable-credential"
12
+ };
13
+ //# sourceMappingURL=trustVerifierComponentType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustVerifierComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/trustVerifierComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,uBAAuB,EAAE,2BAA2B;CAC3C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Trust verifier component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TrustVerifierComponentType = {\n\t/**\n\t * JWT Verifiable Credential.\n\t */\n\tJwtVerifiableCredential: \"jwt-verifiable-credential\"\n} as const;\n\n/**\n * Trust verifier component types.\n */\nexport type TrustVerifierComponentType =\n\t(typeof TrustVerifierComponentType)[keyof typeof TrustVerifierComponentType];\n"]}
@@ -1,6 +1,6 @@
1
1
  // Copyright 2024 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
- import { Is } from "@twin.org/core";
3
+ import { Is, ObjectHelper } from "@twin.org/core";
4
4
  /**
5
5
  * Helper methods for engine config types.
6
6
  */
@@ -28,5 +28,23 @@ export class EngineTypeHelper {
28
28
  }
29
29
  return foundConfig;
30
30
  }
31
+ /**
32
+ * Merge multiple config objects into one.
33
+ * Each config parameter can be a different partial type, and they are merged together.
34
+ * @param config1 The first config object.
35
+ * @param config2 Optional additional config object to merge.
36
+ * @param config3 Optional additional config object to merge.
37
+ * @param config4 Optional additional config object to merge.
38
+ * @param config5 Optional additional config object to merge.
39
+ * @returns The merged config object combining all input types.
40
+ */
41
+ static mergeConfig(config1, config2, config3, config4, config5) {
42
+ const configObjects = [config1, config2, config3, config4, config5].filter(config => Is.notEmpty(config));
43
+ let mergedConfig = {};
44
+ for (const configObject of configObjects) {
45
+ mergedConfig = ObjectHelper.merge(mergedConfig, configObject);
46
+ }
47
+ return mergedConfig;
48
+ }
31
49
  }
32
50
  //# sourceMappingURL=engineTypeHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"engineTypeHelper.js","sourceRoot":"","sources":["../../../src/utils/engineTypeHelper.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAKpC;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAC5B;;OAEG;IACI,MAAM,CAAU,UAAU,sBAAsC;IAEvE;;;;;;OAMG;IACI,MAAM,CAAC,eAAe,CAC5B,YAA2B,EAC3B,SAAiB,EACjB,IAAY;QAEZ,IAAI,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC;YAC7C,OAAO,SAAS,CAAC;QAClB,CAAC;QACD,4DAA4D;QAC5D,IAAI,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,IAAI,CACpD,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,CAClD,CAAC;QAEF,yFAAyF;QACzF,IAAI,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC;YAC3B,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;QACnF,CAAC;QAED,OAAO,WAAuC,CAAC;IAChD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { Is } from \"@twin.org/core\";\nimport type { IEngineCoreTypeBaseConfig, IEngineCoreTypeConfig } from \"@twin.org/engine-models\";\nimport { nameof } from \"@twin.org/nameof\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\n\n/**\n * Helper methods for engine config types.\n */\nexport class EngineTypeHelper {\n\t/**\n\t * Runtime name for the class.\n\t */\n\tpublic static readonly CLASS_NAME: string = nameof<EngineTypeHelper>();\n\n\t/**\n\t * Get the config for the specified component and type.\n\t * @param engineConfig The engine configuration.\n\t * @param component The component name.\n\t * @param type The type name.\n\t * @returns The config for the specified component and type or undefined if it does not exist.\n\t */\n\tpublic static getConfigOfType<T extends IEngineCoreTypeBaseConfig>(\n\t\tengineConfig: IEngineConfig,\n\t\tcomponent: string,\n\t\ttype: string\n\t): IEngineCoreTypeConfig<T> | undefined {\n\t\tif (Is.empty(engineConfig.types[component])) {\n\t\t\treturn undefined;\n\t\t}\n\t\t// First look for any of the specific type marked as default\n\t\tlet foundConfig = engineConfig.types[component]?.find(\n\t\t\tconfig => config.type === type && config.isDefault\n\t\t);\n\n\t\t// If we found a default config then return that otherwise return the first matching type\n\t\tif (Is.empty(foundConfig)) {\n\t\t\tfoundConfig = engineConfig.types[component]?.find(config => config.type === type);\n\t\t}\n\n\t\treturn foundConfig as IEngineCoreTypeConfig<T>;\n\t}\n}\n"]}
1
+ {"version":3,"file":"engineTypeHelper.js","sourceRoot":"","sources":["../../../src/utils/engineTypeHelper.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKlD;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAC5B;;OAEG;IACI,MAAM,CAAU,UAAU,sBAAsC;IAEvE;;;;;;OAMG;IACI,MAAM,CAAC,eAAe,CAC5B,YAA2B,EAC3B,SAAiB,EACjB,IAAY;QAEZ,IAAI,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC;YAC7C,OAAO,SAAS,CAAC;QAClB,CAAC;QACD,4DAA4D;QAC5D,IAAI,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,IAAI,CACpD,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,IAAI,MAAM,CAAC,SAAS,CAClD,CAAC;QAEF,yFAAyF;QACzF,IAAI,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC;YAC3B,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;QACnF,CAAC;QAED,OAAO,WAAuC,CAAC;IAChD,CAAC;IAED;;;;;;;;;OASG;IACI,MAAM,CAAC,WAAW,CACxB,OAAoB,EACpB,OAAoB,EACpB,OAAoB,EACpB,OAAoB,EACpB,OAAoB;QAEpB,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CACnF,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CACnB,CAAC;QACF,IAAI,YAAY,GAAG,EAAE,CAAC;QAEtB,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YAC1C,YAAY,GAAG,YAAY,CAAC,KAAK,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAC/D,CAAC;QACD,OAAO,YAAiB,CAAC;IAC1B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { Is, ObjectHelper } from \"@twin.org/core\";\nimport type { IEngineCoreTypeBaseConfig, IEngineCoreTypeConfig } from \"@twin.org/engine-models\";\nimport { nameof } from \"@twin.org/nameof\";\nimport type { IEngineConfig } from \"../models/IEngineConfig.js\";\n\n/**\n * Helper methods for engine config types.\n */\nexport class EngineTypeHelper {\n\t/**\n\t * Runtime name for the class.\n\t */\n\tpublic static readonly CLASS_NAME: string = nameof<EngineTypeHelper>();\n\n\t/**\n\t * Get the config for the specified component and type.\n\t * @param engineConfig The engine configuration.\n\t * @param component The component name.\n\t * @param type The type name.\n\t * @returns The config for the specified component and type or undefined if it does not exist.\n\t */\n\tpublic static getConfigOfType<T extends IEngineCoreTypeBaseConfig>(\n\t\tengineConfig: IEngineConfig,\n\t\tcomponent: string,\n\t\ttype: string\n\t): IEngineCoreTypeConfig<T> | undefined {\n\t\tif (Is.empty(engineConfig.types[component])) {\n\t\t\treturn undefined;\n\t\t}\n\t\t// First look for any of the specific type marked as default\n\t\tlet foundConfig = engineConfig.types[component]?.find(\n\t\t\tconfig => config.type === type && config.isDefault\n\t\t);\n\n\t\t// If we found a default config then return that otherwise return the first matching type\n\t\tif (Is.empty(foundConfig)) {\n\t\t\tfoundConfig = engineConfig.types[component]?.find(config => config.type === type);\n\t\t}\n\n\t\treturn foundConfig as IEngineCoreTypeConfig<T>;\n\t}\n\n\t/**\n\t * Merge multiple config objects into one.\n\t * Each config parameter can be a different partial type, and they are merged together.\n\t * @param config1 The first config object.\n\t * @param config2 Optional additional config object to merge.\n\t * @param config3 Optional additional config object to merge.\n\t * @param config4 Optional additional config object to merge.\n\t * @param config5 Optional additional config object to merge.\n\t * @returns The merged config object combining all input types.\n\t */\n\tpublic static mergeConfig<T extends IEngineCoreTypeBaseConfig[\"options\"]>(\n\t\tconfig1?: Partial<T>,\n\t\tconfig2?: Partial<T>,\n\t\tconfig3?: Partial<T>,\n\t\tconfig4?: Partial<T>,\n\t\tconfig5?: Partial<T>\n\t): T {\n\t\tconst configObjects = [config1, config2, config3, config4, config5].filter(config =>\n\t\t\tIs.notEmpty(config)\n\t\t);\n\t\tlet mergedConfig = {};\n\n\t\tfor (const configObject of configObjects) {\n\t\t\tmergedConfig = ObjectHelper.merge(mergedConfig, configObject);\n\t\t}\n\t\treturn mergedConfig as T;\n\t}\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { AttestationConnectorFactory } from "@twin.org/attestation-models";
2
- import { ComponentFactory, type IComponent } from "@twin.org/core";
3
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
2
+ import { ComponentFactory } from "@twin.org/core";
3
+ import type { EngineTypeInitialiserReturn, IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
4
4
  import type { AttestationComponentConfig } from "../models/config/attestationComponentConfig.js";
5
5
  import type { AttestationConnectorConfig } from "../models/config/attestationConnectorConfig.js";
6
6
  import type { IEngineConfig } from "../models/IEngineConfig.js";
@@ -8,14 +8,10 @@ import type { IEngineConfig } from "../models/IEngineConfig.js";
8
8
  * Initialise the attestation connector.
9
9
  * @param engineCore The engine core.
10
10
  * @param context The context for the engine.
11
- * @param instanceConfig The instance config.
11
+ * @param instanceConfig The instance config type.
12
12
  * @returns The instance created and the factory for it.
13
13
  */
14
- export declare function initialiseAttestationConnector(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AttestationConnectorConfig): Promise<{
15
- instanceType?: string;
16
- factory?: typeof AttestationConnectorFactory;
17
- component?: IComponent;
18
- }>;
14
+ export declare function initialiseAttestationConnector(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AttestationConnectorConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof AttestationConnectorFactory>;
19
15
  /**
20
16
  * Initialise the attestation component.
21
17
  * @param engineCore The engine core.
@@ -23,8 +19,4 @@ export declare function initialiseAttestationConnector(engineCore: IEngineCore<I
23
19
  * @param instanceConfig The instance config.
24
20
  * @returns The instance created and the factory for it.
25
21
  */
26
- export declare function initialiseAttestationComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AttestationComponentConfig): Promise<{
27
- instanceType?: string;
28
- factory?: typeof ComponentFactory;
29
- component?: IComponent;
30
- }>;
22
+ export declare function initialiseAttestationComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AttestationComponentConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory>;
@@ -1,5 +1,5 @@
1
- import { ComponentFactory, type IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
1
+ import { ComponentFactory } from "@twin.org/core";
2
+ import type { EngineTypeInitialiserReturn, IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
3
  import type { AuditableItemGraphComponentConfig } from "../models/config/auditableItemGraphComponentConfig.js";
4
4
  import type { IEngineConfig } from "../models/IEngineConfig.js";
5
5
  /**
@@ -9,8 +9,4 @@ import type { IEngineConfig } from "../models/IEngineConfig.js";
9
9
  * @param instanceConfig The instance config.
10
10
  * @returns The instance created and the factory for it.
11
11
  */
12
- export declare function initialiseAuditableItemGraphComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AuditableItemGraphComponentConfig): Promise<{
13
- instanceType?: string;
14
- factory?: typeof ComponentFactory;
15
- component?: IComponent;
16
- }>;
12
+ export declare function initialiseAuditableItemGraphComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AuditableItemGraphComponentConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory>;
@@ -1,5 +1,5 @@
1
- import { ComponentFactory, type IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
1
+ import { ComponentFactory } from "@twin.org/core";
2
+ import type { EngineTypeInitialiserReturn, IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
3
  import type { AuditableItemStreamComponentConfig } from "../models/config/auditableItemStreamComponentConfig.js";
4
4
  import type { IEngineConfig } from "../models/IEngineConfig.js";
5
5
  /**
@@ -9,8 +9,4 @@ import type { IEngineConfig } from "../models/IEngineConfig.js";
9
9
  * @param instanceConfig The instance config.
10
10
  * @returns The instance created and the factory for it.
11
11
  */
12
- export declare function initialiseAuditableItemStreamComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AuditableItemStreamComponentConfig): Promise<{
13
- instanceType?: string;
14
- factory?: typeof ComponentFactory;
15
- component?: IComponent;
16
- }>;
12
+ export declare function initialiseAuditableItemStreamComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AuditableItemStreamComponentConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory>;
@@ -1,17 +1,12 @@
1
- import { BackgroundTaskConnectorFactory } from "@twin.org/background-task-models";
2
- import type { IComponent } from "@twin.org/core";
3
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
4
- import type { BackgroundTaskConnectorConfig } from "../models/config/backgroundTaskConnectorConfig.js";
1
+ import { ComponentFactory } from "@twin.org/core";
2
+ import type { EngineTypeInitialiserReturn, IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import type { BackgroundTaskComponentConfig } from "../models/config/backgroundTaskComponentConfig.js";
5
4
  import type { IEngineConfig } from "../models/IEngineConfig.js";
6
5
  /**
7
- * Initialise a background task connector.
6
+ * Initialise a background task component.
8
7
  * @param engineCore The engine core.
9
8
  * @param context The context for the engine.
10
9
  * @param instanceConfig The instance config.
11
10
  * @returns The instance created and the factory for it.
12
11
  */
13
- export declare function initialiseBackgroundTaskConnector(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: BackgroundTaskConnectorConfig): Promise<{
14
- instanceType?: string;
15
- factory?: typeof BackgroundTaskConnectorFactory;
16
- component?: IComponent;
17
- }>;
12
+ export declare function initialiseBackgroundTaskComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: BackgroundTaskComponentConfig): EngineTypeInitialiserReturn<typeof instanceConfig, typeof ComponentFactory>;