@cratis/chronicle 6.3.1 → 6.4.0

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 (988) hide show
  1. package/ChronicleClient.ts +14 -14
  2. package/ChronicleOptions.ts +3 -3
  3. package/EventStore.ts +46 -43
  4. package/IChronicleClient.ts +4 -4
  5. package/IEventStore.ts +20 -20
  6. package/README.md +13 -2
  7. package/artifacts/DefaultClientArtifactsProvider.ts +3 -3
  8. package/artifacts/index.ts +2 -2
  9. package/artifacts/validateArtifactSchemas.spec.ts +61 -0
  10. package/artifacts/validateArtifactSchemas.ts +39 -0
  11. package/auditing/Causation.ts +1 -1
  12. package/auditing/CausationManager.ts +3 -3
  13. package/auditing/ICausationManager.ts +2 -2
  14. package/auditing/index.ts +5 -5
  15. package/compliance/ComplianceMetadata.ts +1 -1
  16. package/compliance/ComplianceMetadataResolver.ts +2 -2
  17. package/compliance/PIIManager.spec.ts +2 -2
  18. package/compliance/PIIManager.ts +2 -2
  19. package/compliance/index.ts +8 -8
  20. package/compliance/pii.spec.ts +2 -2
  21. package/compliance/pii.ts +11 -10
  22. package/compliance/subject.spec.ts +1 -1
  23. package/compliance/subject.ts +7 -6
  24. package/confidentiality/SecurityMetadata.ts +1 -1
  25. package/confidentiality/SecurityMetadataResolver.ts +2 -2
  26. package/confidentiality/encrypted.spec.ts +3 -3
  27. package/confidentiality/encrypted.ts +12 -11
  28. package/confidentiality/index.ts +7 -7
  29. package/connection/ChronicleConnection.ts +11 -11
  30. package/connection/ChronicleConnectionString.spec.ts +5 -5
  31. package/connection/ChronicleConnectionString.ts +2 -2
  32. package/connection/ChronicleServerAddressResolver.spec.ts +3 -3
  33. package/connection/ChronicleServerAddressResolver.ts +2 -2
  34. package/connection/ChronicleServices.ts +3 -3
  35. package/connection/ChronicleSrvResolver.spec.ts +2 -2
  36. package/connection/ChronicleSrvResolver.ts +2 -2
  37. package/connection/CompatibilityPreflight.ts +1 -1
  38. package/connection/ConnectionLifecycle.spec.ts +1 -1
  39. package/connection/ILoadBalancerStrategy.ts +1 -1
  40. package/connection/KernelKeepAlive.spec.ts +1 -1
  41. package/connection/LeastConnectionsLoadBalancerStrategy.spec.ts +2 -2
  42. package/connection/LeastConnectionsLoadBalancerStrategy.ts +3 -3
  43. package/connection/LoadBalancerStrategyFactory.ts +5 -5
  44. package/connection/RandomLoadBalancerStrategy.spec.ts +2 -2
  45. package/connection/RandomLoadBalancerStrategy.ts +2 -2
  46. package/connection/RoundRobinLoadBalancerStrategy.spec.ts +2 -2
  47. package/connection/RoundRobinLoadBalancerStrategy.ts +2 -2
  48. package/connection/TokenProvider.spec.ts +2 -2
  49. package/connection/TokenProvider.ts +1 -1
  50. package/connection/callResults.spec.ts +1 -1
  51. package/connection/for_ChronicleConnection/when_checking_compatibility/before_append.spec.ts +4 -4
  52. package/connection/for_CompatibilityPreflight/when_verifying/with_concurrent_calls.spec.ts +1 -1
  53. package/connection/formatServerAddress.ts +1 -1
  54. package/connection/index.ts +6 -6
  55. package/correlation/CorrelationIdManager.ts +3 -3
  56. package/correlation/ICorrelationIdAccessor.ts +1 -1
  57. package/correlation/ICorrelationIdSetter.ts +1 -1
  58. package/correlation/index.ts +5 -5
  59. package/dist/ChronicleClient.d.ts +5 -5
  60. package/dist/ChronicleClient.d.ts.map +1 -1
  61. package/dist/ChronicleClient.js +11 -11
  62. package/dist/ChronicleClient.js.map +1 -1
  63. package/dist/ChronicleOptions.d.ts +2 -2
  64. package/dist/ChronicleOptions.d.ts.map +1 -1
  65. package/dist/ChronicleOptions.js +3 -3
  66. package/dist/ChronicleOptions.js.map +1 -1
  67. package/dist/EventStore.d.ts +23 -23
  68. package/dist/EventStore.d.ts.map +1 -1
  69. package/dist/EventStore.js +24 -22
  70. package/dist/EventStore.js.map +1 -1
  71. package/dist/EventStoreName.d.ts.map +1 -1
  72. package/dist/EventStoreName.js.map +1 -1
  73. package/dist/EventStoreNamespaceName.d.ts.map +1 -1
  74. package/dist/EventStoreNamespaceName.js.map +1 -1
  75. package/dist/IChronicleClient.d.ts +4 -4
  76. package/dist/IChronicleClient.d.ts.map +1 -1
  77. package/dist/IEventStore.d.ts +20 -20
  78. package/dist/IEventStore.d.ts.map +1 -1
  79. package/dist/Metrics.d.ts.map +1 -1
  80. package/dist/artifacts/DefaultClientArtifactsProvider.d.ts +2 -2
  81. package/dist/artifacts/DefaultClientArtifactsProvider.d.ts.map +1 -1
  82. package/dist/artifacts/DefaultClientArtifactsProvider.js +2 -2
  83. package/dist/artifacts/DefaultClientArtifactsProvider.js.map +1 -1
  84. package/dist/artifacts/index.d.ts +2 -2
  85. package/dist/artifacts/index.d.ts.map +1 -1
  86. package/dist/artifacts/index.js +1 -1
  87. package/dist/artifacts/index.js.map +1 -1
  88. package/dist/artifacts/validateArtifactSchemas.d.ts +4 -0
  89. package/dist/artifacts/validateArtifactSchemas.d.ts.map +1 -0
  90. package/dist/artifacts/validateArtifactSchemas.js +38 -0
  91. package/dist/artifacts/validateArtifactSchemas.js.map +1 -0
  92. package/dist/auditing/Causation.d.ts +1 -1
  93. package/dist/auditing/Causation.d.ts.map +1 -1
  94. package/dist/auditing/Causation.js +1 -1
  95. package/dist/auditing/Causation.js.map +1 -1
  96. package/dist/auditing/CausationManager.d.ts +3 -3
  97. package/dist/auditing/CausationManager.d.ts.map +1 -1
  98. package/dist/auditing/CausationManager.js +2 -2
  99. package/dist/auditing/CausationManager.js.map +1 -1
  100. package/dist/auditing/CausationType.d.ts.map +1 -1
  101. package/dist/auditing/CausationType.js.map +1 -1
  102. package/dist/auditing/ICausationManager.d.ts +2 -2
  103. package/dist/auditing/ICausationManager.d.ts.map +1 -1
  104. package/dist/auditing/index.d.ts +5 -5
  105. package/dist/auditing/index.d.ts.map +1 -1
  106. package/dist/auditing/index.js +4 -4
  107. package/dist/auditing/index.js.map +1 -1
  108. package/dist/compliance/ComplianceContracts.d.ts +5 -5
  109. package/dist/compliance/ComplianceContracts.d.ts.map +1 -1
  110. package/dist/compliance/ComplianceContracts.js.map +1 -1
  111. package/dist/compliance/ComplianceMetadata.d.ts +1 -1
  112. package/dist/compliance/ComplianceMetadata.d.ts.map +1 -1
  113. package/dist/compliance/ComplianceMetadataResolver.d.ts +1 -1
  114. package/dist/compliance/ComplianceMetadataResolver.d.ts.map +1 -1
  115. package/dist/compliance/ComplianceMetadataResolver.js +1 -1
  116. package/dist/compliance/ComplianceMetadataResolver.js.map +1 -1
  117. package/dist/compliance/ComplianceMetadataType.d.ts.map +1 -1
  118. package/dist/compliance/ComplianceMetadataType.js.map +1 -1
  119. package/dist/compliance/PIIManager.d.ts +2 -2
  120. package/dist/compliance/PIIManager.d.ts.map +1 -1
  121. package/dist/compliance/PIIManager.js.map +1 -1
  122. package/dist/compliance/PIINotSupportedOnEventSourceId.d.ts.map +1 -1
  123. package/dist/compliance/index.d.ts +8 -8
  124. package/dist/compliance/index.d.ts.map +1 -1
  125. package/dist/compliance/index.js +6 -6
  126. package/dist/compliance/index.js.map +1 -1
  127. package/dist/compliance/pii.d.ts +3 -2
  128. package/dist/compliance/pii.d.ts.map +1 -1
  129. package/dist/compliance/pii.js +9 -8
  130. package/dist/compliance/pii.js.map +1 -1
  131. package/dist/compliance/subject.d.ts +2 -1
  132. package/dist/compliance/subject.d.ts.map +1 -1
  133. package/dist/compliance/subject.js +6 -5
  134. package/dist/compliance/subject.js.map +1 -1
  135. package/dist/confidentiality/EncryptedNotSupportedOnEventSourceId.d.ts.map +1 -1
  136. package/dist/confidentiality/PIIAndEncryptedCombinedNotSupported.d.ts.map +1 -1
  137. package/dist/confidentiality/SecurityMetadata.d.ts +1 -1
  138. package/dist/confidentiality/SecurityMetadata.d.ts.map +1 -1
  139. package/dist/confidentiality/SecurityMetadataResolver.d.ts +1 -1
  140. package/dist/confidentiality/SecurityMetadataResolver.d.ts.map +1 -1
  141. package/dist/confidentiality/SecurityMetadataResolver.js +1 -1
  142. package/dist/confidentiality/SecurityMetadataResolver.js.map +1 -1
  143. package/dist/confidentiality/SecurityMetadataType.d.ts.map +1 -1
  144. package/dist/confidentiality/SecurityMetadataType.js.map +1 -1
  145. package/dist/confidentiality/encrypted.d.ts +4 -3
  146. package/dist/confidentiality/encrypted.d.ts.map +1 -1
  147. package/dist/confidentiality/encrypted.js +10 -9
  148. package/dist/confidentiality/encrypted.js.map +1 -1
  149. package/dist/confidentiality/index.d.ts +7 -7
  150. package/dist/confidentiality/index.d.ts.map +1 -1
  151. package/dist/confidentiality/index.js +6 -6
  152. package/dist/confidentiality/index.js.map +1 -1
  153. package/dist/connection/ChronicleConnection.d.ts +5 -5
  154. package/dist/connection/ChronicleConnection.d.ts.map +1 -1
  155. package/dist/connection/ChronicleConnection.js +9 -9
  156. package/dist/connection/ChronicleConnection.js.map +1 -1
  157. package/dist/connection/ChronicleConnectionString.d.ts +1 -1
  158. package/dist/connection/ChronicleConnectionString.d.ts.map +1 -1
  159. package/dist/connection/ChronicleConnectionString.js +2 -2
  160. package/dist/connection/ChronicleConnectionString.js.map +1 -1
  161. package/dist/connection/ChronicleServerAddressResolver.d.ts +2 -2
  162. package/dist/connection/ChronicleServerAddressResolver.d.ts.map +1 -1
  163. package/dist/connection/ChronicleServerAddressResolver.js +1 -1
  164. package/dist/connection/ChronicleServerAddressResolver.js.map +1 -1
  165. package/dist/connection/ChronicleServices.d.ts +3 -3
  166. package/dist/connection/ChronicleServices.d.ts.map +1 -1
  167. package/dist/connection/ChronicleSrvResolutionError.d.ts.map +1 -1
  168. package/dist/connection/ChronicleSrvResolver.d.ts +1 -1
  169. package/dist/connection/ChronicleSrvResolver.d.ts.map +1 -1
  170. package/dist/connection/ChronicleSrvResolver.js +1 -1
  171. package/dist/connection/ChronicleSrvResolver.js.map +1 -1
  172. package/dist/connection/CompatibilityPreflight.d.ts.map +1 -1
  173. package/dist/connection/CompatibilityPreflight.js +1 -1
  174. package/dist/connection/CompatibilityPreflight.js.map +1 -1
  175. package/dist/connection/ConnectionLifecycle.d.ts.map +1 -1
  176. package/dist/connection/ILoadBalancerStrategy.d.ts +1 -1
  177. package/dist/connection/ILoadBalancerStrategy.d.ts.map +1 -1
  178. package/dist/connection/IncompatibleChronicleServer.d.ts.map +1 -1
  179. package/dist/connection/KernelKeepAlive.d.ts.map +1 -1
  180. package/dist/connection/KernelKeepAlive.js.map +1 -1
  181. package/dist/connection/LeastConnectionsLoadBalancerStrategy.d.ts +2 -2
  182. package/dist/connection/LeastConnectionsLoadBalancerStrategy.d.ts.map +1 -1
  183. package/dist/connection/LeastConnectionsLoadBalancerStrategy.js +1 -1
  184. package/dist/connection/LeastConnectionsLoadBalancerStrategy.js.map +1 -1
  185. package/dist/connection/LoadBalancerStrategyFactory.d.ts +2 -2
  186. package/dist/connection/LoadBalancerStrategyFactory.d.ts.map +1 -1
  187. package/dist/connection/LoadBalancerStrategyFactory.js +4 -4
  188. package/dist/connection/LoadBalancerStrategyFactory.js.map +1 -1
  189. package/dist/connection/RandomLoadBalancerStrategy.d.ts +2 -2
  190. package/dist/connection/RandomLoadBalancerStrategy.d.ts.map +1 -1
  191. package/dist/connection/RoundRobinLoadBalancerStrategy.d.ts +2 -2
  192. package/dist/connection/RoundRobinLoadBalancerStrategy.d.ts.map +1 -1
  193. package/dist/connection/TokenProvider.d.ts +1 -1
  194. package/dist/connection/TokenProvider.d.ts.map +1 -1
  195. package/dist/connection/TokenProvider.js +1 -1
  196. package/dist/connection/TokenProvider.js.map +1 -1
  197. package/dist/connection/callResults.d.ts.map +1 -1
  198. package/dist/connection/formatServerAddress.d.ts +1 -1
  199. package/dist/connection/formatServerAddress.d.ts.map +1 -1
  200. package/dist/connection/index.d.ts +6 -6
  201. package/dist/connection/index.d.ts.map +1 -1
  202. package/dist/connection/index.js +4 -4
  203. package/dist/connection/index.js.map +1 -1
  204. package/dist/correlation/CorrelationId.d.ts.map +1 -1
  205. package/dist/correlation/CorrelationId.js.map +1 -1
  206. package/dist/correlation/CorrelationIdManager.d.ts +3 -3
  207. package/dist/correlation/CorrelationIdManager.d.ts.map +1 -1
  208. package/dist/correlation/CorrelationIdManager.js +1 -1
  209. package/dist/correlation/CorrelationIdManager.js.map +1 -1
  210. package/dist/correlation/ICorrelationIdAccessor.d.ts +1 -1
  211. package/dist/correlation/ICorrelationIdAccessor.d.ts.map +1 -1
  212. package/dist/correlation/ICorrelationIdSetter.d.ts +1 -1
  213. package/dist/correlation/ICorrelationIdSetter.d.ts.map +1 -1
  214. package/dist/correlation/index.d.ts +5 -5
  215. package/dist/correlation/index.d.ts.map +1 -1
  216. package/dist/correlation/index.js +3 -3
  217. package/dist/correlation/index.js.map +1 -1
  218. package/dist/eventSequences/AppendOperationsBroadcaster.d.ts.map +1 -1
  219. package/dist/eventSequences/AppendOptions.d.ts +2 -2
  220. package/dist/eventSequences/AppendOptions.d.ts.map +1 -1
  221. package/dist/eventSequences/AppendResult.d.ts +5 -5
  222. package/dist/eventSequences/AppendResult.d.ts.map +1 -1
  223. package/dist/eventSequences/AppendedEventWithResult.d.ts +2 -2
  224. package/dist/eventSequences/AppendedEventWithResult.d.ts.map +1 -1
  225. package/dist/eventSequences/CompleteStreamResult.d.ts +2 -2
  226. package/dist/eventSequences/CompleteStreamResult.d.ts.map +1 -1
  227. package/dist/eventSequences/ConcurrencyScope.d.ts +1 -1
  228. package/dist/eventSequences/ConcurrencyScope.d.ts.map +1 -1
  229. package/dist/eventSequences/ConcurrencyViolation.d.ts +1 -1
  230. package/dist/eventSequences/ConcurrencyViolation.d.ts.map +1 -1
  231. package/dist/eventSequences/EventForEventSourceId.d.ts +1 -1
  232. package/dist/eventSequences/EventForEventSourceId.d.ts.map +1 -1
  233. package/dist/eventSequences/EventLog.d.ts +4 -4
  234. package/dist/eventSequences/EventLog.d.ts.map +1 -1
  235. package/dist/eventSequences/EventLog.js +2 -2
  236. package/dist/eventSequences/EventLog.js.map +1 -1
  237. package/dist/eventSequences/EventSequence.d.ts +13 -13
  238. package/dist/eventSequences/EventSequence.d.ts.map +1 -1
  239. package/dist/eventSequences/EventSequence.js +30 -20
  240. package/dist/eventSequences/EventSequence.js.map +1 -1
  241. package/dist/eventSequences/EventSequenceId.d.ts.map +1 -1
  242. package/dist/eventSequences/EventSequenceId.js.map +1 -1
  243. package/dist/eventSequences/EventSequenceNumber.d.ts.map +1 -1
  244. package/dist/eventSequences/EventSequenceNumber.js.map +1 -1
  245. package/dist/eventSequences/IEventLog.d.ts +1 -1
  246. package/dist/eventSequences/IEventLog.d.ts.map +1 -1
  247. package/dist/eventSequences/IEventSequence.d.ts +9 -9
  248. package/dist/eventSequences/IEventSequence.d.ts.map +1 -1
  249. package/dist/eventSequences/ITransactionalEventSequence.d.ts +1 -1
  250. package/dist/eventSequences/ITransactionalEventSequence.d.ts.map +1 -1
  251. package/dist/eventSequences/TransactionalEventSequence.d.ts +4 -4
  252. package/dist/eventSequences/TransactionalEventSequence.d.ts.map +1 -1
  253. package/dist/eventSequences/TransactionalEventSequence.js.map +1 -1
  254. package/dist/eventSequences/WaitForCompletionResult.d.ts +1 -1
  255. package/dist/eventSequences/WaitForCompletionResult.d.ts.map +1 -1
  256. package/dist/eventSequences/index.d.ts +19 -19
  257. package/dist/eventSequences/index.d.ts.map +1 -1
  258. package/dist/eventSequences/index.js +6 -6
  259. package/dist/eventSequences/index.js.map +1 -1
  260. package/dist/eventStoreSubscriptions/EventStoreSubscriptionBuilder.d.ts +4 -4
  261. package/dist/eventStoreSubscriptions/EventStoreSubscriptionBuilder.d.ts.map +1 -1
  262. package/dist/eventStoreSubscriptions/EventStoreSubscriptionBuilder.js +2 -2
  263. package/dist/eventStoreSubscriptions/EventStoreSubscriptionBuilder.js.map +1 -1
  264. package/dist/eventStoreSubscriptions/EventStoreSubscriptionDefinition.d.ts +2 -2
  265. package/dist/eventStoreSubscriptions/EventStoreSubscriptionDefinition.d.ts.map +1 -1
  266. package/dist/eventStoreSubscriptions/EventStoreSubscriptionDefinition.js.map +1 -1
  267. package/dist/eventStoreSubscriptions/EventStoreSubscriptionId.d.ts.map +1 -1
  268. package/dist/eventStoreSubscriptions/EventStoreSubscriptionId.js.map +1 -1
  269. package/dist/eventStoreSubscriptions/EventStoreSubscriptions.d.ts +7 -7
  270. package/dist/eventStoreSubscriptions/EventStoreSubscriptions.d.ts.map +1 -1
  271. package/dist/eventStoreSubscriptions/EventStoreSubscriptions.js +4 -4
  272. package/dist/eventStoreSubscriptions/EventStoreSubscriptions.js.map +1 -1
  273. package/dist/eventStoreSubscriptions/IEventStoreSubscriptionBuilder.d.ts +2 -2
  274. package/dist/eventStoreSubscriptions/IEventStoreSubscriptionBuilder.d.ts.map +1 -1
  275. package/dist/eventStoreSubscriptions/IEventStoreSubscriptions.d.ts +4 -4
  276. package/dist/eventStoreSubscriptions/IEventStoreSubscriptions.d.ts.map +1 -1
  277. package/dist/eventStoreSubscriptions/contracts.d.ts +5 -5
  278. package/dist/eventStoreSubscriptions/contracts.d.ts.map +1 -1
  279. package/dist/eventStoreSubscriptions/contracts.js.map +1 -1
  280. package/dist/eventStoreSubscriptions/index.d.ts +6 -6
  281. package/dist/eventStoreSubscriptions/index.d.ts.map +1 -1
  282. package/dist/eventStoreSubscriptions/index.js +4 -4
  283. package/dist/eventStoreSubscriptions/index.js.map +1 -1
  284. package/dist/events/AppendedEvent.d.ts +2 -2
  285. package/dist/events/AppendedEvent.d.ts.map +1 -1
  286. package/dist/events/EventContext.d.ts +4 -4
  287. package/dist/events/EventContext.d.ts.map +1 -1
  288. package/dist/events/EventType.d.ts +2 -2
  289. package/dist/events/EventType.d.ts.map +1 -1
  290. package/dist/events/EventType.js +2 -2
  291. package/dist/events/EventType.js.map +1 -1
  292. package/dist/events/EventTypeGeneration.d.ts.map +1 -1
  293. package/dist/events/EventTypeGeneration.js.map +1 -1
  294. package/dist/events/EventTypeId.d.ts.map +1 -1
  295. package/dist/events/EventTypeId.js.map +1 -1
  296. package/dist/events/EventTypes.d.ts +4 -4
  297. package/dist/events/EventTypes.d.ts.map +1 -1
  298. package/dist/events/EventTypes.js +5 -5
  299. package/dist/events/EventTypes.js.map +1 -1
  300. package/dist/events/IEventTypes.d.ts +1 -1
  301. package/dist/events/IEventTypes.d.ts.map +1 -1
  302. package/dist/events/Tag.d.ts.map +1 -1
  303. package/dist/events/Tag.js.map +1 -1
  304. package/dist/events/constraints/ConstraintBuilder.d.ts +3 -3
  305. package/dist/events/constraints/ConstraintBuilder.d.ts.map +1 -1
  306. package/dist/events/constraints/ConstraintBuilder.js +2 -2
  307. package/dist/events/constraints/ConstraintBuilder.js.map +1 -1
  308. package/dist/events/constraints/ConstraintId.d.ts.map +1 -1
  309. package/dist/events/constraints/ConstraintId.js.map +1 -1
  310. package/dist/events/constraints/Constraints.d.ts +4 -4
  311. package/dist/events/constraints/Constraints.d.ts.map +1 -1
  312. package/dist/events/constraints/Constraints.js +2 -2
  313. package/dist/events/constraints/Constraints.js.map +1 -1
  314. package/dist/events/constraints/IConstraint.d.ts +1 -1
  315. package/dist/events/constraints/IConstraint.d.ts.map +1 -1
  316. package/dist/events/constraints/IConstraintBuilder.d.ts +1 -1
  317. package/dist/events/constraints/IConstraintBuilder.d.ts.map +1 -1
  318. package/dist/events/constraints/IConstraints.d.ts +1 -1
  319. package/dist/events/constraints/IConstraints.d.ts.map +1 -1
  320. package/dist/events/constraints/UniqueConstraintBuilder.d.ts +1 -1
  321. package/dist/events/constraints/UniqueConstraintBuilder.d.ts.map +1 -1
  322. package/dist/events/constraints/UniqueConstraintBuilder.js +1 -1
  323. package/dist/events/constraints/UniqueConstraintBuilder.js.map +1 -1
  324. package/dist/events/constraints/constraint.d.ts +1 -1
  325. package/dist/events/constraints/constraint.d.ts.map +1 -1
  326. package/dist/events/constraints/constraint.js +2 -2
  327. package/dist/events/constraints/constraint.js.map +1 -1
  328. package/dist/events/constraints/index.d.ts +12 -12
  329. package/dist/events/constraints/index.d.ts.map +1 -1
  330. package/dist/events/constraints/index.js +5 -5
  331. package/dist/events/constraints/index.js.map +1 -1
  332. package/dist/events/eventTypeDecorator.d.ts +10 -9
  333. package/dist/events/eventTypeDecorator.d.ts.map +1 -1
  334. package/dist/events/eventTypeDecorator.js +27 -10
  335. package/dist/events/eventTypeDecorator.js.map +1 -1
  336. package/dist/events/filterEventsByTagDecorator.d.ts +1 -1
  337. package/dist/events/filterEventsByTagDecorator.d.ts.map +1 -1
  338. package/dist/events/filterEventsByTagDecorator.js +2 -2
  339. package/dist/events/filterEventsByTagDecorator.js.map +1 -1
  340. package/dist/events/index.d.ts +17 -16
  341. package/dist/events/index.d.ts.map +1 -1
  342. package/dist/events/index.js +12 -11
  343. package/dist/events/index.js.map +1 -1
  344. package/dist/events/mergeTags.d.ts +1 -1
  345. package/dist/events/mergeTags.d.ts.map +1 -1
  346. package/dist/events/migrations/EventMigrationBuilder.d.ts +2 -2
  347. package/dist/events/migrations/EventMigrationBuilder.d.ts.map +1 -1
  348. package/dist/events/migrations/EventMigrationBuilder.js +1 -1
  349. package/dist/events/migrations/EventMigrationBuilder.js.map +1 -1
  350. package/dist/events/migrations/EventMigrationPropertyBuilder.d.ts +1 -1
  351. package/dist/events/migrations/EventMigrationPropertyBuilder.d.ts.map +1 -1
  352. package/dist/events/migrations/EventTypeMigrators.d.ts +2 -2
  353. package/dist/events/migrations/EventTypeMigrators.d.ts.map +1 -1
  354. package/dist/events/migrations/EventTypeMigrators.js +2 -2
  355. package/dist/events/migrations/EventTypeMigrators.js.map +1 -1
  356. package/dist/events/migrations/IEventMigrationBuilder.d.ts +1 -1
  357. package/dist/events/migrations/IEventMigrationBuilder.d.ts.map +1 -1
  358. package/dist/events/migrations/IEventTypeMigration.d.ts +1 -1
  359. package/dist/events/migrations/IEventTypeMigration.d.ts.map +1 -1
  360. package/dist/events/migrations/InvalidMigrationGenerationGap.d.ts.map +1 -1
  361. package/dist/events/migrations/eventTypeMigration.d.ts +1 -1
  362. package/dist/events/migrations/eventTypeMigration.d.ts.map +1 -1
  363. package/dist/events/migrations/eventTypeMigration.js +3 -3
  364. package/dist/events/migrations/eventTypeMigration.js.map +1 -1
  365. package/dist/events/migrations/index.d.ts +10 -10
  366. package/dist/events/migrations/index.d.ts.map +1 -1
  367. package/dist/events/migrations/index.js +5 -5
  368. package/dist/events/migrations/index.js.map +1 -1
  369. package/dist/events/tagDecorator.d.ts +1 -1
  370. package/dist/events/tagDecorator.d.ts.map +1 -1
  371. package/dist/events/tagDecorator.js +2 -2
  372. package/dist/events/tagDecorator.js.map +1 -1
  373. package/dist/events/toClientEventContext.d.ts +2 -2
  374. package/dist/events/toClientEventContext.d.ts.map +1 -1
  375. package/dist/events/toClientEventContext.js +6 -6
  376. package/dist/events/toClientEventContext.js.map +1 -1
  377. package/dist/externalServices/ExternalServiceBuilder.d.ts +2 -2
  378. package/dist/externalServices/ExternalServiceBuilder.d.ts.map +1 -1
  379. package/dist/externalServices/ExternalServiceBuilder.js +1 -1
  380. package/dist/externalServices/ExternalServiceBuilder.js.map +1 -1
  381. package/dist/externalServices/ExternalServices.d.ts +3 -3
  382. package/dist/externalServices/ExternalServices.d.ts.map +1 -1
  383. package/dist/externalServices/ExternalServices.js +1 -1
  384. package/dist/externalServices/ExternalServices.js.map +1 -1
  385. package/dist/externalServices/ExternalServicesContracts.d.ts +3 -3
  386. package/dist/externalServices/ExternalServicesContracts.d.ts.map +1 -1
  387. package/dist/externalServices/ExternalServicesContracts.js.map +1 -1
  388. package/dist/externalServices/IExternalServices.d.ts +1 -1
  389. package/dist/externalServices/IExternalServices.d.ts.map +1 -1
  390. package/dist/externalServices/index.d.ts +4 -4
  391. package/dist/externalServices/index.d.ts.map +1 -1
  392. package/dist/externalServices/index.js +2 -2
  393. package/dist/externalServices/index.js.map +1 -1
  394. package/dist/identities/IdentityManager.d.ts +2 -2
  395. package/dist/identities/IdentityManager.d.ts.map +1 -1
  396. package/dist/identities/IdentityManager.js.map +1 -1
  397. package/dist/identities/index.d.ts +2 -2
  398. package/dist/identities/index.d.ts.map +1 -1
  399. package/dist/identities/index.js +1 -1
  400. package/dist/identities/index.js.map +1 -1
  401. package/dist/identity/IIdentityProvider.d.ts +1 -1
  402. package/dist/identity/IIdentityProvider.d.ts.map +1 -1
  403. package/dist/identity/Identity.d.ts.map +1 -1
  404. package/dist/identity/Identity.js.map +1 -1
  405. package/dist/identity/IdentityProvider.d.ts +2 -2
  406. package/dist/identity/IdentityProvider.d.ts.map +1 -1
  407. package/dist/identity/IdentityProvider.js +1 -1
  408. package/dist/identity/IdentityProvider.js.map +1 -1
  409. package/dist/identity/index.d.ts +4 -4
  410. package/dist/identity/index.d.ts.map +1 -1
  411. package/dist/identity/index.js +3 -3
  412. package/dist/identity/index.js.map +1 -1
  413. package/dist/index.d.ts +56 -56
  414. package/dist/index.d.ts.map +1 -1
  415. package/dist/index.js +54 -54
  416. package/dist/index.js.map +1 -1
  417. package/dist/jobs/IJobs.d.ts +1 -1
  418. package/dist/jobs/IJobs.d.ts.map +1 -1
  419. package/dist/jobs/JobId.d.ts.map +1 -1
  420. package/dist/jobs/JobId.js.map +1 -1
  421. package/dist/jobs/Jobs.d.ts +3 -3
  422. package/dist/jobs/Jobs.d.ts.map +1 -1
  423. package/dist/jobs/Jobs.js +3 -3
  424. package/dist/jobs/Jobs.js.map +1 -1
  425. package/dist/jobs/index.d.ts +3 -3
  426. package/dist/jobs/index.d.ts.map +1 -1
  427. package/dist/jobs/index.js +2 -2
  428. package/dist/jobs/index.js.map +1 -1
  429. package/dist/observation/FailedPartition.d.ts +1 -1
  430. package/dist/observation/FailedPartition.d.ts.map +1 -1
  431. package/dist/observation/FailedPartitionAttempt.d.ts +1 -1
  432. package/dist/observation/FailedPartitionAttempt.d.ts.map +1 -1
  433. package/dist/observation/FailedPartitions.d.ts +3 -3
  434. package/dist/observation/FailedPartitions.d.ts.map +1 -1
  435. package/dist/observation/FailedPartitions.js +1 -1
  436. package/dist/observation/FailedPartitions.js.map +1 -1
  437. package/dist/observation/IFailedPartitions.d.ts +1 -1
  438. package/dist/observation/IFailedPartitions.d.ts.map +1 -1
  439. package/dist/observation/ObserverId.d.ts.map +1 -1
  440. package/dist/observation/ObserverId.js.map +1 -1
  441. package/dist/observation/index.d.ts +9 -9
  442. package/dist/observation/index.d.ts.map +1 -1
  443. package/dist/observation/index.js +4 -4
  444. package/dist/observation/index.js.map +1 -1
  445. package/dist/observation/toClientFailedPartition.d.ts +1 -1
  446. package/dist/observation/toClientFailedPartition.d.ts.map +1 -1
  447. package/dist/observation/toClientFailedPartition.js +2 -2
  448. package/dist/observation/toClientFailedPartition.js.map +1 -1
  449. package/dist/observation/toObserverRunningState.d.ts +1 -1
  450. package/dist/observation/toObserverRunningState.d.ts.map +1 -1
  451. package/dist/observation/toObserverRunningState.js +1 -1
  452. package/dist/observation/toObserverRunningState.js.map +1 -1
  453. package/dist/projections/GlobalHandlerPropertyNotOnVariant.d.ts.map +1 -1
  454. package/dist/projections/IProjections.d.ts +5 -5
  455. package/dist/projections/IProjections.d.ts.map +1 -1
  456. package/dist/projections/ProjectionId.d.ts.map +1 -1
  457. package/dist/projections/ProjectionId.js.map +1 -1
  458. package/dist/projections/ProjectionState.d.ts +2 -2
  459. package/dist/projections/ProjectionState.d.ts.map +1 -1
  460. package/dist/projections/Projections.d.ts +8 -8
  461. package/dist/projections/Projections.d.ts.map +1 -1
  462. package/dist/projections/Projections.js +31 -31
  463. package/dist/projections/Projections.js.map +1 -1
  464. package/dist/projections/UnableToQueryProjection.d.ts.map +1 -1
  465. package/dist/projections/VariantMustDeclareEntersOnEvent.d.ts.map +1 -1
  466. package/dist/projections/VariantReclassifier.d.ts +1 -1
  467. package/dist/projections/VariantReclassifier.d.ts.map +1 -1
  468. package/dist/projections/VariantReclassifier.js +2 -2
  469. package/dist/projections/VariantReclassifier.js.map +1 -1
  470. package/dist/projections/declarative/AddBuilder.d.ts +1 -1
  471. package/dist/projections/declarative/AddBuilder.d.ts.map +1 -1
  472. package/dist/projections/declarative/AddBuilder.js.map +1 -1
  473. package/dist/projections/declarative/AddChildBuilder.d.ts +1 -1
  474. package/dist/projections/declarative/AddChildBuilder.d.ts.map +1 -1
  475. package/dist/projections/declarative/AllSetBuilder.d.ts +1 -1
  476. package/dist/projections/declarative/AllSetBuilder.d.ts.map +1 -1
  477. package/dist/projections/declarative/AllSetBuilder.js.map +1 -1
  478. package/dist/projections/declarative/ChildrenBuilder.d.ts +3 -3
  479. package/dist/projections/declarative/ChildrenBuilder.d.ts.map +1 -1
  480. package/dist/projections/declarative/ChildrenBuilder.js +2 -2
  481. package/dist/projections/declarative/ChildrenBuilder.js.map +1 -1
  482. package/dist/projections/declarative/CompositeKeyBuilder.d.ts +1 -1
  483. package/dist/projections/declarative/CompositeKeyBuilder.d.ts.map +1 -1
  484. package/dist/projections/declarative/FromBuilder.d.ts +7 -7
  485. package/dist/projections/declarative/FromBuilder.d.ts.map +1 -1
  486. package/dist/projections/declarative/FromBuilder.js +5 -5
  487. package/dist/projections/declarative/FromBuilder.js.map +1 -1
  488. package/dist/projections/declarative/FromEveryBuilder.d.ts +2 -2
  489. package/dist/projections/declarative/FromEveryBuilder.d.ts.map +1 -1
  490. package/dist/projections/declarative/FromEveryBuilder.js +1 -1
  491. package/dist/projections/declarative/FromEveryBuilder.js.map +1 -1
  492. package/dist/projections/declarative/IChildrenBuilder.d.ts +1 -1
  493. package/dist/projections/declarative/IChildrenBuilder.d.ts.map +1 -1
  494. package/dist/projections/declarative/IFromBuilder.d.ts +1 -1
  495. package/dist/projections/declarative/IFromBuilder.d.ts.map +1 -1
  496. package/dist/projections/declarative/IFromEveryBuilder.d.ts +1 -1
  497. package/dist/projections/declarative/IFromEveryBuilder.d.ts.map +1 -1
  498. package/dist/projections/declarative/IJoinBuilder.d.ts +1 -1
  499. package/dist/projections/declarative/IJoinBuilder.d.ts.map +1 -1
  500. package/dist/projections/declarative/INestedBuilder.d.ts +1 -1
  501. package/dist/projections/declarative/INestedBuilder.d.ts.map +1 -1
  502. package/dist/projections/declarative/IProjectionBuilder.d.ts +7 -7
  503. package/dist/projections/declarative/IProjectionBuilder.d.ts.map +1 -1
  504. package/dist/projections/declarative/IProjectionBuilderFor.d.ts +1 -1
  505. package/dist/projections/declarative/IProjectionBuilderFor.d.ts.map +1 -1
  506. package/dist/projections/declarative/IProjectionFor.d.ts +1 -1
  507. package/dist/projections/declarative/IProjectionFor.d.ts.map +1 -1
  508. package/dist/projections/declarative/IReadModelPropertiesBuilder.d.ts +5 -5
  509. package/dist/projections/declarative/IReadModelPropertiesBuilder.d.ts.map +1 -1
  510. package/dist/projections/declarative/JoinBuilder.d.ts +7 -7
  511. package/dist/projections/declarative/JoinBuilder.d.ts.map +1 -1
  512. package/dist/projections/declarative/JoinBuilder.js +5 -5
  513. package/dist/projections/declarative/JoinBuilder.js.map +1 -1
  514. package/dist/projections/declarative/NestedBuilder.d.ts +3 -3
  515. package/dist/projections/declarative/NestedBuilder.d.ts.map +1 -1
  516. package/dist/projections/declarative/NestedBuilder.js +2 -2
  517. package/dist/projections/declarative/NestedBuilder.js.map +1 -1
  518. package/dist/projections/declarative/ProjectionBuilderCore.d.ts +5 -5
  519. package/dist/projections/declarative/ProjectionBuilderCore.d.ts.map +1 -1
  520. package/dist/projections/declarative/ProjectionBuilderCore.js +6 -6
  521. package/dist/projections/declarative/ProjectionBuilderCore.js.map +1 -1
  522. package/dist/projections/declarative/ProjectionBuilderFor.d.ts +4 -4
  523. package/dist/projections/declarative/ProjectionBuilderFor.d.ts.map +1 -1
  524. package/dist/projections/declarative/ProjectionBuilderFor.js +4 -4
  525. package/dist/projections/declarative/ProjectionBuilderFor.js.map +1 -1
  526. package/dist/projections/declarative/RemovedWithBuilder.d.ts +1 -1
  527. package/dist/projections/declarative/RemovedWithBuilder.d.ts.map +1 -1
  528. package/dist/projections/declarative/RemovedWithJoinBuilder.d.ts +1 -1
  529. package/dist/projections/declarative/RemovedWithJoinBuilder.d.ts.map +1 -1
  530. package/dist/projections/declarative/SetBuilder.d.ts +1 -1
  531. package/dist/projections/declarative/SetBuilder.d.ts.map +1 -1
  532. package/dist/projections/declarative/SetBuilder.js.map +1 -1
  533. package/dist/projections/declarative/SubtractBuilder.d.ts +1 -1
  534. package/dist/projections/declarative/SubtractBuilder.d.ts.map +1 -1
  535. package/dist/projections/declarative/SubtractBuilder.js.map +1 -1
  536. package/dist/projections/declarative/index.d.ts +32 -32
  537. package/dist/projections/declarative/index.d.ts.map +1 -1
  538. package/dist/projections/declarative/index.js +13 -13
  539. package/dist/projections/declarative/index.js.map +1 -1
  540. package/dist/projections/declarative/projection.d.ts +1 -1
  541. package/dist/projections/declarative/projection.d.ts.map +1 -1
  542. package/dist/projections/declarative/projection.js +2 -2
  543. package/dist/projections/declarative/projection.js.map +1 -1
  544. package/dist/projections/index.d.ts +10 -10
  545. package/dist/projections/index.d.ts.map +1 -1
  546. package/dist/projections/index.js +7 -7
  547. package/dist/projections/index.js.map +1 -1
  548. package/dist/projections/modelBound/FromEventMetadata.d.ts +1 -1
  549. package/dist/projections/modelBound/FromEventMetadata.d.ts.map +1 -1
  550. package/dist/projections/modelBound/addFrom.d.ts +2 -1
  551. package/dist/projections/modelBound/addFrom.d.ts.map +1 -1
  552. package/dist/projections/modelBound/addFrom.js +5 -4
  553. package/dist/projections/modelBound/addFrom.js.map +1 -1
  554. package/dist/projections/modelBound/childrenAndNestedBuilder.d.ts +1 -1
  555. package/dist/projections/modelBound/childrenAndNestedBuilder.d.ts.map +1 -1
  556. package/dist/projections/modelBound/childrenAndNestedBuilder.js +16 -16
  557. package/dist/projections/modelBound/childrenAndNestedBuilder.js.map +1 -1
  558. package/dist/projections/modelBound/childrenFrom.d.ts +2 -1
  559. package/dist/projections/modelBound/childrenFrom.d.ts.map +1 -1
  560. package/dist/projections/modelBound/childrenFrom.js +5 -4
  561. package/dist/projections/modelBound/childrenFrom.js.map +1 -1
  562. package/dist/projections/modelBound/clearWith.d.ts +2 -1
  563. package/dist/projections/modelBound/clearWith.d.ts.map +1 -1
  564. package/dist/projections/modelBound/clearWith.js +5 -4
  565. package/dist/projections/modelBound/clearWith.js.map +1 -1
  566. package/dist/projections/modelBound/count.d.ts +2 -1
  567. package/dist/projections/modelBound/count.d.ts.map +1 -1
  568. package/dist/projections/modelBound/count.js +5 -4
  569. package/dist/projections/modelBound/count.js.map +1 -1
  570. package/dist/projections/modelBound/decrement.d.ts +2 -1
  571. package/dist/projections/modelBound/decrement.d.ts.map +1 -1
  572. package/dist/projections/modelBound/decrement.js +5 -4
  573. package/dist/projections/modelBound/decrement.js.map +1 -1
  574. package/dist/projections/modelBound/eventSequence.js +1 -1
  575. package/dist/projections/modelBound/eventSequence.js.map +1 -1
  576. package/dist/projections/modelBound/fromAll.d.ts +2 -1
  577. package/dist/projections/modelBound/fromAll.d.ts.map +1 -1
  578. package/dist/projections/modelBound/fromAll.js +5 -4
  579. package/dist/projections/modelBound/fromAll.js.map +1 -1
  580. package/dist/projections/modelBound/fromEvent.d.ts +2 -2
  581. package/dist/projections/modelBound/fromEvent.d.ts.map +1 -1
  582. package/dist/projections/modelBound/fromEvery.d.ts +2 -1
  583. package/dist/projections/modelBound/fromEvery.d.ts.map +1 -1
  584. package/dist/projections/modelBound/fromEvery.js +5 -4
  585. package/dist/projections/modelBound/fromEvery.js.map +1 -1
  586. package/dist/projections/modelBound/globalFor.js +1 -1
  587. package/dist/projections/modelBound/globalFor.js.map +1 -1
  588. package/dist/projections/modelBound/increment.d.ts +2 -1
  589. package/dist/projections/modelBound/increment.d.ts.map +1 -1
  590. package/dist/projections/modelBound/increment.js +5 -4
  591. package/dist/projections/modelBound/increment.js.map +1 -1
  592. package/dist/projections/modelBound/index.d.ts +44 -44
  593. package/dist/projections/modelBound/index.d.ts.map +1 -1
  594. package/dist/projections/modelBound/index.js +24 -24
  595. package/dist/projections/modelBound/index.js.map +1 -1
  596. package/dist/projections/modelBound/join.d.ts +2 -1
  597. package/dist/projections/modelBound/join.d.ts.map +1 -1
  598. package/dist/projections/modelBound/join.js +5 -4
  599. package/dist/projections/modelBound/join.js.map +1 -1
  600. package/dist/projections/modelBound/nested.d.ts +1 -6
  601. package/dist/projections/modelBound/nested.d.ts.map +1 -1
  602. package/dist/projections/modelBound/nested.js +7 -3
  603. package/dist/projections/modelBound/nested.js.map +1 -1
  604. package/dist/projections/modelBound/noAutoMap.d.ts +4 -11
  605. package/dist/projections/modelBound/noAutoMap.d.ts.map +1 -1
  606. package/dist/projections/modelBound/noAutoMap.js +7 -3
  607. package/dist/projections/modelBound/noAutoMap.js.map +1 -1
  608. package/dist/projections/modelBound/removedWith.d.ts +2 -1
  609. package/dist/projections/modelBound/removedWith.d.ts.map +1 -1
  610. package/dist/projections/modelBound/removedWith.js +5 -4
  611. package/dist/projections/modelBound/removedWith.js.map +1 -1
  612. package/dist/projections/modelBound/removedWithJoin.d.ts +2 -1
  613. package/dist/projections/modelBound/removedWithJoin.d.ts.map +1 -1
  614. package/dist/projections/modelBound/removedWithJoin.js +5 -4
  615. package/dist/projections/modelBound/removedWithJoin.js.map +1 -1
  616. package/dist/projections/modelBound/setFrom.d.ts +2 -1
  617. package/dist/projections/modelBound/setFrom.d.ts.map +1 -1
  618. package/dist/projections/modelBound/setFrom.js +5 -4
  619. package/dist/projections/modelBound/setFrom.js.map +1 -1
  620. package/dist/projections/modelBound/setFromContext.d.ts +4 -3
  621. package/dist/projections/modelBound/setFromContext.d.ts.map +1 -1
  622. package/dist/projections/modelBound/setFromContext.js +5 -4
  623. package/dist/projections/modelBound/setFromContext.js.map +1 -1
  624. package/dist/projections/modelBound/setValue.d.ts +2 -1
  625. package/dist/projections/modelBound/setValue.d.ts.map +1 -1
  626. package/dist/projections/modelBound/setValue.js +5 -4
  627. package/dist/projections/modelBound/setValue.js.map +1 -1
  628. package/dist/projections/modelBound/subtractFrom.d.ts +2 -1
  629. package/dist/projections/modelBound/subtractFrom.d.ts.map +1 -1
  630. package/dist/projections/modelBound/subtractFrom.js +5 -4
  631. package/dist/projections/modelBound/subtractFrom.js.map +1 -1
  632. package/dist/reactors/ReactorId.d.ts.map +1 -1
  633. package/dist/reactors/ReactorId.js.map +1 -1
  634. package/dist/reactors/ReactorSideEffects.d.ts +1 -1
  635. package/dist/reactors/ReactorSideEffects.d.ts.map +1 -1
  636. package/dist/reactors/ReactorSideEffects.js +1 -1
  637. package/dist/reactors/ReactorSideEffects.js.map +1 -1
  638. package/dist/reactors/Reactors.d.ts +5 -5
  639. package/dist/reactors/Reactors.d.ts.map +1 -1
  640. package/dist/reactors/Reactors.js +8 -8
  641. package/dist/reactors/Reactors.js.map +1 -1
  642. package/dist/reactors/index.d.ts +5 -5
  643. package/dist/reactors/index.d.ts.map +1 -1
  644. package/dist/reactors/index.js +3 -3
  645. package/dist/reactors/index.js.map +1 -1
  646. package/dist/reactors/reactor.d.ts +1 -1
  647. package/dist/reactors/reactor.d.ts.map +1 -1
  648. package/dist/reactors/reactor.js +2 -2
  649. package/dist/reactors/reactor.js.map +1 -1
  650. package/dist/readModels/IReadModels.d.ts +3 -3
  651. package/dist/readModels/IReadModels.d.ts.map +1 -1
  652. package/dist/readModels/MaterializedReadModels.d.ts +2 -2
  653. package/dist/readModels/MaterializedReadModels.d.ts.map +1 -1
  654. package/dist/readModels/MaterializedReadModels.js +3 -3
  655. package/dist/readModels/MaterializedReadModels.js.map +1 -1
  656. package/dist/readModels/ReadModelId.d.ts.map +1 -1
  657. package/dist/readModels/ReadModelId.js.map +1 -1
  658. package/dist/readModels/ReadModelSubjectResolver.d.ts.map +1 -1
  659. package/dist/readModels/ReadModelSubjectResolver.js +1 -1
  660. package/dist/readModels/ReadModelSubjectResolver.js.map +1 -1
  661. package/dist/readModels/ReadModels.d.ts +6 -6
  662. package/dist/readModels/ReadModels.d.ts.map +1 -1
  663. package/dist/readModels/ReadModels.js +12 -12
  664. package/dist/readModels/ReadModels.js.map +1 -1
  665. package/dist/readModels/index.d.ts +10 -10
  666. package/dist/readModels/index.d.ts.map +1 -1
  667. package/dist/readModels/index.js +5 -5
  668. package/dist/readModels/index.js.map +1 -1
  669. package/dist/readModels/readModel.d.ts +4 -3
  670. package/dist/readModels/readModel.d.ts.map +1 -1
  671. package/dist/readModels/readModel.js +25 -8
  672. package/dist/readModels/readModel.js.map +1 -1
  673. package/dist/reducers/ReducerId.d.ts.map +1 -1
  674. package/dist/reducers/ReducerId.js.map +1 -1
  675. package/dist/reducers/Reducers.d.ts +4 -4
  676. package/dist/reducers/Reducers.d.ts.map +1 -1
  677. package/dist/reducers/Reducers.js +10 -10
  678. package/dist/reducers/Reducers.js.map +1 -1
  679. package/dist/reducers/index.d.ts +5 -5
  680. package/dist/reducers/index.d.ts.map +1 -1
  681. package/dist/reducers/index.js +3 -3
  682. package/dist/reducers/index.js.map +1 -1
  683. package/dist/reducers/reducer.d.ts +1 -1
  684. package/dist/reducers/reducer.d.ts.map +1 -1
  685. package/dist/reducers/reducer.js +2 -2
  686. package/dist/reducers/reducer.js.map +1 -1
  687. package/dist/schemas/JsonSchemaGenerator.d.ts +7 -2
  688. package/dist/schemas/JsonSchemaGenerator.d.ts.map +1 -1
  689. package/dist/schemas/JsonSchemaGenerator.js +45 -35
  690. package/dist/schemas/JsonSchemaGenerator.js.map +1 -1
  691. package/dist/schemas/createDeferredSchema.d.ts +7 -0
  692. package/dist/schemas/createDeferredSchema.d.ts.map +1 -0
  693. package/dist/schemas/createDeferredSchema.js +19 -0
  694. package/dist/schemas/createDeferredSchema.js.map +1 -0
  695. package/dist/schemas/index.d.ts +4 -3
  696. package/dist/schemas/index.d.ts.map +1 -1
  697. package/dist/schemas/index.js +2 -2
  698. package/dist/schemas/index.js.map +1 -1
  699. package/dist/schemas/jsonSchemaProperty.d.ts +2 -1
  700. package/dist/schemas/jsonSchemaProperty.d.ts.map +1 -1
  701. package/dist/schemas/jsonSchemaProperty.js +4 -3
  702. package/dist/schemas/jsonSchemaProperty.js.map +1 -1
  703. package/dist/seeding/EventSeeding.d.ts +6 -6
  704. package/dist/seeding/EventSeeding.d.ts.map +1 -1
  705. package/dist/seeding/EventSeeding.js +4 -4
  706. package/dist/seeding/EventSeeding.js.map +1 -1
  707. package/dist/seeding/ICanSeedEvents.d.ts +1 -1
  708. package/dist/seeding/ICanSeedEvents.d.ts.map +1 -1
  709. package/dist/seeding/IEventSeeding.d.ts +1 -1
  710. package/dist/seeding/IEventSeeding.d.ts.map +1 -1
  711. package/dist/seeding/IEventSeedingBuilder.d.ts +2 -2
  712. package/dist/seeding/IEventSeedingBuilder.d.ts.map +1 -1
  713. package/dist/seeding/index.d.ts +7 -7
  714. package/dist/seeding/index.d.ts.map +1 -1
  715. package/dist/seeding/index.js +2 -2
  716. package/dist/seeding/index.js.map +1 -1
  717. package/dist/seeding/seeder.js +1 -1
  718. package/dist/seeding/seeder.js.map +1 -1
  719. package/dist/sinks/WellKnownSinks.d.ts +4 -4
  720. package/dist/sinks/WellKnownSinks.d.ts.map +1 -1
  721. package/dist/sinks/index.d.ts +1 -1
  722. package/dist/sinks/index.d.ts.map +1 -1
  723. package/dist/sinks/index.js +1 -1
  724. package/dist/sinks/index.js.map +1 -1
  725. package/dist/transactions/IUnitOfWork.d.ts +5 -5
  726. package/dist/transactions/IUnitOfWork.d.ts.map +1 -1
  727. package/dist/transactions/IUnitOfWorkManager.d.ts +1 -1
  728. package/dist/transactions/IUnitOfWorkManager.d.ts.map +1 -1
  729. package/dist/transactions/NoUnitOfWorkHasBeenStarted.d.ts.map +1 -1
  730. package/dist/transactions/UnitOfWork.d.ts +7 -7
  731. package/dist/transactions/UnitOfWork.d.ts.map +1 -1
  732. package/dist/transactions/UnitOfWork.js +1 -1
  733. package/dist/transactions/UnitOfWork.js.map +1 -1
  734. package/dist/transactions/UnitOfWorkManager.d.ts +3 -3
  735. package/dist/transactions/UnitOfWorkManager.d.ts.map +1 -1
  736. package/dist/transactions/UnitOfWorkManager.js +2 -2
  737. package/dist/transactions/UnitOfWorkManager.js.map +1 -1
  738. package/dist/transactions/index.d.ts +5 -5
  739. package/dist/transactions/index.d.ts.map +1 -1
  740. package/dist/transactions/index.js +3 -3
  741. package/dist/transactions/index.js.map +1 -1
  742. package/dist/tsconfig.tsbuildinfo +1 -1
  743. package/dist/types/TypeDiscoverer.d.ts +1 -1
  744. package/dist/types/TypeDiscoverer.d.ts.map +1 -1
  745. package/dist/types/TypeDiscoverer.js.map +1 -1
  746. package/dist/types/TypeIntrospector.d.ts.map +1 -1
  747. package/dist/types/TypeIntrospector.js +9 -3
  748. package/dist/types/TypeIntrospector.js.map +1 -1
  749. package/dist/types/index.d.ts +5 -3
  750. package/dist/types/index.d.ts.map +1 -1
  751. package/dist/types/index.js +3 -3
  752. package/dist/types/index.js.map +1 -1
  753. package/dist/types/propertyDecoratorMetadata.d.ts +17 -0
  754. package/dist/types/propertyDecoratorMetadata.d.ts.map +1 -0
  755. package/dist/types/propertyDecoratorMetadata.js +76 -0
  756. package/dist/types/propertyDecoratorMetadata.js.map +1 -0
  757. package/dist/types/standardDecoratorMetadata.d.ts +9 -0
  758. package/dist/types/standardDecoratorMetadata.d.ts.map +1 -0
  759. package/dist/types/standardDecoratorMetadata.js +20 -0
  760. package/dist/types/standardDecoratorMetadata.js.map +1 -0
  761. package/dist/webhooks/IWebhook.d.ts +1 -1
  762. package/dist/webhooks/IWebhook.d.ts.map +1 -1
  763. package/dist/webhooks/IWebhookDefinitionBuilder.d.ts +1 -1
  764. package/dist/webhooks/IWebhookDefinitionBuilder.d.ts.map +1 -1
  765. package/dist/webhooks/IWebhooks.d.ts +3 -3
  766. package/dist/webhooks/IWebhooks.d.ts.map +1 -1
  767. package/dist/webhooks/WebhookDefinitionBuilder.d.ts +5 -5
  768. package/dist/webhooks/WebhookDefinitionBuilder.d.ts.map +1 -1
  769. package/dist/webhooks/WebhookDefinitionBuilder.js +2 -2
  770. package/dist/webhooks/WebhookDefinitionBuilder.js.map +1 -1
  771. package/dist/webhooks/WebhookId.d.ts.map +1 -1
  772. package/dist/webhooks/WebhookId.js.map +1 -1
  773. package/dist/webhooks/WebhookTargetUrl.d.ts.map +1 -1
  774. package/dist/webhooks/WebhookTargetUrl.js.map +1 -1
  775. package/dist/webhooks/Webhooks.d.ts +7 -7
  776. package/dist/webhooks/Webhooks.d.ts.map +1 -1
  777. package/dist/webhooks/Webhooks.js +6 -6
  778. package/dist/webhooks/Webhooks.js.map +1 -1
  779. package/dist/webhooks/index.d.ts +9 -9
  780. package/dist/webhooks/index.d.ts.map +1 -1
  781. package/dist/webhooks/index.js +5 -5
  782. package/dist/webhooks/index.js.map +1 -1
  783. package/dist/webhooks/webhook.d.ts +2 -2
  784. package/dist/webhooks/webhook.d.ts.map +1 -1
  785. package/dist/webhooks/webhook.js +3 -3
  786. package/dist/webhooks/webhook.js.map +1 -1
  787. package/eventSequences/AppendOptions.ts +2 -2
  788. package/eventSequences/AppendResult.ts +5 -5
  789. package/eventSequences/AppendedEventWithResult.ts +2 -2
  790. package/eventSequences/CompleteStreamResult.ts +2 -2
  791. package/eventSequences/ConcurrencyScope.ts +1 -1
  792. package/eventSequences/ConcurrencyViolation.ts +1 -1
  793. package/eventSequences/EventForEventSourceId.ts +1 -1
  794. package/eventSequences/EventLog.ts +5 -5
  795. package/eventSequences/EventSequence.spec.ts +47 -8
  796. package/eventSequences/EventSequence.ts +52 -42
  797. package/eventSequences/IEventLog.ts +1 -1
  798. package/eventSequences/IEventSequence.ts +9 -9
  799. package/eventSequences/ITransactionalEventSequence.ts +1 -1
  800. package/eventSequences/TransactionalEventSequence.ts +4 -4
  801. package/eventSequences/WaitForCompletionResult.ts +1 -1
  802. package/eventSequences/for_EventSequence/when_appending/with_metadata.spec.ts +4 -4
  803. package/eventSequences/for_EventSequence/when_reading/with_route_filters.spec.ts +4 -4
  804. package/eventSequences/index.ts +19 -19
  805. package/eventStoreSubscriptions/EventStoreSubscriptionBuilder.ts +4 -4
  806. package/eventStoreSubscriptions/EventStoreSubscriptionDefinition.ts +2 -2
  807. package/eventStoreSubscriptions/EventStoreSubscriptions.spec.ts +3 -3
  808. package/eventStoreSubscriptions/EventStoreSubscriptions.ts +8 -8
  809. package/eventStoreSubscriptions/IEventStoreSubscriptionBuilder.ts +2 -2
  810. package/eventStoreSubscriptions/IEventStoreSubscriptions.ts +4 -4
  811. package/eventStoreSubscriptions/index.ts +6 -6
  812. package/events/AppendedEvent.ts +2 -2
  813. package/events/EventContext.ts +4 -4
  814. package/events/EventType.ts +2 -2
  815. package/events/EventTypes.ts +10 -10
  816. package/events/IEventTypes.ts +1 -1
  817. package/events/classDecorators.standard.spec.ts +77 -0
  818. package/events/constraints/ConstraintBuilder.ts +4 -4
  819. package/events/constraints/Constraints.ts +7 -7
  820. package/events/constraints/IConstraint.ts +1 -1
  821. package/events/constraints/IConstraintBuilder.ts +1 -1
  822. package/events/constraints/IConstraints.ts +1 -1
  823. package/events/constraints/UniqueConstraintBuilder.ts +2 -2
  824. package/events/constraints/constraint.ts +2 -2
  825. package/events/constraints/for_Constraints/when_registering_unique_property_constraints.spec.ts +8 -8
  826. package/events/constraints/index.ts +12 -12
  827. package/events/eventTypeDecorator.ts +36 -18
  828. package/events/filterEventsByTagDecorator.ts +2 -2
  829. package/events/for_EventContext/when_receiving/with_kernel_metadata.spec.ts +11 -11
  830. package/events/index.ts +18 -16
  831. package/events/mergeTags.spec.ts +2 -2
  832. package/events/mergeTags.ts +1 -1
  833. package/events/migrations/EventMigrationBuilder.ts +2 -2
  834. package/events/migrations/EventMigrationPropertyBuilder.ts +1 -1
  835. package/events/migrations/EventTypeMigrators.ts +4 -4
  836. package/events/migrations/IEventMigrationBuilder.ts +1 -1
  837. package/events/migrations/IEventTypeMigration.ts +1 -1
  838. package/events/migrations/eventTypeMigration.ts +4 -4
  839. package/events/migrations/index.ts +10 -10
  840. package/events/tagDecorator.spec.ts +2 -2
  841. package/events/tagDecorator.ts +2 -2
  842. package/events/toClientEventContext.ts +8 -8
  843. package/externalServices/ExternalServiceBuilder.ts +2 -2
  844. package/externalServices/ExternalServices.ts +4 -4
  845. package/externalServices/IExternalServices.ts +1 -1
  846. package/externalServices/index.ts +4 -4
  847. package/for_ChronicleClient/when_reconnecting/and_the_server_becomes_incompatible.spec.ts +3 -3
  848. package/identities/IdentityManager.ts +2 -2
  849. package/identities/index.ts +2 -2
  850. package/identity/IIdentityProvider.ts +1 -1
  851. package/identity/IdentityProvider.ts +2 -2
  852. package/identity/index.ts +4 -4
  853. package/index.ts +56 -56
  854. package/jobs/IJobs.ts +1 -1
  855. package/jobs/Jobs.ts +5 -5
  856. package/jobs/index.ts +3 -3
  857. package/observation/FailedPartition.ts +1 -1
  858. package/observation/FailedPartitionAttempt.ts +1 -1
  859. package/observation/FailedPartitions.spec.ts +2 -2
  860. package/observation/FailedPartitions.ts +4 -4
  861. package/observation/IFailedPartitions.ts +1 -1
  862. package/observation/index.ts +9 -9
  863. package/observation/notifyReplayLifecycle.spec.ts +1 -1
  864. package/observation/notifyReplayLifecycle.ts +2 -2
  865. package/observation/toClientFailedPartition.ts +3 -3
  866. package/observation/toObserverRunningState.ts +1 -1
  867. package/package.json +7 -3
  868. package/projections/IProjections.ts +5 -5
  869. package/projections/ProjectionState.ts +2 -2
  870. package/projections/Projections.childrenAndNested.spec.ts +10 -10
  871. package/projections/Projections.declarativeVariants.spec.ts +8 -8
  872. package/projections/Projections.modelBoundCompleteness.spec.ts +11 -11
  873. package/projections/Projections.operationalSurface.spec.ts +12 -12
  874. package/projections/Projections.spec.ts +11 -11
  875. package/projections/Projections.ts +38 -38
  876. package/projections/Projections.variants.spec.ts +12 -12
  877. package/projections/VariantReclassifier.ts +3 -3
  878. package/projections/declarative/AddBuilder.ts +1 -1
  879. package/projections/declarative/AddChildBuilder.ts +1 -1
  880. package/projections/declarative/AllSetBuilder.ts +1 -1
  881. package/projections/declarative/ChildrenBuilder.spec.ts +2 -2
  882. package/projections/declarative/ChildrenBuilder.ts +4 -4
  883. package/projections/declarative/CompositeKeyBuilder.spec.ts +2 -2
  884. package/projections/declarative/CompositeKeyBuilder.ts +1 -1
  885. package/projections/declarative/FromBuilder.ts +11 -11
  886. package/projections/declarative/FromEveryBuilder.ts +3 -3
  887. package/projections/declarative/IChildrenBuilder.ts +1 -1
  888. package/projections/declarative/IFromBuilder.ts +1 -1
  889. package/projections/declarative/IFromEveryBuilder.ts +1 -1
  890. package/projections/declarative/IJoinBuilder.ts +1 -1
  891. package/projections/declarative/INestedBuilder.ts +1 -1
  892. package/projections/declarative/IProjectionBuilder.ts +7 -7
  893. package/projections/declarative/IProjectionBuilderFor.ts +1 -1
  894. package/projections/declarative/IProjectionFor.ts +1 -1
  895. package/projections/declarative/IReadModelPropertiesBuilder.ts +5 -5
  896. package/projections/declarative/JoinBuilder.ts +11 -11
  897. package/projections/declarative/NestedBuilder.ts +4 -4
  898. package/projections/declarative/ProjectionBuilderCore.ts +12 -12
  899. package/projections/declarative/ProjectionBuilderFor.spec.ts +2 -2
  900. package/projections/declarative/ProjectionBuilderFor.ts +7 -7
  901. package/projections/declarative/RemovedWithBuilder.ts +1 -1
  902. package/projections/declarative/RemovedWithJoinBuilder.ts +1 -1
  903. package/projections/declarative/SetBuilder.ts +1 -1
  904. package/projections/declarative/SubtractBuilder.ts +1 -1
  905. package/projections/declarative/index.ts +32 -32
  906. package/projections/declarative/projection.ts +2 -2
  907. package/projections/index.ts +10 -10
  908. package/projections/modelBound/FromEventMetadata.ts +1 -1
  909. package/projections/modelBound/addFrom.ts +6 -5
  910. package/projections/modelBound/childrenAndNestedBuilder.ts +16 -16
  911. package/projections/modelBound/childrenFrom.ts +6 -5
  912. package/projections/modelBound/clearWith.ts +6 -5
  913. package/projections/modelBound/count.ts +6 -5
  914. package/projections/modelBound/decorators.standard.spec.ts +71 -0
  915. package/projections/modelBound/decrement.ts +6 -5
  916. package/projections/modelBound/eventSequence.ts +1 -1
  917. package/projections/modelBound/fromAll.ts +6 -5
  918. package/projections/modelBound/fromEvent.ts +2 -2
  919. package/projections/modelBound/fromEvery.ts +6 -5
  920. package/projections/modelBound/globalFor.ts +1 -1
  921. package/projections/modelBound/increment.ts +6 -5
  922. package/projections/modelBound/index.ts +44 -44
  923. package/projections/modelBound/join.ts +6 -5
  924. package/projections/modelBound/nested.ts +10 -3
  925. package/projections/modelBound/noAutoMap.ts +12 -3
  926. package/projections/modelBound/removedWith.ts +6 -5
  927. package/projections/modelBound/removedWithJoin.ts +6 -5
  928. package/projections/modelBound/setFrom.ts +6 -5
  929. package/projections/modelBound/setFromContext.ts +9 -8
  930. package/projections/modelBound/setValue.ts +6 -5
  931. package/projections/modelBound/subtractFrom.ts +6 -5
  932. package/reactors/ReactorSideEffects.spec.ts +4 -4
  933. package/reactors/ReactorSideEffects.ts +3 -3
  934. package/reactors/Reactors.ts +13 -13
  935. package/reactors/index.ts +5 -5
  936. package/reactors/reactor.ts +2 -2
  937. package/readModels/IReadModels.ts +3 -3
  938. package/readModels/MaterializedReadModels.spec.ts +5 -5
  939. package/readModels/MaterializedReadModels.ts +5 -5
  940. package/readModels/ReadModelSubjectResolver.spec.ts +2 -2
  941. package/readModels/ReadModelSubjectResolver.ts +1 -1
  942. package/readModels/ReadModels.spec.ts +6 -6
  943. package/readModels/ReadModels.ts +18 -18
  944. package/readModels/index.ts +10 -10
  945. package/readModels/readModel.ts +27 -9
  946. package/readModels/standardFallbacks.standard.spec.ts +39 -0
  947. package/reducers/Reducers.spec.ts +9 -9
  948. package/reducers/Reducers.ts +14 -14
  949. package/reducers/index.ts +5 -5
  950. package/reducers/reducer.spec.ts +1 -1
  951. package/reducers/reducer.ts +2 -2
  952. package/schemas/JsonSchemaGenerator.confidentiality.spec.ts +8 -6
  953. package/schemas/JsonSchemaGenerator.spec.ts +32 -5
  954. package/schemas/JsonSchemaGenerator.ts +52 -37
  955. package/schemas/createDeferredSchema.ts +21 -0
  956. package/schemas/decorators.expected.fixture.ts +24 -0
  957. package/schemas/decorators.legacy.spec.ts +62 -0
  958. package/schemas/decorators.standard.spec.ts +235 -0
  959. package/schemas/index.ts +4 -3
  960. package/schemas/jsonSchemaProperty.ts +5 -4
  961. package/schemas/legacyDesignMetadata.spec.ts +39 -0
  962. package/seeding/EventSeeding.ts +10 -10
  963. package/seeding/ICanSeedEvents.ts +1 -1
  964. package/seeding/IEventSeeding.ts +1 -1
  965. package/seeding/IEventSeedingBuilder.ts +2 -2
  966. package/seeding/index.ts +7 -7
  967. package/seeding/seeder.ts +1 -1
  968. package/sinks/index.ts +1 -1
  969. package/transactions/IUnitOfWork.ts +5 -5
  970. package/transactions/IUnitOfWorkManager.ts +1 -1
  971. package/transactions/UnitOfWork.spec.ts +6 -6
  972. package/transactions/UnitOfWork.ts +8 -8
  973. package/transactions/UnitOfWorkManager.ts +5 -5
  974. package/transactions/index.ts +5 -5
  975. package/types/TypeDiscoverer.ts +1 -1
  976. package/types/TypeIntrospector.ts +8 -3
  977. package/types/index.ts +5 -3
  978. package/types/propertyDecoratorMetadata.ts +80 -0
  979. package/types/standardDecoratorMetadata.spec.ts +31 -0
  980. package/types/standardDecoratorMetadata.ts +26 -0
  981. package/vitest.config.ts +17 -0
  982. package/webhooks/IWebhook.ts +1 -1
  983. package/webhooks/IWebhookDefinitionBuilder.ts +1 -1
  984. package/webhooks/IWebhooks.ts +3 -3
  985. package/webhooks/WebhookDefinitionBuilder.ts +6 -6
  986. package/webhooks/Webhooks.ts +12 -12
  987. package/webhooks/index.ts +9 -9
  988. package/webhooks/webhook.ts +3 -3
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
  import 'reflect-metadata';
