@spine-event-engine/server 2.0.0-snapshot.2 → 2.0.0-snapshot.20

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 (227) hide show
  1. package/README.md +225 -518
  2. package/REFERENCE.md +498 -49
  3. package/dist/browser/browser-server.d.ts +95 -0
  4. package/dist/browser/browser-server.d.ts.map +1 -0
  5. package/dist/{server → browser}/browser-server.js +93 -7
  6. package/dist/browser/browser-server.js.map +1 -0
  7. package/dist/browser/durable-subscription-bindings.d.ts.map +1 -0
  8. package/dist/browser/durable-subscription-bindings.js.map +1 -0
  9. package/dist/browser/index.d.ts +12 -0
  10. package/dist/browser/index.d.ts.map +1 -0
  11. package/dist/browser/index.js +24 -0
  12. package/dist/browser/index.js.map +1 -0
  13. package/dist/browser/options.d.ts +183 -0
  14. package/dist/browser/options.d.ts.map +1 -0
  15. package/dist/browser/options.js +15 -0
  16. package/dist/browser/options.js.map +1 -0
  17. package/dist/bus/command-bus.d.ts +2 -0
  18. package/dist/bus/command-bus.d.ts.map +1 -1
  19. package/dist/bus/command-bus.js +36 -1
  20. package/dist/bus/command-bus.js.map +1 -1
  21. package/dist/bus/event-dispatcher-registry.d.ts +2 -2
  22. package/dist/bus/event-dispatcher-registry.js +3 -3
  23. package/dist/bus/event-dispatcher-registry.js.map +1 -1
  24. package/dist/context/bounded-context.d.ts +238 -83
  25. package/dist/context/bounded-context.d.ts.map +1 -1
  26. package/dist/context/bounded-context.js +1083 -286
  27. package/dist/context/bounded-context.js.map +1 -1
  28. package/dist/context/effective-tenant.d.ts +9 -0
  29. package/dist/context/effective-tenant.d.ts.map +1 -0
  30. package/dist/context/effective-tenant.js +58 -0
  31. package/dist/context/effective-tenant.js.map +1 -0
  32. package/dist/context/entity-inbox.d.ts.map +1 -1
  33. package/dist/context/entity-inbox.js +24 -17
  34. package/dist/context/entity-inbox.js.map +1 -1
  35. package/dist/context/local-inbox-handoff.d.ts +7 -3
  36. package/dist/context/local-inbox-handoff.d.ts.map +1 -1
  37. package/dist/context/local-inbox-handoff.js +32 -26
  38. package/dist/context/local-inbox-handoff.js.map +1 -1
  39. package/dist/context/projection-handoff.d.ts.map +1 -1
  40. package/dist/context/projection-handoff.js +36 -31
  41. package/dist/context/projection-handoff.js.map +1 -1
  42. package/dist/context/tenant-index.d.ts.map +1 -1
  43. package/dist/context/tenant-index.js +72 -2
  44. package/dist/context/tenant-index.js.map +1 -1
  45. package/dist/delivery/delivery-ports.d.ts +14 -4
  46. package/dist/delivery/delivery-ports.d.ts.map +1 -1
  47. package/dist/delivery/delivery.d.ts +19 -21
  48. package/dist/delivery/delivery.d.ts.map +1 -1
  49. package/dist/delivery/delivery.js +541 -158
  50. package/dist/delivery/delivery.js.map +1 -1
  51. package/dist/delivery/inbox-storage.d.ts +12 -3
  52. package/dist/delivery/inbox-storage.d.ts.map +1 -1
  53. package/dist/delivery/inbox-storage.js +160 -67
  54. package/dist/delivery/inbox-storage.js.map +1 -1
  55. package/dist/delivery/inbox.d.ts +9 -0
  56. package/dist/delivery/inbox.d.ts.map +1 -1
  57. package/dist/delivery/inbox.js +11 -0
  58. package/dist/delivery/inbox.js.map +1 -1
  59. package/dist/delivery/sharded-work-registry.d.ts.map +1 -1
  60. package/dist/delivery/sharded-work-registry.js +2 -1
  61. package/dist/delivery/sharded-work-registry.js.map +1 -1
  62. package/dist/entity/entity-metadata.d.ts +14 -5
  63. package/dist/entity/entity-metadata.d.ts.map +1 -1
  64. package/dist/entity/entity-metadata.js +38 -2
  65. package/dist/entity/entity-metadata.js.map +1 -1
  66. package/dist/entity/entity-storage-descriptor.d.ts +25 -5
  67. package/dist/entity/entity-storage-descriptor.d.ts.map +1 -1
  68. package/dist/entity/entity-storage-descriptor.js +69 -23
  69. package/dist/entity/entity-storage-descriptor.js.map +1 -1
  70. package/dist/entity/entity-transaction.d.ts +46 -42
  71. package/dist/entity/entity-transaction.d.ts.map +1 -1
  72. package/dist/entity/entity-transaction.js +130 -35
  73. package/dist/entity/entity-transaction.js.map +1 -1
  74. package/dist/entity/entity.d.ts +243 -98
  75. package/dist/entity/entity.d.ts.map +1 -1
  76. package/dist/entity/entity.js +405 -226
  77. package/dist/entity/entity.js.map +1 -1
  78. package/dist/entity/spec-scanner.d.ts +13 -1
  79. package/dist/entity/spec-scanner.d.ts.map +1 -1
  80. package/dist/entity/spec-scanner.js +20 -3
  81. package/dist/entity/spec-scanner.js.map +1 -1
  82. package/dist/handler/command-registration-readiness.d.ts +6 -6
  83. package/dist/handler/command-registration-readiness.d.ts.map +1 -1
  84. package/dist/handler/command-registration-readiness.js +4 -2
  85. package/dist/handler/command-registration-readiness.js.map +1 -1
  86. package/dist/handler/declared-rejections.d.ts +11 -0
  87. package/dist/handler/declared-rejections.d.ts.map +1 -0
  88. package/dist/handler/declared-rejections.js +34 -0
  89. package/dist/handler/declared-rejections.js.map +1 -0
  90. package/dist/handler/event-registration-readiness.d.ts +13 -56
  91. package/dist/handler/event-registration-readiness.d.ts.map +1 -1
  92. package/dist/handler/event-registration-readiness.js +23 -43
  93. package/dist/handler/event-registration-readiness.js.map +1 -1
  94. package/dist/handler/generated-handler-registry.d.ts +72 -33
  95. package/dist/handler/generated-handler-registry.d.ts.map +1 -1
  96. package/dist/handler/generated-handler-registry.js +421 -43
  97. package/dist/handler/generated-handler-registry.js.map +1 -1
  98. package/dist/handler/generated-registry-discovery.d.ts.map +1 -1
  99. package/dist/handler/generated-registry-discovery.js +2 -4
  100. package/dist/handler/generated-registry-discovery.js.map +1 -1
  101. package/dist/handler/handler-decorators.d.ts +91 -37
  102. package/dist/handler/handler-decorators.d.ts.map +1 -1
  103. package/dist/handler/handler-decorators.js +124 -31
  104. package/dist/handler/handler-decorators.js.map +1 -1
  105. package/dist/handler/handler-metadata.d.ts +105 -60
  106. package/dist/handler/handler-metadata.d.ts.map +1 -1
  107. package/dist/handler/handler-metadata.js +275 -57
  108. package/dist/handler/handler-metadata.js.map +1 -1
  109. package/dist/handler/registration-readiness-metadata.d.ts +4 -0
  110. package/dist/handler/registration-readiness-metadata.d.ts.map +1 -1
  111. package/dist/handler/registration-readiness-metadata.js +84 -2
  112. package/dist/handler/registration-readiness-metadata.js.map +1 -1
  113. package/dist/handler/standalone.d.ts +25 -0
  114. package/dist/handler/standalone.d.ts.map +1 -0
  115. package/dist/handler/standalone.js +38 -0
  116. package/dist/handler/standalone.js.map +1 -0
  117. package/dist/index.d.ts +9 -9
  118. package/dist/index.d.ts.map +1 -1
  119. package/dist/index.js +3 -3
  120. package/dist/index.js.map +1 -1
  121. package/dist/repository/command-routing.d.ts +63 -10
  122. package/dist/repository/command-routing.d.ts.map +1 -1
  123. package/dist/repository/command-routing.js +41 -8
  124. package/dist/repository/command-routing.js.map +1 -1
  125. package/dist/repository/event-routing.d.ts +64 -9
  126. package/dist/repository/event-routing.d.ts.map +1 -1
  127. package/dist/repository/event-routing.js +42 -7
  128. package/dist/repository/event-routing.js.map +1 -1
  129. package/dist/repository/primitive-id.d.ts +12 -23
  130. package/dist/repository/primitive-id.d.ts.map +1 -1
  131. package/dist/repository/primitive-id.js +2 -27
  132. package/dist/repository/primitive-id.js.map +1 -1
  133. package/dist/repository/repository.d.ts +317 -87
  134. package/dist/repository/repository.d.ts.map +1 -1
  135. package/dist/repository/repository.js +3746 -856
  136. package/dist/repository/repository.js.map +1 -1
  137. package/dist/repository/state-update-routing.d.ts +67 -8
  138. package/dist/repository/state-update-routing.d.ts.map +1 -1
  139. package/dist/repository/state-update-routing.js +45 -6
  140. package/dist/repository/state-update-routing.js.map +1 -1
  141. package/dist/runtime/runtime.js +1 -1
  142. package/dist/runtime/runtime.js.map +1 -1
  143. package/dist/runtime/signal-metadata.d.ts +22 -47
  144. package/dist/runtime/signal-metadata.d.ts.map +1 -1
  145. package/dist/runtime/signal-metadata.js +34 -69
  146. package/dist/runtime/signal-metadata.js.map +1 -1
  147. package/dist/runtime/signal-publisher.d.ts +144 -0
  148. package/dist/runtime/signal-publisher.d.ts.map +1 -0
  149. package/dist/runtime/signal-publisher.js +248 -0
  150. package/dist/runtime/signal-publisher.js.map +1 -0
  151. package/dist/runtime/standalone-handler-runtime.d.ts +130 -0
  152. package/dist/runtime/standalone-handler-runtime.d.ts.map +1 -0
  153. package/dist/runtime/standalone-handler-runtime.js +382 -0
  154. package/dist/runtime/standalone-handler-runtime.js.map +1 -0
  155. package/dist/server/environment-attachment.d.ts.map +1 -1
  156. package/dist/server/environment-attachment.js +2 -1
  157. package/dist/server/environment-attachment.js.map +1 -1
  158. package/dist/server/environment-delivery-worker.d.ts.map +1 -1
  159. package/dist/server/environment-delivery-worker.js +21 -12
  160. package/dist/server/environment-delivery-worker.js.map +1 -1
  161. package/dist/server/managed-server-application.d.ts +4 -1
  162. package/dist/server/managed-server-application.d.ts.map +1 -1
  163. package/dist/server/managed-server-application.js +2 -2
  164. package/dist/server/managed-server-application.js.map +1 -1
  165. package/dist/server/node-coordinator.js +2 -2
  166. package/dist/server/node-coordinator.js.map +1 -1
  167. package/dist/server/server-log.d.ts.map +1 -1
  168. package/dist/server/server-log.js +4 -0
  169. package/dist/server/server-log.js.map +1 -1
  170. package/dist/server/server.d.ts +9 -177
  171. package/dist/server/server.d.ts.map +1 -1
  172. package/dist/server/server.js +428 -178
  173. package/dist/server/server.js.map +1 -1
  174. package/dist/services/query-reader.d.ts +19 -0
  175. package/dist/services/query-reader.d.ts.map +1 -0
  176. package/dist/services/query-reader.js +43 -0
  177. package/dist/services/query-reader.js.map +1 -0
  178. package/dist/services/registered-targets.d.ts +73 -0
  179. package/dist/services/registered-targets.d.ts.map +1 -0
  180. package/dist/services/registered-targets.js +127 -0
  181. package/dist/services/registered-targets.js.map +1 -0
  182. package/dist/services/spine-services.d.ts +26 -12
  183. package/dist/services/spine-services.d.ts.map +1 -1
  184. package/dist/services/spine-services.js +1047 -969
  185. package/dist/services/spine-services.js.map +1 -1
  186. package/dist/spi/delivery.d.ts +5 -0
  187. package/dist/spi/delivery.d.ts.map +1 -0
  188. package/dist/spi/delivery.js +18 -0
  189. package/dist/spi/delivery.js.map +1 -0
  190. package/dist/spi/handler-registry.d.ts +8 -0
  191. package/dist/spi/handler-registry.d.ts.map +1 -0
  192. package/dist/spi/handler-registry.js +15 -0
  193. package/dist/spi/handler-registry.js.map +1 -0
  194. package/dist/stand/stand.d.ts +73 -1
  195. package/dist/stand/stand.d.ts.map +1 -1
  196. package/dist/stand/stand.js +221 -48
  197. package/dist/stand/stand.js.map +1 -1
  198. package/dist/stand/subscription-observer.d.ts.map +1 -1
  199. package/dist/stand/subscription-observer.js +5 -12
  200. package/dist/stand/subscription-observer.js.map +1 -1
  201. package/dist/stand/subscription-registry.js +1 -1
  202. package/dist/stand/subscription-registry.js.map +1 -1
  203. package/dist/testing/index.d.ts +25 -3
  204. package/dist/testing/index.d.ts.map +1 -1
  205. package/dist/testing/index.js +23 -3
  206. package/dist/testing/index.js.map +1 -1
  207. package/dist/tsconfig.tsbuildinfo +1 -1
  208. package/package.json +33 -23
  209. package/dist/handler/build-time-handler-analyzer.d.ts +0 -150
  210. package/dist/handler/build-time-handler-analyzer.d.ts.map +0 -1
  211. package/dist/handler/build-time-handler-analyzer.js +0 -1101
  212. package/dist/handler/build-time-handler-analyzer.js.map +0 -1
  213. package/dist/handler/generated-registry-writer.d.ts +0 -58
  214. package/dist/handler/generated-registry-writer.d.ts.map +0 -1
  215. package/dist/handler/generated-registry-writer.js +0 -458
  216. package/dist/handler/generated-registry-writer.js.map +0 -1
  217. package/dist/handler/handler-codegen.d.ts +0 -48
  218. package/dist/handler/handler-codegen.d.ts.map +0 -1
  219. package/dist/handler/handler-codegen.js +0 -214
  220. package/dist/handler/handler-codegen.js.map +0 -1
  221. package/dist/server/browser-server.d.ts +0 -49
  222. package/dist/server/browser-server.d.ts.map +0 -1
  223. package/dist/server/browser-server.js.map +0 -1
  224. package/dist/server/durable-subscription-bindings.d.ts.map +0 -1
  225. package/dist/server/durable-subscription-bindings.js.map +0 -1
  226. /package/dist/{server → browser}/durable-subscription-bindings.d.ts +0 -0
  227. /package/dist/{server → browser}/durable-subscription-bindings.js +0 -0
