@nmshd/consumption 7.0.0-alpha.7 → 7.0.0-alpha.71

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 (331) hide show
  1. package/dist/buildInformation.js +5 -5
  2. package/dist/consumption/ConsumptionBaseController.d.ts.map +1 -1
  3. package/dist/consumption/ConsumptionBaseController.js +6 -1
  4. package/dist/consumption/ConsumptionBaseController.js.map +1 -1
  5. package/dist/consumption/ConsumptionConfig.d.ts +1 -1
  6. package/dist/consumption/ConsumptionConfig.d.ts.map +1 -1
  7. package/dist/consumption/ConsumptionController.d.ts +1 -3
  8. package/dist/consumption/ConsumptionController.d.ts.map +1 -1
  9. package/dist/consumption/ConsumptionController.js +6 -12
  10. package/dist/consumption/ConsumptionController.js.map +1 -1
  11. package/dist/consumption/ConsumptionControllerName.d.ts +0 -1
  12. package/dist/consumption/ConsumptionControllerName.d.ts.map +1 -1
  13. package/dist/consumption/ConsumptionControllerName.js +0 -1
  14. package/dist/consumption/ConsumptionControllerName.js.map +1 -1
  15. package/dist/consumption/ConsumptionCoreErrors.d.ts +10 -37
  16. package/dist/consumption/ConsumptionCoreErrors.d.ts.map +1 -1
  17. package/dist/consumption/ConsumptionCoreErrors.js +26 -113
  18. package/dist/consumption/ConsumptionCoreErrors.js.map +1 -1
  19. package/dist/consumption/ConsumptionIds.d.ts +1 -1
  20. package/dist/consumption/ConsumptionIds.d.ts.map +1 -1
  21. package/dist/consumption/ConsumptionIds.js +1 -1
  22. package/dist/consumption/ConsumptionIds.js.map +1 -1
  23. package/dist/modules/attributes/AttributesController.d.ts +124 -68
  24. package/dist/modules/attributes/AttributesController.d.ts.map +1 -1
  25. package/dist/modules/attributes/AttributesController.js +761 -709
  26. package/dist/modules/attributes/AttributesController.js.map +1 -1
  27. package/dist/modules/attributes/events/AttributeCreatedEvent.d.ts +1 -1
  28. package/dist/modules/attributes/events/AttributeCreatedEvent.d.ts.map +1 -1
  29. package/dist/modules/attributes/events/AttributeDeletedEvent.d.ts +1 -1
  30. package/dist/modules/attributes/events/AttributeDeletedEvent.d.ts.map +1 -1
  31. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.d.ts +9 -0
  32. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.d.ts.map +1 -0
  33. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.js +12 -0
  34. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.js.map +1 -0
  35. package/dist/modules/attributes/events/AttributeSucceededEvent.d.ts +11 -0
  36. package/dist/modules/attributes/events/AttributeSucceededEvent.d.ts.map +1 -0
  37. package/dist/modules/attributes/events/AttributeSucceededEvent.js +12 -0
  38. package/dist/modules/attributes/events/AttributeSucceededEvent.js.map +1 -0
  39. package/dist/modules/attributes/events/AttributeWasViewedAtChangedEvent.d.ts +7 -0
  40. package/dist/modules/attributes/events/AttributeWasViewedAtChangedEvent.d.ts.map +1 -0
  41. package/dist/modules/attributes/events/AttributeWasViewedAtChangedEvent.js +12 -0
  42. package/dist/modules/attributes/events/AttributeWasViewedAtChangedEvent.js.map +1 -0
  43. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.d.ts +7 -0
  44. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.d.ts.map +1 -0
  45. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.js +12 -0
  46. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.js.map +1 -0
  47. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.d.ts +7 -0
  48. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.d.ts.map +1 -0
  49. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.js +12 -0
  50. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.js.map +1 -0
  51. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.d.ts +7 -0
  52. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.d.ts.map +1 -0
  53. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.js +12 -0
  54. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.js.map +1 -0
  55. package/dist/modules/attributes/events/index.d.ts +6 -9
  56. package/dist/modules/attributes/events/index.d.ts.map +1 -1
  57. package/dist/modules/attributes/events/index.js +6 -9
  58. package/dist/modules/attributes/events/index.js.map +1 -1
  59. package/dist/modules/attributes/index.d.ts +9 -7
  60. package/dist/modules/attributes/index.d.ts.map +1 -1
  61. package/dist/modules/attributes/index.js +9 -7
  62. package/dist/modules/attributes/index.js.map +1 -1
  63. package/dist/modules/attributes/local/AttributeForwardingDetails.d.ts +28 -0
  64. package/dist/modules/attributes/local/AttributeForwardingDetails.d.ts.map +1 -0
  65. package/dist/modules/attributes/local/AttributeForwardingDetails.js +62 -0
  66. package/dist/modules/attributes/local/AttributeForwardingDetails.js.map +1 -0
  67. package/dist/modules/attributes/local/QueryTranslator.d.ts.map +1 -1
  68. package/dist/modules/attributes/local/QueryTranslator.js +1 -1
  69. package/dist/modules/attributes/local/QueryTranslator.js.map +1 -1
  70. package/dist/modules/attributes/local/attributeTypes/LocalAttribute.d.ts +29 -0
  71. package/dist/modules/attributes/local/attributeTypes/LocalAttribute.d.ts.map +1 -0
  72. package/dist/modules/attributes/local/{AttributeSuccessorParams.js → attributeTypes/LocalAttribute.js} +34 -26
  73. package/dist/modules/attributes/local/attributeTypes/LocalAttribute.js.map +1 -0
  74. package/dist/modules/attributes/local/attributeTypes/OwnIdentityAttribute.d.ts +19 -0
  75. package/dist/modules/attributes/local/attributeTypes/OwnIdentityAttribute.d.ts.map +1 -0
  76. package/dist/modules/{attributeListeners/local/LocalAttributeListener.js → attributes/local/attributeTypes/OwnIdentityAttribute.js} +16 -20
  77. package/dist/modules/attributes/local/attributeTypes/OwnIdentityAttribute.js.map +1 -0
  78. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.d.ts +29 -0
  79. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.d.ts.map +1 -0
  80. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.js +73 -0
  81. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.js.map +1 -0
  82. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.d.ts +29 -0
  83. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.d.ts.map +1 -0
  84. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.js +76 -0
  85. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.js.map +1 -0
  86. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.d.ts +30 -0
  87. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.d.ts.map +1 -0
  88. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.js +76 -0
  89. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.js.map +1 -0
  90. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.d.ts +33 -0
  91. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.d.ts.map +1 -0
  92. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.js +85 -0
  93. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.js.map +1 -0
  94. package/dist/modules/attributes/local/deletionInfos/AbstractAttributeDeletionInfo.d.ts +15 -0
  95. package/dist/modules/attributes/local/deletionInfos/AbstractAttributeDeletionInfo.d.ts.map +1 -0
  96. package/dist/modules/{requests/itemProcessors/freeText/AcceptFreeTextRequestItemParameters.js → attributes/local/deletionInfos/AbstractAttributeDeletionInfo.js} +12 -12
  97. package/dist/modules/attributes/local/deletionInfos/AbstractAttributeDeletionInfo.js.map +1 -0
  98. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.d.ts +18 -0
  99. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.d.ts.map +1 -0
  100. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.js +38 -0
  101. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.js.map +1 -0
  102. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.d.ts +16 -0
  103. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.d.ts.map +1 -0
  104. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.js +36 -0
  105. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.js.map +1 -0
  106. package/dist/modules/attributes/local/deletionInfos/index.d.ts +4 -0
  107. package/dist/modules/attributes/local/deletionInfos/index.d.ts.map +1 -0
  108. package/dist/modules/{attributeListeners/events → attributes/local/deletionInfos}/index.js +3 -1
  109. package/dist/modules/attributes/local/deletionInfos/index.js.map +1 -0
  110. package/dist/modules/attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.d.ts +13 -0
  111. package/dist/modules/attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.d.ts.map +1 -0
  112. package/dist/modules/{attributeListeners/local/CreateLocalAttributeListenerParams.js → attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.js} +9 -15
  113. package/dist/modules/attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.js.map +1 -0
  114. package/dist/modules/attributes/local/successorParams/OwnRelationshipAttributeSuccessorParams.d.ts +17 -0
  115. package/dist/modules/attributes/local/successorParams/OwnRelationshipAttributeSuccessorParams.d.ts.map +1 -0
  116. package/dist/modules/attributes/local/{CreateAttributeParams.js → successorParams/OwnRelationshipAttributeSuccessorParams.js} +10 -15
  117. package/dist/modules/attributes/local/successorParams/OwnRelationshipAttributeSuccessorParams.js.map +1 -0
  118. package/dist/modules/attributes/local/successorParams/PeerIdentityAttributeSuccessorParams.d.ts +20 -0
  119. package/dist/modules/attributes/local/successorParams/PeerIdentityAttributeSuccessorParams.d.ts.map +1 -0
  120. package/dist/modules/attributes/local/{CreateRepositoryAttributeParams.js → successorParams/PeerIdentityAttributeSuccessorParams.js} +16 -13
  121. package/dist/modules/attributes/local/successorParams/PeerIdentityAttributeSuccessorParams.js.map +1 -0
  122. package/dist/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.d.ts +20 -0
  123. package/dist/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.d.ts.map +1 -0
  124. package/dist/modules/attributes/local/{CreateSharedLocalAttributeCopyParams.js → successorParams/PeerRelationshipAttributeSuccessorParams.js} +15 -16
  125. package/dist/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.js.map +1 -0
  126. package/dist/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.d.ts +20 -0
  127. package/dist/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.d.ts.map +1 -0
  128. package/dist/modules/attributes/local/{CreateSharedLocalAttributeParams.js → successorParams/ThirdPartyRelationshipAttributeSuccessorParams.js} +15 -22
  129. package/dist/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.js.map +1 -0
  130. package/dist/modules/attributes/local/successorParams/index.d.ts +6 -0
  131. package/dist/modules/attributes/local/successorParams/index.d.ts.map +1 -0
  132. package/dist/modules/{attributeListeners → attributes/local/successorParams}/index.js +5 -4
  133. package/dist/modules/attributes/local/successorParams/index.js.map +1 -0
  134. package/dist/modules/index.d.ts +0 -1
  135. package/dist/modules/index.d.ts.map +1 -1
  136. package/dist/modules/index.js +0 -1
  137. package/dist/modules/index.js.map +1 -1
  138. package/dist/modules/notifications/NotificationsController.js +6 -6
  139. package/dist/modules/notifications/NotificationsController.js.map +1 -1
  140. package/dist/modules/notifications/index.d.ts +4 -4
  141. package/dist/modules/notifications/index.d.ts.map +1 -1
  142. package/dist/modules/notifications/index.js +4 -4
  143. package/dist/modules/notifications/index.js.map +1 -1
  144. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.d.ts +14 -0
  145. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +1 -0
  146. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.js +53 -0
  147. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.js.map +1 -0
  148. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.d.ts +14 -0
  149. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.d.ts.map +1 -0
  150. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.js +59 -0
  151. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.js.map +1 -0
  152. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts +14 -0
  153. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +1 -0
  154. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.js +63 -0
  155. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.js.map +1 -0
  156. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.d.ts +15 -0
  157. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.d.ts.map +1 -0
  158. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.js +102 -0
  159. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.js.map +1 -0
  160. package/dist/modules/requests/incoming/IncomingRequestsController.d.ts +1 -0
  161. package/dist/modules/requests/incoming/IncomingRequestsController.d.ts.map +1 -1
  162. package/dist/modules/requests/incoming/IncomingRequestsController.js +21 -8
  163. package/dist/modules/requests/incoming/IncomingRequestsController.js.map +1 -1
  164. package/dist/modules/requests/incoming/decide/DecideRequestParameters.d.ts +1 -0
  165. package/dist/modules/requests/incoming/decide/DecideRequestParameters.d.ts.map +1 -1
  166. package/dist/modules/requests/incoming/decide/InternalDecideRequestParameters.d.ts +2 -0
  167. package/dist/modules/requests/incoming/decide/InternalDecideRequestParameters.d.ts.map +1 -1
  168. package/dist/modules/requests/incoming/decide/InternalDecideRequestParameters.js +5 -0
  169. package/dist/modules/requests/incoming/decide/InternalDecideRequestParameters.js.map +1 -1
  170. package/dist/modules/requests/index.d.ts +2 -3
  171. package/dist/modules/requests/index.d.ts.map +1 -1
  172. package/dist/modules/requests/index.js +2 -3
  173. package/dist/modules/requests/index.js.map +1 -1
  174. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.d.ts +2 -2
  175. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.d.ts.map +1 -1
  176. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.js +62 -22
  177. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.js.map +1 -1
  178. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.d.ts +4 -2
  179. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.d.ts.map +1 -1
  180. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.js +50 -43
  181. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.js.map +1 -1
  182. package/dist/modules/requests/itemProcessors/formField/AcceptFormFieldRequestItemParameters.d.ts +10 -0
  183. package/dist/modules/requests/itemProcessors/formField/AcceptFormFieldRequestItemParameters.d.ts.map +1 -0
  184. package/dist/modules/requests/itemProcessors/formField/AcceptFormFieldRequestItemParameters.js +31 -0
  185. package/dist/modules/requests/itemProcessors/formField/AcceptFormFieldRequestItemParameters.js.map +1 -0
  186. package/dist/modules/requests/itemProcessors/formField/FormFieldRequestItemProcessor.d.ts +10 -0
  187. package/dist/modules/requests/itemProcessors/formField/FormFieldRequestItemProcessor.d.ts.map +1 -0
  188. package/dist/modules/requests/itemProcessors/formField/FormFieldRequestItemProcessor.js +34 -0
  189. package/dist/modules/requests/itemProcessors/formField/FormFieldRequestItemProcessor.js.map +1 -0
  190. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.d.ts +2 -2
  191. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.d.ts.map +1 -1
  192. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.js +93 -101
  193. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.js.map +1 -1
  194. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.d.ts +2 -2
  195. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.d.ts.map +1 -1
  196. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.js +142 -136
  197. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.js.map +1 -1
  198. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.d.ts +3 -5
  199. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.d.ts.map +1 -1
  200. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.js +96 -92
  201. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.js.map +1 -1
  202. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.d.ts +2 -2
  203. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.d.ts.map +1 -1
  204. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.js +40 -33
  205. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.js.map +1 -1
  206. package/dist/modules/requests/itemProcessors/utility/createAppropriateResponseItem.d.ts.map +1 -1
  207. package/dist/modules/requests/itemProcessors/utility/createAppropriateResponseItem.js +31 -53
  208. package/dist/modules/requests/itemProcessors/utility/createAppropriateResponseItem.js.map +1 -1
  209. package/dist/modules/requests/itemProcessors/utility/validateAttributeMatchesWithQuery.js +3 -3
  210. package/dist/modules/requests/itemProcessors/utility/validateAttributeMatchesWithQuery.js.map +1 -1
  211. package/dist/modules/requests/local/LocalRequest.d.ts +2 -0
  212. package/dist/modules/requests/local/LocalRequest.d.ts.map +1 -1
  213. package/dist/modules/requests/local/LocalRequest.js +8 -2
  214. package/dist/modules/requests/local/LocalRequest.js.map +1 -1
  215. package/dist/modules/requests/local/LocalResponse.js +1 -1
  216. package/dist/modules/requests/local/LocalResponse.js.map +1 -1
  217. package/dist/modules/requests/outgoing/OutgoingRequestsController.d.ts +1 -1
  218. package/dist/modules/requests/outgoing/OutgoingRequestsController.d.ts.map +1 -1
  219. package/dist/modules/requests/outgoing/OutgoingRequestsController.js +29 -25
  220. package/dist/modules/requests/outgoing/OutgoingRequestsController.js.map +1 -1
  221. package/package.json +14 -14
  222. package/dist/modules/attributeListeners/AttributeListenersController.d.ts +0 -20
  223. package/dist/modules/attributeListeners/AttributeListenersController.d.ts.map +0 -1
  224. package/dist/modules/attributeListeners/AttributeListenersController.js +0 -51
  225. package/dist/modules/attributeListeners/AttributeListenersController.js.map +0 -1
  226. package/dist/modules/attributeListeners/events/AttributeListenerCreatedEvent.d.ts +0 -7
  227. package/dist/modules/attributeListeners/events/AttributeListenerCreatedEvent.d.ts.map +0 -1
  228. package/dist/modules/attributeListeners/events/AttributeListenerCreatedEvent.js +0 -12
  229. package/dist/modules/attributeListeners/events/AttributeListenerCreatedEvent.js.map +0 -1
  230. package/dist/modules/attributeListeners/events/index.d.ts +0 -2
  231. package/dist/modules/attributeListeners/events/index.d.ts.map +0 -1
  232. package/dist/modules/attributeListeners/events/index.js.map +0 -1
  233. package/dist/modules/attributeListeners/index.d.ts +0 -5
  234. package/dist/modules/attributeListeners/index.d.ts.map +0 -1
  235. package/dist/modules/attributeListeners/index.js.map +0 -1
  236. package/dist/modules/attributeListeners/local/CreateLocalAttributeListenerParams.d.ts +0 -13
  237. package/dist/modules/attributeListeners/local/CreateLocalAttributeListenerParams.d.ts.map +0 -1
  238. package/dist/modules/attributeListeners/local/CreateLocalAttributeListenerParams.js.map +0 -1
  239. package/dist/modules/attributeListeners/local/LocalAttributeListener.d.ts +0 -21
  240. package/dist/modules/attributeListeners/local/LocalAttributeListener.d.ts.map +0 -1
  241. package/dist/modules/attributeListeners/local/LocalAttributeListener.js.map +0 -1
  242. package/dist/modules/attributes/events/AttributeSucceededEventData.d.ts +0 -6
  243. package/dist/modules/attributes/events/AttributeSucceededEventData.d.ts.map +0 -1
  244. package/dist/modules/attributes/events/AttributeSucceededEventData.js +0 -3
  245. package/dist/modules/attributes/events/AttributeSucceededEventData.js.map +0 -1
  246. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.d.ts +0 -7
  247. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.d.ts.map +0 -1
  248. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.js +0 -12
  249. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.js.map +0 -1
  250. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.d.ts +0 -8
  251. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.d.ts.map +0 -1
  252. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.js +0 -12
  253. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.js.map +0 -1
  254. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.d.ts +0 -7
  255. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.d.ts.map +0 -1
  256. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.js +0 -12
  257. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.js.map +0 -1
  258. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.d.ts +0 -8
  259. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.d.ts.map +0 -1
  260. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.js +0 -12
  261. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.js.map +0 -1
  262. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.d.ts +0 -8
  263. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.d.ts.map +0 -1
  264. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.js +0 -12
  265. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.js.map +0 -1
  266. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.d.ts +0 -7
  267. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.d.ts.map +0 -1
  268. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.js +0 -12
  269. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.js.map +0 -1
  270. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.d.ts +0 -7
  271. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.d.ts.map +0 -1
  272. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.js +0 -12
  273. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.js.map +0 -1
  274. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.d.ts +0 -8
  275. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.d.ts.map +0 -1
  276. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.js +0 -12
  277. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.js.map +0 -1
  278. package/dist/modules/attributes/local/AttributeSuccessorParams.d.ts +0 -24
  279. package/dist/modules/attributes/local/AttributeSuccessorParams.d.ts.map +0 -1
  280. package/dist/modules/attributes/local/AttributeSuccessorParams.js.map +0 -1
  281. package/dist/modules/attributes/local/CreateAttributeParams.d.ts +0 -15
  282. package/dist/modules/attributes/local/CreateAttributeParams.d.ts.map +0 -1
  283. package/dist/modules/attributes/local/CreateAttributeParams.js.map +0 -1
  284. package/dist/modules/attributes/local/CreateRepositoryAttributeParams.d.ts +0 -20
  285. package/dist/modules/attributes/local/CreateRepositoryAttributeParams.d.ts.map +0 -1
  286. package/dist/modules/attributes/local/CreateRepositoryAttributeParams.js.map +0 -1
  287. package/dist/modules/attributes/local/CreateSharedLocalAttributeCopyParams.d.ts +0 -22
  288. package/dist/modules/attributes/local/CreateSharedLocalAttributeCopyParams.d.ts.map +0 -1
  289. package/dist/modules/attributes/local/CreateSharedLocalAttributeCopyParams.js.map +0 -1
  290. package/dist/modules/attributes/local/CreateSharedLocalAttributeParams.d.ts +0 -26
  291. package/dist/modules/attributes/local/CreateSharedLocalAttributeParams.d.ts.map +0 -1
  292. package/dist/modules/attributes/local/CreateSharedLocalAttributeParams.js.map +0 -1
  293. package/dist/modules/attributes/local/LocalAttribute.d.ts +0 -109
  294. package/dist/modules/attributes/local/LocalAttribute.d.ts.map +0 -1
  295. package/dist/modules/attributes/local/LocalAttribute.js +0 -180
  296. package/dist/modules/attributes/local/LocalAttribute.js.map +0 -1
  297. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.d.ts +0 -24
  298. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.d.ts.map +0 -1
  299. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.js +0 -42
  300. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.js.map +0 -1
  301. package/dist/modules/attributes/local/LocalAttributeShareInfo.d.ts +0 -26
  302. package/dist/modules/attributes/local/LocalAttributeShareInfo.d.ts.map +0 -1
  303. package/dist/modules/attributes/local/LocalAttributeShareInfo.js +0 -59
  304. package/dist/modules/attributes/local/LocalAttributeShareInfo.js.map +0 -1
  305. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.d.ts +0 -14
  306. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.d.ts.map +0 -1
  307. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.js +0 -56
  308. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.js.map +0 -1
  309. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.d.ts +0 -14
  310. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +0 -1
  311. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.js +0 -57
  312. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.js.map +0 -1
  313. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts +0 -14
  314. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +0 -1
  315. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.js +0 -57
  316. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.js.map +0 -1
  317. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.d.ts +0 -15
  318. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.d.ts.map +0 -1
  319. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.js +0 -74
  320. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.js.map +0 -1
  321. package/dist/modules/requests/itemProcessors/freeText/AcceptFreeTextRequestItemParameters.d.ts +0 -10
  322. package/dist/modules/requests/itemProcessors/freeText/AcceptFreeTextRequestItemParameters.d.ts.map +0 -1
  323. package/dist/modules/requests/itemProcessors/freeText/AcceptFreeTextRequestItemParameters.js.map +0 -1
  324. package/dist/modules/requests/itemProcessors/freeText/FreeTextRequestItemProcessor.d.ts +0 -9
  325. package/dist/modules/requests/itemProcessors/freeText/FreeTextRequestItemProcessor.d.ts.map +0 -1
  326. package/dist/modules/requests/itemProcessors/freeText/FreeTextRequestItemProcessor.js +0 -31
  327. package/dist/modules/requests/itemProcessors/freeText/FreeTextRequestItemProcessor.js.map +0 -1
  328. package/dist/modules/requests/itemProcessors/registerAttributeListener/RegisterAttributeListenerRequestItemProcessor.d.ts +0 -8
  329. package/dist/modules/requests/itemProcessors/registerAttributeListener/RegisterAttributeListenerRequestItemProcessor.d.ts.map +0 -1
  330. package/dist/modules/requests/itemProcessors/registerAttributeListener/RegisterAttributeListenerRequestItemProcessor.js +0 -19
  331. package/dist/modules/requests/itemProcessors/registerAttributeListener/RegisterAttributeListenerRequestItemProcessor.js.map +0 -1