4
- import { ConstraintId } from './ConstraintId';
5
- import { DecoratorType, TypeDiscoverer } from '../../types';
4
+ import { ConstraintId } from './ConstraintId.js';
5
+ import { DecoratorType, TypeDiscoverer } from '../../types/index.js';
6
6
  /** Metadata key used to store constraint information on a class. */
7
7
  const CONSTRAINT_METADATA_KEY = 'chronicle:constraint';
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"constraint.js","sourceRoot":"","sources":["../../../events/constraints/constraint.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MA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EAAE;QACtB,MAAM,WAAW,GAAG,MAAkB,CAAC;QACvC,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC,EAAE,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;QAC9D,MAAM,QAAQ,GAAuB,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC;QAC1D,OAAO,CAAC,cAAc,CAAC,uBAAuB,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QAClE,cAAc,CAAC,OAAO,CAAC,QAAQ,CAC3B,aAAa,CAAC,UAAU,EACxB,WAA0B,EAC1B,YAAY,CAAC,KAAK,CACrB,CAAC;IACN,CAAC,CAAC;AACN,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAC,MAAgB;IAClD,OAAO,OAAO,CAAC,WAAW,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AAChE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,MAAgB;IACzC,OAAO,OAAO,CAAC,WAAW,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AAChE,CAAC"}
@@ -1,13 +1,13 @@
1
- export { ConstraintId } from './ConstraintId';
2
- export type { IConstraint } from './IConstraint';
3
- export type { IConstraintBuilder } from './IConstraintBuilder';
4
- export type { IUniqueConstraintBuilder } from './IUniqueConstraintBuilder';
5
- export { constraint, getConstraintMetadata, isConstraint } from './constraint';
6
- export type { ConstraintMetadata } from './constraint';
7
- export type { IConstraints } from './IConstraints';
8
- export { Constraints } from './Constraints';
9
- export { ConstraintBuilder } from './ConstraintBuilder';
10
- export type { ConstraintCapture, ConstraintScopeCapture, UniqueEventTypeCapture } from './ConstraintBuilder';
11
- export { UniqueConstraintBuilder } from './UniqueConstraintBuilder';
12
- export type { UniqueConstraintCapture, UniqueConstraintEventEntry } from './UniqueConstraintBuilder';
1
+ export { ConstraintId } from './ConstraintId.js';
2
+ export type { IConstraint } from './IConstraint.js';
3
+ export type { IConstraintBuilder } from './IConstraintBuilder.js';
4
+ export type { IUniqueConstraintBuilder } from './IUniqueConstraintBuilder.js';
5
+ export { constraint, getConstraintMetadata, isConstraint } from './constraint.js';
6
+ export type { ConstraintMetadata } from './constraint.js';
7
+ export type { IConstraints } from './IConstraints.js';
8
+ export { Constraints } from './Constraints.js';
9
+ export { ConstraintBuilder } from './ConstraintBuilder.js';
10
+ export type { ConstraintCapture, ConstraintScopeCapture, UniqueEventTypeCapture } from './ConstraintBuilder.js';
11
+ export { UniqueConstraintBuilder } from './UniqueConstraintBuilder.js';
12
+ export type { UniqueConstraintCapture, UniqueConstraintEventEntry } from './UniqueConstraintBuilder.js';
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../events/constraints/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/E,YAAY,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7G,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../events/constraints/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,YAAY,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAClF,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChH,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,YAAY,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
- export { ConstraintId } from './ConstraintId';
4
- export { constraint, getConstraintMetadata, isConstraint } from './constraint';
5
- export { Constraints } from './Constraints';
6
- export { ConstraintBuilder } from './ConstraintBuilder';
7
- export { UniqueConstraintBuilder } from './UniqueConstraintBuilder';
3
+ export { ConstraintId } from './ConstraintId.js';
4
+ export { constraint, getConstraintMetadata, isConstraint } from './constraint.js';
5
+ export { Constraints } from './Constraints.js';
6
+ export { ConstraintBuilder } from './ConstraintBuilder.js';
7
+ export { UniqueConstraintBuilder } from './UniqueConstraintBuilder.js';
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../events/constraints/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG/E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../events/constraints/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGlF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import 'reflect-metadata';
2
- import { EventType } from './EventType';
3
- import { JsonSchema } from '../schemas';
2
+ import { EventType } from './EventType.js';
3
+ import { JsonSchema } from '../schemas/index.js';
4
+ import { ChronicleClassDecorator } from '../types/standardDecoratorMetadata.js';
4
5
  /**
5
6
  * Metadata stored for an event type class.
6
7
  */
