@twin.org/engine-types 0.0.3-next.8 → 0.9.0-next.1

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 (583) hide show
  1. package/README.md +1 -1
  2. package/dist/es/components/attestation.js +20 -24
  3. package/dist/es/components/attestation.js.map +1 -1
  4. package/dist/es/components/auditableItemGraph.js +27 -22
  5. package/dist/es/components/auditableItemGraph.js.map +1 -1
  6. package/dist/es/components/auditableItemStream.js +27 -22
  7. package/dist/es/components/auditableItemStream.js.map +1 -1
  8. package/dist/es/components/automation.js +43 -0
  9. package/dist/es/components/automation.js.map +1 -0
  10. package/dist/es/components/automationAction.js +27 -0
  11. package/dist/es/components/automationAction.js.map +1 -0
  12. package/dist/es/components/backgroundTask.js +16 -12
  13. package/dist/es/components/backgroundTask.js.map +1 -1
  14. package/dist/es/components/blobStorage.js +69 -80
  15. package/dist/es/components/blobStorage.js.map +1 -1
  16. package/dist/es/components/contextIdHandler.js +9 -9
  17. package/dist/es/components/contextIdHandler.js.map +1 -1
  18. package/dist/es/components/dataProcessing.js +33 -32
  19. package/dist/es/components/dataProcessing.js.map +1 -1
  20. package/dist/es/components/dataspaceControlPlane.js +60 -0
  21. package/dist/es/components/dataspaceControlPlane.js.map +1 -0
  22. package/dist/es/components/dataspaceDataPlane.js +66 -0
  23. package/dist/es/components/dataspaceDataPlane.js.map +1 -0
  24. package/dist/es/components/documentManagement.js +12 -11
  25. package/dist/es/components/documentManagement.js.map +1 -1
  26. package/dist/es/components/entityStorage.js +53 -65
  27. package/dist/es/components/entityStorage.js.map +1 -1
  28. package/dist/es/components/eventBus.js +23 -27
  29. package/dist/es/components/eventBus.js.map +1 -1
  30. package/dist/es/components/faucet.js +18 -18
  31. package/dist/es/components/faucet.js.map +1 -1
  32. package/dist/es/components/federatedCatalogue.js +18 -14
  33. package/dist/es/components/federatedCatalogue.js.map +1 -1
  34. package/dist/es/components/federatedCatalogueFilter.js +14 -11
  35. package/dist/es/components/federatedCatalogueFilter.js.map +1 -1
  36. package/dist/es/components/health.js +32 -0
  37. package/dist/es/components/health.js.map +1 -0
  38. package/dist/es/components/identity.js +30 -31
  39. package/dist/es/components/identity.js.map +1 -1
  40. package/dist/es/components/identityProfile.js +26 -24
  41. package/dist/es/components/identityProfile.js.map +1 -1
  42. package/dist/es/components/identityResolver.js +36 -40
  43. package/dist/es/components/identityResolver.js.map +1 -1
  44. package/dist/es/components/immutableProof.js +23 -20
  45. package/dist/es/components/immutableProof.js.map +1 -1
  46. package/dist/es/components/logging.js +32 -28
  47. package/dist/es/components/logging.js.map +1 -1
  48. package/dist/es/components/messaging.js +89 -89
  49. package/dist/es/components/messaging.js.map +1 -1
  50. package/dist/es/components/metricsCollector.js +29 -0
  51. package/dist/es/components/metricsCollector.js.map +1 -0
  52. package/dist/es/components/metricsProducer.js +33 -0
  53. package/dist/es/components/metricsProducer.js.map +1 -0
  54. package/dist/es/components/nft.js +32 -33
  55. package/dist/es/components/nft.js.map +1 -1
  56. package/dist/es/components/notarization.js +77 -0
  57. package/dist/es/components/notarization.js.map +1 -0
  58. package/dist/es/components/platform.js +34 -0
  59. package/dist/es/components/platform.js.map +1 -0
  60. package/dist/es/components/rightsManagementPap.js +19 -17
  61. package/dist/es/components/rightsManagementPap.js.map +1 -1
  62. package/dist/es/components/rightsManagementPdp.js +11 -12
  63. package/dist/es/components/rightsManagementPdp.js.map +1 -1
  64. package/dist/es/components/rightsManagementPep.js +12 -10
  65. package/dist/es/components/rightsManagementPep.js.map +1 -1
  66. package/dist/es/components/rightsManagementPip.js +10 -10
  67. package/dist/es/components/rightsManagementPip.js.map +1 -1
  68. package/dist/es/components/rightsManagementPmp.js +11 -11
  69. package/dist/es/components/rightsManagementPmp.js.map +1 -1
  70. package/dist/es/components/rightsManagementPnap.js +20 -18
  71. package/dist/es/components/rightsManagementPnap.js.map +1 -1
  72. package/dist/es/components/rightsManagementPnp.js +14 -15
  73. package/dist/es/components/rightsManagementPnp.js.map +1 -1
  74. package/dist/es/components/rightsManagementPolicyArbiter.js +19 -12
  75. package/dist/es/components/rightsManagementPolicyArbiter.js.map +1 -1
  76. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js +18 -12
  77. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js.map +1 -1
  78. package/dist/es/components/rightsManagementPolicyExecutionAction.js +10 -10
  79. package/dist/es/components/rightsManagementPolicyExecutionAction.js.map +1 -1
  80. package/dist/es/components/rightsManagementPolicyInformationSource.js +23 -17
  81. package/dist/es/components/rightsManagementPolicyInformationSource.js.map +1 -1
  82. package/dist/es/components/rightsManagementPolicyNegotiator.js +12 -12
  83. package/dist/es/components/rightsManagementPolicyNegotiator.js.map +1 -1
  84. package/dist/es/components/rightsManagementPolicyObligationEnforcer.js +27 -0
  85. package/dist/es/components/rightsManagementPolicyObligationEnforcer.js.map +1 -0
  86. package/dist/es/components/rightsManagementPolicyRequester.js +12 -12
  87. package/dist/es/components/rightsManagementPolicyRequester.js.map +1 -1
  88. package/dist/es/components/rightsManagementPxp.js +10 -10
  89. package/dist/es/components/rightsManagementPxp.js.map +1 -1
  90. package/dist/es/components/schemaVersionMigration.js +35 -0
  91. package/dist/es/components/schemaVersionMigration.js.map +1 -0
  92. package/dist/es/components/taskScheduler.js +19 -11
  93. package/dist/es/components/taskScheduler.js.map +1 -1
  94. package/dist/es/components/telemetry.js +52 -31
  95. package/dist/es/components/telemetry.js.map +1 -1
  96. package/dist/es/components/tenant.js +12 -11
  97. package/dist/es/components/tenant.js.map +1 -1
  98. package/dist/es/components/trust.js +10 -10
  99. package/dist/es/components/trust.js.map +1 -1
  100. package/dist/es/components/trustGenerator.js +11 -11
  101. package/dist/es/components/trustGenerator.js.map +1 -1
  102. package/dist/es/components/trustVerifier.js +15 -12
  103. package/dist/es/components/trustVerifier.js.map +1 -1
  104. package/dist/es/components/vault.js +15 -12
  105. package/dist/es/components/vault.js.map +1 -1
  106. package/dist/es/components/wallet.js +24 -25
  107. package/dist/es/components/wallet.js.map +1 -1
  108. package/dist/es/index.js +35 -23
  109. package/dist/es/index.js.map +1 -1
  110. package/dist/es/models/IEngineConfig.js.map +1 -1
  111. package/dist/es/models/config/automationActionConfig.js +2 -0
  112. package/dist/es/models/config/automationActionConfig.js.map +1 -0
  113. package/dist/es/models/config/automationComponentConfig.js +2 -0
  114. package/dist/es/models/config/automationComponentConfig.js.map +1 -0
  115. package/dist/es/models/config/blobStorageConnectorConfig.js.map +1 -1
  116. package/dist/es/models/config/dataspaceControlPlaneComponentConfig.js +2 -0
  117. package/dist/es/models/config/dataspaceControlPlaneComponentConfig.js.map +1 -0
  118. package/dist/es/models/config/dataspaceDataPlaneComponentConfig.js +2 -0
  119. package/dist/es/models/config/dataspaceDataPlaneComponentConfig.js.map +1 -0
  120. package/dist/es/models/config/entityStorageConnectorConfig.js.map +1 -1
  121. package/dist/es/models/config/federatedCatalogueFilterComponentConfig.js.map +1 -1
  122. package/dist/es/models/config/healthComponentConfig.js +2 -0
  123. package/dist/es/models/config/healthComponentConfig.js.map +1 -0
  124. package/dist/es/models/config/metricsCollectorComponentConfig.js +2 -0
  125. package/dist/es/models/config/metricsCollectorComponentConfig.js.map +1 -0
  126. package/dist/es/models/config/metricsProducerComponentConfig.js +2 -0
  127. package/dist/es/models/config/metricsProducerComponentConfig.js.map +1 -0
  128. package/dist/es/models/config/notarizationComponentConfig.js +2 -0
  129. package/dist/es/models/config/notarizationComponentConfig.js.map +1 -0
  130. package/dist/es/models/config/notarizationConnectorConfig.js +2 -0
  131. package/dist/es/models/config/notarizationConnectorConfig.js.map +1 -0
  132. package/dist/es/models/config/platformComponentConfig.js +2 -0
  133. package/dist/es/models/config/platformComponentConfig.js.map +1 -0
  134. package/dist/es/models/config/rightsManagementPnpComponentConfig.js.map +1 -1
  135. package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js.map +1 -1
  136. package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js.map +1 -1
  137. package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js.map +1 -1
  138. package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js.map +1 -1
  139. package/dist/es/models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js +2 -0
  140. package/dist/es/models/config/rightsManagementPolicyObligationEnforcerComponentConfig.js.map +1 -0
  141. package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js.map +1 -1
  142. package/dist/es/models/config/schemaVersionMigrationComponentConfig.js +2 -0
  143. package/dist/es/models/config/schemaVersionMigrationComponentConfig.js.map +1 -0
  144. package/dist/es/models/config/telemetryConnectorConfig.js.map +1 -1
  145. package/dist/es/models/config/trustVerifierComponentConfig.js.map +1 -1
  146. package/dist/es/models/types/automationActionType.js +13 -0
  147. package/dist/es/models/types/automationActionType.js.map +1 -0
  148. package/dist/es/models/types/{verifiableStorageComponentType.js → automationComponentType.js} +4 -4
  149. package/dist/es/models/types/automationComponentType.js.map +1 -0
  150. package/dist/es/models/types/dataspaceControlPlaneComponentType.js +17 -0
  151. package/dist/es/models/types/dataspaceControlPlaneComponentType.js.map +1 -0
  152. package/dist/es/models/types/{dataSpaceConnectorComponentType.js → dataspaceDataPlaneComponentType.js} +4 -4
  153. package/dist/es/models/types/dataspaceDataPlaneComponentType.js.map +1 -0
  154. package/dist/es/models/types/entityStorageConnectorType.js +2 -6
  155. package/dist/es/models/types/entityStorageConnectorType.js.map +1 -1
  156. package/dist/es/models/types/federatedCatalogueFilterComponentType.js +2 -2
  157. package/dist/es/models/types/federatedCatalogueFilterComponentType.js.map +1 -1
  158. package/dist/es/models/types/{synchronisedStorageComponentType.js → healthComponentType.js} +4 -4
  159. package/dist/es/models/types/healthComponentType.js.map +1 -0
  160. package/dist/es/models/types/metricsCollectorComponentType.js +13 -0
  161. package/dist/es/models/types/metricsCollectorComponentType.js.map +1 -0
  162. package/dist/es/models/types/metricsProducerComponentType.js +17 -0
  163. package/dist/es/models/types/metricsProducerComponentType.js.map +1 -0
  164. package/dist/es/models/types/{rightsManagementDapComponentType.js → notarizationComponentType.js} +4 -4
  165. package/dist/es/models/types/notarizationComponentType.js.map +1 -0
  166. package/dist/es/models/types/{verifiableStorageConnectorType.js → notarizationConnectorType.js} +4 -4
  167. package/dist/es/models/types/notarizationConnectorType.js.map +1 -0
  168. package/dist/es/models/types/platformComponentType.js +13 -0
  169. package/dist/es/models/types/platformComponentType.js.map +1 -0
  170. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js +6 -2
  171. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js.map +1 -1
  172. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js +6 -2
  173. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js.map +1 -1
  174. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js +4 -0
  175. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js.map +1 -1
  176. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js +2 -2
  177. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js.map +1 -1
  178. package/dist/es/models/types/rightsManagementPolicyObligationEnforcerComponentType.js +13 -0
  179. package/dist/es/models/types/rightsManagementPolicyObligationEnforcerComponentType.js.map +1 -0
  180. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js +2 -2
  181. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js.map +1 -1
  182. package/dist/es/models/types/schemaVersionMigrationComponentType.js +13 -0
  183. package/dist/es/models/types/schemaVersionMigrationComponentType.js.map +1 -0
  184. package/dist/es/models/types/telemetryConnectorType.js +5 -1
  185. package/dist/es/models/types/telemetryConnectorType.js.map +1 -1
  186. package/dist/es/models/types/trustVerifierComponentType.js +5 -1
  187. package/dist/es/models/types/trustVerifierComponentType.js.map +1 -1
  188. package/dist/es/utils/engineTypeHelper.js +19 -1
  189. package/dist/es/utils/engineTypeHelper.js.map +1 -1
  190. package/dist/types/components/attestation.d.ts +5 -13
  191. package/dist/types/components/auditableItemGraph.d.ts +3 -7
  192. package/dist/types/components/auditableItemStream.d.ts +3 -7
  193. package/dist/types/components/automation.d.ts +12 -0
  194. package/dist/types/components/automationAction.d.ts +12 -0
  195. package/dist/types/components/backgroundTask.d.ts +3 -7
  196. package/dist/types/components/blobStorage.d.ts +4 -12
  197. package/dist/types/components/contextIdHandler.d.ts +3 -7
  198. package/dist/types/components/dataProcessing.d.ts +5 -17
  199. package/dist/types/components/dataspaceControlPlane.d.ts +12 -0
  200. package/dist/types/components/dataspaceDataPlane.d.ts +12 -0
  201. package/dist/types/components/documentManagement.d.ts +3 -7
  202. package/dist/types/components/entityStorage.d.ts +5 -10
  203. package/dist/types/components/eventBus.d.ts +4 -12
  204. package/dist/types/components/faucet.d.ts +2 -7
  205. package/dist/types/components/federatedCatalogue.d.ts +3 -7
  206. package/dist/types/components/federatedCatalogueFilter.d.ts +2 -7
  207. package/dist/types/components/health.d.ts +12 -0
  208. package/dist/types/components/identity.d.ts +4 -12
  209. package/dist/types/components/identityProfile.d.ts +4 -12
  210. package/dist/types/components/identityResolver.d.ts +4 -12
  211. package/dist/types/components/immutableProof.d.ts +3 -7
  212. package/dist/types/components/logging.d.ts +4 -12
  213. package/dist/types/components/messaging.d.ts +7 -27
  214. package/dist/types/components/metricsCollector.d.ts +12 -0
  215. package/dist/types/components/metricsProducer.d.ts +12 -0
  216. package/dist/types/components/nft.d.ts +4 -12
  217. package/dist/types/components/notarization.d.ts +22 -0
  218. package/dist/types/components/platform.d.ts +12 -0
  219. package/dist/types/components/rightsManagementPap.d.ts +3 -7
  220. package/dist/types/components/rightsManagementPdp.d.ts +3 -7
  221. package/dist/types/components/rightsManagementPep.d.ts +3 -7
  222. package/dist/types/components/rightsManagementPip.d.ts +3 -7
  223. package/dist/types/components/rightsManagementPmp.d.ts +3 -7
  224. package/dist/types/components/rightsManagementPnap.d.ts +3 -7
  225. package/dist/types/components/rightsManagementPnp.d.ts +3 -7
  226. package/dist/types/components/rightsManagementPolicyArbiter.d.ts +2 -7
  227. package/dist/types/components/rightsManagementPolicyEnforcementProcessor.d.ts +2 -7
  228. package/dist/types/components/rightsManagementPolicyExecutionAction.d.ts +2 -7
  229. package/dist/types/components/rightsManagementPolicyInformationSource.d.ts +2 -7
  230. package/dist/types/components/rightsManagementPolicyNegotiator.d.ts +2 -7
  231. package/dist/types/components/rightsManagementPolicyObligationEnforcer.d.ts +12 -0
  232. package/dist/types/components/rightsManagementPolicyRequester.d.ts +2 -7
  233. package/dist/types/components/rightsManagementPxp.d.ts +3 -7
  234. package/dist/types/components/schemaVersionMigration.d.ts +12 -0
  235. package/dist/types/components/taskScheduler.d.ts +3 -7
  236. package/dist/types/components/telemetry.d.ts +4 -12
  237. package/dist/types/components/tenant.d.ts +3 -7
  238. package/dist/types/components/trust.d.ts +3 -7
  239. package/dist/types/components/trustGenerator.d.ts +2 -7
  240. package/dist/types/components/trustVerifier.d.ts +2 -7
  241. package/dist/types/components/vault.d.ts +2 -7
  242. package/dist/types/components/wallet.d.ts +3 -8
  243. package/dist/types/index.d.ts +35 -23
  244. package/dist/types/models/IEngineConfig.d.ts +59 -39
  245. package/dist/types/models/config/automationActionConfig.d.ts +9 -0
  246. package/dist/types/models/config/automationComponentConfig.d.ts +13 -0
  247. package/dist/types/models/config/blobStorageConnectorConfig.d.ts +4 -1
  248. package/dist/types/models/config/dataspaceControlPlaneComponentConfig.d.ts +13 -0
  249. package/dist/types/models/config/dataspaceDataPlaneComponentConfig.d.ts +17 -0
  250. package/dist/types/models/config/entityStorageConnectorConfig.d.ts +5 -5
  251. package/dist/types/models/config/federatedCatalogueFilterComponentConfig.d.ts +3 -3
  252. package/dist/types/models/config/healthComponentConfig.d.ts +13 -0
  253. package/dist/types/models/config/metricsCollectorComponentConfig.d.ts +9 -0
  254. package/dist/types/models/config/metricsProducerComponentConfig.d.ts +12 -0
  255. package/dist/types/models/config/notarizationComponentConfig.d.ts +13 -0
  256. package/dist/types/models/config/notarizationConnectorConfig.d.ts +13 -0
  257. package/dist/types/models/config/platformComponentConfig.d.ts +9 -0
  258. package/dist/types/models/config/rightsManagementPnpComponentConfig.d.ts +1 -1
  259. package/dist/types/models/config/rightsManagementPolicyArbiterComponentConfig.d.ts +6 -3
  260. package/dist/types/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.d.ts +6 -3
  261. package/dist/types/models/config/rightsManagementPolicyInformationSourceComponentConfig.d.ts +4 -1
  262. package/dist/types/models/config/rightsManagementPolicyNegotiatorComponentConfig.d.ts +3 -3
  263. package/dist/types/models/config/rightsManagementPolicyObligationEnforcerComponentConfig.d.ts +9 -0
  264. package/dist/types/models/config/rightsManagementPolicyRequesterComponentConfig.d.ts +3 -3
  265. package/dist/types/models/config/schemaVersionMigrationComponentConfig.d.ts +9 -0
  266. package/dist/types/models/config/telemetryConnectorConfig.d.ts +4 -0
  267. package/dist/types/models/config/trustVerifierComponentConfig.d.ts +4 -1
  268. package/dist/types/models/types/automationActionType.d.ts +13 -0
  269. package/dist/types/models/types/automationComponentType.d.ts +17 -0
  270. package/dist/types/models/types/dataspaceControlPlaneComponentType.d.ts +17 -0
  271. package/dist/types/models/types/dataspaceDataPlaneComponentType.d.ts +21 -0
  272. package/dist/types/models/types/entityStorageConnectorType.d.ts +1 -5
  273. package/dist/types/models/types/federatedCatalogueFilterComponentType.d.ts +2 -2
  274. package/dist/types/models/types/healthComponentType.d.ts +17 -0
  275. package/dist/types/models/types/metricsCollectorComponentType.d.ts +13 -0
  276. package/dist/types/models/types/metricsProducerComponentType.d.ts +17 -0
  277. package/dist/types/models/types/notarizationComponentType.d.ts +17 -0
  278. package/dist/types/models/types/notarizationConnectorType.d.ts +17 -0
  279. package/dist/types/models/types/platformComponentType.d.ts +13 -0
  280. package/dist/types/models/types/rightsManagementPolicyArbiterComponentType.d.ts +6 -2
  281. package/dist/types/models/types/rightsManagementPolicyEnforcementProcessorComponentType.d.ts +6 -2
  282. package/dist/types/models/types/rightsManagementPolicyInformationSourceComponentType.d.ts +4 -0
  283. package/dist/types/models/types/rightsManagementPolicyNegotiatorComponentType.d.ts +2 -2
  284. package/dist/types/models/types/rightsManagementPolicyObligationEnforcerComponentType.d.ts +13 -0
  285. package/dist/types/models/types/rightsManagementPolicyRequesterComponentType.d.ts +2 -2
  286. package/dist/types/models/types/schemaVersionMigrationComponentType.d.ts +13 -0
  287. package/dist/types/models/types/telemetryConnectorType.d.ts +4 -0
  288. package/dist/types/models/types/trustVerifierComponentType.d.ts +4 -0
  289. package/dist/types/utils/engineTypeHelper.d.ts +11 -0
  290. package/docs/changelog.md +1128 -155
  291. package/docs/examples.md +74 -1
  292. package/docs/reference/classes/EngineTypeHelper.md +57 -4
  293. package/docs/reference/functions/initialiseAttestationComponent.md +2 -2
  294. package/docs/reference/functions/initialiseAttestationConnector.md +3 -3
  295. package/docs/reference/functions/initialiseAuditableItemGraphComponent.md +2 -2
  296. package/docs/reference/functions/initialiseAuditableItemStreamComponent.md +2 -2
  297. package/docs/reference/functions/initialiseAutomationAction.md +31 -0
  298. package/docs/reference/functions/initialiseAutomationComponent.md +31 -0
  299. package/docs/reference/functions/initialiseBackgroundTaskComponent.md +2 -2
  300. package/docs/reference/functions/initialiseBlobStorageComponent.md +2 -2
  301. package/docs/reference/functions/initialiseBlobStorageConnector.md +2 -2
  302. package/docs/reference/functions/initialiseContextIdHandlerComponent.md +2 -2
  303. package/docs/reference/functions/initialiseDataConverterConnector.md +2 -2
  304. package/docs/reference/functions/initialiseDataExtractorConnector.md +2 -2
  305. package/docs/reference/functions/initialiseDataProcessingComponent.md +2 -2
  306. package/docs/reference/functions/initialiseDataspaceControlPlaneComponent.md +31 -0
  307. package/docs/reference/functions/initialiseDataspaceDataPlaneComponent.md +31 -0
  308. package/docs/reference/functions/initialiseDocumentManagementComponent.md +2 -2
  309. package/docs/reference/functions/initialiseEntityStorageComponent.md +3 -3
  310. package/docs/reference/functions/initialiseEntityStorageConnector.md +4 -6
  311. package/docs/reference/functions/initialiseEventBusComponent.md +2 -2
  312. package/docs/reference/functions/initialiseEventBusConnector.md +2 -2
  313. package/docs/reference/functions/initialiseFaucetConnector.md +2 -2
  314. package/docs/reference/functions/initialiseFederatedCatalogueComponent.md +2 -2
  315. package/docs/reference/functions/initialiseFederatedCatalogueFilterComponent.md +2 -2
  316. package/docs/reference/functions/initialiseHealthComponent.md +31 -0
  317. package/docs/reference/functions/initialiseIdentityComponent.md +2 -2
  318. package/docs/reference/functions/initialiseIdentityConnector.md +2 -2
  319. package/docs/reference/functions/initialiseIdentityProfileComponent.md +2 -2
  320. package/docs/reference/functions/initialiseIdentityProfileConnector.md +2 -2
  321. package/docs/reference/functions/initialiseIdentityResolverComponent.md +2 -2
  322. package/docs/reference/functions/initialiseIdentityResolverConnector.md +2 -2
  323. package/docs/reference/functions/initialiseImmutableProofComponent.md +2 -2
  324. package/docs/reference/functions/initialiseLoggingComponent.md +2 -2
  325. package/docs/reference/functions/initialiseLoggingConnector.md +2 -2
  326. package/docs/reference/functions/initialiseMessagingAdminComponent.md +2 -2
  327. package/docs/reference/functions/initialiseMessagingComponent.md +2 -2
  328. package/docs/reference/functions/initialiseMessagingEmailConnector.md +2 -2
  329. package/docs/reference/functions/initialiseMessagingPushNotificationConnector.md +2 -2
  330. package/docs/reference/functions/initialiseMessagingSmsConnector.md +2 -2
  331. package/docs/reference/functions/initialiseMetricsCollectorComponent.md +31 -0
  332. package/docs/reference/functions/initialiseMetricsProducerComponent.md +31 -0
  333. package/docs/reference/functions/initialiseNftComponent.md +2 -2
  334. package/docs/reference/functions/initialiseNftConnector.md +2 -2
  335. package/docs/reference/functions/initialiseNotarizationComponent.md +31 -0
  336. package/docs/reference/functions/initialiseNotarizationConnector.md +31 -0
  337. package/docs/reference/functions/initialisePlatformComponent.md +31 -0
  338. package/docs/reference/functions/initialiseRightsManagementPapComponent.md +2 -2
  339. package/docs/reference/functions/initialiseRightsManagementPdpComponent.md +2 -2
  340. package/docs/reference/functions/initialiseRightsManagementPepComponent.md +2 -2
  341. package/docs/reference/functions/initialiseRightsManagementPipComponent.md +2 -2
  342. package/docs/reference/functions/initialiseRightsManagementPmpComponent.md +2 -2
  343. package/docs/reference/functions/initialiseRightsManagementPnapComponent.md +2 -2
  344. package/docs/reference/functions/initialiseRightsManagementPnpComponent.md +2 -2
  345. package/docs/reference/functions/initialiseRightsManagementPolicyArbiterComponent.md +2 -2
  346. package/docs/reference/functions/initialiseRightsManagementPolicyEnforcementProcessorComponent.md +2 -2
  347. package/docs/reference/functions/initialiseRightsManagementPolicyExecutionActionComponent.md +2 -2
  348. package/docs/reference/functions/initialiseRightsManagementPolicyInformationSourceComponent.md +2 -2
  349. package/docs/reference/functions/initialiseRightsManagementPolicyNegotiatorComponent.md +2 -2
  350. package/docs/reference/functions/initialiseRightsManagementPolicyObligationEnforcerComponent.md +31 -0
  351. package/docs/reference/functions/initialiseRightsManagementPolicyRequesterComponent.md +2 -2
  352. package/docs/reference/functions/initialiseRightsManagementPxpComponent.md +2 -2
  353. package/docs/reference/functions/initialiseSchemaVersionMigrationComponent.md +31 -0
  354. package/docs/reference/functions/initialiseTaskSchedulerComponent.md +2 -2
  355. package/docs/reference/functions/initialiseTelemetryComponent.md +2 -2
  356. package/docs/reference/functions/initialiseTelemetryConnector.md +2 -2
  357. package/docs/reference/functions/initialiseTenantAdminComponent.md +2 -2
  358. package/docs/reference/functions/initialiseTrustComponent.md +2 -2
  359. package/docs/reference/functions/initialiseTrustGeneratorComponent.md +2 -2
  360. package/docs/reference/functions/initialiseTrustVerifierComponent.md +2 -2
  361. package/docs/reference/functions/initialiseVaultConnector.md +2 -2
  362. package/docs/reference/functions/initialiseWalletConnector.md +3 -3
  363. package/docs/reference/index.md +48 -32
  364. package/docs/reference/interfaces/IEngineConfig.md +178 -106
  365. package/docs/reference/type-aliases/AttestationConnectorConfig.md +3 -3
  366. package/docs/reference/type-aliases/AutomationActionConfig.md +17 -0
  367. package/docs/reference/type-aliases/AutomationActionType.md +5 -0
  368. package/docs/reference/type-aliases/AutomationComponentConfig.md +5 -0
  369. package/docs/reference/type-aliases/AutomationComponentType.md +5 -0
  370. package/docs/reference/type-aliases/BackgroundTaskComponentConfig.md +3 -3
  371. package/docs/reference/type-aliases/BlobStorageConnectorConfig.md +1 -1
  372. package/docs/reference/type-aliases/DataExtractorConnectorConfig.md +3 -3
  373. package/docs/reference/type-aliases/DataspaceControlPlaneComponentConfig.md +5 -0
  374. package/docs/reference/type-aliases/DataspaceControlPlaneComponentType.md +5 -0
  375. package/docs/reference/type-aliases/DataspaceDataPlaneComponentConfig.md +5 -0
  376. package/docs/reference/type-aliases/DataspaceDataPlaneComponentType.md +5 -0
  377. package/docs/reference/type-aliases/DltConfig.md +4 -4
  378. package/docs/reference/type-aliases/EntityStorageConnectorConfig.md +1 -1
  379. package/docs/reference/type-aliases/EventBusConnectorConfig.md +3 -3
  380. package/docs/reference/type-aliases/FederatedCatalogueFilterComponentConfig.md +4 -4
  381. package/docs/reference/type-aliases/HealthComponentConfig.md +5 -0
  382. package/docs/reference/type-aliases/HealthComponentType.md +5 -0
  383. package/docs/reference/type-aliases/IdentityProfileConnectorConfig.md +3 -3
  384. package/docs/reference/type-aliases/MessagingAdminComponentConfig.md +3 -3
  385. package/docs/reference/type-aliases/MessagingComponentConfig.md +3 -3
  386. package/docs/reference/type-aliases/MetricsCollectorComponentConfig.md +17 -0
  387. package/docs/reference/type-aliases/MetricsCollectorComponentType.md +5 -0
  388. package/docs/reference/type-aliases/MetricsProducerComponentConfig.md +5 -0
  389. package/docs/reference/type-aliases/MetricsProducerComponentType.md +5 -0
  390. package/docs/reference/type-aliases/NotarizationComponentConfig.md +5 -0
  391. package/docs/reference/type-aliases/NotarizationComponentType.md +5 -0
  392. package/docs/reference/type-aliases/NotarizationConnectorConfig.md +5 -0
  393. package/docs/reference/type-aliases/NotarizationConnectorType.md +5 -0
  394. package/docs/reference/type-aliases/PlatformComponentConfig.md +17 -0
  395. package/docs/reference/type-aliases/PlatformComponentType.md +5 -0
  396. package/docs/reference/type-aliases/RightsManagementPdpComponentConfig.md +3 -3
  397. package/docs/reference/type-aliases/RightsManagementPepComponentConfig.md +3 -3
  398. package/docs/reference/type-aliases/RightsManagementPipComponentConfig.md +3 -3
  399. package/docs/reference/type-aliases/RightsManagementPmpComponentConfig.md +3 -3
  400. package/docs/reference/type-aliases/RightsManagementPnpComponentConfig.md +1 -1
  401. package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentConfig.md +1 -13
  402. package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentConfig.md +1 -13
  403. package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentConfig.md +3 -3
  404. package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentConfig.md +1 -1
  405. package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentConfig.md +4 -4
  406. package/docs/reference/type-aliases/RightsManagementPolicyObligationEnforcerComponentConfig.md +17 -0
  407. package/docs/reference/type-aliases/RightsManagementPolicyObligationEnforcerComponentType.md +5 -0
  408. package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentConfig.md +4 -4
  409. package/docs/reference/type-aliases/RightsManagementPxpComponentConfig.md +3 -3
  410. package/docs/reference/type-aliases/SchemaVersionMigrationComponentConfig.md +17 -0
  411. package/docs/reference/type-aliases/SchemaVersionMigrationComponentType.md +5 -0
  412. package/docs/reference/type-aliases/TaskSchedulerComponentConfig.md +3 -3
  413. package/docs/reference/type-aliases/TelemetryConnectorConfig.md +1 -13
  414. package/docs/reference/type-aliases/TenantAdminComponentConfig.md +3 -3
  415. package/docs/reference/type-aliases/TrustComponentConfig.md +3 -3
  416. package/docs/reference/type-aliases/TrustGeneratorComponentConfig.md +2 -2
  417. package/docs/reference/type-aliases/TrustVerifierComponentConfig.md +1 -13
  418. package/docs/reference/variables/AttestationComponentType.md +2 -2
  419. package/docs/reference/variables/AttestationConnectorType.md +1 -1
  420. package/docs/reference/variables/AuditableItemGraphComponentType.md +2 -2
  421. package/docs/reference/variables/AuditableItemStreamComponentType.md +2 -2
  422. package/docs/reference/variables/AutomationActionType.md +13 -0
  423. package/docs/reference/variables/AutomationComponentType.md +19 -0
  424. package/docs/reference/variables/BackgroundTaskComponentType.md +1 -1
  425. package/docs/reference/variables/BlobStorageComponentType.md +2 -2
  426. package/docs/reference/variables/BlobStorageConnectorType.md +6 -6
  427. package/docs/reference/variables/ContextIdHandlerComponentType.md +2 -2
  428. package/docs/reference/variables/DataConverterConnectorType.md +2 -2
  429. package/docs/reference/variables/DataExtractorConnectorType.md +1 -1
  430. package/docs/reference/variables/DataProcessingComponentType.md +2 -2
  431. package/docs/reference/variables/DataspaceControlPlaneComponentType.md +19 -0
  432. package/docs/reference/variables/{DataSpaceConnectorComponentType.md → DataspaceDataPlaneComponentType.md} +6 -6
  433. package/docs/reference/variables/DltConfigType.md +1 -1
  434. package/docs/reference/variables/DocumentManagementComponentType.md +2 -2
  435. package/docs/reference/variables/EntityStorageComponentType.md +2 -2
  436. package/docs/reference/variables/EntityStorageConnectorType.md +10 -16
  437. package/docs/reference/variables/EventBusComponentType.md +2 -2
  438. package/docs/reference/variables/EventBusConnectorType.md +1 -1
  439. package/docs/reference/variables/FaucetConnectorType.md +2 -2
  440. package/docs/reference/variables/FederatedCatalogueComponentType.md +2 -2
  441. package/docs/reference/variables/FederatedCatalogueFilterComponentType.md +3 -3
  442. package/docs/reference/variables/{VerifiableStorageComponentType.md → HealthComponentType.md} +5 -5
  443. package/docs/reference/variables/IdentityComponentType.md +2 -2
  444. package/docs/reference/variables/IdentityConnectorType.md +2 -2
  445. package/docs/reference/variables/IdentityProfileComponentType.md +2 -2
  446. package/docs/reference/variables/IdentityProfileConnectorType.md +1 -1
  447. package/docs/reference/variables/IdentityResolverComponentType.md +2 -2
  448. package/docs/reference/variables/IdentityResolverConnectorType.md +3 -3
  449. package/docs/reference/variables/ImmutableProofComponentType.md +2 -2
  450. package/docs/reference/variables/LoggingComponentType.md +2 -2
  451. package/docs/reference/variables/LoggingConnectorType.md +3 -3
  452. package/docs/reference/variables/MessagingAdminComponentType.md +1 -1
  453. package/docs/reference/variables/MessagingComponentType.md +1 -1
  454. package/docs/reference/variables/MessagingEmailConnectorType.md +2 -2
  455. package/docs/reference/variables/MessagingPushNotificationConnectorType.md +2 -2
  456. package/docs/reference/variables/MessagingSmsConnectorType.md +2 -2
  457. package/docs/reference/variables/MetricsCollectorComponentType.md +13 -0
  458. package/docs/reference/variables/MetricsProducerComponentType.md +19 -0
  459. package/docs/reference/variables/NftComponentType.md +2 -2
  460. package/docs/reference/variables/NftConnectorType.md +2 -2
  461. package/docs/reference/variables/NotarizationComponentType.md +19 -0
  462. package/docs/reference/variables/NotarizationConnectorType.md +19 -0
  463. package/docs/reference/variables/PlatformComponentType.md +13 -0
  464. package/docs/reference/variables/RightsManagementPapComponentType.md +2 -2
  465. package/docs/reference/variables/RightsManagementPdpComponentType.md +1 -1
  466. package/docs/reference/variables/RightsManagementPepComponentType.md +2 -2
  467. package/docs/reference/variables/RightsManagementPipComponentType.md +1 -1
  468. package/docs/reference/variables/RightsManagementPmpComponentType.md +1 -1
  469. package/docs/reference/variables/RightsManagementPnapComponentType.md +2 -2
  470. package/docs/reference/variables/RightsManagementPnpComponentType.md +2 -2
  471. package/docs/reference/variables/RightsManagementPolicyArbiterComponentType.md +9 -3
  472. package/docs/reference/variables/RightsManagementPolicyEnforcementProcessorComponentType.md +9 -3
  473. package/docs/reference/variables/RightsManagementPolicyExecutionActionComponentType.md +1 -1
  474. package/docs/reference/variables/RightsManagementPolicyInformationSourceComponentType.md +8 -2
  475. package/docs/reference/variables/RightsManagementPolicyNegotiatorComponentType.md +3 -3
  476. package/docs/reference/variables/RightsManagementPolicyObligationEnforcerComponentType.md +13 -0
  477. package/docs/reference/variables/RightsManagementPolicyRequesterComponentType.md +3 -3
  478. package/docs/reference/variables/RightsManagementPxpComponentType.md +1 -1
  479. package/docs/reference/variables/SchemaVersionMigrationComponentType.md +13 -0
  480. package/docs/reference/variables/TaskSchedulerComponentType.md +1 -1
  481. package/docs/reference/variables/TelemetryComponentType.md +2 -2
  482. package/docs/reference/variables/TelemetryConnectorType.md +7 -1
  483. package/docs/reference/variables/TenantAdminComponentType.md +1 -1
  484. package/docs/reference/variables/TrustComponentType.md +1 -1
  485. package/docs/reference/variables/TrustGeneratorComponentType.md +1 -1
  486. package/docs/reference/variables/TrustVerifierComponentType.md +7 -1
  487. package/docs/reference/variables/VaultConnectorType.md +2 -2
  488. package/docs/reference/variables/WalletConnectorType.md +2 -2
  489. package/package.json +133 -128
  490. package/dist/es/components/authenticationGenerator.js +0 -30
  491. package/dist/es/components/authenticationGenerator.js.map +0 -1
  492. package/dist/es/components/dataSpaceConnector.js +0 -51
  493. package/dist/es/components/dataSpaceConnector.js.map +0 -1
  494. package/dist/es/components/rightsManagementDap.js +0 -36
  495. package/dist/es/components/rightsManagementDap.js.map +0 -1
  496. package/dist/es/components/rightsManagementDarp.js +0 -30
  497. package/dist/es/components/rightsManagementDarp.js.map +0 -1
  498. package/dist/es/components/rightsManagementDataAccessHandler.js +0 -27
  499. package/dist/es/components/rightsManagementDataAccessHandler.js.map +0 -1
  500. package/dist/es/components/synchronisedStorage.js +0 -47
  501. package/dist/es/components/synchronisedStorage.js.map +0 -1
  502. package/dist/es/components/verifiableStorage.js +0 -79
  503. package/dist/es/components/verifiableStorage.js.map +0 -1
  504. package/dist/es/models/config/authenticationGeneratorComponentConfig.js +0 -2
  505. package/dist/es/models/config/authenticationGeneratorComponentConfig.js.map +0 -1
  506. package/dist/es/models/config/dataSpaceConnectorComponentConfig.js +0 -2
  507. package/dist/es/models/config/dataSpaceConnectorComponentConfig.js.map +0 -1
  508. package/dist/es/models/config/rightsManagementDapComponentConfig.js +0 -2
  509. package/dist/es/models/config/rightsManagementDapComponentConfig.js.map +0 -1
  510. package/dist/es/models/config/rightsManagementDarpComponentConfig.js +0 -2
  511. package/dist/es/models/config/rightsManagementDarpComponentConfig.js.map +0 -1
  512. package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js +0 -2
  513. package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js.map +0 -1
  514. package/dist/es/models/config/synchronisedStorageComponentConfig.js +0 -2
  515. package/dist/es/models/config/synchronisedStorageComponentConfig.js.map +0 -1
  516. package/dist/es/models/config/verifiableStorageComponentConfig.js +0 -2
  517. package/dist/es/models/config/verifiableStorageComponentConfig.js.map +0 -1
  518. package/dist/es/models/config/verifiableStorageConnectorConfig.js +0 -2
  519. package/dist/es/models/config/verifiableStorageConnectorConfig.js.map +0 -1
  520. package/dist/es/models/types/authenticationGeneratorComponentType.js +0 -13
  521. package/dist/es/models/types/authenticationGeneratorComponentType.js.map +0 -1
  522. package/dist/es/models/types/dataSpaceConnectorComponentType.js.map +0 -1
  523. package/dist/es/models/types/rightsManagementDapComponentType.js.map +0 -1
  524. package/dist/es/models/types/rightsManagementDarpComponentType.js +0 -13
  525. package/dist/es/models/types/rightsManagementDarpComponentType.js.map +0 -1
  526. package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js +0 -13
  527. package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js.map +0 -1
  528. package/dist/es/models/types/synchronisedStorageComponentType.js.map +0 -1
  529. package/dist/es/models/types/verifiableStorageComponentType.js.map +0 -1
  530. package/dist/es/models/types/verifiableStorageConnectorType.js.map +0 -1
  531. package/dist/types/components/authenticationGenerator.d.ts +0 -17
  532. package/dist/types/components/dataSpaceConnector.d.ts +0 -16
  533. package/dist/types/components/rightsManagementDap.d.ts +0 -16
  534. package/dist/types/components/rightsManagementDarp.d.ts +0 -16
  535. package/dist/types/components/rightsManagementDataAccessHandler.d.ts +0 -17
  536. package/dist/types/components/synchronisedStorage.d.ts +0 -16
  537. package/dist/types/components/verifiableStorage.d.ts +0 -30
  538. package/dist/types/models/config/authenticationGeneratorComponentConfig.d.ts +0 -9
  539. package/dist/types/models/config/dataSpaceConnectorComponentConfig.d.ts +0 -17
  540. package/dist/types/models/config/rightsManagementDapComponentConfig.d.ts +0 -16
  541. package/dist/types/models/config/rightsManagementDarpComponentConfig.d.ts +0 -9
  542. package/dist/types/models/config/rightsManagementDataAccessHandlerComponentConfig.d.ts +0 -9
  543. package/dist/types/models/config/synchronisedStorageComponentConfig.d.ts +0 -13
  544. package/dist/types/models/config/verifiableStorageComponentConfig.d.ts +0 -13
  545. package/dist/types/models/config/verifiableStorageConnectorConfig.d.ts +0 -13
  546. package/dist/types/models/types/authenticationGeneratorComponentType.d.ts +0 -13
  547. package/dist/types/models/types/dataSpaceConnectorComponentType.d.ts +0 -21
  548. package/dist/types/models/types/rightsManagementDapComponentType.d.ts +0 -17
  549. package/dist/types/models/types/rightsManagementDarpComponentType.d.ts +0 -13
  550. package/dist/types/models/types/rightsManagementDataAccessHandlerComponentType.d.ts +0 -13
  551. package/dist/types/models/types/synchronisedStorageComponentType.d.ts +0 -17
  552. package/dist/types/models/types/verifiableStorageComponentType.d.ts +0 -17
  553. package/dist/types/models/types/verifiableStorageConnectorType.d.ts +0 -17
  554. package/docs/reference/functions/initialiseAuthenticationGeneratorComponent.md +0 -31
  555. package/docs/reference/functions/initialiseDataSpaceConnectorComponent.md +0 -31
  556. package/docs/reference/functions/initialiseRightsManagementDapComponent.md +0 -31
  557. package/docs/reference/functions/initialiseRightsManagementDarpComponent.md +0 -31
  558. package/docs/reference/functions/initialiseRightsManagementDataAccessHandlerComponent.md +0 -31
  559. package/docs/reference/functions/initialiseSynchronisedStorageComponent.md +0 -31
  560. package/docs/reference/functions/initialiseVerifiableStorageComponent.md +0 -31
  561. package/docs/reference/functions/initialiseVerifiableStorageConnector.md +0 -31
  562. package/docs/reference/type-aliases/AuthenticationGeneratorComponentConfig.md +0 -17
  563. package/docs/reference/type-aliases/AuthenticationGeneratorComponentType.md +0 -5
  564. package/docs/reference/type-aliases/DataSpaceConnectorComponentConfig.md +0 -5
  565. package/docs/reference/type-aliases/DataSpaceConnectorComponentType.md +0 -5
  566. package/docs/reference/type-aliases/IVerifiableStorageComponentType.md +0 -5
  567. package/docs/reference/type-aliases/RightsManagementDapComponentConfig.md +0 -5
  568. package/docs/reference/type-aliases/RightsManagementDapComponentType.md +0 -5
  569. package/docs/reference/type-aliases/RightsManagementDarpComponentConfig.md +0 -17
  570. package/docs/reference/type-aliases/RightsManagementDarpComponentType.md +0 -5
  571. package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentConfig.md +0 -17
  572. package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentType.md +0 -5
  573. package/docs/reference/type-aliases/SynchronisedStorageComponentConfig.md +0 -5
  574. package/docs/reference/type-aliases/SynchronisedStorageComponentType.md +0 -5
  575. package/docs/reference/type-aliases/VerifiableStorageComponentConfig.md +0 -5
  576. package/docs/reference/type-aliases/VerifiableStorageConnectorConfig.md +0 -5
  577. package/docs/reference/type-aliases/VerifiableStorageConnectorType.md +0 -5
  578. package/docs/reference/variables/AuthenticationGeneratorComponentType.md +0 -13
  579. package/docs/reference/variables/RightsManagementDapComponentType.md +0 -19
  580. package/docs/reference/variables/RightsManagementDarpComponentType.md +0 -13
  581. package/docs/reference/variables/RightsManagementDataAccessHandlerComponentType.md +0 -13
  582. package/docs/reference/variables/SynchronisedStorageComponentType.md +0 -19
  583. package/docs/reference/variables/VerifiableStorageConnectorType.md +0 -19