@@ -9,29 +9,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateRepositoryAttributeParams = void 0;
12
+ exports.PeerIdentityAttributeSuccessorParams = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const content_1 = require("@nmshd/content");
15
15
  const core_types_1 = require("@nmshd/core-types");
16
- class CreateRepositoryAttributeParams extends ts_serval_1.Serializable {
16
+ let PeerIdentityAttributeSuccessorParams = class PeerIdentityAttributeSuccessorParams extends ts_serval_1.Serializable {
17
17
  static from(value) {
18
18
  return this.fromAny(value);
19
19
  }
20
- }
21
- exports.CreateRepositoryAttributeParams = CreateRepositoryAttributeParams;
22
- __decorate([
23
- (0, ts_serval_1.serialize)(),
24
- (0, ts_serval_1.validate)({ nullable: true }),
25
- __metadata("design:type", core_types_1.CoreId)
26
- ], CreateRepositoryAttributeParams.prototype, "id", void 0);
20
+ };
21
+ exports.PeerIdentityAttributeSuccessorParams = PeerIdentityAttributeSuccessorParams;
27
22
  __decorate([
28
- (0, ts_serval_1.serialize)({ unionTypes: [content_1.IdentityAttribute, content_1.RelationshipAttribute] }),
29
23
  (0, ts_serval_1.validate)(),
24
+ (0, ts_serval_1.serialize)(),
30
25
  __metadata("design:type", content_1.IdentityAttribute)
31
- ], CreateRepositoryAttributeParams.prototype, "content", void 0);
26
+ ], PeerIdentityAttributeSuccessorParams.prototype, "content", void 0);
32
27
  __decorate([
28
+ (0, ts_serval_1.validate)(),
33
29
  (0, ts_serval_1.serialize)(),
30
+ __metadata("design:type", core_types_1.CoreId)
31
+ ], PeerIdentityAttributeSuccessorParams.prototype, "id", void 0);
32
+ __decorate([
34
33
  (0, ts_serval_1.validate)({ nullable: true }),
34
+ (0, ts_serval_1.serialize)(),
35
35
  __metadata("design:type", core_types_1.CoreId)
36
- ], CreateRepositoryAttributeParams.prototype, "parentId", void 0);
37
- //# sourceMappingURL=CreateRepositoryAttributeParams.js.map
36
+ ], PeerIdentityAttributeSuccessorParams.prototype, "sourceReference", void 0);
37
+ exports.PeerIdentityAttributeSuccessorParams = PeerIdentityAttributeSuccessorParams = __decorate([
38
+ (0, ts_serval_1.type)("PeerIdentityAttributeSuccessorParams")
39
+ ], PeerIdentityAttributeSuccessorParams);
40
+ //# sourceMappingURL=PeerIdentityAttributeSuccessorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PeerIdentityAttributeSuccessorParams.js","sourceRoot":"","sources":["../../../../../src/modules/attributes/local/successorParams/PeerIdentityAttributeSuccessorParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,4CAA0E;AAC1E,kDAAoD;AAe7C,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,wBAAY;IAa3D,MAAM,CAAC,IAAI,CAAC,KAAuF;QACtG,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhBY,oFAAoC;AAGtC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,2BAAiB;qEAAC;AAI3B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACD,mBAAM;gEAAC;AAIX;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACY,mBAAM;6EAAC;+CAXtB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAgBhD"}
@@ -0,0 +1,20 @@
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
+ import { RelationshipAttribute, RelationshipAttributeJSON } from "@nmshd/content";
3
+ import { CoreId, ICoreId } from "@nmshd/core-types";
4
+ export interface PeerRelationshipAttributeSuccessorParamsJSON {
5
+ content: RelationshipAttributeJSON;
6
+ id: string;
7
+ sourceReference: string;
8
+ }
9
+ export interface IPeerRelationshipAttributeSuccessorParams extends ISerializable {
10
+ content: RelationshipAttribute;
11
+ id: ICoreId;
12
+ sourceReference: ICoreId;
13
+ }
14
+ export declare class PeerRelationshipAttributeSuccessorParams extends Serializable implements IPeerRelationshipAttributeSuccessorParams {
15
+ content: RelationshipAttribute;
16
+ id: CoreId;
17
+ sourceReference: CoreId;
18
+ static from(value: IPeerRelationshipAttributeSuccessorParams | PeerRelationshipAttributeSuccessorParamsJSON): PeerRelationshipAttributeSuccessorParams;
19
+ }
20
+ //# sourceMappingURL=PeerRelationshipAttributeSuccessorParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PeerRelationshipAttributeSuccessorParams.d.ts","sourceRoot":"","sources":["../../../../../src/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,4CAA4C;IACzD,OAAO,EAAE,yBAAyB,CAAC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,yCAA0C,SAAQ,aAAa;IAC5E,OAAO,EAAE,qBAAqB,CAAC;IAC/B,EAAE,EAAE,OAAO,CAAC;IACZ,eAAe,EAAE,OAAO,CAAC;CAC5B;AAED,qBACa,wCAAyC,SAAQ,YAAa,YAAW,yCAAyC;IAGpH,OAAO,EAAE,qBAAqB,CAAC;IAI/B,EAAE,EAAE,MAAM,CAAC;IAIX,eAAe,EAAE,MAAM,CAAC;WAEjB,IAAI,CAAC,KAAK,EAAE,yCAAyC,GAAG,4CAA4C,GAAG,wCAAwC;CAGhK"}
@@ -9,33 +9,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateSharedLocalAttributeCopyParams = void 0;
12
+ exports.PeerRelationshipAttributeSuccessorParams = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const content_1 = require("@nmshd/content");
14
15
  const core_types_1 = require("@nmshd/core-types");
