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

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 (175) hide show
  1. package/dist/es/components/dataSpaceConnector.js +0 -1
  2. package/dist/es/components/dataSpaceConnector.js.map +1 -1
  3. package/dist/es/components/rightsManagementDap.js +2 -4
  4. package/dist/es/components/rightsManagementDap.js.map +1 -1
  5. package/dist/es/components/rightsManagementDarp.js +1 -0
  6. package/dist/es/components/rightsManagementDarp.js.map +1 -1
  7. package/dist/es/components/rightsManagementDataAccessHandler.js +27 -0
  8. package/dist/es/components/rightsManagementDataAccessHandler.js.map +1 -0
  9. package/dist/es/components/rightsManagementPdp.js +2 -16
  10. package/dist/es/components/rightsManagementPdp.js.map +1 -1
  11. package/dist/es/components/rightsManagementPep.js +2 -16
  12. package/dist/es/components/rightsManagementPep.js.map +1 -1
  13. package/dist/es/components/rightsManagementPip.js +2 -16
  14. package/dist/es/components/rightsManagementPip.js.map +1 -1
  15. package/dist/es/components/rightsManagementPnp.js +3 -23
  16. package/dist/es/components/rightsManagementPnp.js.map +1 -1
  17. package/dist/es/components/rightsManagementPolicyArbiter.js +27 -0
  18. package/dist/es/components/rightsManagementPolicyArbiter.js.map +1 -0
  19. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js +27 -0
  20. package/dist/es/components/rightsManagementPolicyEnforcementProcessor.js.map +1 -0
  21. package/dist/es/components/rightsManagementPolicyExecutionAction.js +27 -0
  22. package/dist/es/components/rightsManagementPolicyExecutionAction.js.map +1 -0
  23. package/dist/es/components/rightsManagementPolicyInformationSource.js +35 -0
  24. package/dist/es/components/rightsManagementPolicyInformationSource.js.map +1 -0
  25. package/dist/es/components/rightsManagementPolicyNegotiator.js +27 -0
  26. package/dist/es/components/rightsManagementPolicyNegotiator.js.map +1 -0
  27. package/dist/es/components/rightsManagementPolicyRequester.js +27 -0
  28. package/dist/es/components/rightsManagementPolicyRequester.js.map +1 -0
  29. package/dist/es/components/rightsManagementPxp.js +2 -16
  30. package/dist/es/components/rightsManagementPxp.js.map +1 -1
  31. package/dist/es/components/synchronisedStorage.js +1 -1
  32. package/dist/es/components/synchronisedStorage.js.map +1 -1
  33. package/dist/es/components/trust.js +29 -0
  34. package/dist/es/components/trust.js.map +1 -0
  35. package/dist/es/components/trustGenerator.js +28 -0
  36. package/dist/es/components/trustGenerator.js.map +1 -0
  37. package/dist/es/components/trustVerifier.js +28 -0
  38. package/dist/es/components/trustVerifier.js.map +1 -0
  39. package/dist/es/index.js +30 -0
  40. package/dist/es/index.js.map +1 -1
  41. package/dist/es/models/IEngineConfig.js.map +1 -1
  42. package/dist/es/models/config/rightsManagementDarpComponentConfig.js.map +1 -1
  43. package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js +2 -0
  44. package/dist/es/models/config/rightsManagementDataAccessHandlerComponentConfig.js.map +1 -0
  45. package/dist/es/models/config/rightsManagementPdpComponentConfig.js.map +1 -1
  46. package/dist/es/models/config/rightsManagementPepComponentConfig.js.map +1 -1
  47. package/dist/es/models/config/rightsManagementPipComponentConfig.js.map +1 -1
  48. package/dist/es/models/config/rightsManagementPnpComponentConfig.js.map +1 -1
  49. package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js +2 -0
  50. package/dist/es/models/config/rightsManagementPolicyArbiterComponentConfig.js.map +1 -0
  51. package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js +2 -0
  52. package/dist/es/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js.map +1 -0
  53. package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js +2 -0
  54. package/dist/es/models/config/rightsManagementPolicyExecutionActionComponentConfig.js.map +1 -0
  55. package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js +2 -0
  56. package/dist/es/models/config/rightsManagementPolicyInformationSourceComponentConfig.js.map +1 -0
  57. package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js +2 -0
  58. package/dist/es/models/config/rightsManagementPolicyNegotiatorComponentConfig.js.map +1 -0
  59. package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js +2 -0
  60. package/dist/es/models/config/rightsManagementPolicyRequesterComponentConfig.js.map +1 -0
  61. package/dist/es/models/config/rightsManagementPxpComponentConfig.js.map +1 -1
  62. package/dist/es/models/config/trustComponentConfig.js +2 -0
  63. package/dist/es/models/config/trustComponentConfig.js.map +1 -0
  64. package/dist/es/models/config/trustGeneratorComponentConfig.js +2 -0
  65. package/dist/es/models/config/trustGeneratorComponentConfig.js.map +1 -0
  66. package/dist/es/models/config/trustVerifierComponentConfig.js +2 -0
  67. package/dist/es/models/config/trustVerifierComponentConfig.js.map +1 -0
  68. package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js +13 -0
  69. package/dist/es/models/types/rightsManagementDataAccessHandlerComponentType.js.map +1 -0
  70. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js +13 -0
  71. package/dist/es/models/types/rightsManagementPolicyArbiterComponentType.js.map +1 -0
  72. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js +13 -0
  73. package/dist/es/models/types/rightsManagementPolicyEnforcementProcessorComponentType.js.map +1 -0
  74. package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js +13 -0
  75. package/dist/es/models/types/rightsManagementPolicyExecutionActionComponentType.js.map +1 -0
  76. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js +17 -0
  77. package/dist/es/models/types/rightsManagementPolicyInformationSourceComponentType.js.map +1 -0
  78. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js +13 -0
  79. package/dist/es/models/types/rightsManagementPolicyNegotiatorComponentType.js.map +1 -0
  80. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js +13 -0
  81. package/dist/es/models/types/rightsManagementPolicyRequesterComponentType.js.map +1 -0
  82. package/dist/es/models/types/trustComponentType.js +13 -0
  83. package/dist/es/models/types/trustComponentType.js.map +1 -0
  84. package/dist/es/models/types/trustGeneratorComponentType.js +13 -0
  85. package/dist/es/models/types/trustGeneratorComponentType.js.map +1 -0
  86. package/dist/es/models/types/trustVerifierComponentType.js +13 -0
  87. package/dist/es/models/types/trustVerifierComponentType.js.map +1 -0
  88. package/dist/types/components/rightsManagementDataAccessHandler.d.ts +17 -0
  89. package/dist/types/components/rightsManagementPolicyArbiter.d.ts +17 -0
  90. package/dist/types/components/rightsManagementPolicyEnforcementProcessor.d.ts +17 -0
  91. package/dist/types/components/rightsManagementPolicyExecutionAction.d.ts +17 -0
  92. package/dist/types/components/rightsManagementPolicyInformationSource.d.ts +17 -0
  93. package/dist/types/components/rightsManagementPolicyNegotiator.d.ts +17 -0
  94. package/dist/types/components/rightsManagementPolicyRequester.d.ts +17 -0
  95. package/dist/types/components/trust.d.ts +16 -0
  96. package/dist/types/components/trustGenerator.d.ts +17 -0
  97. package/dist/types/components/trustVerifier.d.ts +17 -0
  98. package/dist/types/index.d.ts +30 -0
  99. package/dist/types/models/IEngineConfig.d.ts +50 -0
  100. package/dist/types/models/config/rightsManagementDarpComponentConfig.d.ts +1 -4
  101. package/dist/types/models/config/rightsManagementDataAccessHandlerComponentConfig.d.ts +9 -0
  102. package/dist/types/models/config/rightsManagementPdpComponentConfig.d.ts +1 -4
  103. package/dist/types/models/config/rightsManagementPepComponentConfig.d.ts +1 -4
  104. package/dist/types/models/config/rightsManagementPipComponentConfig.d.ts +1 -4
  105. package/dist/types/models/config/rightsManagementPnpComponentConfig.d.ts +1 -5
  106. package/dist/types/models/config/rightsManagementPolicyArbiterComponentConfig.d.ts +9 -0
  107. package/dist/types/models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.d.ts +9 -0
  108. package/dist/types/models/config/rightsManagementPolicyExecutionActionComponentConfig.d.ts +9 -0
  109. package/dist/types/models/config/rightsManagementPolicyInformationSourceComponentConfig.d.ts +12 -0
  110. package/dist/types/models/config/rightsManagementPolicyNegotiatorComponentConfig.d.ts +9 -0
  111. package/dist/types/models/config/rightsManagementPolicyRequesterComponentConfig.d.ts +9 -0
  112. package/dist/types/models/config/rightsManagementPxpComponentConfig.d.ts +1 -4
  113. package/dist/types/models/config/trustComponentConfig.d.ts +9 -0
  114. package/dist/types/models/config/trustGeneratorComponentConfig.d.ts +9 -0
  115. package/dist/types/models/config/trustVerifierComponentConfig.d.ts +9 -0
  116. package/dist/types/models/types/rightsManagementDataAccessHandlerComponentType.d.ts +13 -0
  117. package/dist/types/models/types/rightsManagementPolicyArbiterComponentType.d.ts +13 -0
  118. package/dist/types/models/types/rightsManagementPolicyEnforcementProcessorComponentType.d.ts +13 -0
  119. package/dist/types/models/types/rightsManagementPolicyExecutionActionComponentType.d.ts +13 -0
  120. package/dist/types/models/types/rightsManagementPolicyInformationSourceComponentType.d.ts +17 -0
  121. package/dist/types/models/types/rightsManagementPolicyNegotiatorComponentType.d.ts +13 -0
  122. package/dist/types/models/types/rightsManagementPolicyRequesterComponentType.d.ts +13 -0
  123. package/dist/types/models/types/trustComponentType.d.ts +13 -0
  124. package/dist/types/models/types/trustGeneratorComponentType.d.ts +13 -0
  125. package/dist/types/models/types/trustVerifierComponentType.d.ts +13 -0
  126. package/docs/changelog.md +30 -0
  127. package/docs/reference/functions/initialiseRightsManagementDataAccessHandlerComponent.md +31 -0
  128. package/docs/reference/functions/initialiseRightsManagementPolicyArbiterComponent.md +31 -0
  129. package/docs/reference/functions/initialiseRightsManagementPolicyEnforcementProcessorComponent.md +31 -0
  130. package/docs/reference/functions/initialiseRightsManagementPolicyExecutionActionComponent.md +31 -0
  131. package/docs/reference/functions/initialiseRightsManagementPolicyInformationSourceComponent.md +31 -0
  132. package/docs/reference/functions/initialiseRightsManagementPolicyNegotiatorComponent.md +31 -0
  133. package/docs/reference/functions/initialiseRightsManagementPolicyRequesterComponent.md +31 -0
  134. package/docs/reference/functions/initialiseTrustComponent.md +31 -0
  135. package/docs/reference/functions/initialiseTrustGeneratorComponent.md +31 -0
  136. package/docs/reference/functions/initialiseTrustVerifierComponent.md +31 -0
  137. package/docs/reference/index.md +40 -0
  138. package/docs/reference/interfaces/IEngineConfig.md +60 -0
  139. package/docs/reference/type-aliases/RightsManagementDarpComponentConfig.md +1 -7
  140. package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentConfig.md +17 -0
  141. package/docs/reference/type-aliases/RightsManagementDataAccessHandlerComponentType.md +5 -0
  142. package/docs/reference/type-aliases/RightsManagementPdpComponentConfig.md +1 -7
  143. package/docs/reference/type-aliases/RightsManagementPepComponentConfig.md +1 -7
  144. package/docs/reference/type-aliases/RightsManagementPipComponentConfig.md +1 -7
  145. package/docs/reference/type-aliases/RightsManagementPnpComponentConfig.md +1 -1
  146. package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentConfig.md +17 -0
  147. package/docs/reference/type-aliases/RightsManagementPolicyArbiterComponentType.md +5 -0
  148. package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentConfig.md +17 -0
  149. package/docs/reference/type-aliases/RightsManagementPolicyEnforcementProcessorComponentType.md +5 -0
  150. package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentConfig.md +17 -0
  151. package/docs/reference/type-aliases/RightsManagementPolicyExecutionActionComponentType.md +5 -0
  152. package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentConfig.md +5 -0
  153. package/docs/reference/type-aliases/RightsManagementPolicyInformationSourceComponentType.md +5 -0
  154. package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentConfig.md +17 -0
  155. package/docs/reference/type-aliases/RightsManagementPolicyNegotiatorComponentType.md +5 -0
  156. package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentConfig.md +17 -0
  157. package/docs/reference/type-aliases/RightsManagementPolicyRequesterComponentType.md +5 -0
  158. package/docs/reference/type-aliases/RightsManagementPxpComponentConfig.md +1 -7
  159. package/docs/reference/type-aliases/TrustComponentConfig.md +17 -0
  160. package/docs/reference/type-aliases/TrustComponentType.md +5 -0
  161. package/docs/reference/type-aliases/TrustGeneratorComponentConfig.md +17 -0
  162. package/docs/reference/type-aliases/TrustGeneratorComponentType.md +5 -0
  163. package/docs/reference/type-aliases/TrustVerifierComponentConfig.md +17 -0
  164. package/docs/reference/type-aliases/TrustVerifierComponentType.md +5 -0
  165. package/docs/reference/variables/RightsManagementDataAccessHandlerComponentType.md +13 -0
  166. package/docs/reference/variables/RightsManagementPolicyArbiterComponentType.md +13 -0
  167. package/docs/reference/variables/RightsManagementPolicyEnforcementProcessorComponentType.md +13 -0
  168. package/docs/reference/variables/RightsManagementPolicyExecutionActionComponentType.md +13 -0
  169. package/docs/reference/variables/RightsManagementPolicyInformationSourceComponentType.md +19 -0
  170. package/docs/reference/variables/RightsManagementPolicyNegotiatorComponentType.md +13 -0
  171. package/docs/reference/variables/RightsManagementPolicyRequesterComponentType.md +13 -0
  172. package/docs/reference/variables/TrustComponentType.md +13 -0
  173. package/docs/reference/variables/TrustGeneratorComponentType.md +13 -0
  174. package/docs/reference/variables/TrustVerifierComponentType.md +13 -0
  175. package/package.json +8 -3