@@ -1,79 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- import { ContextIdHelper, ContextIdKeys } from "@twin.org/context";
4
- import { ComponentFactory } from "@twin.org/core";
5
- import { EntityStorageVerifiableStorageConnector, initSchema as initSchemaVerifiableStorageStorage } from "@twin.org/verifiable-storage-connector-entity-storage";
6
- import { IotaVerifiableStorageConnector } from "@twin.org/verifiable-storage-connector-iota";
7
- import { VerifiableStorageConnectorFactory } from "@twin.org/verifiable-storage-models";
8
- import { VerifiableStorageRestClient } from "@twin.org/verifiable-storage-rest-client";
9
- import { VerifiableStorageService } from "@twin.org/verifiable-storage-service";
10
- import { initialiseEntityStorageConnector } from "./entityStorage.js";
11
- import { DltConfigType } from "../models/types/dltConfigType.js";
12
- import { VerifiableStorageComponentType } from "../models/types/verifiableStorageComponentType.js";
13
- import { VerifiableStorageConnectorType } from "../models/types/verifiableStorageConnectorType.js";
14
- import { EngineTypeHelper } from "../utils/engineTypeHelper.js";
15
- /**
16
- * Initialise the verifiable storage connector.
17
- * @param engineCore The engine core.
18
- * @param context The context for the engine.
19
- * @param instanceConfig The instance config.
20
- * @returns The instance created and the factory for it.
21
- */
22
- export async function initialiseVerifiableStorageConnector(engineCore, context, instanceConfig) {
23
- let component;
24
- let instanceType;
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;
37
- }
38
- 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;
46
- }
47
- return {
48
- component,
49
- instanceType,
50
- factory: VerifiableStorageConnectorFactory
51
- };
52
- }
53
- /**
54
- * Initialise the verifiable storage component.
55
- * @param engineCore The engine core.
56
- * @param context The context for the engine.
57
- * @param instanceConfig The instance config.
58
- * @returns The instance created and the factory for it.
59
- */
60
- export async function initialiseVerifiableStorageComponent(engineCore, context, instanceConfig) {
61
- let component;
62
- let instanceType;
63
- if (instanceConfig.type === VerifiableStorageComponentType.Service) {
64
- component = new VerifiableStorageService({
65
- ...instanceConfig.options
66
- });
67
- instanceType = "verifiable-storage-service";
68
- }
69
- else if (instanceConfig.type === VerifiableStorageComponentType.RestClient) {
70
- component = new VerifiableStorageRestClient(instanceConfig.options);
71
- instanceType = "verifiable-storage-rest-client";
72
- }
73
- return {
74
- component,
75
- instanceType,
76
- factory: ComponentFactory
77
- };
78
- }
79
- //# sourceMappingURL=verifiableStorage.js.map
@@ -1 +0,0 @@
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;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,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,IAAI,EAAE,CAAC;QACjE,MAAM,SAAS,GAAG,gBAAgB,CAAC,eAAe,CACjD,UAAU,CAAC,SAAS,EAAE,EACtB,WAAW,EACX,aAAa,CAAC,IAAI,CAClB,CAAC;QACF,SAAS,GAAG,IAAI,8BAA8B,CAAC;YAC9C,kBAAkB,EAAE,UAAU,CAAC,yBAAyB,CAAC,gBAAgB,CAAC;YAC1E,oBAAoB,EAAE,UAAU,CAAC,iCAAiC,CAAC,kBAAkB,CAAC;YACtF,GAAG,cAAc,CAAC,OAAO;YACzB,MAAM,EAAE;gBACP,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM;gBAC7B,GAAG,cAAc,CAAC,OAAO,CAAC,MAAM;aAChC;SACD,CAAC,CAAC;QACH,YAAY,GAAG,8BAA8B,CAAC,SAAS,CAAC;IACzD,CAAC;SAAM,IAAI,cAAc,CAAC,IAAI,KAAK,8BAA8B,CAAC,aAAa,EAAE,CAAC;QACjF,kCAAkC,EAAE,CAAC;QACrC,gCAAgC,CAC/B,UAAU,EACV,OAAO,EACP,cAAc,CAAC,OAAO,EAAE,kCAAkC,oBAE1D,eAAe,CAAC,qBAAqB,CAAC,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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=authenticationGeneratorComponentConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"authenticationGeneratorComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/authenticationGeneratorComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IVerifiableCredentialAuthenticationGeneratorConstructorOptions } from \"@twin.org/identity-authentication\";\nimport type { AuthenticationGeneratorComponentType } from \"../types/authenticationGeneratorComponentType.js\";\n\n/**\n * Authentication generator component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type AuthenticationGeneratorComponentConfig = {\n\ttype: typeof AuthenticationGeneratorComponentType.VerifiableCredential;\n\toptions: IVerifiableCredentialAuthenticationGeneratorConstructorOptions;\n};\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=dataSpaceConnectorComponentConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataSpaceConnectorComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/dataSpaceConnectorComponentConfig.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 { IDataSpaceConnectorServiceConstructorOptions } from \"@twin.org/data-space-connector-service\";\nimport type { IDataSpaceConnectorSocketClientConstructorOptions } from \"@twin.org/data-space-connector-socket-client\";\nimport type { DataSpaceConnectorComponentType } from \"../types/dataSpaceConnectorComponentType.js\";\n\n/**\n * Data space connector component config types.\n */\nexport type DataSpaceConnectorComponentConfig =\n\t| {\n\t\t\ttype: typeof DataSpaceConnectorComponentType.Service;\n\t\t\toptions?: IDataSpaceConnectorServiceConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof DataSpaceConnectorComponentType.RestClient;\n\t\t\toptions: IBaseRestClientConfig;\n\t }\n\t| {\n\t\t\ttype: typeof DataSpaceConnectorComponentType.SocketClient;\n\t\t\toptions: IDataSpaceConnectorSocketClientConstructorOptions;\n\t };\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=rightsManagementDapComponentConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rightsManagementDapComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementDapComponentConfig.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 { IDataAccessPointServiceConstructorOptions } from \"@twin.org/rights-management-dap-service\";\nimport type { RightsManagementDapComponentType } from \"../types/rightsManagementDapComponentType.js\";\n\n/**\n * Rights management DAP component config types.\n */\nexport type RightsManagementDapComponentConfig =\n\t| {\n\t\t\ttype: typeof RightsManagementDapComponentType.Service;\n\t\t\toptions?: IDataAccessPointServiceConstructorOptions & {\n\t\t\t\tnegotiatorModulesConfig?: IEngineModuleConfig[];\n\t\t\t};\n\t }\n\t| {\n\t\t\ttype: typeof RightsManagementDapComponentType.RestClient;\n\t\t\toptions: IBaseRestClientConfig;\n\t };\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=rightsManagementDarpComponentConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rightsManagementDarpComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementDarpComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataAccessRequestPointServiceConstructorOptions } from \"@twin.org/rights-management-dap-service\";\nimport type { RightsManagementDarpComponentType } from \"../types/rightsManagementDarpComponentType.js\";\n\n/**\n * Rights management DARP component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementDarpComponentConfig = {\n\ttype: typeof RightsManagementDarpComponentType.Service;\n\toptions: IDataAccessRequestPointServiceConstructorOptions;\n};\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=rightsManagementDataAccessHandlerComponentConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rightsManagementDataAccessHandlerComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/rightsManagementDataAccessHandlerComponentConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IExampleDataAccessHandlerConstructorOptions } from \"@twin.org/rights-management-plugins\";\nimport type { RightsManagementDataAccessHandlerComponentType } from \"../types/rightsManagementDataAccessHandlerComponentType.js\";\n\n/**\n * Rights management data access handler component config types.\n */\n// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\nexport type RightsManagementDataAccessHandlerComponentConfig = {\n\ttype: typeof RightsManagementDataAccessHandlerComponentType.Example;\n\toptions?: IExampleDataAccessHandlerConstructorOptions;\n};\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=synchronisedStorageComponentConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synchronisedStorageComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/synchronisedStorageComponentConfig.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 { ISynchronisedStorageServiceConstructorOptions } from \"@twin.org/synchronised-storage-service\";\nimport type { SynchronisedStorageComponentType } from \"../types/synchronisedStorageComponentType.js\";\n\n/**\n * Synchronised storage component config types.\n */\nexport type SynchronisedStorageComponentConfig =\n\t| {\n\t\t\ttype: typeof SynchronisedStorageComponentType.Service;\n\t\t\toptions: ISynchronisedStorageServiceConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof SynchronisedStorageComponentType.RestClient;\n\t\t\toptions: IBaseRestClientConfig;\n\t };\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=verifiableStorageComponentConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"verifiableStorageComponentConfig.js","sourceRoot":"","sources":["../../../../src/models/config/verifiableStorageComponentConfig.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 { IVerifiableStorageServiceConstructorOptions } from \"@twin.org/verifiable-storage-service\";\nimport type { VerifiableStorageComponentType } from \"../types/verifiableStorageComponentType.js\";\n\n/**\n * Verifiable storage component config types.\n */\nexport type VerifiableStorageComponentConfig =\n\t| {\n\t\t\ttype: typeof VerifiableStorageComponentType.Service;\n\t\t\toptions?: IVerifiableStorageServiceConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof VerifiableStorageComponentType.RestClient;\n\t\t\toptions: IBaseRestClientConfig;\n\t };\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=verifiableStorageConnectorConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"verifiableStorageConnectorConfig.js","sourceRoot":"","sources":["../../../../src/models/config/verifiableStorageConnectorConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEntityStorageVerifiableStorageConnectorConstructorOptions } from \"@twin.org/verifiable-storage-connector-entity-storage\";\nimport type { IIotaVerifiableStorageConnectorConstructorOptions } from \"@twin.org/verifiable-storage-connector-iota\";\nimport type { VerifiableStorageConnectorType } from \"../types/verifiableStorageConnectorType.js\";\n\n/**\n * Verifiable storage connector config types.\n */\nexport type VerifiableStorageConnectorConfig =\n\t| {\n\t\t\ttype: typeof VerifiableStorageConnectorType.EntityStorage;\n\t\t\toptions?: IEntityStorageVerifiableStorageConnectorConstructorOptions;\n\t }\n\t| {\n\t\t\ttype: typeof VerifiableStorageConnectorType.Iota;\n\t\t\toptions: IIotaVerifiableStorageConnectorConstructorOptions;\n\t };\n"]}
@@ -1,13 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * Authentication generator component types.
5
- */
6
- // eslint-disable-next-line @typescript-eslint/naming-convention
7
- export const AuthenticationGeneratorComponentType = {
8
- /**
9
- * Verifiable Credential.
10
- */
11
- VerifiableCredential: "verifiable-credential"
12
- };
13
- //# sourceMappingURL=authenticationGeneratorComponentType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"authenticationGeneratorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/authenticationGeneratorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oCAAoC,GAAG;IACnD;;OAEG;IACH,oBAAoB,EAAE,uBAAuB;CACpC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Authentication generator component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const AuthenticationGeneratorComponentType = {\n\t/**\n\t * Verifiable Credential.\n\t */\n\tVerifiableCredential: \"verifiable-credential\"\n} as const;\n\n/**\n * Authentication generator component types.\n */\nexport type AuthenticationGeneratorComponentType =\n\t(typeof AuthenticationGeneratorComponentType)[keyof typeof AuthenticationGeneratorComponentType];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataSpaceConnectorComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/dataSpaceConnectorComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC9C;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,UAAU,EAAE,aAAa;IAEzB;;OAEG;IACH,YAAY,EAAE,eAAe;CACpB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Data space connector component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataSpaceConnectorComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\",\n\n\t/**\n\t * REST client.\n\t */\n\tRestClient: \"rest-client\",\n\n\t/**\n\t * Socket client.\n\t */\n\tSocketClient: \"socket-client\"\n} as const;\n\n/**\n * Data space connector component types.\n */\nexport type DataSpaceConnectorComponentType =\n\t(typeof DataSpaceConnectorComponentType)[keyof typeof DataSpaceConnectorComponentType];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rightsManagementDapComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementDapComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC/C;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,UAAU,EAAE,aAAa;CAChB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management DAP component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementDapComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\",\n\n\t/**\n\t * REST client.\n\t */\n\tRestClient: \"rest-client\"\n} as const;\n\n/**\n * Rights management DAP component types.\n */\nexport type RightsManagementDapComponentType =\n\t(typeof RightsManagementDapComponentType)[keyof typeof RightsManagementDapComponentType];\n"]}
@@ -1,13 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * Rights management DARP component types.
5
- */
6
- // eslint-disable-next-line @typescript-eslint/naming-convention
7
- export const RightsManagementDarpComponentType = {
8
- /**
9
- * Service.
10
- */
11
- Service: "service"
12
- };
13
- //# sourceMappingURL=rightsManagementDarpComponentType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rightsManagementDarpComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementDarpComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAChD;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management DARP component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementDarpComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\"\n} as const;\n\n/**\n * Rights management DARP component types.\n */\nexport type RightsManagementDarpComponentType =\n\t(typeof RightsManagementDarpComponentType)[keyof typeof RightsManagementDarpComponentType];\n"]}
@@ -1,13 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * Rights management Data Access Handler component types.
5
- */
6
- // eslint-disable-next-line @typescript-eslint/naming-convention
7
- export const RightsManagementDataAccessHandlerComponentType = {
8
- /**
9
- * Example.
10
- */
11
- Example: "example"
12
- };
13
- //# sourceMappingURL=rightsManagementDataAccessHandlerComponentType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rightsManagementDataAccessHandlerComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/rightsManagementDataAccessHandlerComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC7D;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Rights management Data Access Handler component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const RightsManagementDataAccessHandlerComponentType = {\n\t/**\n\t * Example.\n\t */\n\tExample: \"example\"\n} as const;\n\n/**\n * Rights management Data Access Handler component types.\n */\nexport type RightsManagementDataAccessHandlerComponentType =\n\t// eslint-disable-next-line max-len\n\t(typeof RightsManagementDataAccessHandlerComponentType)[keyof typeof RightsManagementDataAccessHandlerComponentType];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"synchronisedStorageComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/synchronisedStorageComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC/C;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,UAAU,EAAE,aAAa;CAChB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Synchronised storage component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const SynchronisedStorageComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\",\n\n\t/**\n\t * REST client.\n\t */\n\tRestClient: \"rest-client\"\n} as const;\n\n/**\n * Synchronised storage component types.\n */\nexport type SynchronisedStorageComponentType =\n\t(typeof SynchronisedStorageComponentType)[keyof typeof SynchronisedStorageComponentType];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"verifiableStorageComponentType.js","sourceRoot":"","sources":["../../../../src/models/types/verifiableStorageComponentType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC7C;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,UAAU,EAAE,aAAa;CAChB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Verifiable storage component types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const VerifiableStorageComponentType = {\n\t/**\n\t * Service.\n\t */\n\tService: \"service\",\n\n\t/**\n\t * REST client.\n\t */\n\tRestClient: \"rest-client\"\n} as const;\n\n/**\n * Verifiable storage component types.\n */\nexport type IVerifiableStorageComponentType =\n\t(typeof VerifiableStorageComponentType)[keyof typeof VerifiableStorageComponentType];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"verifiableStorageConnectorType.js","sourceRoot":"","sources":["../../../../src/models/types/verifiableStorageConnectorType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC7C;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,IAAI,EAAE,MAAM;CACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Verifiable storage connector types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const VerifiableStorageConnectorType = {\n\t/**\n\t * Entity storage.\n\t */\n\tEntityStorage: \"entity-storage\",\n\n\t/**\n\t * IOTA.\n\t */\n\tIota: \"iota\"\n} as const;\n\n/**\n * Verifiable storage connector types.\n */\nexport type VerifiableStorageConnectorType =\n\t(typeof VerifiableStorageConnectorType)[keyof typeof VerifiableStorageConnectorType];\n"]}
@@ -1,17 +0,0 @@
1
- import { AuthenticationGeneratorFactory } from "@twin.org/api-models";
2
- import type { IComponent } from "@twin.org/core";
3
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
4
- import type { AuthenticationGeneratorComponentConfig } from "../models/config/authenticationGeneratorComponentConfig.js";
5
- import type { IEngineConfig } from "../models/IEngineConfig.js";
6
- /**
7
- * Initialise the authentication generator component.
8
- * @param engineCore The engine core.
9
- * @param context The context for the engine.
10
- * @param instanceConfig The instance config.
11
- * @returns The instance created and the factory for it.
12
- */
13
- export declare function initialiseAuthenticationGeneratorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: AuthenticationGeneratorComponentConfig): Promise<{
14
- instanceType?: string;
15
- factory?: typeof AuthenticationGeneratorFactory;
16
- component?: IComponent;
17
- }>;
@@ -1,16 +0,0 @@
1
- import { ComponentFactory, type IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
- import type { DataSpaceConnectorComponentConfig } from "../models/config/dataSpaceConnectorComponentConfig.js";
4
- import type { IEngineConfig } from "../models/IEngineConfig.js";
5
- /**
6
- * Initialise the data space connector component.
7
- * @param engineCore The engine core.
8
- * @param context The context for the engine.
9
- * @param instanceConfig The instance config.
10
- * @returns The instance created and the factory for it.
11
- */
12
- export declare function initialiseDataSpaceConnectorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: DataSpaceConnectorComponentConfig): Promise<{
13
- instanceType?: string;
14
- factory?: typeof ComponentFactory;
15
- component?: IComponent;
16
- }>;
@@ -1,16 +0,0 @@
1
- import { ComponentFactory, type IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
- import type { RightsManagementDapComponentConfig } from "../models/config/rightsManagementDapComponentConfig.js";
4
- import type { IEngineConfig } from "../models/IEngineConfig.js";
5
- /**
6
- * Initialise the rights management DAP component.
7
- * @param engineCore The engine core.
8
- * @param context The context for the engine.
9
- * @param instanceConfig The instance config.
10
- * @returns The instance created and the factory for it.
11
- */
12
- export declare function initialiseRightsManagementDapComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementDapComponentConfig): Promise<{
13
- instanceType?: string;
14
- factory?: typeof ComponentFactory;
15
- component?: IComponent;
16
- }>;
@@ -1,16 +0,0 @@
1
- import { ComponentFactory, type IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
- import type { RightsManagementDarpComponentConfig } from "../models/config/rightsManagementDarpComponentConfig.js";
4
- import type { IEngineConfig } from "../models/IEngineConfig.js";
5
- /**
6
- * Initialise the rights management DARP component.
7
- * @param engineCore The engine core.
8
- * @param context The context for the engine.
9
- * @param instanceConfig The instance config.
10
- * @returns The instance created and the factory for it.
11
- */
12
- export declare function initialiseRightsManagementDarpComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementDarpComponentConfig): Promise<{
13
- instanceType?: string;
14
- factory?: typeof ComponentFactory;
15
- component?: IComponent;
16
- }>;
@@ -1,17 +0,0 @@
1
- import type { IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
- import { DataAccessHandlerFactory } from "@twin.org/rights-management-models";
4
- import type { RightsManagementDataAccessHandlerComponentConfig } from "../models/config/rightsManagementDataAccessHandlerComponentConfig.js";
5
- import type { IEngineConfig } from "../models/IEngineConfig.js";
6
- /**
7
- * Initialise the rights management data access handler component.
8
- * @param engineCore The engine core.
9
- * @param context The context for the engine.
10
- * @param instanceConfig The instance config.
11
- * @returns The instance created and the factory for it.
12
- */
13
- export declare function initialiseRightsManagementDataAccessHandlerComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementDataAccessHandlerComponentConfig): Promise<{
14
- instanceType?: string;
15
- factory?: typeof DataAccessHandlerFactory;
16
- component?: IComponent;
17
- }>;
@@ -1,16 +0,0 @@
1
- import { ComponentFactory, type IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
- import type { SynchronisedStorageComponentConfig } from "../models/config/synchronisedStorageComponentConfig.js";
4
- import type { IEngineConfig } from "../models/IEngineConfig.js";
5
- /**
6
- * Initialise the synchronised storage component.
7
- * @param engineCore The engine core.
8
- * @param context The context for the engine.
9
- * @param instanceConfig The instance config.
10
- * @returns The instance created and the factory for it.
11
- */
12
- export declare function initialiseSynchronisedStorageComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: SynchronisedStorageComponentConfig): Promise<{
13
- instanceType?: string;
14
- factory?: typeof ComponentFactory;
15
- component?: IComponent;
16
- }>;
@@ -1,30 +0,0 @@
1
- import { ComponentFactory, type IComponent } from "@twin.org/core";
2
- import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
- import { VerifiableStorageConnectorFactory } from "@twin.org/verifiable-storage-models";
4
- import type { VerifiableStorageComponentConfig } from "../models/config/verifiableStorageComponentConfig.js";
5
- import type { VerifiableStorageConnectorConfig } from "../models/config/verifiableStorageConnectorConfig.js";
6
- import type { IEngineConfig } from "../models/IEngineConfig.js";
7
- /**
8
- * Initialise the verifiable storage connector.
9
- * @param engineCore The engine core.
10
- * @param context The context for the engine.
11
- * @param instanceConfig The instance config.
12
- * @returns The instance created and the factory for it.
13
- */
14
- export declare function initialiseVerifiableStorageConnector(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: VerifiableStorageConnectorConfig): Promise<{
15
- instanceType?: string;
16
- factory?: typeof VerifiableStorageConnectorFactory;
17
- component?: IComponent;
18
- }>;
19
- /**
20
- * Initialise the verifiable storage component.
21
- * @param engineCore The engine core.
22
- * @param context The context for the engine.
23
- * @param instanceConfig The instance config.
24
- * @returns The instance created and the factory for it.
25
- */
26
- export declare function initialiseVerifiableStorageComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: VerifiableStorageComponentConfig): Promise<{
27
- instanceType?: string;
28
- factory?: typeof ComponentFactory;
29
- component?: IComponent;
30
- }>;
@@ -1,9 +0,0 @@
1
- import type { IVerifiableCredentialAuthenticationGeneratorConstructorOptions } from "@twin.org/identity-authentication";
2
- import type { AuthenticationGeneratorComponentType } from "../types/authenticationGeneratorComponentType.js";
3
- /**
4
- * Authentication generator component config types.
5
- */
6
- export type AuthenticationGeneratorComponentConfig = {
7
- type: typeof AuthenticationGeneratorComponentType.VerifiableCredential;
8
- options: IVerifiableCredentialAuthenticationGeneratorConstructorOptions;
9
- };
@@ -1,17 +0,0 @@
1
- import type { IBaseRestClientConfig } from "@twin.org/api-models";
2
- import type { IDataSpaceConnectorServiceConstructorOptions } from "@twin.org/data-space-connector-service";
3
- import type { IDataSpaceConnectorSocketClientConstructorOptions } from "@twin.org/data-space-connector-socket-client";
4
- import type { DataSpaceConnectorComponentType } from "../types/dataSpaceConnectorComponentType.js";
5
- /**
6
- * Data space connector component config types.
7
- */
8
- export type DataSpaceConnectorComponentConfig = {
9
- type: typeof DataSpaceConnectorComponentType.Service;
10
- options?: IDataSpaceConnectorServiceConstructorOptions;
11
- } | {
12
- type: typeof DataSpaceConnectorComponentType.RestClient;
13
- options: IBaseRestClientConfig;
14
- } | {
15
- type: typeof DataSpaceConnectorComponentType.SocketClient;
16
- options: IDataSpaceConnectorSocketClientConstructorOptions;
17
- };
@@ -1,16 +0,0 @@
1
- import type { IBaseRestClientConfig } from "@twin.org/api-models";
2
- import type { IEngineModuleConfig } from "@twin.org/engine-models";
3
- import type { IDataAccessPointServiceConstructorOptions } from "@twin.org/rights-management-dap-service";
4
- import type { RightsManagementDapComponentType } from "../types/rightsManagementDapComponentType.js";
5
- /**
6
- * Rights management DAP component config types.
7
- */
8
- export type RightsManagementDapComponentConfig = {
9
- type: typeof RightsManagementDapComponentType.Service;
10
- options?: IDataAccessPointServiceConstructorOptions & {
11
- negotiatorModulesConfig?: IEngineModuleConfig[];
12
- };
13
- } | {
14
- type: typeof RightsManagementDapComponentType.RestClient;
15
- options: IBaseRestClientConfig;
16
- };
@@ -1,9 +0,0 @@
1
- import type { IDataAccessRequestPointServiceConstructorOptions } from "@twin.org/rights-management-dap-service";
2
- import type { RightsManagementDarpComponentType } from "../types/rightsManagementDarpComponentType.js";
3
- /**
4
- * Rights management DARP component config types.
5
- */
6
- export type RightsManagementDarpComponentConfig = {
7
- type: typeof RightsManagementDarpComponentType.Service;
8
- options: IDataAccessRequestPointServiceConstructorOptions;
9
- };
@@ -1,9 +0,0 @@
1
- import type { IExampleDataAccessHandlerConstructorOptions } from "@twin.org/rights-management-plugins";
2
- import type { RightsManagementDataAccessHandlerComponentType } from "../types/rightsManagementDataAccessHandlerComponentType.js";
3
- /**
4
- * Rights management data access handler component config types.
5
- */
6
- export type RightsManagementDataAccessHandlerComponentConfig = {
7
- type: typeof RightsManagementDataAccessHandlerComponentType.Example;
8
- options?: IExampleDataAccessHandlerConstructorOptions;
9
- };
@@ -1,13 +0,0 @@
1
- import type { IBaseRestClientConfig } from "@twin.org/api-models";
2
- import type { ISynchronisedStorageServiceConstructorOptions } from "@twin.org/synchronised-storage-service";
3
- import type { SynchronisedStorageComponentType } from "../types/synchronisedStorageComponentType.js";
4
- /**
5
- * Synchronised storage component config types.
6
- */
7
- export type SynchronisedStorageComponentConfig = {
8
- type: typeof SynchronisedStorageComponentType.Service;
9
- options: ISynchronisedStorageServiceConstructorOptions;
10
- } | {
11
- type: typeof SynchronisedStorageComponentType.RestClient;
12
- options: IBaseRestClientConfig;
13
- };
@@ -1,13 +0,0 @@
1
- import type { IBaseRestClientConfig } from "@twin.org/api-models";
2
- import type { IVerifiableStorageServiceConstructorOptions } from "@twin.org/verifiable-storage-service";
3
- import type { VerifiableStorageComponentType } from "../types/verifiableStorageComponentType.js";
4
- /**
5
- * Verifiable storage component config types.
6
- */
7
- export type VerifiableStorageComponentConfig = {
8
- type: typeof VerifiableStorageComponentType.Service;
9
- options?: IVerifiableStorageServiceConstructorOptions;
10
- } | {
11
- type: typeof VerifiableStorageComponentType.RestClient;
12
- options: IBaseRestClientConfig;
13
- };
@@ -1,13 +0,0 @@
1
- import type { IEntityStorageVerifiableStorageConnectorConstructorOptions } from "@twin.org/verifiable-storage-connector-entity-storage";
2
- import type { IIotaVerifiableStorageConnectorConstructorOptions } from "@twin.org/verifiable-storage-connector-iota";
3
- import type { VerifiableStorageConnectorType } from "../types/verifiableStorageConnectorType.js";
4
- /**
5
- * Verifiable storage connector config types.
6
- */
7
- export type VerifiableStorageConnectorConfig = {
8
- type: typeof VerifiableStorageConnectorType.EntityStorage;
9
- options?: IEntityStorageVerifiableStorageConnectorConstructorOptions;
10
- } | {
11
- type: typeof VerifiableStorageConnectorType.Iota;
12
- options: IIotaVerifiableStorageConnectorConstructorOptions;
13
- };
@@ -1,13 +0,0 @@
1
- /**
2
- * Authentication generator component types.
3
- */
4
- export declare const AuthenticationGeneratorComponentType: {
5
- /**
6
- * Verifiable Credential.
7
- */
8
- readonly VerifiableCredential: "verifiable-credential";
9
- };
10
- /**
11
- * Authentication generator component types.
12
- */
13
- export type AuthenticationGeneratorComponentType = (typeof AuthenticationGeneratorComponentType)[keyof typeof AuthenticationGeneratorComponentType];
@@ -1,21 +0,0 @@
1
- /**
2
- * Data space connector component types.
3
- */
4
- export declare const DataSpaceConnectorComponentType: {
5
- /**
6
- * Service.
7
- */
8
- readonly Service: "service";
9
- /**
10
- * REST client.
11
- */
12
- readonly RestClient: "rest-client";
13
- /**
14
- * Socket client.
15
- */
16
- readonly SocketClient: "socket-client";
17
- };
18
- /**
19
- * Data space connector component types.
20
- */
21
- export type DataSpaceConnectorComponentType = (typeof DataSpaceConnectorComponentType)[keyof typeof DataSpaceConnectorComponentType];
@@ -1,17 +0,0 @@
1
- /**
2
- * Rights management DAP component types.
3
- */
4
- export declare const RightsManagementDapComponentType: {
5
- /**
6
- * Service.
7
- */
8
- readonly Service: "service";
9
- /**
10
- * REST client.
11
- */
12
- readonly RestClient: "rest-client";
13
- };
14
- /**
15
- * Rights management DAP component types.
16
- */
17
- export type RightsManagementDapComponentType = (typeof RightsManagementDapComponentType)[keyof typeof RightsManagementDapComponentType];
@@ -1,13 +0,0 @@
1
- /**
2
- * Rights management DARP component types.
3
- */
4
- export declare const RightsManagementDarpComponentType: {
5
- /**
6
- * Service.
7
- */
8
- readonly Service: "service";
9
- };
10
- /**
11
- * Rights management DARP component types.
12
- */
13
- export type RightsManagementDarpComponentType = (typeof RightsManagementDarpComponentType)[keyof typeof RightsManagementDarpComponentType];
@@ -1,13 +0,0 @@
1
- /**
2
- * Rights management Data Access Handler component types.
3
- */
4
- export declare const RightsManagementDataAccessHandlerComponentType: {
5
- /**
6
- * Example.
7
- */
8
- readonly Example: "example";
9
- };
10
- /**
11
- * Rights management Data Access Handler component types.
12
- */
13
- export type RightsManagementDataAccessHandlerComponentType = (typeof RightsManagementDataAccessHandlerComponentType)[keyof typeof RightsManagementDataAccessHandlerComponentType];