@@ -37,13 +38,13 @@ export interface EventTypeMetadata {
37
38
  * }
38
39
  * ```
39
40
  */
40
- export declare function eventType(): ClassDecorator;
41
- export declare function eventType(id: string): ClassDecorator;
42
- export declare function eventType(id: string, generation: number): ClassDecorator;
43
- export declare function eventType(id: string, generation: number, tombstone: boolean): ClassDecorator;
44
- export declare function eventType(generation: number): ClassDecorator;
45
- export declare function eventType(generation: number, tombstone: boolean): ClassDecorator;
46
- export declare function eventType(tombstone: boolean): ClassDecorator;
41
+ export declare function eventType(): ChronicleClassDecorator;
42
+ export declare function eventType(id: string): ChronicleClassDecorator;
43
+ export declare function eventType(id: string, generation: number): ChronicleClassDecorator;
44
+ export declare function eventType(id: string, generation: number, tombstone: boolean): ChronicleClassDecorator;
45
+ export declare function eventType(generation: number): ChronicleClassDecorator;
46
+ export declare function eventType(generation: number, tombstone: boolean): ChronicleClassDecorator;
47
+ export declare function eventType(tombstone: boolean): ChronicleClassDecorator;
47
48
  /**
48
49
  * Gets the {@link EventType} associated with a class decorated with {@link eventType}.
49
50
  * @param target - The class constructor to retrieve the event type for.
@@ -1 +1 @@
1
- {"version":3,"file":"eventTypeDecorator.d.ts","sourceRoot":"","sources":["../../events/eventTypeDecorator.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,OAAO,EAAE,UAAU,EAAuB,MAAM,YAAY,CAAC;AAK7D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,qDAAqD;IACrD,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAE9B,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC;IAE5D,gDAAgD;IAChD,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;CAC/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,SAAS,IAAI,cAAc,CAAC;AAC5C,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,cAAc,CAAC;AACtD,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC;AAC1E,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,c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AAuB,CAAC;AAC/D,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,uBAAuB,CAAC;AACnF,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,uBAAuB,CAAC;AACvG,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,uBAAuB,CAAC;AACvE,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,uBAAuB,CAAC;AAC3F,wBAAgB,SAAS,CAAC,SAAS,EAAE,OAAO,GAAG,uBAAuB,CAAC;AAgEvE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAE3D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAEtD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,GAAG,iBAAiB,GAAG,SAAS,CAEpF;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,QAAQ,GAAG,UAAU,CAOtE"}
@@ -1,11 +1,12 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
  import 'reflect-metadata';
4
- import { EventType } from './EventType';
5
- import { EventTypeId } from './EventTypeId';
6
- import { EventTypeGeneration } from './EventTypeGeneration';
7
- import { DecoratorType, TypeDiscoverer, TypeIntrospector } from '../types';
8
- import { JsonSchemaGenerator } from '../schemas';
4
+ import { EventType } from './EventType.js';
5
+ import { EventTypeId } from './EventTypeId.js';
6
+ import { EventTypeGeneration } from './EventTypeGeneration.js';
7
+ import { DecoratorType, TypeDiscoverer, TypeIntrospector } from '../types/index.js';
8
+ import { JsonSchemaGenerator } from '../schemas/index.js';
9
+ import { createDeferredSchema } from '../schemas/createDeferredSchema.js';
9
10
  /** Metadata key used to store event type information on a class. */
10
11
  const EVENT_TYPE_METADATA_KEY = 'chronicle:eventType';
11
12
  export function eventType(idOrGenerationOrTombstone, generationOrTombstone, tombstone = false) {
@@ -33,18 +34,34 @@ export function eventType(idOrGenerationOrTombstone, generationOrTombstone, tomb
33
34
  else if (typeof idOrGenerationOrTombstone === 'boolean') {
34
35
  isTombstone = idOrGenerationOrTombstone;
35
36
  }
36
- return (target) => {
37
- const constructor = target;
37
+ return (target, context) => {
38
+ let constructor = target;
38
39
  const eventTypeId = new EventTypeId(id || constructor.name);
39
40
  const eventTypeInstance = new EventType(eventTypeId, new EventTypeGeneration(generation), isTombstone);
40
- const members = TypeIntrospector.getMembers(constructor);
41
- const metadata = {
41
+ const members = context?.kind === 'class' ? undefined : TypeIntrospector.getMembers(constructor);
42
+ const resolve = createDeferredSchema(() => constructor);
43
+ const metadata = context?.kind === 'class' ? {
42
44
  eventType: eventTypeInstance,
43
- members,
45
+ get members() {
46
+ return resolve().members;
47
+ },
48
+ get schema() {
49
+ return resolve().schema;
50
+ }
51
+ } : {
52
+ eventType: eventTypeInstance,
53
+ members: members,
44
54
  schema: JsonSchemaGenerator.generate(constructor, members)
45
55
  };
46
56
  Reflect.defineMetadata(EVENT_TYPE_METADATA_KEY, metadata, target);
47
57
  TypeDiscoverer.default.register(DecoratorType.EventType, constructor, eventTypeId.value);
58
+ context?.addInitializer(function () {
59
+ if (this !== constructor) {
60
+ constructor = this;
61
+ Reflect.defineMetadata(EVENT_TYPE_METADATA_KEY, metadata, constructor);
62
+ TypeDiscoverer.default.register(DecoratorType.EventType, constructor, eventTypeId.value);
63
+ }
64
+ });
48
65
  };
49
66
  }
50
67
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"eventTypeDecorator.js","sourceRoot":"","sources":["../../events/eventTypeDecorator.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,kBAAkB,CAAC;AAE1B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,CAC3B,aAAa,CAAC,SAAS,EACvB,WAA0B,EAC1B,WAAW,CAAC,KAAK,CACpB,CAAC;QACF,OAAO,EAAE,cAAc,CAAC;YACpB,IAAI,IAAI,KAAK,WAAW,EAAE,CAAC;gBACvB,WAAW,GAAG,IAAI,CAAC;gBACnB,OAAO,CAAC,cAAc,CAAC,uBAAuB,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;gBACvE,cAAc,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,EAAE,WAA0B,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;YAC5G,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,MAAgB;IAC5C,OAAO,oBAAoB,CAAC,MAAM,CAAC,EAAE,SAAS,IAAI,SAAS,CAAC,OAAO,CAAC;AACxE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,MAAgB;IACzC,OAAO,oBAAoB,CAAC,MAAM,CAAC,KAAK,SAAS,CAAC;AACtD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,MAAgB;IACjD,OAAO,OAAO,CAAC,WAAW,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AAChE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CAAC,MAAgB;IACtD,MAAM,QAAQ,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAC9C,IAAI,QAAQ,EAAE,CAAC;QACX,OAAO,QAAQ,CAAC,MAAM,CAAC;IAC3B,CAAC;IAED,OAAO,mBAAmB,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC9D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import 'reflect-metadata';
2
- import { Tag } from './Tag';
2
+ import { Tag } from './Tag.js';
3
3
  /**
4
4
  * TypeScript decorator that restricts a reactor or reducer so that it only handles events
5
5
  * that carry a specific tag. This is the TypeScript equivalent of the C# `[FilterEventsByTag]`
@@ -1 +1 @@
1
- {"version":3,"file":"filterEventsByTagDecorator.d.ts","sourceRoot":"","sources":["../../events/filterEventsByTagDecorator.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAM5B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,CAM/D;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,QAAQ,GAAG,GAAG,EAAE,CAExD"}
1
+ {"version":3,"file":"filterEventsByTagDecorator.d.ts","sourceRoot":"","sources":["../../events/filterEventsByTagDecorator.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAM/B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,CAM/D;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,QAAQ,GAAG,GAAG,EAAE,CAExD"}
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
  import 'reflect-metadata';
4
- import { Tag } from './Tag';
5
- import { mergeTags } from './mergeTags';
4
+ import { Tag } from './Tag.js';
5
+ import { mergeTags } from './mergeTags.js';
6
6
  /** Metadata key used to store the tags a reactor or reducer filters events by. */
7
7
  const FILTER_TAGS_METADATA_KEY = 'chronicle:filterEventsByTag';
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"filterEventsByTagDecorator.js","sourceRoot":"","sources":["../../events/filterEventsByTagDecorator.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,q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AAE;QACtB,MAAM,QAAQ,GAAI,OAAO,CAAC,WAAW,CAAC,wBAAwB,EAAE,MAAM,CAAuB,IAAI,EAAE,CAAC;QACpG,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/E,OAAO,CAAC,cAAc,CAAC,wBAAwB,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC,CAAC;AACN,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAAgB;IAC7C,OAAQ,OAAO,CAAC,WAAW,CAAC,wBAAwB,EAAE,MAAM,CAAuB,IAAI,EAAE,CAAC;AAC9F,CAAC"}
@@ -1,17 +1,18 @@
1
- export { EventType } from './EventType';
2
- export { EventTypeId } from './EventTypeId';
3
- export { EventTypeGeneration } from './EventTypeGeneration';
4
- export { eventType, getEventTypeFor, hasEventType, getEventTypeMetadata, getEventTypeJsonSchemaFor } from './eventTypeDecorator';
5
- export type { EventTypeMetadata } from './eventTypeDecorator';
6
- export type { EventContext } from './EventContext';
7
- export type { CausationEntry } from './CausationEntry';
8
- export type { AppendedEvent } from './AppendedEvent';
9
- export type { IEventTypes } from './IEventTypes';
10
- export { EventTypes } from './EventTypes';
11
- export { Tag } from './Tag';
12
- export { tag, tags, getTagsFor } from './tagDecorator';
13
- export { filterEventsByTag, getFilterTagsFor } from './filterEventsByTagDecorator';
14
- export { mergeTags } from './mergeTags';
15
- export * from './constraints';
16
- export * from './migrations';
1
+ import '../types/standardDecoratorMetadata.js';
2
+ export { EventType } from './EventType.js';
3
+ export { EventTypeId } from './EventTypeId.js';
4
+ export { EventTypeGeneration } from './EventTypeGeneration.js';
5
+ export { eventType, getEventTypeFor, hasEventType, getEventTypeMetadata, getEventTypeJsonSchemaFor } from './eventTypeDecorator.js';
6
+ export type { EventTypeMetadata } from './eventTypeDecorator.js';
7
+ export type { EventContext } from './EventContext.js';
8
+ export type { CausationEntry } from './CausationEntry.js';
9
+ export type { AppendedEvent } from './AppendedEvent.js';
10
+ export type { IEventTypes } from './IEventTypes.js';
11
+ export { EventTypes } from './EventTypes.js';
12
+ export { Tag } from './Tag.js';
13
+ export { tag, tags, getTagsFor } from './tagDecorator.js';
14
+ export { filterEventsByTag, getFilterTagsFor } from './filterEventsByTagDecorator.js';
15
+ export { mergeTags } from './mergeTags.js';
16
+ export * from './constraints/index.js';
17
+ export * from './migrations/index.js';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../events/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjI,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../events/index.ts"],"names":[],"mappings":"AAGA,OAAO,uCAAuC,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpI,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC"}
@@ -1,14 +1,15 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
- export { EventType } from './EventType';
4
- export { EventTypeId } from './EventTypeId';
5
- export { EventTypeGeneration } from './EventTypeGeneration';
6
- export { eventType, getEventTypeFor, hasEventType, getEventTypeMetadata, getEventTypeJsonSchemaFor } from './eventTypeDecorator';
7
- export { EventTypes } from './EventTypes';
8
- export { Tag } from './Tag';
9
- export { tag, tags, getTagsFor } from './tagDecorator';
10
- export { filterEventsByTag, getFilterTagsFor } from './filterEventsByTagDecorator';
11
- export { mergeTags } from './mergeTags';
12
- export * from './constraints';
13
- export * from './migrations';
3
+ import '../types/standardDecoratorMetadata.js';
4
+ export { EventType } from './EventType.js';
5
+ export { EventTypeId } from './EventTypeId.js';
6
+ export { EventTypeGeneration } from './EventTypeGeneration.js';
7
+ export { eventType, getEventTypeFor, hasEventType, getEventTypeMetadata, getEventTypeJsonSchemaFor } from './eventTypeDecorator.js';
8
+ export { EventTypes } from './EventTypes.js';
9
+ export { Tag } from './Tag.js';
10
+ export { tag, tags, getTagsFor } from './tagDecorator.js';
11
+ export { filterEventsByTag, getFilterTagsFor } from './filterEventsByTagDecorator.js';
12
+ export { mergeTags } from './mergeTags.js';
13
+ export * from './constraints/index.js';
14
+ export * from './migrations/index.js';
14
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../events/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAMjI,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../events/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,uCAAuC,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAMpI,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Tag } from './Tag';
1
+ import { Tag } from './Tag.js';
2
2
  /**
3
3
  * Merges one or more sources of tags - static tags declared on a type, tags carried by an
4
4
  * individual event instance, and tags supplied at call time - into a single, distinct list of
@@ -1 +1 @@
1
- {"version":3,"file":"mergeTags.d.ts","sourceRoot":"","sources":["../../events/mergeTags.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,GAAG,OAAO,EAAE,aAAa,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,MAAM,EAAE,CAYjG"}
1
+ {"version":3,"file":"mergeTags.d.ts","sourceRoot":"","sources":["../../events/mergeTags.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,GAAG,OAAO,EAAE,aAAa,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,MAAM,EAAE,CAYjG"}
@@ -1,5 +1,5 @@
1
- import { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder';
2
- import { IEventMigrationBuilder } from './IEventMigrationBuilder';
1
+ import { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder.js';
2
+ import { IEventMigrationBuilder } from './IEventMigrationBuilder.js';
3
3
  /**
4
4
  * Represents an implementation of {@link IEventMigrationBuilder}.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"EventMigrationBuilder.d.ts","sourceRoot":"","sources":["../../../events/migrations/EventMigrationBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE;;GAEG;AACH,qBAAa,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAE,YAAW,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC;IACpG,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAyD;IAE3F,kBAAkB;IAClB,UAAU,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,IAAI,GAAG,IAAI;IAMhG;;;OAGG;IACH,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAOtC"}
1
+ {"version":3,"file":"EventMigrationBuilder.d.ts","sourceRoot":"","sources":["../../../events/migrations/EventMigrationBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;GAEG;AACH,qBAAa,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAE,YAAW,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC;IACpG,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAyD;IAE3F,kBAAkB;IAClB,UAAU,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,IAAI,GAAG,IAAI,CAI/F;IAED;;;OAGG;IACH,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAMlC;CACJ"}
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
- import { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder';
3
+ import { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder.js';
4
4
  /**
5
5
  * Represents an implementation of {@link IEventMigrationBuilder}.
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"EventMigrationBuilder.js","sourceRoot":"","sources":["../../../events/migrations/EventMigrationBuilder.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF;;GAEG;AACH,MAAM,OAAO,qBAAqB;IACb,iBAAiB,GAAsD,EAAE,CAAC;IAE3F,kBAAkB;IAClB,UAAU,CAAC,UAA8E;QACrF,MAAM,OAAO,GAAG,IAAI,6BAA6B,EAAoB,CAAC;QACtE,UAAU,CAAC,OAAO,CAAC,CAAC;QACpB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAED;;;OAGG;IACH,QAAQ;QACJ,MAAM,MAAM,GAA4B,EAAE,CAAC;QAC3C,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC3C,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;QAC9C,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"}
1
+ {"version":3,"file":"EventMigrationBuilder.js","sourceRoot":"","sources":["../../../events/migrations/EventMigrationBuilder.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF;;GAEG;AACH,MAAM,OAAO,qBAAqB;IACb,iBAAiB,GAAsD,EAAE,CAAC;IAE3F,kBAAkB;IAClB,UAAU,CAAC,UAA8E;QACrF,MAAM,OAAO,GAAG,IAAI,6BAA6B,EAAoB,CAAC;QACtE,UAAU,CAAC,OAAO,CAAC,CAAC;QACpB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAED;;;OAGG;IACH,QAAQ;QACJ,MAAM,MAAM,GAA4B,EAAE,CAAC;QAC3C,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC3C,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;QAC9C,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"}
@@ -1,4 +1,4 @@
1
- import { IEventMigrationPropertyBuilder } from './IEventMigrationPropertyBuilder';
1
+ import { IEventMigrationPropertyBuilder } from './IEventMigrationPropertyBuilder.js';
2
2
  /**
3
3
  * Represents an implementation of {@link IEventMigrationPropertyBuilder}.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"EventMigrationPropertyBuilder.d.ts","sourceRoot":"","sources":["../../../events/migrations/EventMigrationPropertyBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAOlF;;GAEG;AACH,qBAAa,6BAA6B,CAAC,OAAO,EAAE,OAAO,CAAE,YAAW,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC;IACpH,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;IAE3D;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAExC;IAED,kBAAkB;IAClB,KAAK,CACD,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,GACb,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC;IAWnD,kBAAkB;IAClB,OAAO,CACH,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,SAAS,EAAE,MAAM,EACjB,GAAG,gBAAgB,EAAE,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,EAAE,GAChD,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC;IAUnD,kBAAkB;IAClB,WAAW,CACP,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,GACvC,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC;IAOnD,kBAAkB;IAClB,YAAY,CACR,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,KAAK,EAAE,OAAO,GACf,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC;CAMtD"}
1
+ {"version":3,"file":"EventMigrationPropertyBuilder.d.ts","sourceRoot":"","sources":["../../../events/migrations/EventMigrationPropertyBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAOrF;;GAEG;AACH,qBAAa,6BAA6B,CAAC,OAAO,EAAE,OAAO,CAAE,YAAW,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC;IACpH,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;IAE3D;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAExC;IAED,kBAAkB;IAClB,KAAK,CACD,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,GACb,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,CASlD;IAED,kBAAkB;IAClB,OAAO,CACH,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,SAAS,EAAE,MAAM,EACjB,GAAG,gBAAgB,EAAE,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,EAAE,GAChD,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,CAQlD;IAED,kBAAkB;IAClB,WAAW,CACP,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,GACvC,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,CAKlD;IAED,kBAAkB;IAClB,YAAY,CACR,cAAc,EAAE,MAAM,OAAO,GAAG,MAAM,EACtC,KAAK,EAAE,OAAO,GACf,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,CAKlD;CACJ"}
@@ -1,6 +1,6 @@
1
1
  import { Constructor } from '@cratis/fundamentals';
2
- import { IClientArtifactsProvider } from '../../artifacts';
3
- import { IEventTypeMigrators } from './IEventTypeMigrators';
2
+ import { IClientArtifactsProvider } from '../../artifacts/index.js';
3
+ import { IEventTypeMigrators } from './IEventTypeMigrators.js';
4
4
  /**
5
5
  * Represents an implementation of {@link IEventTypeMigrators}.
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"EventTypeMigrators.d.ts","sourceRoot":"","sources":["../../../events/migrations/EventTypeMigrators.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH,qBAAa,kBAAmB,YAAW,mBAAmB;IAO9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAN7C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAoC;IAE1E;;;OAGG;gBAC0B,gBAAgB,EAAE,wBAAwB;IAEvE,kBAAkB;IAClB,IAAI,YAAY,IAAI,WAAW,EAAE,CAEhC;IAED,kBAAkB;IAClB,eAAe,CAAC,SAAS,EAAE,WAAW,GAAG,WAAW,EAAE;IAiBtD,OAAO,CAAC,eAAe;CAG1B"}
1
+ {"version":3,"file":"EventTypeMigrators.d.ts","sourceRoot":"","sources":["../../../events/migrations/EventTypeMigrators.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAGpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;GAEG;AACH,qBAAa,kBAAmB,YAAW,mBAAmB;IAO9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAN7C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAoC;IAE1E;;;OAGG;IACH,YAA6B,gBAAgB,EAAE,wBAAwB,EAAI;IAE3E,kBAAkB;IAClB,IAAI,YAAY,IAAI,WAAW,EAAE,CAEhC;IAED,kBAAkB;IAClB,eAAe,CAAC,SAAS,EAAE,WAAW,GAAG,WAAW,EAAE,CAerD;IAED,OAAO,CAAC,eAAe;CAG1B"}
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
- import { getEventTypeFor } from '../eventTypeDecorator';
4
- import { getEventTypeMigrationMetadata } from './eventTypeMigration';
3
+ import { getEventTypeFor } from '../eventTypeDecorator.js';
4
+ import { getEventTypeMigrationMetadata } from './eventTypeMigration.js';
5
5
  /**
6
6
  * Represents an implementation of {@link IEventTypeMigrators}.
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"EventTypeMigrators.js","sourceRoot":"","sources":["../../../events/migrations/EventTypeMigrators.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAIrG,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAGrE;;GAEG;AACH,MAAM,OAAO,kBAAkB;IAOE;IANZ,qBAAqB,GAAG,IAAI,GAAG,EAAyB,CAAC;IAE1E;;;OAGG;IACH,YAA6B,gBAA0C;QAA1C,qBAAgB,GAAhB,gBAAgB,CAA0B;IAAG,CAAC;IAE3E,kBAAkB;IAClB,IAAI,YAAY;QACZ,OAAO,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC;IACrD,CAAC;IAED,kBAAkB;IAClB,eAAe,CAAC,SAAsB;QAClC,MAAM,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;QAC5C,MAAM,MAAM,GAAG,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,MAAM,EAAE,CAAC;YACT,OAAO,MAAM,CAAC;QAClB,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,mBAAmB;aACtD,MAAM,CAAC,YAAY,CAAC,EAAE;YACnB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,YAAY,CAAC,CAAC;YAC7D,OAAO,QAAQ,EAAE,SAAS,CAAC,QAAQ,EAAE,KAAK,GAAG,CAAC;QAClD,CAAC,CAAC,CAAC;QAEP,IAA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AG,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QAC/C,OAAO,SAAS,CAAC;IACrB,CAAC;IAEO,eAAe,CAAC,SAAsB;QAC1C,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC;IACjD,CAAC;CACJ"}
@@ -1,4 +1,4 @@
1
- import { IEventMigrationPropertyBuilder } from './IEventMigrationPropertyBuilder';
1
+ import { IEventMigrationPropertyBuilder } from './IEventMigrationPropertyBuilder.js';
2
2
  /**
3
3
  * Defines a builder for event migrations.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IEventMigrationBuilder.d.ts","sourceRoot":"","sources":["../../../events/migrations/IEventMigrationBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAElF;;GAEG;AACH,MAAM,WAAW,sBAAsB,CAAC,OAAO,EAAE,OAAO;IACpD;;;OAGG;IACH,UAAU,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,IAAI,GAAG,IAAI,CAAC;CACrG"}
1
+ {"version":3,"file":"IEventMigrationBuilder.d.ts","sourceRoot":"","sources":["../../../events/migrations/IEventMigrationBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;GAEG;AACH,MAAM,WAAW,sBAAsB,CAAC,OAAO,EAAE,OAAO;IACpD;;;OAGG;IACH,UAAU,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,IAAI,GAAG,IAAI,CAAC;CACrG"}
@@ -1,4 +1,4 @@
1
- import { IEventMigrationBuilder } from './IEventMigrationBuilder';
1
+ import { IEventMigrationBuilder } from './IEventMigrationBuilder.js';
2
2
  /**
3
3
  * Defines an event type migration.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IEventTypeMigration.d.ts","sourceRoot":"","sources":["../../../events/migrations/IEventTypeMigration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,mBAAmB,CAAC,OAAO,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO;IACrE;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAEhE;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACrE"}
1
+ {"version":3,"file":"IEventTypeMigration.d.ts","sourceRoot":"","sources":["../../../events/migrations/IEventTypeMigration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,mBAAmB,CAAC,OAAO,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO;IACrE;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAEhE;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACrE"}
@@ -1 +1 @@
1
- {"version":3,"file":"InvalidMigrationGenerationGap.d.ts","sourceRoot":"","sources":["../../../events/migrations/InvalidMigrationGenerationGap.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,KAAK;gBAEhD,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,MAAM,EACvB,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,EAAE,MAAM;CAOhC"}
1
+ {"version":3,"file":"InvalidMigrationGenerationGap.d.ts","sourceRoot":"","sources":["../../../events/migrations/InvalidMigrationGenerationGap.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,KAAK;IACpD,YACI,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,MAAM,EACvB,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,EAAE,MAAM,EAM5B;CACJ"}
@@ -1,6 +1,6 @@
1
1
  import 'reflect-metadata';
2
2
  import { Constructor } from '@cratis/fundamentals';
3
- import { EventType } from '../EventType';
3
+ import { EventType } from '../EventType.js';
4
4
  /**
5
5
  * Metadata stored on an event type migration class.
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"eventTypeMigration.d.ts","sourceRoot":"","sources":["../../../events/migrations/eventTypeMigration.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzC;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,qEAAqE;IACrE,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAE9B,oEAAoE;IACpE,QAAQ,CAAC,iBAAiB,EAAE,SAAS,CAAC;CACzC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,GAAG,cAAc,CAiCvG;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,QAAQ,GAAG,0BAA0B,GAAG,SAAS,CAEtG;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAE9D"}
1
+ {"version":3,"file":"eventTypeMigration.d.ts","sourceRoot":"","sources":["../../../events/migrations/eventTypeMigration.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAM5C;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,qEAAqE;IACrE,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAE9B,oEAAoE;IACpE,QAAQ,CAAC,iBAAiB,EAAE,SAAS,CAAC;CACzC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,GAAG,cAAc,CAiCvG;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,QAAQ,GAAG,0BAA0B,GAAG,SAAS,CAEtG;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAE9D"}
@@ -1,9 +1,9 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
  import 'reflect-metadata';
4
- import { getEventTypeFor } from '../eventTypeDecorator';
5
- import { InvalidMigrationGenerationGap } from './InvalidMigrationGenerationGap';
6
- import { DecoratorType, TypeDiscoverer } from '../../types';
4
+ import { getEventTypeFor } from '../eventTypeDecorator.js';
5
+ import { InvalidMigrationGenerationGap } from './InvalidMigrationGenerationGap.js';
6
+ import { DecoratorType, TypeDiscoverer } from '../../types/index.js';
7
7
  const EVENT_TYPE_MIGRATION_METADATA_KEY = 'chronicle:eventTypeMigration';
8
8
  /**
9
9
  * Decorator that marks a class as an event type migration between two generations
@@ -1 +1 @@
1
- {"version":3,"file":"eventTypeMigration.js","sourceRoot":"","sources":["../../../events/migrations/eventTypeMigration.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC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iB,CAAC,EAAE,CAAC,KAAK,IAAI,iBAAiB,CAAC,UAAU,CAAC,KAAK,KAAK,iBAAiB,CAAC,UAAU,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC;QAC7I,MAAM,IAAI,6BAA6B,CACnC,YAAY,CAAC,IAAI,EACjB,YAAY,CAAC,IAAI,EACjB,iBAAiB,CAAC,UAAU,CAAC,KAAK,EAClC,iBAAiB,CAAC,UAAU,CAAC,KAAK,CACrC,CAAC;IACN,CAAC;IAED,OAAO,CAAC,MAAc,EAAE,EAAE;QACtB,MAAM,QAAQ,GAA+B;YACzC,SAAS,EAAE,iBAAiB;YAC5B,iBAAiB;SACpB,CAAC;QAEF,OAAO,CAAC,cAAc,CAAC,iCAAiC,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QAC5E,cAAc,CAAC,OAAO,CAAC,QAAQ,CAC3B,aAAa,CAAC,kBAAkB,EAChC,MAAqB,EACrB,GAAG,iBAAiB,CAAC,EAAE,CAAC,KAAK,IAAI,iBAAiB,CAAC,UAAU,CAAC,KAAK,EAAE,CACxE,CAAC;IACN,CAAC,CAAC;AACN,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,6BAA6B,CAAC,MAAgB;IAC1D,OAAO,OAAO,CAAC,WAAW,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;AAC1E,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,MAAgB;IACjD,OAAO,OAAO,CAAC,WAAW,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;AAC1E,CAAC"}
@@ -1,11 +1,11 @@
1
- export type { IEventMigrationBuilder } from './IEventMigrationBuilder';
2
- export type { IEventMigrationPropertyBuilder } from './IEventMigrationPropertyBuilder';
3
- export { EventMigrationBuilder } from './EventMigrationBuilder';
4
- export { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder';
5
- export type { IEventTypeMigration } from './IEventTypeMigration';
6
- export type { IEventTypeMigrators } from './IEventTypeMigrators';
7
- export { EventTypeMigrators } from './EventTypeMigrators';
8
- export { eventTypeMigration, getEventTypeMigrationMetadata, isEventTypeMigration } from './eventTypeMigration';
9
- export type { EventTypeMigrationMetadata } from './eventTypeMigration';
10
- export { InvalidMigrationGenerationGap } from './InvalidMigrationGenerationGap';
1
+ export type { IEventMigrationBuilder } from './IEventMigrationBuilder.js';
2
+ export type { IEventMigrationPropertyBuilder } from './IEventMigrationPropertyBuilder.js';
3
+ export { EventMigrationBuilder } from './EventMigrationBuilder.js';
4
+ export { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder.js';
5
+ export type { IEventTypeMigration } from './IEventTypeMigration.js';
6
+ export type { IEventTypeMigrators } from './IEventTypeMigrators.js';
7
+ export { EventTypeMigrators } from './EventTypeMigrators.js';
8
+ export { eventTypeMigration, getEventTypeMigrationMetadata, isEventTypeMigration } from './eventTypeMigration.js';
9
+ export type { EventTypeMigrationMetadata } from './eventTypeMigration.js';
10
+ export { InvalidMigrationGenerationGap } from './InvalidMigrationGenerationGap.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../events/migrations/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC/G,YAAY,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../events/migrations/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,YAAY,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAClH,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
- export { EventMigrationBuilder } from './EventMigrationBuilder';
4
- export { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder';
5
- export { EventTypeMigrators } from './EventTypeMigrators';
6
- export { eventTypeMigration, getEventTypeMigrationMetadata, isEventTypeMigration } from './eventTypeMigration';
7
- export { InvalidMigrationGenerationGap } from './InvalidMigrationGenerationGap';
3
+ export { EventMigrationBuilder } from './EventMigrationBuilder.js';
4
+ export { EventMigrationPropertyBuilder } from './EventMigrationPropertyBuilder.js';
5
+ export { EventTypeMigrators } from './EventTypeMigrators.js';
6
+ export { eventTypeMigration, getEventTypeMigrationMetadata, isEventTypeMigration } from './eventTypeMigration.js';
7
+ export { InvalidMigrationGenerationGap } from './InvalidMigrationGenerationGap.js';
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../events/migrations/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAIrG,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE/G,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../events/migrations/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAIrG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAElH,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import 'reflect-metadata';
2
- import { Tag } from './Tag';
2
+ import { Tag } from './Tag.js';
3
3
  /**
4
4
  * TypeScript decorator that labels an event type, reactor, or reducer with one or more tags.
5
5
  * This is the TypeScript equivalent of the C# `[Tag]` attribute.
@@ -1 +1 @@
1
- {"version":3,"file":"tagDecorator.d.ts","sourceRoot":"","sources":["../../events/tagDecorator.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAM5B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,GAAG,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,CAEvD;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,CAExD;AAQD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,QAAQ,GAAG,GAAG,EAAE,CAElD"}
1
+ {"version":3,"file":"tagDecorator.d.ts","sourceRoot":"","sources":["../../events/tagDecorator.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAM/B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,GAAG,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,CAEvD;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,CAExD;AAQD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,QAAQ,GAAG,GAAG,EAAE,CAElD"}
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
  import 'reflect-metadata';
4
- import { Tag } from './Tag';
5
- import { mergeTags } from './mergeTags';
4
+ import { Tag } from './Tag.js';
5
+ import { mergeTags } from './mergeTags.js';
6
6
  /** Metadata key used to store the tags labeling a class. */
7
7
  const TAGS_METADATA_KEY = 'chronicle:tags';
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tagDecorator.js","sourceRoot":"","sources":["../../events/tagDecorator.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,SAAS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;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,UAAU,GAAG,CAAC,GAAG,MAAgB;IACnC,OAAO,CAAC,MAAc,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACvD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,IAAI,CAAC,GAAG,MAAgB;IACpC,OAAO,CAAC,MAAc,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACvD,CAAC;AAED,SAAS,OAAO,CAAC,MAAc,EAAE,MAAgB;IAC7C,MAAM,QAAQ,GAAI,OAAO,CAAC,WAAW,CAAC,iBAAiB,EAAE,MAAM,CAAuB,IAAI,EAAE,CAAC;IAC7F,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;IACxE,OAAO,CAAC,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9D,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,MAAgB;IACvC,OAAQ,OAAO,CAAC,WAAW,CAAC,iBAAiB,EAAE,MAAM,CAAuB,IAAI,EAAE,CAAC;AACvF,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { EventContext } from './EventContext';
2
- import type { WireEventContext } from './WireEventContext';
1
+ import type { EventContext } from './EventContext.js';
2
+ import type { WireEventContext } from './WireEventContext.js';
3
3
  /** Converts kernel metadata identically for reads, reactors, and reducers. */
4
4
  export declare function toClientEventContext(context: WireEventContext): EventContext;
5
5
  //# sourceMappingURL=toClientEventContext.d.ts.map