@@ -8,11 +8,13 @@ import type { EventDispatcher } from "../bus/event-dispatcher.js";
8
8
  import { type DeliveryEndpoint, type DeliveryReady, type OnDeliveryReady } from "./local-inbox-handoff.js";
9
9
  import { type TenantIndex } from "./tenant-index.js";
10
10
  import { Repository, type ConcreteRepositoryEntityType, type RepositoryEntityType, type RepositoryOptions, type RepositoryView } from "../repository/repository.js";
11
+ import { AbstractAssignee, AbstractCommander, AbstractEventReactor, AbstractEventSubscriber } from "../handler/standalone.js";
11
12
  import { Stand } from "../stand/stand.js";
12
13
  import { SubscriptionRuntime } from "../stand/subscription-runtime.js";
13
14
  import { type StandSubscriptionRegistry } from "../stand/subscription-registry.js";
14
15
  import type { DeliveryEndpointMessage } from "../delivery/delivery.js";
15
16
  import { type DeliveryStrategy } from "../delivery/delivery-builder.js";
17
+ import { SignalPublisher } from "../runtime/signal-publisher.js";
16
18
  /**
17
19
  * Tenant isolation mode declared by a bounded context specification.
18
20
  */
@@ -116,10 +118,10 @@ export interface ContextDeliveryDescriptor {
116
118
  */
117
119
  onReady(onReady: OnDeliveryReady): () => void;
118
120
  /**
119
- * Updates readiness ownership to use configured delivery routes.
121
+ * Routes readiness notifications through the configured delivery routes.
120
122
  *
121
123
  * @param scopes Lists routes that may receive buffered readiness.
122
- * @param onReady Observes readiness after routed ownership begins.
124
+ * @param onReady Observes readiness after routing changes.
123
125
  * @param options Allows an empty route set when `allowEmpty` is true.
124
126
  * @returns A promise that resolves after the readiness transition completes.
125
127
  */
@@ -139,7 +141,7 @@ export interface CommandEndpoint {
139
141
  */
140
142
  acceptedCommandTypes(): readonly string[];
141
143
  /**
142
- * Posts a command into the context-owned command bus.
144
+ * Posts a command to this context's command bus.
143
145
  *
144
146
  * @param command Contains the command to dispatch.
145
147
  * @returns A promise that settles after queued command dispatch completes and may reject.
@@ -157,7 +159,7 @@ export interface EventEndpoint {
157
159
  */
158
160
  acceptedEventTypes(): readonly string[];
159
161
  /**
160
- * Posts an event into the context-owned event bus.
162
+ * Posts an event to this context's event bus.
161
163
  *
162
164
  * @param event Contains the event to dispatch.
163
165
  * @returns A promise that settles after persistence and dispatch complete and may reject.
@@ -197,39 +199,6 @@ export interface ReadCatchUpResult {
197
199
  */
198
200
  readonly clearedStateTypes: readonly string[];
199
201
  }
200
- /**
201
- * Observable failure from asynchronous event follow-up processing.
202
- *
203
- * This covers dispatch of already-stored events and independent follow-up
204
- * posts whose acceptance, storage, or dispatch failed.
205
- */
206
- export interface StoredEventDispatchFailure {
207
- /**
208
- * Event snapshot associated with the failure; it may not have reached storage.
209
- */
210
- readonly event: Event;
211
- /**
212
- * Frozen scalar snapshot of the thrown failure.
213
- */
214
- readonly error: DispatchErrorSnapshot;
215
- }
216
- /**
217
- * Copy-safe event follow-up error diagnostic.
218
- */
219
- export interface DispatchErrorSnapshot {
220
- /**
221
- * Error class/name, or a stable label for non-Error throws.
222
- */
223
- readonly name: string;
224
- /**
225
- * Bounded diagnostic message.
226
- */
227
- readonly message: string;
228
- /**
229
- * Bounded stack string when the thrown value is an Error with a stack.
230
- */
231
- readonly stack?: string;
232
- }
233
202
  /**
234
203
  * Error thrown when a bounded context name cannot be accepted.
235
204
  */
@@ -249,42 +218,199 @@ interface FrameworkConstructionToken {
249
218
  readonly frameworkConstructionToken: true;
250
219
  }
251
220
  interface BoundedContextAccess {
221
+ /**
222
+ * Stops new work admission before a Server drains all its contexts.
223
+ *
224
+ * @param context Built context entering shutdown.
225
+ */
226
+ beginClose(context: BoundedContext): void;
227
+ /**
228
+ * Waits for accepted work while every Stand remains available.
229
+ *
230
+ * @param context Built context whose work must settle.
231
+ * @returns Completion after the context's accepted work drains.
232
+ */
233
+ drainWork(context: BoundedContext): Promise<void>;
234
+ /**
235
+ * Checks whether a value is a builder created by this module.
236
+ *
237
+ * @param value Value to check.
238
+ * @returns True for a registered builder.
239
+ */
252
240
  isBuilder(value: unknown): value is BoundedContextBuilder;
241
+ /**
242
+ * Builds a registered context builder with supplied default storage.
243
+ *
244
+ * @param builder Registered builder to build.
245
+ * @param defaultStorageFactory Storage used when the builder has none.
246
+ * @returns Promise resolving to a bounded context.
247
+ */
253
248
  build(builder: BoundedContextBuilder, defaultStorageFactory: StorageFactory): Promise<BoundedContext>;
249
+ /**
250
+ * Subscribes to a public event type on a built context.
251
+ *
252
+ * @param context Built context to observe.
253
+ * @param typeUrl Public event type URL.
254
+ * @param subscriber Event subscriber to register.
255
+ * @returns Cancellable event subscription.
256
+ */
254
257
  subscribeToEvent(context: BoundedContext, typeUrl: string, subscriber: EventSubscriber): EventSubscription;
258
+ /**
259
+ * Posts a framework System event through the context publisher.
260
+ *
261
+ * @param context Target bounded context.
262
+ * @param event System event to post.
263
+ * @returns Promise settling after publication.
264
+ */
255
265
  postSystemEvent(context: BoundedContext, event: Event): Promise<void>;
266
+ /**
267
+ * Marks a copied event as external and posts it through the context endpoint.
268
+ *
269
+ * @param context Target bounded context.
270
+ * @param event External event to post.
271
+ * @returns Event dispatch promise.
272
+ */
273
+ postExternalEvent(context: BoundedContext, event: Event): Promise<void>;
274
+ /**
275
+ * Observes commands and events published by the context.
276
+ *
277
+ * @param context Context whose signals are observed.
278
+ * @param observer Callbacks for produced commands and events.
279
+ * @returns Handle whose close operation removes the observer.
280
+ */
281
+ observeProducedSignals(context: BoundedContext, observer: {
282
+ readonly onCommand?: (command: Readonly<Command>) => void;
283
+ readonly onEvent?: (event: Readonly<Event>) => void;
284
+ }): {
285
+ readonly close: () => void;
286
+ };
287
+ /**
288
+ * Returns a copy-safe snapshot of paired domain and System specifications.
289
+ *
290
+ * @param context Context whose pairing is read.
291
+ * @returns Paired specification snapshot.
292
+ */
256
293
  systemPairing(context: BoundedContext): SystemPairingSnapshot;
294
+ /**
295
+ * Returns the context tenant index.
296
+ *
297
+ * @param context Context whose index is read.
298
+ * @returns Tenant index for the built context.
299
+ */
257
300
  tenantIndex(context: BoundedContext): TenantIndex;
301
+ /**
302
+ * Returns the storage factory configured for a built context.
303
+ *
304
+ * @param context Context whose storage factory is read.
305
+ * @returns Configured storage factory.
306
+ */
258
307
  storageFactory(context: BoundedContext): StorageFactory;
308
+ /**
309
+ * Returns the context's Stand subscription registry.
310
+ *
311
+ * @param context Context whose registry is read.
312
+ * @returns Stand subscription registry.
313
+ */
259
314
  subscriptionRegistry(context: BoundedContext): StandSubscriptionRegistry;
315
+ /**
316
+ * Processes a registered Stand subscription and forwards each update.
317
+ *
318
+ * @param context Context containing the subscription.
319
+ * @param id Registered subscription ID.
320
+ * @param onUpdate Callback receiving updates.
321
+ * @returns Promise resolving to the subscription handle.
322
+ */
260
323
  consumeSubscription(context: BoundedContext, id: string, onUpdate: (update: import("@spine-event-engine/proto/client").SubscriptionUpdate) => void): Promise<import("../stand/stand.js").StandSubscription>;
324
+ /**
325
+ * Sets a logger on context buses and subscription runtime.
326
+ *
327
+ * @param context Context receiving the logger.
328
+ * @param logger Logging layer to install.
329
+ */
261
330
  installLogger(context: BoundedContext, logger: ILogLayer): void;
331
+ /**
332
+ * Returns the logger installed on a built context.
333
+ *
334
+ * @param context Context whose logger is read.
335
+ * @returns Installed logging layer.
336
+ */
262
337
  loggerFor(context: BoundedContext): ILogLayer;
263
- recordDispatchFailure(context: BoundedContext, event: Event, error: unknown): void;
338
+ /**
339
+ * Returns the delivery descriptor for a built context.
340
+ *
341
+ * @param context Context whose descriptor is read.
342
+ * @returns Delivery descriptor.
343
+ */
264
344
  delivery(context: BoundedContext): ContextDeliveryDescriptor;
265
345
  }
346
+ /**
347
+ * Prepared services passed through the framework-only context construction hook.
348
+ */
349
+ interface BoundedContextAssembly {
350
+ /**
351
+ * Immutable context metadata.
352
+ */
353
+ readonly snapshot: BoundedContextSnapshot;
354
+ /**
355
+ * Command dispatch for this context.
356
+ */
357
+ readonly commandBus: CommandBus;
358
+ /**
359
+ * Domain Event dispatch for this context.
360
+ */
361
+ readonly eventBus: EventBus;
362
+ /**
363
+ * System Event dispatch for the paired context.
364
+ */
365
+ readonly systemEventBus: EventBus;
366
+ /**
367
+ * Publishes signals produced by handlers.
368
+ */
369
+ readonly publisher: SignalPublisher;
370
+ /**
371
+ * Domain read-side Stand.
372
+ */
373
+ readonly stand: Stand;
374
+ /**
375
+ * Paired System read-side Stand.
376
+ */
377
+ readonly systemStand: Stand;
378
+ /**
379
+ * Coordinates paired subscriptions.
380
+ */
381
+ readonly subscriptionRuntime: SubscriptionRuntime;
382
+ /**
383
+ * Paired System Context metadata.
384
+ */
385
+ readonly systemSpec: ContextSpecSnapshot;
386
+ /**
387
+ * Provider that creates context storage.
388
+ */
389
+ readonly storageFactory: StorageFactory;
390
+ /**
391
+ * Repositories registered in this context.
392
+ */
393
+ readonly repositories: readonly RepositoryView[];
394
+ /**
395
+ * Sharding choice for Entity Inbox delivery.
396
+ */
397
+ readonly deliveryStrategy: DeliveryStrategy;
398
+ /**
399
+ * Proof of framework-controlled construction.
400
+ */
401
+ readonly token: FrameworkConstructionToken;
402
+ }
266
403
  /**
267
404
  * Represents a built bounded context and its command, event, repository, and read-side resources.
268
405
  */
269
406
  export declare class BoundedContext {
270
407
  #private;
271
408
  /**
272
- * Creates a framework-owned bounded context.
273
- *
274
- * @param snapshot Contains the immutable context metadata.
275
- * @param commandBus Dispatches commands accepted by this context.
276
- * @param eventBus Dispatches events accepted by this context.
277
- * @param systemEventBus Dispatches framework-only System events.
278
- * @param stand Stores read-side state for this context.
279
- * @param systemStand Stores read-side state for the paired System Context.
280
- * @param subscriptionRuntime Coordinates pair-owned subscription delivery.
281
- * @param systemSpec Contains paired System Context metadata.
282
- * @param storageFactory Creates context storage.
283
- * @param repositories Lists repositories to register.
284
- * @param deliveryStrategy Selects immutable Entity Inbox shards.
285
- * @param token Proves framework-controlled construction.
409
+ * Creates a Bounded Context from its prepared framework services.
410
+ *
411
+ * @param input Prepared services and framework construction token.
286
412
  */
287
- protected constructor(snapshot: BoundedContextSnapshot, commandBus: CommandBus, eventBus: EventBus, systemEventBus: EventBus, stand: Stand, systemStand: Stand, subscriptionRuntime: SubscriptionRuntime, systemSpec: ContextSpecSnapshot, storageFactory: StorageFactory, repositories: readonly RepositoryView[], deliveryStrategy: DeliveryStrategy, token: FrameworkConstructionToken);
413
+ protected constructor(input: BoundedContextAssembly);
288
414
  /**
289
415
  * Creates a builder for a context without tenant isolation.
290
416
  *
@@ -330,19 +456,19 @@ export declare class BoundedContext {
330
456
  */
331
457
  get snapshot(): BoundedContextSnapshot;
332
458
  /**
333
- * Returns the command endpoint owned by this context.
459
+ * Returns this context's command endpoint.
334
460
  *
335
461
  * @returns Returns the context command endpoint.
336
462
  */
337
463
  commandBus(): CommandEndpoint;
338
464
  /**
339
- * Returns the event endpoint owned by this context.
465
+ * Returns this context's event endpoint.
340
466
  *
341
467
  * @returns Returns the context event endpoint.
342
468
  */
343
469
  eventBus(): EventEndpoint;
344
470
  /**
345
- * Returns the context-owned read-side Stand.
471
+ * Returns the Stand that stores this context's read-side state.
346
472
  *
347
473
  * @returns Returns the read-side state store.
348
474
  */
@@ -353,15 +479,6 @@ export declare class BoundedContext {
353
479
  * @returns Returns immutable repository views.
354
480
  */
355
481
  registeredRepositories(): readonly RepositoryView[];
356
- /**
357
- * Returns copy-safe diagnostics for asynchronous event follow-up failures.
358
- *
359
- * Entries can describe already-stored event dispatch or an independent
360
- * follow-up post that failed before storage.
361
- *
362
- * @returns Returns immutable failure diagnostics.
363
- */
364
- storedEventDispatchFailures(): readonly StoredEventDispatchFailure[];
365
482
  /**
366
483
  * Clears and locally replays every registered Projection from already-stored events.
367
484
  *
@@ -389,14 +506,14 @@ export declare class BoundedContext {
389
506
  */
390
507
  catchUpReadSide(options?: ReadCatchUpOptions): Promise<ReadCatchUpResult>;
391
508
  /**
392
- * Closes context-owned buses, Stand, and repository storage/runtime bindings.
509
+ * Closes this context's buses, Stand, and repository storage and runtime bindings.
393
510
  *
394
511
  * Close is idempotent and returns the same close outcome on repeated calls.
395
- * The context attempts every owned close hook; when any hook fails, the
512
+ * The context attempts every close hook; when any hook fails, the
396
513
  * returned promise rejects with an `AggregateError` after the remaining hooks
397
514
  * have also been attempted.
398
515
  *
399
- * @returns A promise that settles after all owned resources close.
516
+ * @returns A promise that settles after all resources close.
400
517
  */
401
518
  close(): Promise<void>;
402
519
  }
@@ -405,18 +522,25 @@ export declare class BoundedContext {
405
522
  */
406
523
  export declare const boundedContextAccess: BoundedContextAccess;
407
524
  /**
408
- * Customizes a repository assembled from an Entity class and generated handlers.
525
+ * Configures routing and Entity construction for a generated repository.
409
526
  *
410
- * @typeParam EntityType - The Entity class added to a Bounded Context builder.
527
+ * `onCreate` passes the framework's Entity options to an application constructor callback.
528
+ * It is required when the Entity class has additional required constructor arguments.
529
+ *
530
+ * @typeParam EntityType The Entity class added to a Bounded Context builder.
411
531
  */
412
- export type GeneratedRepositoryOptions<EntityType extends RepositoryEntityType & ConcreteRepositoryEntityType<EntityType>> = Readonly<Pick<RepositoryOptions<EntityType>, "commandRouting" | "eventRouting" | "stateUpdateRouting" | "stringifierRegistry">>;
532
+ export type GeneratedRepositoryOptions<EntityType extends RepositoryEntityType & ConcreteRepositoryEntityType<EntityType>> = Readonly<Pick<RepositoryOptions<EntityType>, "commandRouting" | "eventRouting" | "stateUpdateRouting" | "stringifierRegistry">> & (RepositoryOptions<EntityType> extends {
533
+ readonly onCreate: infer Callback;
534
+ } ? {
535
+ readonly onCreate: Callback;
536
+ } : Pick<RepositoryOptions<EntityType>, "onCreate">);
413
537
  /**
414
538
  * Assembles a {@link BoundedContext} from repositories and dispatchers.
415
539
  */
416
540
  export declare class BoundedContextBuilder {
417
541
  #private;
418
542
  /**
419
- * Creates a framework-owned context builder.
543
+ * Creates a builder from a prepared context specification.
420
544
  *
421
545
  * @param specSnapshot Contains the initial context specification.
422
546
  * @param token Proves framework-controlled construction.
@@ -449,6 +573,7 @@ export declare class BoundedContextBuilder {
449
573
  /**
450
574
  * Adds an explicitly assembled repository.
451
575
  *
576
+ * @typeParam EntityType Concrete Entity class represented by the repository.
452
577
  * @param entry The repository to register.
453
578
  * @returns This builder for further configuration.
454
579
  */
@@ -456,14 +581,19 @@ export declare class BoundedContextBuilder {
456
581
  /**
457
582
  * Adds an Entity class whose repository is assembled from generated handlers.
458
583
  *
584
+ * @typeParam EntityType Concrete Entity class represented by this entry.
459
585
  * @param entry The Entity class to register.
460
- * @param options Optional custom routing and field mappings for its generated repository.
586
+ * @param options Routing and constructor callback for its generated repository. The callback
587
+ * is required when the Entity constructor needs additional application arguments.
461
588
  * @returns This builder for further configuration.
462
589
  */
463
- add<EntityType extends RepositoryEntityType & ConcreteRepositoryEntityType<EntityType>>(entry: EntityType, options?: GeneratedRepositoryOptions<EntityType>): this;
590
+ add<EntityType extends RepositoryEntityType & ConcreteRepositoryEntityType<EntityType>>(entry: EntityType, ...options: GeneratedRepositoryOptions<EntityType> extends {
591
+ readonly onCreate: object;
592
+ } ? [options: GeneratedRepositoryOptions<EntityType>] : [options?: GeneratedRepositoryOptions<EntityType>]): this;
464
593
  /**
465
594
  * Removes a repository from the context registration list.
466
595
  *
596
+ * @typeParam EntityType Concrete Entity class represented by the repository.
467
597
  * @param repository Identifies the repository to remove.
468
598
  * @returns Returns this builder for further configuration.
469
599
  */
@@ -471,10 +601,13 @@ export declare class BoundedContextBuilder {
471
601
  /**
472
602
  * Adds a command dispatcher to the context being built.
473
603
  *
474
- * @param dispatcher Dispatches commands accepted by this context.
475
- * @returns Returns this builder for further configuration.
604
+ * @param dispatcher Raw command dispatcher, or an `AbstractCommander` instance.
605
+ * A standalone commander requires generated receiver metadata and therefore
606
+ * this builder's `buildAsync()` path. It installs its Command and Event sides
607
+ * exactly once.
608
+ * @returns This builder for further configuration.
476
609
  */
477
- addCommandDispatcher(dispatcher: CommandDispatcher): this;
610
+ addCommandDispatcher(dispatcher: CommandDispatcher | AbstractCommander): this;
478
611
  /**
479
612
  * Removes a command dispatcher from the context being built.
480
613
  *
@@ -485,10 +618,21 @@ export declare class BoundedContextBuilder {
485
618
  /**
486
619
  * Adds an event dispatcher to the context being built.
487
620
  *
488
- * @param dispatcher Dispatches events accepted by this context.
489
- * @returns Returns this builder for further configuration.
621
+ * @param dispatcher Raw event dispatcher, or a standalone reactor/subscriber.
622
+ * Standalone receivers require generated receiver metadata and `buildAsync()`.
623
+ * @returns This builder for further configuration.
624
+ */
625
+ addEventDispatcher(dispatcher: EventDispatcher | AbstractEventReactor | AbstractEventSubscriber): this;
626
+ /**
627
+ * Adds a generated standalone command assignee.
628
+ *
629
+ * The registered instance is matched by exact constructor to generated
630
+ * receiver metadata when `buildAsync()` assembles the context.
631
+ *
632
+ * @param assignee Generated standalone assignee instance.
633
+ * @returns This builder for further configuration.
490
634
  */
491
- addEventDispatcher(dispatcher: EventDispatcher): this;
635
+ addAssignee(assignee: AbstractAssignee): this;
492
636
  /**
493
637
  * Removes an event dispatcher from the context being built.
494
638
  *
@@ -523,7 +667,7 @@ export declare class BoundedContextBuilder {
523
667
  */
524
668
  withSubscriptionRegistry(registry: StandSubscriptionRegistry): this;
525
669
  /**
526
- * Sets the target-to-shard strategy for the context-owned Entity Inbox.
670
+ * Sets how Entity Inbox targets are assigned to shards.
527
671
  *
528
672
  * @param strategy Selects the durable shard for Aggregate and Process Manager targets.
529
673
  * @returns Returns this builder for further configuration.
@@ -543,11 +687,22 @@ export declare class BoundedContextBuilder {
543
687
  */
544
688
  build(): BoundedContext;
545
689
  /**
546
- * Builds a context after loading generated metadata for added entity classes.
690
+ * Builds a context after loading generated metadata for added entity classes
691
+ * and registered standalone handlers.
692
+ *
693
+ * Standalone assignees, commanders, reactors, and subscribers require this
694
+ * asynchronous path so their exact constructors can be matched to generated
695
+ * receiver metadata.
547
696
  *
548
697
  * @returns Resolves to the built context.
549
698
  */
550
699
  buildAsync(): Promise<BoundedContext>;
700
+ /**
701
+ * Creates the domain EventStore using this context's storage mode.
702
+ *
703
+ * @param storageFactory Storage provider for event records.
704
+ * @returns Domain EventStore.
705
+ */
551
706
  private createEventStore;
552
707
  }
553
708
  /**
@@ -556,7 +711,7 @@ export declare class BoundedContextBuilder {
556
711
  export declare class ContextSpec {
557
712
  #private;
558
713
  /**
559
- * Creates a framework-owned context specification.
714
+ * Creates a context specification from prepared values.
560
715
  *
561
716
  * @param snapshot Contains immutable specification values.
562
717
  * @param token Proves framework-controlled construction.
@@ -1 +1 @@
1
- {"version":3,"file":"bounded-context.d.ts","sourceRoot":"","sources":["../../src/context/bounded-context.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAK1C,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,QAAQ,EACd,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,UAAU,EAAoB,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EACL,QAAQ,EAER,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,KAAK,gBAAgB,EAErB,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EACL,UAAU,EAEV,KAAK,4BAA4B,EAEjC,KAAK,oBAAoB,EAEzB,KAAK,iBAAiB,EAItB,KAAK,cAAc,EACpB,MAAM,6BAA6B,CAAC;AAiBrC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAA6B,MAAM,kCAAkC,CAAC;AAClG,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,uBAAuB,EAA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