@@ -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 { IExamplePolicyNegotiatorConstructorOptions } 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.Example;\n\toptions?: IExamplePolicyNegotiatorConstructorOptions;\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 { IExamplePolicyRequesterConstructorOptions } 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.Example;\n\toptions?: IExamplePolicyRequesterConstructorOptions;\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"]}
@@ -0,0 +1,13 @@
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
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,13 @@
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
+ * Example.
10
+ */
11
+ Example: "example"
12
+ };
13
+ //# 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,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 * Example.\n\t */\n\tExample: \"example\"\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,13 @@
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
+ * Example.
10
+ */
11
+ Example: "example"
12
+ };
13
+ //# 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,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 * Example.\n\t */\n\tExample: \"example\"\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
+ * Example.
10
+ */
11
+ Example: "example"
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,OAAO,EAAE,SAAS;CACT,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 * Example.\n\t */\n\tExample: \"example\"\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 Requester component types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const RightsManagementPolicyRequesterComponentType = {
8
+ /**
9
+ * Example.
10
+ */
11
+ Example: "example"
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,OAAO,EAAE,SAAS;CACT,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 * Example.\n\t */\n\tExample: \"example\"\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"]}
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { DataAccessHandlerFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementDataAccessHandlerComponentConfig } from "../models/config/rightsManagementDataAccessHandlerComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management data access handler component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementDataAccessHandlerComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementDataAccessHandlerComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof DataAccessHandlerFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyArbiterFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyArbiterComponentConfig } from "../models/config/rightsManagementPolicyArbiterComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy arbiter component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyArbiterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyArbiterComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyArbiterFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyEnforcementProcessorFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyEnforcementProcessorComponentConfig } from "../models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy enforcement processor component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyEnforcementProcessorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyEnforcementProcessorComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyEnforcementProcessorFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyExecutionActionFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyExecutionActionComponentConfig } from "../models/config/rightsManagementPolicyExecutionActionComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy execution action component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyExecutionActionComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyExecutionActionComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyExecutionActionFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyInformationSourceFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyInformationSourceComponentConfig } from "../models/config/rightsManagementPolicyInformationSourceComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy information source component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyInformationSourceComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyInformationSourceComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyInformationSourceFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyNegotiatorFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyNegotiatorComponentConfig } from "../models/config/rightsManagementPolicyNegotiatorComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy negotiator component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyNegotiatorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyNegotiatorComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyNegotiatorFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { PolicyRequesterFactory } from "@twin.org/rights-management-models";
4
+ import type { RightsManagementPolicyRequesterComponentConfig } from "../models/config/rightsManagementPolicyRequesterComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the rights management policy requester component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseRightsManagementPolicyRequesterComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: RightsManagementPolicyRequesterComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof PolicyRequesterFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,16 @@
1
+ import { ComponentFactory, type IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import type { TrustComponentConfig } from "../models/config/trustComponentConfig.js";
4
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
5
+ /**
6
+ * Initialise the trust component.
7
+ * @param engineCore The engine core.
8
+ * @param context The context for the engine.
9
+ * @param instanceConfig The instance config.
10
+ * @returns The instance created and the factory for it.
11
+ */
12
+ export declare function initialiseTrustComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustComponentConfig): Promise<{
13
+ instanceType?: string;
14
+ factory?: typeof ComponentFactory;
15
+ component?: IComponent;
16
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { TrustGeneratorFactory } from "@twin.org/trust-models";
4
+ import type { TrustGeneratorComponentConfig } from "../models/config/trustGeneratorComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the trust generator component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseTrustGeneratorComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustGeneratorComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof TrustGeneratorFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { IComponent } from "@twin.org/core";
2
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
3
+ import { TrustVerifierFactory } from "@twin.org/trust-models";
4
+ import type { TrustVerifierComponentConfig } from "../models/config/trustVerifierComponentConfig.js";
5
+ import type { IEngineConfig } from "../models/IEngineConfig.js";
6
+ /**
7
+ * Initialise the trust verifier component.
8
+ * @param engineCore The engine core.
9
+ * @param context The context for the engine.
10
+ * @param instanceConfig The instance config.
11
+ * @returns The instance created and the factory for it.
12
+ */
13
+ export declare function initialiseTrustVerifierComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TrustVerifierComponentConfig): Promise<{
14
+ instanceType?: string;
15
+ factory?: typeof TrustVerifierFactory;
16
+ component?: IComponent;
17
+ }>;
@@ -22,6 +22,7 @@ export * from "./components/messaging.js";
22
22
  export * from "./components/nft.js";