15
- class CreateSharedLocalAttributeCopyParams extends ts_serval_1.Serializable {
16
+ let PeerRelationshipAttributeSuccessorParams = class PeerRelationshipAttributeSuccessorParams extends ts_serval_1.Serializable {
16
17
  static from(value) {
17
18
  return this.fromAny(value);
18
19
  }
19
- }
20
- exports.CreateSharedLocalAttributeCopyParams = CreateSharedLocalAttributeCopyParams;
20
+ };
21
+ exports.PeerRelationshipAttributeSuccessorParams = PeerRelationshipAttributeSuccessorParams;
21
22
  __decorate([
23
+ (0, ts_serval_1.validate)(),
22
24
  (0, ts_serval_1.serialize)(),
23
- (0, ts_serval_1.validate)({ nullable: true }),
24
- __metadata("design:type", core_types_1.CoreId)
25
- ], CreateSharedLocalAttributeCopyParams.prototype, "attributeId", void 0);
25
+ __metadata("design:type", content_1.RelationshipAttribute)
26
+ ], PeerRelationshipAttributeSuccessorParams.prototype, "content", void 0);
26
27
  __decorate([
27
- (0, ts_serval_1.serialize)(),
28
28
  (0, ts_serval_1.validate)(),
29
+ (0, ts_serval_1.serialize)(),
29
30
  __metadata("design:type", core_types_1.CoreId)
30
- ], CreateSharedLocalAttributeCopyParams.prototype, "sourceAttributeId", void 0);
31
+ ], PeerRelationshipAttributeSuccessorParams.prototype, "id", void 0);
31
32
  __decorate([
32
- (0, ts_serval_1.serialize)(),
33
33
  (0, ts_serval_1.validate)(),
34
- __metadata("design:type", core_types_1.CoreAddress)
35
- ], CreateSharedLocalAttributeCopyParams.prototype, "peer", void 0);
36
- __decorate([
37
34
  (0, ts_serval_1.serialize)(),
38
- (0, ts_serval_1.validate)(),
39
35
  __metadata("design:type", core_types_1.CoreId)
40
- ], CreateSharedLocalAttributeCopyParams.prototype, "requestReference", void 0);
41
- //# sourceMappingURL=CreateSharedLocalAttributeCopyParams.js.map
36
+ ], PeerRelationshipAttributeSuccessorParams.prototype, "sourceReference", void 0);
37
+ exports.PeerRelationshipAttributeSuccessorParams = PeerRelationshipAttributeSuccessorParams = __decorate([
38
+ (0, ts_serval_1.type)("PeerRelationshipAttributeSuccessorParams")
39
+ ], PeerRelationshipAttributeSuccessorParams);
40
+ //# sourceMappingURL=PeerRelationshipAttributeSuccessorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PeerRelationshipAttributeSuccessorParams.js","sourceRoot":"","sources":["../../../../../src/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,4CAAkF;AAClF,kDAAoD;AAe7C,IAAM,wCAAwC,GAA9C,MAAM,wCAAyC,SAAQ,wBAAY;IAa/D,MAAM,CAAC,IAAI,CAAC,KAA+F;QAC9G,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhBY,4FAAwC;AAG1C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,+BAAqB;yEAAC;AAI/B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACD,mBAAM;oEAAC;AAIX;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,mBAAM;iFAAC;mDAXtB,wCAAwC;IADpD,IAAA,gBAAI,EAAC,0CAA0C,CAAC;GACpC,wCAAwC,CAgBpD"}
@@ -0,0 +1,20 @@
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
+ import { IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "@nmshd/content";
3
+ import { CoreId, ICoreId } from "@nmshd/core-types";
4
+ export interface ThirdPartyRelationshipAttributeSuccessorParamsJSON {
5
+ content: RelationshipAttributeJSON;
6
+ id: string;
7
+ sourceReference: string;
8
+ }
9
+ export interface IThirdPartyRelationshipAttributeSuccessorParams extends ISerializable {
10
+ content: IRelationshipAttribute;
11
+ id: ICoreId;
12
+ sourceReference: ICoreId;
13
+ }
14
+ export declare class ThirdPartyRelationshipAttributeSuccessorParams extends Serializable implements IThirdPartyRelationshipAttributeSuccessorParams {
15
+ content: RelationshipAttribute;
16
+ id: CoreId;
17
+ sourceReference: CoreId;
18
+ static from(value: IThirdPartyRelationshipAttributeSuccessorParams | ThirdPartyRelationshipAttributeSuccessorParamsJSON): ThirdPartyRelationshipAttributeSuccessorParams;
19
+ }
20
+ //# sourceMappingURL=ThirdPartyRelationshipAttributeSuccessorParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThirdPartyRelationshipAttributeSuccessorParams.d.ts","sourceRoot":"","sources":["../../../../../src/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC1G,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,kDAAkD;IAC/D,OAAO,EAAE,yBAAyB,CAAC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,+CAAgD,SAAQ,aAAa;IAClF,OAAO,EAAE,sBAAsB,CAAC;IAChC,EAAE,EAAE,OAAO,CAAC;IACZ,eAAe,EAAE,OAAO,CAAC;CAC5B;AAED,qBACa,8CAA+C,SAAQ,YAAa,YAAW,+CAA+C;IAGhI,OAAO,EAAE,qBAAqB,CAAC;IAI/B,EAAE,EAAE,MAAM,CAAC;IAIX,eAAe,EAAE,MAAM,CAAC;WAEjB,IAAI,CACd,KAAK,EAAE,+CAA+C,GAAG,kDAAkD,GAC5G,8CAA8C;CAGpD"}
@@ -9,39 +9,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateSharedLocalAttributeParams = void 0;
12
+ exports.ThirdPartyRelationshipAttributeSuccessorParams = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const content_1 = require("@nmshd/content");
15
15
  const core_types_1 = require("@nmshd/core-types");
16
- class CreateSharedLocalAttributeParams extends ts_serval_1.Serializable {
16
+ let ThirdPartyRelationshipAttributeSuccessorParams = class ThirdPartyRelationshipAttributeSuccessorParams extends ts_serval_1.Serializable {
17
17
  static from(value) {
18
18
  return this.fromAny(value);
19
19
  }
20
- }
21
- exports.CreateSharedLocalAttributeParams = CreateSharedLocalAttributeParams;
20
+ };
21
+ exports.ThirdPartyRelationshipAttributeSuccessorParams = ThirdPartyRelationshipAttributeSuccessorParams;
22
22
  __decorate([
23
+ (0, ts_serval_1.validate)(),
23
24
  (0, ts_serval_1.serialize)(),
24
- (0, ts_serval_1.validate)({ nullable: true }),
25
- __metadata("design:type", core_types_1.CoreId)
26
- ], CreateSharedLocalAttributeParams.prototype, "id", void 0);
25
+ __metadata("design:type", content_1.RelationshipAttribute)
26
+ ], ThirdPartyRelationshipAttributeSuccessorParams.prototype, "content", void 0);
27
27
  __decorate([
28
- (0, ts_serval_1.serialize)({ unionTypes: [content_1.IdentityAttribute, content_1.RelationshipAttribute] }),
29
28
  (0, ts_serval_1.validate)(),
30
- __metadata("design:type", Object)
31
- ], CreateSharedLocalAttributeParams.prototype, "content", void 0);
32
- __decorate([
33
29
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)(),
35
30
  __metadata("design:type", core_types_1.CoreId)
36
- ], CreateSharedLocalAttributeParams.prototype, "requestReference", void 0);
31
+ ], ThirdPartyRelationshipAttributeSuccessorParams.prototype, "id", void 0);
37
32
  __decorate([
38
- (0, ts_serval_1.serialize)(),
39
- (0, ts_serval_1.validate)(),
40
- __metadata("design:type", core_types_1.CoreAddress)
41
- ], CreateSharedLocalAttributeParams.prototype, "peer", void 0);
42
- __decorate([
43
- (0, ts_serval_1.serialize)(),
44
33
  (0, ts_serval_1.validate)({ nullable: true }),
45
- __metadata("design:type", core_types_1.CoreAddress)
46
- ], CreateSharedLocalAttributeParams.prototype, "thirdPartyAddress", void 0);
47
- //# sourceMappingURL=CreateSharedLocalAttributeParams.js.map
34
+ (0, ts_serval_1.serialize)(),
35
+ __metadata("design:type", core_types_1.CoreId)
36
+ ], ThirdPartyRelationshipAttributeSuccessorParams.prototype, "sourceReference", void 0);
37
+ exports.ThirdPartyRelationshipAttributeSuccessorParams = ThirdPartyRelationshipAttributeSuccessorParams = __decorate([
38
+ (0, ts_serval_1.type)("ThirdPartyRelationshipAttributeSuccessorParams")
39
+ ], ThirdPartyRelationshipAttributeSuccessorParams);
40
+ //# sourceMappingURL=ThirdPartyRelationshipAttributeSuccessorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThirdPartyRelationshipAttributeSuccessorParams.js","sourceRoot":"","sources":["../../../../../src/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,4CAA0G;AAC1G,kDAAoD;AAe7C,IAAM,8CAA8C,GAApD,MAAM,8CAA+C,SAAQ,wBAAY;IAarE,MAAM,CAAC,IAAI,CACd,KAA2G;QAE3G,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAlBY,wGAA8C;AAGhD;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,+BAAqB;+EAAC;AAI/B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACD,mBAAM;0EAAC;AAIX;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACY,mBAAM;uFAAC;yDAXtB,8CAA8C;IAD1D,IAAA,gBAAI,EAAC,gDAAgD,CAAC;GAC1C,8CAA8C,CAkB1D"}
@@ -0,0 +1,6 @@
1
+ export * from "./OwnIdentityAttributeSuccessorParams";
2
+ export * from "./OwnRelationshipAttributeSuccessorParams";
3
+ export * from "./PeerIdentityAttributeSuccessorParams";
4
+ export * from "./PeerRelationshipAttributeSuccessorParams";
5
+ export * from "./ThirdPartyRelationshipAttributeSuccessorParams";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/attributes/local/successorParams/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kDAAkD,CAAC"}
@@ -14,8 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./AttributeListenersController"), exports);
18
- __exportStar(require("./events"), exports);
19
- __exportStar(require("./local/CreateLocalAttributeListenerParams"), exports);
20
- __exportStar(require("./local/LocalAttributeListener"), exports);
17
+ __exportStar(require("./OwnIdentityAttributeSuccessorParams"), exports);
18
+ __exportStar(require("./OwnRelationshipAttributeSuccessorParams"), exports);
19
+ __exportStar(require("./PeerIdentityAttributeSuccessorParams"), exports);
20
+ __exportStar(require("./PeerRelationshipAttributeSuccessorParams"), exports);
21
+ __exportStar(require("./ThirdPartyRelationshipAttributeSuccessorParams"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/attributes/local/successorParams/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD;AACtD,4EAA0D;AAC1D,yEAAuD;AACvD,6EAA2D;AAC3D,mFAAiE"}
@@ -1,4 +1,3 @@
1
- export * from "./attributeListeners";
2
1
  export * from "./attributes";
3
2
  export * from "./common";
4
3
  export * from "./drafts";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./attributeListeners"), exports);
18
17
  __exportStar(require("./attributes"), exports);
19
18
  __exportStar(require("./common"), exports);
20
19
  __exportStar(require("./drafts"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,kDAAgC;AAChC,6CAA2B;AAC3B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,kDAAgC;AAChC,6CAA2B;AAC3B,6CAA2B"}
@@ -30,7 +30,7 @@ class NotificationsController extends ConsumptionBaseController_1.ConsumptionBas
30
30
  if (!message.isOwn)
31
31
  throw new Error("Cannot mark a LocalNotification as sent from a received Message.");
32
32
  const content = this.extractNotificationFromMessage(message);
33
- const recipients = message.cache.recipients;
33
+ const recipients = message.recipients;
34
34
  if (recipients.length > 1)
35
35
  throw new Error("Message contains more than one recipient.");
36
36
  const notification = LocalNotification_1.LocalNotification.from({
@@ -38,7 +38,7 @@ class NotificationsController extends ConsumptionBaseController_1.ConsumptionBas
38
38
  content,
39
39
  status: LocalNotification_1.LocalNotificationStatus.Sent,
40
40
  isOwn: true,
41
- createdAt: message.cache.createdAt,
41
+ createdAt: message.createdAt,
42
42
  peer: recipients[0].address,
43
43
  source: LocalNotificationSource_1.LocalNotificationSource.message(message.id)
44
44
  });
@@ -54,8 +54,8 @@ class NotificationsController extends ConsumptionBaseController_1.ConsumptionBas
54
54
  content,
55
55
  status: LocalNotification_1.LocalNotificationStatus.Open,
56
56
  isOwn: false,
57
- createdAt: message.cache.createdAt,
58
- peer: message.cache.createdBy,
57
+ createdAt: message.createdAt,
58
+ peer: message.createdBy,
59
59
  source: LocalNotificationSource_1.LocalNotificationSource.message(message.id),
60
60
  receivedByDevice: this.device.id
61
61
  });
@@ -63,10 +63,10 @@ class NotificationsController extends ConsumptionBaseController_1.ConsumptionBas
63
63
  return notification;
64
64
  }
65
65
  extractNotificationFromMessage(message) {
66
- if (!(message.cache.content instanceof content_1.Notification)) {
66
+ if (!(message.content instanceof content_1.Notification)) {
67
67
  throw new Error("Message does not contain a Notification.");
68
68
  }
69
- return message.cache.content;
69
+ return message.content;
70
70
  }
71
71
  async processOpenNotifactionsReceivedByCurrentDevice() {
72
72
  const notifications = await this.localNotifications.find({
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsController.js","sourceRoot":"","sources":["../../../src/modules/notifications/NotificationsController.ts"],"names":[],"mappings":";;;AACA,4CAAgE;AAEhE,gDAAwF;AACxF,2FAAwF;AAExF,2FAAwF;AAExF,iEAAuF;AACvF,6EAA0E;AAE1E,MAAa,uBAAwB,SAAQ,qDAAyB;IAClE,YACqB,kBAA0C,EAC1C,iBAAoD,EACrE,MAA6B,EACZ,QAAkB,EAClB,MAAsB;QAEvC,KAAK,CAAC,qDAAyB,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;QANhD,uBAAkB,GAAlB,kBAAkB,CAAwB;QAC1C,sBAAiB,GAAjB,iBAAiB,CAAmC;QAEpD,aAAQ,GAAR,QAAQ,CAAU;QAClB,WAAM,GAAN,MAAM,CAAgB;IAG3C,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAC,KAAW;QACrC,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAChE,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,qCAAiB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACrF,CAAC;IAEM,KAAK,CAAC,eAAe,CAAC,EAAU;QACnC,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAClF,IAAI,CAAC,YAAY,EAAE,CAAC;YAChB,MAAM,+BAAmB,CAAC,OAAO,CAAC,cAAc,C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AY,CAAC;IACxB,CAAC;IAEM,KAAK,CAAC,oCAAoC,CAAC,IAAiB;QAC/D,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAC7E,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YACvC,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;CACJ;AA3JD,0DA2JC"}
1
+ {"version":3,"file":"NotificationsController.js","sourceRoot":"","sources":["../../../src/modules/notifications/NotificationsController.ts"],"names":[],"mappings":";;;AACA,4CAAgE;AAEhE,gDAAwF;AACxF,2FAAwF;AAExF,2FAAwF;AAExF,iEAAuF;AACvF,6EAA0E;AAE1E,MAAa,uBAAwB,SAAQ,qDAAyB;IAClE,YACqB,kBAA0C,EAC1C,iBAAoD,EACrE,MAA6B,EACZ,QAAkB,EAClB,MAAsB;QAEvC,KAAK,CAAC,qDAAyB,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;QANhD,uBAAkB,GAAlB,kBAAkB,CAAwB;QAC1C,sBAAiB,GAAjB,iBAAiB,CAAmC;QAEpD,aAAQ,GAAR,QAAQ,CAAU;QAClB,WAAM,GAAN,MAAM,CAAgB;IAG3C,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAC,KAAW;QACrC,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAChE,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,qCAAiB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACrF,CAAC;IAEM,KAAK,CAAC,eAAe,CAAC,EAAU;QACnC,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,EAA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CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEzD,OAAO,YAAY,CAAC;IACxB,CAAC;IAEM,KAAK,CAAC,oCAAoC,CAAC,IAAiB;QAC/D,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAC7E,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YACvC,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;CACJ;AA3JD,0DA2JC"}
@@ -1,8 +1,8 @@
1
1
  export * from "./itemProcessors/AbstractNotificationItemProcessor";
2
- export * from "./itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor";
3
- export * from "./itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor";
4
- export * from "./itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor";
5
- export * from "./itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor";
2
+ export * from "./itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor";
3
+ export * from "./itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor";
4
+ export * from "./itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor";
5
+ export * from "./itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor";
6
6
  export * from "./itemProcessors/NotificationItemConstructor";
7
7
  export * from "./itemProcessors/NotificationItemProcessorConstructor";
8
8
  export * from "./itemProcessors/NotificationItemProcessorRegistry";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/notifications/index.ts"],"names":[],"mappings":"AAAA,cAAc,oDAAoD,CAAC;AACnE,cAAc,6FAA6F,CAAC;AAC5G,cAAc,6FAA6F,CAAC;AAC5G,cAAc,yGAAyG,CAAC;AACxH,cAAc,2FAA2F,CAAC;AAC1G,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/notifications/index.ts"],"names":[],"mappings":"AAAA,cAAc,oDAAoD,CAAC;AACnE,cAAc,4FAA4F,CAAC;AAC3G,cAAc,uFAAuF,CAAC;AACtG,cAAc,mGAAmG,CAAC;AAClH,cAAc,qFAAqF,CAAC;AACpG,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
@@ -15,10 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./itemProcessors/AbstractNotificationItemProcessor"), exports);
18
- __exportStar(require("./itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor"), exports);
19
- __exportStar(require("./itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor"), exports);
20
- __exportStar(require("./itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor"), exports);
21
- __exportStar(require("./itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor"), exports);
18
+ __exportStar(require("./itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor"), exports);
19
+ __exportStar(require("./itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor"), exports);
20
+ __exportStar(require("./itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor"), exports);
21
+ __exportStar(require("./itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor"), exports);
22
22
  __exportStar(require("./itemProcessors/NotificationItemConstructor"), exports);
23
23
  __exportStar(require("./itemProcessors/NotificationItemProcessorConstructor"), exports);
24
24
  __exportStar(require("./itemProcessors/NotificationItemProcessorRegistry"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qFAAmE;AACnE,8HAA4G;AAC5G,8HAA4G;AAC5G,0IAAwH;AACxH,4HAA0G;AAC1G,+EAA6D;AAC7D,wFAAsE;AACtE,qFAAmE;AACnE,4DAA0C;AAC1C,kEAAgD;AAChD,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qFAAmE;AACnE,6HAA2G;AAC3G,wHAAsG;AACtG,oIAAkH;AAClH,sHAAoG;AACpG,+EAA6D;AAC7D,wFAAsE;AACtE,qFAAmE;AACnE,4DAA0C;AAC1C,kEAAgD;AAChD,4DAA0C"}
@@ -0,0 +1,14 @@
1
+ import { ForwardedAttributeDeletedByPeerNotificationItem } from "@nmshd/content";
2
+ import { ConsumptionController } from "../../../../consumption/ConsumptionController";
3
+ import { ForwardedAttributeDeletedByPeerEvent } from "../../../attributes";
4
+ import { ValidationResult } from "../../../common";
5
+ import { LocalNotification } from "../../local/LocalNotification";
6
+ import { AbstractNotificationItemProcessor } from "../AbstractNotificationItemProcessor";
7
+ export declare class ForwardedAttributeDeletedByPeerNotificationItemProcessor extends AbstractNotificationItemProcessor<ForwardedAttributeDeletedByPeerNotificationItem> {
8
+ private readonly _logger;
9
+ constructor(consumptionController: ConsumptionController);
10
+ checkPrerequisitesOfIncomingNotificationItem(notificationItem: ForwardedAttributeDeletedByPeerNotificationItem, notification: LocalNotification): Promise<ValidationResult>;
11
+ process(notificationItem: ForwardedAttributeDeletedByPeerNotificationItem, notification: LocalNotification): Promise<ForwardedAttributeDeletedByPeerEvent | void>;
12
+ rollback(notificationItem: ForwardedAttributeDeletedByPeerNotificationItem, notification: LocalNotification): Promise<void>;
13
+ }
14
+ //# sourceMappingURL=ForwardedAttributeDeletedByPeerNotificationItemProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ForwardedAttributeDeletedByPeerNotificationItemProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+CAA+C,EAAE,MAAM,gBAAgB,CAAC;AAGjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EAGH,oCAAoC,EAIvC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,qBAAa,wDAAyD,SAAQ,iCAAiC,CAAC,+CAA+C,CAAC;IAC5J,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;gBAEf,qBAAqB,EAAE,qBAAqB;IAKzC,4CAA4C,CAC9D,gBAAgB,EAAE,+CAA+C,EACjE,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,gBAAgB,CAAC;IAmBN,OAAO,CACzB,gBAAgB,EAAE,+CAA+C,EACjE,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,oCAAoC,GAAG,IAAI,CAAC;IAoBjC,QAAQ,CAAC,gBAAgB,EAAE,+CAA+C,EAAE,YAAY,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAWpJ"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ForwardedAttributeDeletedByPeerNotificationItemProcessor = void 0;
4
+ const core_types_1 = require("@nmshd/core-types");
5
+ const transport_1 = require("@nmshd/transport");
6
+ const ConsumptionCoreErrors_1 = require("../../../../consumption/ConsumptionCoreErrors");
7
+ const attributes_1 = require("../../../attributes");
8
+ const common_1 = require("../../../common");
9
+ const AbstractNotificationItemProcessor_1 = require("../AbstractNotificationItemProcessor");
10
+ class ForwardedAttributeDeletedByPeerNotificationItemProcessor extends AbstractNotificationItemProcessor_1.AbstractNotificationItemProcessor {
11
+ constructor(consumptionController) {
12
+ super(consumptionController);
13
+ this._logger = transport_1.TransportLoggerFactory.getLogger(ForwardedAttributeDeletedByPeerNotificationItemProcessor);
14
+ }
15
+ async checkPrerequisitesOfIncomingNotificationItem(notificationItem, notification) {
16
+ const attribute = await this.consumptionController.attributes.getLocalAttribute(notificationItem.attributeId);
17
+ if (!attribute)
18
+ return common_1.ValidationResult.success();
19
+ if (!(attribute instanceof attributes_1.OwnIdentityAttribute || attribute instanceof attributes_1.OwnRelationshipAttribute || attribute instanceof attributes_1.PeerRelationshipAttribute)) {
20
+ return common_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.attributes.wrongTypeOfAttribute(`The Attribute ${notificationItem.attributeId} is not an OwnIdentityAttribute, an OwnRelationshipAttribute or a PeerRelationshipAttribute.`));
21
+ }
22
+ if (!(await this.consumptionController.attributes.isAttributeForwardedToPeer(attribute, notification.peer))) {
23
+ return common_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.attributes.senderIsNotPeerOfSharedAttribute(notification.peer, notificationItem.attributeId));
24
+ }
25
+ return common_1.ValidationResult.success();
26
+ }
27
+ async process(notificationItem, notification) {
28
+ const attribute = await this.consumptionController.attributes.getLocalAttribute(notificationItem.attributeId);
29
+ if (!attribute)
30
+ return;
31
+ if (!(attribute instanceof attributes_1.OwnIdentityAttribute || attribute instanceof attributes_1.OwnRelationshipAttribute || attribute instanceof attributes_1.PeerRelationshipAttribute)) {
32
+ throw ConsumptionCoreErrors_1.ConsumptionCoreErrors.attributes.wrongTypeOfAttribute(`The Attribute ${notificationItem.attributeId} is not an OwnIdentityAttribute, an OwnRelationshipAttribute or a PeerRelationshipAttribute.`);
33
+ }
34
+ const deletionInfo = attributes_1.EmittedAttributeDeletionInfo.from({
35
+ deletionStatus: attributes_1.EmittedAttributeDeletionStatus.DeletedByRecipient,
36
+ deletionDate: core_types_1.CoreDate.utc()
37
+ });
38
+ await this.consumptionController.attributes.setForwardedDeletionInfoOfAttributeAndPredecessors(attribute, deletionInfo, notification.peer, true);
39
+ return new attributes_1.ForwardedAttributeDeletedByPeerEvent(this.currentIdentityAddress.toString(), attribute);
40
+ }
41
+ async rollback(notificationItem, notification) {
42
+ const attribute = await this.consumptionController.attributes.getLocalAttribute(notificationItem.attributeId);
43
+ if (!attribute)
44
+ return;
45
+ if (!(attribute instanceof attributes_1.OwnIdentityAttribute || attribute instanceof attributes_1.OwnRelationshipAttribute || attribute instanceof attributes_1.PeerRelationshipAttribute)) {
46
+ return;
47
+ }
48
+ // the previous deletionState cannot be unambiguously known
49
+ await this.consumptionController.attributes.setForwardedDeletionInfoOfAttributeAndPredecessors(attribute, undefined, notification.peer, true);
50
+ }
51
+ }
52
+ exports.ForwardedAttributeDeletedByPeerNotificationItemProcessor = ForwardedAttributeDeletedByPeerNotificationItemProcessor;
53
+ //# sourceMappingURL=ForwardedAttributeDeletedByPeerNotificationItemProcessor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ForwardedAttributeDeletedByPeerNotificationItemProcessor.js","sourceRoot":"","sources":["../../../../../src/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.ts"],"names":[],"mappings":";;;AAEA,kDAA6C;AAC7C,gDAA0D;AAE1D,yFAAsF;AACtF,oDAO6B;AAC7B,4CAAmD;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OwnerNotificationItem } from "@nmshd/content";
2
+ import { ConsumptionController } from "../../../../consumption/ConsumptionController";
3
+ import { OwnAttributeDeletedByOwnerEvent } from "../../../attributes";
4
+ import { ValidationResult } from "../../../common";
5
+ import { LocalNotification } from "../../local/LocalNotification";
6
+ import { AbstractNotificationItemProcessor } from "../AbstractNotificationItemProcessor";
7
+ export declare class OwnAttributeDeletedByOwnerNotificationItemProcessor extends AbstractNotificationItemProcessor<OwnAttributeDeletedByOwnerNotificationItem> {
8
+ private readonly _logger;
9
+ constructor(consumptionController: ConsumptionController);
10
+ checkPrerequisitesOfIncomingNotificationItem(notificationItem: OwnAttributeDeletedByOwnerNotificationItem, notification: LocalNotification): Promise<ValidationResult>;
11
+ process(notificationItem: OwnAttributeDeletedByOwnerNotificationItem, _notification: LocalNotification): Promise<OwnAttributeDeletedByOwnerEvent | void>;
12
+ rollback(notificationItem: OwnAttributeDeletedByOwnerNotificationItem, _notification: LocalNotification): Promise<void>;
13
+ }
14
+ //# sourceMappingURL=OwnAttributeDeletedByOwnerNotificationItemProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OwnAttributeDeletedByOwnerNotificationItemProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0CAA0C,EAAE,MAAM,gBAAgB,CAAC;AAG5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EACH,+BAA+B,EAMlC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,qBAAa,mDAAoD,SAAQ,iCAAiC,CAAC,0CAA0C,CAAC;IAClJ,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;gBAEf,qBAAqB,EAAE,qBAAqB;IAKzC,4CAA4C,CAC9D,gBAAgB,EAAE,0CAA0C,EAC5D,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,gBAAgB,CAAC;IAmBN,OAAO,CAAC,gBAAgB,EAAE,0CAA0C,EAAE,aAAa,EAAE,iBAAiB,GAAG,OAAO,CAAC,+BAA+B,GAAG,IAAI,CAAC;IAsBxJ,QAAQ,CAAC,gBAAgB,EAAE,0CAA0C,EAAE,aAAa,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAchJ"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OwnAttributeDeletedByOwnerNotificationItemProcessor = void 0;
4
+ const core_types_1 = require("@nmshd/core-types");
5
+ const transport_1 = require("@nmshd/transport");
6
+ const ConsumptionCoreErrors_1 = require("../../../../consumption/ConsumptionCoreErrors");
7
+ const attributes_1 = require("../../../attributes");
8
+ const common_1 = require("../../../common");
9
+ const AbstractNotificationItemProcessor_1 = require("../AbstractNotificationItemProcessor");
10
+ class OwnAttributeDeletedByOwnerNotificationItemProcessor extends AbstractNotificationItemProcessor_1.AbstractNotificationItemProcessor {
11
+ constructor(consumptionController) {
12
+ super(consumptionController);
13
+ this._logger = transport_1.TransportLoggerFactory.getLogger(OwnAttributeDeletedByOwnerNotificationItemProcessor);
14
+ }
15
+ async checkPrerequisitesOfIncomingNotificationItem(notificationItem, notification) {
16
+ const attribute = await this.consumptionController.attributes.getLocalAttribute(notificationItem.attributeId);
17
+ if (!attribute)
18
+ return common_1.ValidationResult.success();
19
+ if (!(attribute instanceof attributes_1.PeerIdentityAttribute || attribute instanceof attributes_1.PeerRelationshipAttribute || attribute instanceof attributes_1.ThirdPartyRelationshipAttribute)) {
20
+ return common_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.attributes.wrongTypeOfAttribute(`The Attribute ${notificationItem.attributeId} is not a PeerIdentityAttribute, a PeerRelationshipAttribute or a ThirdPartyRelationshipAttribute.`));
21
+ }
22
+ if (!notification.peer.equals(attribute.peer)) {
23
+ return common_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.attributes.senderIsNotPeerOfSharedAttribute(notification.peer, notificationItem.attributeId));
24
+ }
25
+ return common_1.ValidationResult.success();
26
+ }
27
+ async process(notificationItem, _notification) {
28
+ const attribute = await this.consumptionController.attributes.getLocalAttribute(notificationItem.attributeId);
29
+ if (!attribute)
30
+ return;
31
+ if (!(attribute instanceof attributes_1.PeerIdentityAttribute || attribute instanceof attributes_1.PeerRelationshipAttribute || attribute instanceof attributes_1.ThirdPartyRelationshipAttribute)) {
32
+ throw ConsumptionCoreErrors_1.ConsumptionCoreErrors.attributes.wrongTypeOfAttribute(`The Attribute ${notificationItem.attributeId} is not a PeerIdentityAttribute, a PeerRelationshipAttribute or a ThirdPartyRelationshipAttribute.`);
33
+ }
34
+ if (attribute.isToBeDeleted())
35
+ return;
36
+ const deletionInfo = attributes_1.ReceivedAttributeDeletionInfo.from({
37
+ deletionStatus: attributes_1.ReceivedAttributeDeletionStatus.DeletedByEmitter,
38
+ deletionDate: core_types_1.CoreDate.utc()
39
+ });
40
+ await this.consumptionController.attributes.setPeerDeletionInfoOfReceivedAttributeAndPredecessors(attribute, deletionInfo);
41
+ return new attributes_1.OwnAttributeDeletedByOwnerEvent(this.currentIdentityAddress.toString(), attribute);
42
+ }
43
+ async rollback(notificationItem, _notification) {
44
+ const attribute = await this.consumptionController.attributes.getLocalAttribute(notificationItem.attributeId);
45
+ if (!attribute)
46
+ return;
47
+ if (!(attribute instanceof attributes_1.PeerIdentityAttribute || attribute instanceof attributes_1.PeerRelationshipAttribute || attribute instanceof attributes_1.ThirdPartyRelationshipAttribute))
48
+ return;
49
+ const predecessors = await this.consumptionController.attributes.getPredecessorsOfAttribute(attribute);
50
+ for (const attr of [attribute, ...predecessors]) {
51
+ if (attr.isToBeDeleted())
52
+ continue;
53
+ attr.deletionInfo = undefined;
54
+ await this.consumptionController.attributes.updateAttributeUnsafe(attr);
55
+ }
56
+ }
57
+ }
58
+ exports.OwnAttributeDeletedByOwnerNotificationItemProcessor = OwnAttributeDeletedByOwnerNotificationItemProcessor;
59
+ //# sourceMappingURL=OwnAttributeDeletedByOwnerNotificationItemProcessor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OwnAttributeDeletedByOwnerNotificationItemProcessor.js","sourceRoot":"","sources":["../../../../../src/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.ts"],"names":[],"mappings":";;;AAEA,kDAA6C;AAC7C,gDAA0D;AAE1D,yFAAsF;AACtF,oDAO6B;AAC7B,4CAAmD;AAEnD,4FAAyF;AAEzF,MAAa,mDAAoD,SAAQ,qEAA6E;IAGlJ,YAAmB,qBAA4C;QAC3D,KAAK,CAAC,qBAAqB,CAAC,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,kCAAsB,CAAC,SAAS,CAAC,mDAAmD,CAAC,CAAC;IACzG,CAAC;IAEe,KAAK,CAAC,4CAA4C,CAC9D,gBAA4D,EAC5D,YAA+B;QAE/B,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;QAC9G,IAAI,CAAC,SAAS;YAAE,OAAO,yBAAgB,CAAC,OAAO,EAAE,CAAC;QAElD,IAAI,CAAC,CAAC,SAAS,YAAY,kCAAqB,IAAI,SAAS,YAAY,sCAAyB,IAAI,SAAS,YAAY,4CAA+B,CAAC,EAAE,CAAC;YAC1J,OAAO,yBAAgB,CAAC,KAAK,CACzB,6CAAqB,CAAC,UAAU,CAAC,oBAAoB,CACjD,iBAAiB,gBAAgB,CAAC,WAAW,oGAAoG,CACpJ,CACJ,CAAC;QACN,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,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CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;QAC9G,IAAI,CAAC,SAAS;YAAE,OAAO;QAEvB,IAAI,CAAC,CAAC,SAAS,YAAY,kCAAqB,IAAI,SAAS,YAAY,sCAAyB,IAAI,SAAS,YAAY,4CAA+B,CAAC;YAAE,OAAO;QAEpK,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,0BAA0B,CAAC,SAAS,CAAC,CAAC;QACvG,KAAK,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE,GAAG,YAAY,CAAC,EAAE,CAAC;YAC9C,IAAI,IAAI,CAAC,aAAa,EAAE;gBAAE,SAAS;YAEnC,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC;YAC9B,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;QAC5E,CAAC;IACL,CAAC;CACJ;AAlED,kHAkEC"}
@@ -0,0 +1,14 @@
1
+ import { PeerRelationshipAttributeDeletedByPeerNotificationItem } from "@nmshd/content";
2
+ import { ConsumptionController } from "../../../../consumption/ConsumptionController";
3
+ import { PeerRelationshipAttributeDeletedByPeerEvent } from "../../../attributes";
4
+ import { ValidationResult } from "../../../common";
5
+ import { LocalNotification } from "../../local/LocalNotification";
6
+ import { AbstractNotificationItemProcessor } from "../AbstractNotificationItemProcessor";
7
+ export declare class PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor extends AbstractNotificationItemProcessor<PeerRelationshipAttributeDeletedByPeerNotificationItem> {
8
+ private readonly _logger;
9
+ constructor(consumptionController: ConsumptionController);
10
+ checkPrerequisitesOfIncomingNotificationItem(notificationItem: PeerRelationshipAttributeDeletedByPeerNotificationItem, notification: LocalNotification): Promise<ValidationResult>;
11
+ process(notificationItem: PeerRelationshipAttributeDeletedByPeerNotificationItem, _notification: LocalNotification): Promise<PeerRelationshipAttributeDeletedByPeerEvent | void>;
12
+ rollback(notificationItem: PeerRelationshipAttributeDeletedByPeerNotificationItem, _notification: LocalNotification): Promise<void>;
13
+ }
14
+ //# sourceMappingURL=PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sDAAsD,EAAE,MAAM,gBAAgB,CAAC;AAGxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EAIH,2CAA2C,EAI9C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,qBAAa,+DAAgE,SAAQ,iCAAiC,CAAC,sDAAsD,CAAC;IAC1K,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;gBAEf,qBAAqB,EAAE,qBAAqB;IAKzC,4CAA4C,CAC9D,gBAAgB,EAAE,sDAAsD,EACxE,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,gBAAgB,CAAC;IAmBN,OAAO,CACzB,gBAAgB,EAAE,sDAAsD,EACxE,aAAa,EAAE,iBAAiB,GACjC,OAAO,CAAC,2CAA2C,GAAG,IAAI,CAAC;IA+BxC,QAAQ,CAAC,gBAAgB,EAAE,sDAAsD,EAAE,aAAa,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAa5J"}