23
23
  export * from "./components/rightsManagementDap.js";
24
24
  export * from "./components/rightsManagementDarp.js";
25
+ export * from "./components/rightsManagementDataAccessHandler.js";
25
26
  export * from "./components/rightsManagementPap.js";
26
27
  export * from "./components/rightsManagementPdp.js";
27
28
  export * from "./components/rightsManagementPep.js";
@@ -29,11 +30,20 @@ export * from "./components/rightsManagementPip.js";
29
30
  export * from "./components/rightsManagementPmp.js";
30
31
  export * from "./components/rightsManagementPnap.js";
31
32
  export * from "./components/rightsManagementPnp.js";
33
+ export * from "./components/rightsManagementPolicyArbiter.js";
34
+ export * from "./components/rightsManagementPolicyEnforcementProcessor.js";
35
+ export * from "./components/rightsManagementPolicyExecutionAction.js";
36
+ export * from "./components/rightsManagementPolicyInformationSource.js";
37
+ export * from "./components/rightsManagementPolicyNegotiator.js";
38
+ export * from "./components/rightsManagementPolicyRequester.js";
32
39
  export * from "./components/rightsManagementPxp.js";
33
40
  export * from "./components/synchronisedStorage.js";
34
41
  export * from "./components/taskScheduler.js";
35
42
  export * from "./components/telemetry.js";
36
43
  export * from "./components/tenant.js";
44
+ export * from "./components/trust.js";
45
+ export * from "./components/trustGenerator.js";
46
+ export * from "./components/trustVerifier.js";
37
47
  export * from "./components/vault.js";
38
48
  export * from "./components/verifiableStorage.js";
39
49
  export * from "./components/wallet.js";
@@ -77,6 +87,7 @@ export * from "./models/config/nftComponentConfig.js";
77
87
  export * from "./models/config/nftConnectorConfig.js";
78
88
  export * from "./models/config/rightsManagementDapComponentConfig.js";
79
89
  export * from "./models/config/rightsManagementDarpComponentConfig.js";
90
+ export * from "./models/config/rightsManagementDataAccessHandlerComponentConfig.js";
80
91
  export * from "./models/config/rightsManagementPapComponentConfig.js";
81
92
  export * from "./models/config/rightsManagementPdpComponentConfig.js";
82
93
  export * from "./models/config/rightsManagementPepComponentConfig.js";
@@ -84,12 +95,21 @@ export * from "./models/config/rightsManagementPipComponentConfig.js";
84
95
  export * from "./models/config/rightsManagementPmpComponentConfig.js";
85
96
  export * from "./models/config/rightsManagementPnapComponentConfig.js";
86
97
  export * from "./models/config/rightsManagementPnpComponentConfig.js";
98
+ export * from "./models/config/rightsManagementPolicyArbiterComponentConfig.js";
99
+ export * from "./models/config/rightsManagementPolicyEnforcementProcessorComponentConfig.js";
100
+ export * from "./models/config/rightsManagementPolicyExecutionActionComponentConfig.js";
101
+ export * from "./models/config/rightsManagementPolicyInformationSourceComponentConfig.js";
102
+ export * from "./models/config/rightsManagementPolicyNegotiatorComponentConfig.js";
103
+ export * from "./models/config/rightsManagementPolicyRequesterComponentConfig.js";
87
104
  export * from "./models/config/rightsManagementPxpComponentConfig.js";
88
105
  export * from "./models/config/synchronisedStorageComponentConfig.js";
89
106
  export * from "./models/config/taskSchedulerComponentConfig.js";
90
107
  export * from "./models/config/telemetryComponentConfig.js";
91
108
  export * from "./models/config/telemetryConnectorConfig.js";
92
109
  export * from "./models/config/tenantAdminComponentConfig.js";
110
+ export * from "./models/config/trustComponentConfig.js";
111
+ export * from "./models/config/trustGeneratorComponentConfig.js";
112
+ export * from "./models/config/trustVerifierComponentConfig.js";
93
113
  export * from "./models/config/vaultConnectorConfig.js";
94
114
  export * from "./models/config/verifiableStorageComponentConfig.js";
95
115
  export * from "./models/config/verifiableStorageConnectorConfig.js";
@@ -135,6 +155,7 @@ export * from "./models/types/nftComponentType.js";
135
155
  export * from "./models/types/nftConnectorType.js";
136
156
  export * from "./models/types/rightsManagementDapComponentType.js";
137
157
  export * from "./models/types/rightsManagementDarpComponentType.js";
158
+ export * from "./models/types/rightsManagementDataAccessHandlerComponentType.js";
138
159
  export * from "./models/types/rightsManagementPapComponentType.js";
139
160
  export * from "./models/types/rightsManagementPdpComponentType.js";
140
161
  export * from "./models/types/rightsManagementPepComponentType.js";
@@ -142,12 +163,21 @@ export * from "./models/types/rightsManagementPipComponentType.js";
142
163
  export * from "./models/types/rightsManagementPmpComponentType.js";
143
164
  export * from "./models/types/rightsManagementPnapComponentType.js";
144
165
  export * from "./models/types/rightsManagementPnpComponentType.js";
166
+ export * from "./models/types/rightsManagementPolicyArbiterComponentType.js";
167
+ export * from "./models/types/rightsManagementPolicyEnforcementProcessorComponentType.js";
168
+ export * from "./models/types/rightsManagementPolicyExecutionActionComponentType.js";
169
+ export * from "./models/types/rightsManagementPolicyInformationSourceComponentType.js";
170
+ export * from "./models/types/rightsManagementPolicyNegotiatorComponentType.js";
171
+ export * from "./models/types/rightsManagementPolicyRequesterComponentType.js";
145
172
  export * from "./models/types/rightsManagementPxpComponentType.js";
146
173
  export * from "./models/types/synchronisedStorageComponentType.js";
147
174
  export * from "./models/types/taskSchedulerComponentType.js";
148
175
  export * from "./models/types/telemetryComponentType.js";
149
176
  export * from "./models/types/telemetryConnectorType.js";
150
177
  export * from "./models/types/tenantAdminComponentType.js";
178
+ export * from "./models/types/trustComponentType.js";
179
+ export * from "./models/types/trustGeneratorComponentType.js";
180
+ export * from "./models/types/trustVerifierComponentType.js";
151
181
  export * from "./models/types/vaultConnectorType.js";
152
182
  export * from "./models/types/verifiableStorageComponentType.js";
153
183
  export * from "./models/types/verifiableStorageConnectorType.js";