@event-driven-io/emmett 0.43.0-beta.19 → 0.43.0-beta.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.
- package/dist/chunk-zc3tnsvq.js +36 -0
- package/dist/cli.cjs +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/{index-C0agmFA7.d.ts → index-B6YAVHH1.d.ts} +1 -1
- package/dist/index.cjs +844 -309
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +277 -51
- package/dist/index.d.ts +276 -52
- package/dist/index.js +827 -311
- package/dist/index.js.map +1 -1
- package/dist/{plugins-CUbnGFPp.js → plugins-DgfqJ5af.js} +1 -1
- package/dist/{plugins-CUbnGFPp.js.map → plugins-DgfqJ5af.js.map} +1 -1
- package/dist/{plugins-DB9xe8AV.cjs → plugins-iXublZYn.cjs} +27 -1
- package/dist/{plugins-DB9xe8AV.cjs.map → plugins-iXublZYn.cjs.map} +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { _ as isPluginConfig, a as IllegalStateError, c as isErrorConstructor, d as EmmettCliPlugin, f as EmmettCliPluginRegistration, g as EmmettPluginType, h as EmmettPluginRegistration, i as ErrorConstructor, l as EmmettPluginsConfig, m as EmmettPluginConfig, n as ConcurrencyInMemoryDatabaseError, o as NotFoundError, p as EmmettPlugin, r as EmmettError, s as ValidationError, t as ConcurrencyError, u as EmmettCliCommand } from "./index-BXN5muYb.cjs";
|
|
2
|
-
import { ObservabilityConfig } from "@event-driven-io/almanac";
|
|
2
|
+
import { AttributeTarget, Meter, ObservabilityConfig, ObservabilityScope, SpanContext, TracePropagation, Tracer } from "@event-driven-io/almanac";
|
|
3
3
|
import retry from "async-retry";
|
|
4
|
+
export * from "@event-driven-io/almanac";
|
|
4
5
|
|
|
6
|
+
//#region \0rolldown/runtime.js
|
|
7
|
+
//#endregion
|
|
5
8
|
//#region src/typing/deepReadonly.d.ts
|
|
6
9
|
type Primitive = undefined | null | boolean | string | number | bigint | symbol | Function;
|
|
7
10
|
type ImmutableTypes = Date | RegExp;
|
|
@@ -195,6 +198,198 @@ interface InMemoryDatabase {
|
|
|
195
198
|
type Predicate<T> = (item: T) => boolean;
|
|
196
199
|
declare const getInMemoryDatabase: () => InMemoryDatabase;
|
|
197
200
|
//#endregion
|
|
201
|
+
//#region src/observability/attributes.d.ts
|
|
202
|
+
declare const EmmettAttributes: {
|
|
203
|
+
readonly scope: {
|
|
204
|
+
readonly type: "emmett.scope.type";
|
|
205
|
+
};
|
|
206
|
+
readonly command: {
|
|
207
|
+
readonly type: "emmett.command.type";
|
|
208
|
+
readonly status: "emmett.command.status";
|
|
209
|
+
readonly eventCount: "emmett.command.event_count";
|
|
210
|
+
readonly eventTypes: "emmett.command.event_types";
|
|
211
|
+
};
|
|
212
|
+
readonly stream: {
|
|
213
|
+
readonly name: "emmett.stream.name";
|
|
214
|
+
readonly versionBefore: "emmett.stream.version.before";
|
|
215
|
+
readonly versionAfter: "emmett.stream.version.after";
|
|
216
|
+
};
|
|
217
|
+
readonly eventStore: {
|
|
218
|
+
readonly operation: "emmett.eventstore.operation";
|
|
219
|
+
readonly read: {
|
|
220
|
+
readonly eventCount: "emmett.eventstore.read.event_count";
|
|
221
|
+
readonly eventTypes: "emmett.eventstore.read.event_types";
|
|
222
|
+
readonly status: "emmett.eventstore.read.status";
|
|
223
|
+
};
|
|
224
|
+
readonly append: {
|
|
225
|
+
readonly batchSize: "emmett.eventstore.append.batch_size";
|
|
226
|
+
readonly status: "emmett.eventstore.append.status";
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly event: {
|
|
230
|
+
readonly type: "emmett.event.type";
|
|
231
|
+
};
|
|
232
|
+
readonly processor: {
|
|
233
|
+
readonly id: "emmett.processor.id";
|
|
234
|
+
readonly type: "emmett.processor.type";
|
|
235
|
+
readonly status: "emmett.processor.status";
|
|
236
|
+
readonly batchSize: "emmett.processor.batch_size";
|
|
237
|
+
readonly eventTypes: "emmett.processor.event_types";
|
|
238
|
+
readonly checkpointBefore: "emmett.processor.checkpoint.before";
|
|
239
|
+
readonly checkpointAfter: "emmett.processor.checkpoint.after";
|
|
240
|
+
readonly lagEvents: "emmett.processor.lag_events";
|
|
241
|
+
};
|
|
242
|
+
readonly workflow: {
|
|
243
|
+
readonly id: "emmett.workflow.id";
|
|
244
|
+
readonly type: "emmett.workflow.type";
|
|
245
|
+
readonly inputType: "emmett.workflow.input.type";
|
|
246
|
+
readonly outputs: "emmett.workflow.outputs";
|
|
247
|
+
readonly outputsCount: "emmett.workflow.outputs.count";
|
|
248
|
+
readonly streamPosition: "emmett.workflow.stream_position";
|
|
249
|
+
readonly stateRebuildEventCount: "emmett.workflow.state_rebuild.event_count";
|
|
250
|
+
};
|
|
251
|
+
readonly consumer: {
|
|
252
|
+
readonly batchSize: "emmett.consumer.batch_size";
|
|
253
|
+
readonly processorCount: "emmett.consumer.processor_count";
|
|
254
|
+
readonly delivery: {
|
|
255
|
+
readonly processorId: "emmett.consumer.delivery.processor_id";
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
declare const EmmettMetrics: {
|
|
260
|
+
readonly command: {
|
|
261
|
+
readonly handlingDuration: "emmett.command.handling.duration";
|
|
262
|
+
};
|
|
263
|
+
readonly event: {
|
|
264
|
+
readonly appendingCount: "emmett.event.appending.count";
|
|
265
|
+
readonly readingCount: "emmett.event.reading.count";
|
|
266
|
+
};
|
|
267
|
+
readonly stream: {
|
|
268
|
+
readonly readingDuration: "emmett.stream.reading.duration";
|
|
269
|
+
readonly readingSize: "emmett.stream.reading.size";
|
|
270
|
+
readonly appendingDuration: "emmett.stream.appending.duration";
|
|
271
|
+
readonly appendingSize: "emmett.stream.appending.size";
|
|
272
|
+
};
|
|
273
|
+
readonly processor: {
|
|
274
|
+
readonly processingDuration: "emmett.processor.processing.duration";
|
|
275
|
+
readonly lagEvents: "emmett.processor.lag_events";
|
|
276
|
+
};
|
|
277
|
+
readonly workflow: {
|
|
278
|
+
readonly processingDuration: "emmett.workflow.processing.duration";
|
|
279
|
+
};
|
|
280
|
+
readonly consumer: {
|
|
281
|
+
readonly pollDuration: "emmett.consumer.poll.duration";
|
|
282
|
+
readonly deliveryDuration: "emmett.consumer.delivery.duration";
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
declare const ScopeTypes: {
|
|
286
|
+
readonly command: "command";
|
|
287
|
+
readonly processor: "processor";
|
|
288
|
+
readonly reactor: "reactor";
|
|
289
|
+
readonly projector: "projector";
|
|
290
|
+
readonly workflow: "workflow";
|
|
291
|
+
readonly consumer: "consumer";
|
|
292
|
+
};
|
|
293
|
+
declare const MessagingSystemName: "emmett";
|
|
294
|
+
//#endregion
|
|
295
|
+
//#region src/observability/options.d.ts
|
|
296
|
+
type WithObservabilityScope<Context> = Context & {
|
|
297
|
+
observabilityScope: ObservabilityScope;
|
|
298
|
+
};
|
|
299
|
+
type PollTracing = 'off' | 'active' | 'verbose';
|
|
300
|
+
type EmmettObservabilityConfig = ObservabilityConfig<'emmett'> & {
|
|
301
|
+
pollTracing?: PollTracing;
|
|
302
|
+
includeMessagePayloads?: boolean;
|
|
303
|
+
};
|
|
304
|
+
type EmmettObservabilityOptions = {
|
|
305
|
+
observability?: EmmettObservabilityConfig;
|
|
306
|
+
};
|
|
307
|
+
type ConsumerObservabilityConfig = Pick<EmmettObservabilityConfig, 'tracer' | 'meter' | 'pollTracing' | 'attributeTarget'>;
|
|
308
|
+
type WorkflowObservabilityConfig = Pick<EmmettObservabilityConfig, 'tracer' | 'meter' | 'propagation' | 'attributeTarget' | 'includeMessagePayloads'>;
|
|
309
|
+
type ResolvedConsumerObservability = {
|
|
310
|
+
tracer: Tracer;
|
|
311
|
+
meter: Meter;
|
|
312
|
+
pollTracing: PollTracing;
|
|
313
|
+
attributeTarget: AttributeTarget;
|
|
314
|
+
};
|
|
315
|
+
type ResolvedWorkflowObservability = {
|
|
316
|
+
tracer: Tracer;
|
|
317
|
+
meter: Meter;
|
|
318
|
+
propagation: TracePropagation;
|
|
319
|
+
attributeTarget: AttributeTarget;
|
|
320
|
+
includeMessagePayloads: boolean;
|
|
321
|
+
};
|
|
322
|
+
declare const resolveConsumerObservability: (options: {
|
|
323
|
+
observability?: ConsumerObservabilityConfig;
|
|
324
|
+
} | undefined, parent?: EmmettObservabilityOptions) => ResolvedConsumerObservability;
|
|
325
|
+
declare const resolveWorkflowObservability: (options: {
|
|
326
|
+
observability?: WorkflowObservabilityConfig;
|
|
327
|
+
} | undefined, parent?: EmmettObservabilityOptions) => ResolvedWorkflowObservability;
|
|
328
|
+
//#endregion
|
|
329
|
+
//#region src/observability/tracer.d.ts
|
|
330
|
+
declare const tracer: {
|
|
331
|
+
(): void;
|
|
332
|
+
info(eventName: string, attributes?: Record<string, any>): void;
|
|
333
|
+
warn(eventName: string, attributes?: Record<string, any>): void;
|
|
334
|
+
log(eventName: string, attributes?: Record<string, any>): void;
|
|
335
|
+
error(eventName: string, attributes?: Record<string, any>): void;
|
|
336
|
+
};
|
|
337
|
+
type LogLevel = 'DISABLED' | 'INFO' | 'LOG' | 'WARN' | 'ERROR';
|
|
338
|
+
declare const LogLevel: {
|
|
339
|
+
DISABLED: LogLevel;
|
|
340
|
+
INFO: LogLevel;
|
|
341
|
+
LOG: LogLevel;
|
|
342
|
+
WARN: LogLevel;
|
|
343
|
+
ERROR: LogLevel;
|
|
344
|
+
};
|
|
345
|
+
type LogType = 'CONSOLE';
|
|
346
|
+
type LogStyle = 'RAW' | 'PRETTY';
|
|
347
|
+
declare const LogStyle: {
|
|
348
|
+
RAW: LogStyle;
|
|
349
|
+
PRETTY: LogStyle;
|
|
350
|
+
};
|
|
351
|
+
//#endregion
|
|
352
|
+
//#region src/eventStore/observability/eventStoreCollector.d.ts
|
|
353
|
+
type EventStoreObservabilityConfig = Pick<EmmettObservabilityConfig, 'tracer' | 'meter' | 'attributeTarget'>;
|
|
354
|
+
type ResolvedEventStoreObservability = {
|
|
355
|
+
tracer: Tracer;
|
|
356
|
+
meter: Meter;
|
|
357
|
+
attributeTarget: AttributeTarget;
|
|
358
|
+
};
|
|
359
|
+
declare const resolveEventStoreObservability: (options: {
|
|
360
|
+
observability?: EventStoreObservabilityConfig;
|
|
361
|
+
} | undefined, parent?: EmmettObservabilityOptions) => ResolvedEventStoreObservability;
|
|
362
|
+
declare const eventStoreCollector: (observability: ResolvedEventStoreObservability) => {
|
|
363
|
+
instrumentRead: <EventType extends Event, ReadEventMetadataType extends AnyReadEventMetadata = AnyRecordedMessageMetadata>(streamName: string, fn: () => Promise<ReadStreamResult<EventType, ReadEventMetadataType>>) => Promise<ReadStreamResult<EventType, ReadEventMetadataType>>;
|
|
364
|
+
instrumentAppend: <Result extends AppendToStreamResult, EventType extends Event = Event>(streamName: string, events: EventType[], fn: () => Promise<Result>) => Promise<Result>;
|
|
365
|
+
};
|
|
366
|
+
//#endregion
|
|
367
|
+
//#region src/observability/collectors/consumerCollector.d.ts
|
|
368
|
+
declare const consumerCollector: (observability: ResolvedConsumerObservability) => {
|
|
369
|
+
tracePoll: <T>(context: {
|
|
370
|
+
processorCount: number;
|
|
371
|
+
batchSize: number;
|
|
372
|
+
empty: boolean;
|
|
373
|
+
waitMs?: number;
|
|
374
|
+
}, fn: (scope: ObservabilityScope) => Promise<T>) => Promise<T>;
|
|
375
|
+
recordPollMetrics: (durationMs: number, attrs?: Record<string, unknown>) => void;
|
|
376
|
+
traceDelivery: <T>(scope: ObservabilityScope, processorId: string, fn: () => Promise<T>) => Promise<T>;
|
|
377
|
+
};
|
|
378
|
+
//#endregion
|
|
379
|
+
//#region src/observability/collectors/workflowCollector.d.ts
|
|
380
|
+
type WorkflowCollectorContext = {
|
|
381
|
+
workflowId: string;
|
|
382
|
+
workflowType: string;
|
|
383
|
+
inputType: string;
|
|
384
|
+
};
|
|
385
|
+
declare const workflowCollector: (observability: ResolvedWorkflowObservability) => {
|
|
386
|
+
startScope: <T>(context: WorkflowCollectorContext, fn: (scope: ObservabilityScope) => Promise<T>) => Promise<T>;
|
|
387
|
+
recordOutputs: (scope: ObservabilityScope, outputs: {
|
|
388
|
+
type: string;
|
|
389
|
+
}[]) => void;
|
|
390
|
+
recordStateRebuild: (scope: ObservabilityScope, eventCount: number) => void;
|
|
391
|
+
};
|
|
392
|
+
//#endregion
|
|
198
393
|
//#region src/serialization/json/serializer.d.ts
|
|
199
394
|
interface Serializer<Payload, SerializeOptions extends Record<string, unknown> = Record<string, unknown>, DeserializeOptions extends Record<string, unknown> = SerializeOptions> {
|
|
200
395
|
serialize<T>(object: T, options?: SerializeOptions): Payload;
|
|
@@ -268,37 +463,63 @@ declare const JSONCodec: <T, Payload = T, SerializeOptions extends JSONSerialize
|
|
|
268
463
|
//#endregion
|
|
269
464
|
//#region src/projections/index.d.ts
|
|
270
465
|
type ProjectionHandlingType = 'inline' | 'async';
|
|
271
|
-
type
|
|
272
|
-
type
|
|
273
|
-
type
|
|
466
|
+
type ProjectionHandlerContext<HandlerContext extends DefaultRecord = DefaultRecord> = MessageHandlerContext<HandlerContext>;
|
|
467
|
+
type ProjectionHandler<EventType extends Event = AnyEvent, EventMetaDataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext> = BatchRecordedMessageHandlerWithContext<EventType, EventMetaDataType, HandlerContext>;
|
|
468
|
+
type TruncateProjection<HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext> = (context: HandlerContext) => Promise<void>;
|
|
469
|
+
type ProjectionInitOptions<HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext> = {
|
|
274
470
|
version: number;
|
|
275
471
|
status?: 'active' | 'inactive';
|
|
276
472
|
registrationType: ProjectionHandlingType;
|
|
277
|
-
context:
|
|
473
|
+
context: HandlerContext;
|
|
278
474
|
};
|
|
279
|
-
type ProjectionDefinition<EventType extends Event = AnyEvent, EventMetaDataType extends AnyReadEventMetadata = AnyReadEventMetadata,
|
|
475
|
+
type ProjectionDefinition<EventType extends Event = AnyEvent, EventMetaDataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext, EventPayloadType extends Event = EventType> = {
|
|
280
476
|
name?: string;
|
|
281
477
|
version?: number;
|
|
282
478
|
kind?: string;
|
|
283
479
|
canHandle: CanHandle<EventType>;
|
|
284
|
-
handle: ProjectionHandler<EventType, EventMetaDataType,
|
|
285
|
-
truncate?: TruncateProjection<
|
|
286
|
-
init?: (options: ProjectionInitOptions<
|
|
480
|
+
handle: ProjectionHandler<EventType, EventMetaDataType, HandlerContext>;
|
|
481
|
+
truncate?: TruncateProjection<HandlerContext>;
|
|
482
|
+
init?: (options: ProjectionInitOptions<HandlerContext>) => void | Promise<void>;
|
|
287
483
|
eventsOptions?: {
|
|
288
484
|
schema?: EventStoreReadSchemaOptions<EventType, EventPayloadType>;
|
|
289
485
|
};
|
|
290
486
|
} & JSONSerializationOptions;
|
|
291
|
-
type ProjectionRegistration<HandlingType extends ProjectionHandlingType, ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata,
|
|
487
|
+
type ProjectionRegistration<HandlingType extends ProjectionHandlingType, ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext> = {
|
|
292
488
|
type: HandlingType;
|
|
293
|
-
projection: ProjectionDefinition<AnyEvent, ReadEventMetadataType,
|
|
489
|
+
projection: ProjectionDefinition<AnyEvent, ReadEventMetadataType, HandlerContext, AnyEvent>;
|
|
294
490
|
};
|
|
295
|
-
declare const filterProjections: <ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata,
|
|
296
|
-
declare const projection: <EventType extends Event = Event, EventMetaDataType extends AnyReadEventMetadata = AnyReadEventMetadata,
|
|
297
|
-
declare const inlineProjections: <ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata,
|
|
298
|
-
declare const asyncProjections: <ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata,
|
|
491
|
+
declare const filterProjections: <ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext>(type: ProjectionHandlingType, projections: ProjectionRegistration<ProjectionHandlingType, ReadEventMetadataType, HandlerContext>[]) => ProjectionDefinition<AnyEvent, ReadEventMetadataType, HandlerContext, AnyEvent>[];
|
|
492
|
+
declare const projection: <EventType extends Event = Event, EventMetaDataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext, EventPayloadType extends Event = EventType>(definition: ProjectionDefinition<EventType, EventMetaDataType, HandlerContext, EventPayloadType>) => ProjectionDefinition<EventType, EventMetaDataType, HandlerContext, EventPayloadType>;
|
|
493
|
+
declare const inlineProjections: <ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext>(definitions: ProjectionDefinition<any, ReadEventMetadataType, HandlerContext>[]) => ProjectionRegistration<"inline", ReadEventMetadataType, HandlerContext>[];
|
|
494
|
+
declare const asyncProjections: <ReadEventMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext>(definitions: ProjectionDefinition<AnyEvent, ReadEventMetadataType, HandlerContext>[]) => ProjectionRegistration<"inline", ReadEventMetadataType, HandlerContext>[];
|
|
299
495
|
declare const projections: {
|
|
300
|
-
inline: <ReadEventMetadataType extends AnyReadEventMetadata = AnyRecordedMessageMetadata,
|
|
301
|
-
async: <ReadEventMetadataType extends AnyReadEventMetadata = AnyRecordedMessageMetadata,
|
|
496
|
+
inline: <ReadEventMetadataType extends AnyReadEventMetadata = AnyRecordedMessageMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext<DefaultRecord>>(definitions: ProjectionDefinition<any, ReadEventMetadataType, HandlerContext>[]) => ProjectionRegistration<"inline", ReadEventMetadataType, HandlerContext>[];
|
|
497
|
+
async: <ReadEventMetadataType extends AnyReadEventMetadata = AnyRecordedMessageMetadata, HandlerContext extends ProjectionHandlerContext = ProjectionHandlerContext<DefaultRecord>>(definitions: ProjectionDefinition<AnyEvent, ReadEventMetadataType, HandlerContext>[]) => ProjectionRegistration<"inline", ReadEventMetadataType, HandlerContext>[];
|
|
498
|
+
};
|
|
499
|
+
//#endregion
|
|
500
|
+
//#region src/processors/observability/processorCollector.d.ts
|
|
501
|
+
type ProcessorObservabilityConfig = Pick<EmmettObservabilityConfig, 'tracer' | 'meter' | 'propagation' | 'attributeTarget' | 'includeMessagePayloads'>;
|
|
502
|
+
type ResolvedProcessorObservability = {
|
|
503
|
+
tracer: Tracer;
|
|
504
|
+
meter: Meter;
|
|
505
|
+
propagation: TracePropagation;
|
|
506
|
+
attributeTarget: AttributeTarget;
|
|
507
|
+
includeMessagePayloads: boolean;
|
|
508
|
+
};
|
|
509
|
+
declare const resolveProcessorObservability: (options: {
|
|
510
|
+
observability?: ProcessorObservabilityConfig;
|
|
511
|
+
} | undefined, parent?: EmmettObservabilityOptions) => ResolvedProcessorObservability;
|
|
512
|
+
type ProcessorCollectorContext = {
|
|
513
|
+
processorId: string;
|
|
514
|
+
type: string;
|
|
515
|
+
checkpoint: ProcessorCheckpoint | null;
|
|
516
|
+
};
|
|
517
|
+
declare const processorCollector: (observability: ResolvedProcessorObservability) => {
|
|
518
|
+
startScope: <MessageType extends Message = Message, MessageMetadataType extends AnyReadEventMetadata = AnyRecordedMessageMetadata, T = void>(context: ProcessorCollectorContext, messages: RecordedMessage<MessageType, MessageMetadataType>[], fn: (scope: ObservabilityScope) => Promise<T>) => Promise<T>;
|
|
519
|
+
startMessageScope: <MessageType extends Message = Message, MessageMetadataType extends AnyReadEventMetadata = AnyRecordedMessageMetadata, T = void>(context: ProcessorCollectorContext & {
|
|
520
|
+
archetypeType: string;
|
|
521
|
+
}, message: RecordedMessage<MessageType, MessageMetadataType>, batchCtx: SpanContext, fn: (scope: ObservabilityScope) => Promise<T>) => Promise<T>;
|
|
522
|
+
recordLag: (processorId: string, lag: number) => void;
|
|
302
523
|
};
|
|
303
524
|
//#endregion
|
|
304
525
|
//#region src/processors/processors.d.ts
|
|
@@ -312,14 +533,14 @@ declare const MessageProcessorType: {
|
|
|
312
533
|
PROJECTOR: MessageProcessorType;
|
|
313
534
|
REACTOR: MessageProcessorType;
|
|
314
535
|
};
|
|
315
|
-
type MessageProcessor<MessageType extends AnyMessage = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends
|
|
536
|
+
type MessageProcessor<MessageType extends AnyMessage = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends MessageHandlerContext | undefined = undefined> = {
|
|
316
537
|
id: string;
|
|
317
538
|
instanceId: string;
|
|
318
539
|
type: string;
|
|
319
540
|
canHandle?: string[];
|
|
320
|
-
init: (options
|
|
321
|
-
start: (options
|
|
322
|
-
close: (closeOptions
|
|
541
|
+
init: (options?: Partial<HandlerContext>) => Promise<void>;
|
|
542
|
+
start: (options?: Partial<HandlerContext>) => Promise<CurrentMessageProcessorPosition | undefined>;
|
|
543
|
+
close: (closeOptions?: Partial<HandlerContext>) => Promise<void>;
|
|
323
544
|
isActive: boolean;
|
|
324
545
|
handle: BatchRecordedMessageHandlerWithContext<MessageType, MessageMetadataType, Partial<HandlerContext>>;
|
|
325
546
|
};
|
|
@@ -334,13 +555,13 @@ declare const MessageProcessor: {
|
|
|
334
555
|
}) => SingleMessageHandlerResult;
|
|
335
556
|
};
|
|
336
557
|
};
|
|
337
|
-
type MessageProcessingScope<HandlerContext extends
|
|
338
|
-
type ProcessorHooks<HandlerContext extends
|
|
558
|
+
type MessageProcessingScope<HandlerContext extends MessageHandlerContext | undefined = undefined> = <Result = SingleMessageHandlerResult>(handler: (context: HandlerContext) => Result | Promise<Result>, partialContext: WithObservabilityScope<Partial<HandlerContext>>) => Result | Promise<Result>;
|
|
559
|
+
type ProcessorHooks<HandlerContext extends MessageHandlerContext = MessageHandlerContext> = {
|
|
339
560
|
onInit?: OnReactorInitHook<HandlerContext>;
|
|
340
561
|
onStart?: OnReactorStartHook<HandlerContext>;
|
|
341
562
|
onClose?: OnReactorCloseHook<HandlerContext>;
|
|
342
563
|
};
|
|
343
|
-
type BaseMessageProcessorOptions<MessageType extends AnyMessage = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends
|
|
564
|
+
type BaseMessageProcessorOptions<MessageType extends AnyMessage = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends MessageHandlerContext = MessageHandlerContext> = {
|
|
344
565
|
type?: string;
|
|
345
566
|
processorId: string;
|
|
346
567
|
processorInstanceId?: string;
|
|
@@ -352,18 +573,20 @@ type BaseMessageProcessorOptions<MessageType extends AnyMessage = AnyMessage, Me
|
|
|
352
573
|
checkpoints?: Checkpointer<MessageType, MessageMetadataType, HandlerContext>;
|
|
353
574
|
canHandle?: CanHandle<MessageType>;
|
|
354
575
|
hooks?: ProcessorHooks<HandlerContext>;
|
|
355
|
-
} & JSONSerializationOptions
|
|
356
|
-
|
|
576
|
+
} & JSONSerializationOptions & {
|
|
577
|
+
observability?: ProcessorObservabilityConfig;
|
|
578
|
+
};
|
|
579
|
+
type HandlerOptions<MessageType extends AnyMessage = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends MessageHandlerContext = MessageHandlerContext> = {
|
|
357
580
|
eachMessage: SingleRecordedMessageHandlerWithContext<MessageType, MessageMetadataType, HandlerContext>;
|
|
358
581
|
eachBatch?: never;
|
|
359
582
|
} | {
|
|
360
583
|
eachMessage?: never;
|
|
361
584
|
eachBatch: BatchRecordedMessageHandlerWithContext<MessageType, MessageMetadataType, HandlerContext>;
|
|
362
585
|
};
|
|
363
|
-
type OnReactorInitHook<HandlerContext extends
|
|
364
|
-
type OnReactorStartHook<HandlerContext extends
|
|
365
|
-
type OnReactorCloseHook<HandlerContext extends
|
|
366
|
-
type ReactorOptions<MessageType extends AnyMessage = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends
|
|
586
|
+
type OnReactorInitHook<HandlerContext extends MessageHandlerContext = MessageHandlerContext> = (context: HandlerContext) => Promise<void>;
|
|
587
|
+
type OnReactorStartHook<HandlerContext extends MessageHandlerContext = MessageHandlerContext> = (context: HandlerContext) => Promise<void>;
|
|
588
|
+
type OnReactorCloseHook<HandlerContext extends MessageHandlerContext = MessageHandlerContext> = (context: HandlerContext) => Promise<void>;
|
|
589
|
+
type ReactorOptions<MessageType extends AnyMessage = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends MessageHandlerContext = MessageHandlerContext, MessagePayloadType extends AnyMessage = MessageType> = BaseMessageProcessorOptions<MessageType, MessageMetadataType, HandlerContext> & HandlerOptions<MessageType, MessageMetadataType, HandlerContext> & {
|
|
367
590
|
messageOptions?: {
|
|
368
591
|
schema?: {
|
|
369
592
|
versioning?: {
|
|
@@ -372,26 +595,26 @@ type ReactorOptions<MessageType extends AnyMessage = AnyMessage, MessageMetadata
|
|
|
372
595
|
};
|
|
373
596
|
};
|
|
374
597
|
};
|
|
375
|
-
type ProjectorOptions<EventType extends AnyEvent = AnyEvent, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends
|
|
598
|
+
type ProjectorOptions<EventType extends AnyEvent = AnyEvent, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends MessageHandlerContext = MessageHandlerContext, EventPayloadType extends Event = EventType> = Omit<BaseMessageProcessorOptions<EventType, MessageMetadataType, HandlerContext>, 'type' | 'processorId'> & {
|
|
376
599
|
processorId?: string;
|
|
377
600
|
} & {
|
|
378
601
|
truncateOnStart?: boolean;
|
|
379
602
|
projection: ProjectionDefinition<EventType, MessageMetadataType, HandlerContext, EventPayloadType>;
|
|
380
603
|
};
|
|
381
|
-
declare const defaultProcessingMessageProcessingScope: <HandlerContext = never, Result = SingleMessageHandlerResult>(handler: (context: HandlerContext) => Result | Promise<Result>, partialContext: Partial<HandlerContext
|
|
604
|
+
declare const defaultProcessingMessageProcessingScope: <HandlerContext = never, Result = SingleMessageHandlerResult>(handler: (context: WithObservabilityScope<HandlerContext>) => Result | Promise<Result>, partialContext: WithObservabilityScope<Partial<HandlerContext>>) => Result | Promise<Result>;
|
|
382
605
|
declare const defaultProcessorVersion = 1;
|
|
383
606
|
declare const defaultProcessorPartition = "emt:default";
|
|
384
607
|
declare const getProcessorInstanceId: (processorId: string) => string;
|
|
385
608
|
declare const getProjectorId: (options: {
|
|
386
609
|
projectionName: string;
|
|
387
610
|
}) => string;
|
|
388
|
-
declare const reactor: <MessageType extends Message = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends
|
|
389
|
-
declare const projector: <EventType extends Event = Event, EventMetaDataType extends AnyRecordedMessageMetadata = AnyRecordedMessageMetadata, HandlerContext extends
|
|
611
|
+
declare const reactor: <MessageType extends Message = AnyMessage, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends MessageHandlerContext = MessageHandlerContext, MessagePayloadType extends Message = MessageType>(options: ReactorOptions<MessageType, MessageMetadataType, HandlerContext, MessagePayloadType>) => MessageProcessor<MessageType, MessageMetadataType, HandlerContext>;
|
|
612
|
+
declare const projector: <EventType extends Event = Event, EventMetaDataType extends AnyRecordedMessageMetadata = AnyRecordedMessageMetadata, HandlerContext extends MessageHandlerContext = MessageHandlerContext, EventPayloadType extends Event = EventType>(options: ProjectorOptions<EventType, EventMetaDataType, HandlerContext, EventPayloadType>) => MessageProcessor<EventType, EventMetaDataType, HandlerContext>;
|
|
390
613
|
//#endregion
|
|
391
614
|
//#region src/processors/inMemoryProcessors.d.ts
|
|
392
|
-
type InMemoryProcessorHandlerContext = {
|
|
615
|
+
type InMemoryProcessorHandlerContext = MessageHandlerContext<{
|
|
393
616
|
database: InMemoryDatabase;
|
|
394
|
-
}
|
|
617
|
+
}>;
|
|
395
618
|
type InMemoryProcessor<MessageType extends AnyMessage = AnyMessage> = MessageProcessor<MessageType, ReadEventMetadataWithGlobalPosition, InMemoryProcessorHandlerContext> & {
|
|
396
619
|
database: InMemoryDatabase;
|
|
397
620
|
};
|
|
@@ -488,6 +711,7 @@ type ReadEventMetadataWithGlobalPosition = RecordedMessageMetadataWithGlobalPosi
|
|
|
488
711
|
type ReadEventMetadataWithoutGlobalPosition = RecordedMessageMetadataWithoutGlobalPosition;
|
|
489
712
|
//#endregion
|
|
490
713
|
//#region src/typing/messageHandling.d.ts
|
|
714
|
+
type MessageHandlerContext<HandlerContext extends DefaultRecord = DefaultRecord> = WithObservabilityScope<HandlerContext>;
|
|
491
715
|
type SingleRawMessageHandlerWithoutContext<MessageType extends Message = AnyMessage> = (message: MessageType) => Promise<SingleMessageHandlerResult> | SingleMessageHandlerResult;
|
|
492
716
|
type SingleRecordedMessageHandlerWithoutContext<MessageType extends Message = AnyMessage, MessageMetaDataType extends AnyRecordedMessageMetadata = AnyRecordedMessageMetadata> = (message: RecordedMessage<MessageType, MessageMetaDataType>) => Promise<SingleMessageHandlerResult> | SingleMessageHandlerResult;
|
|
493
717
|
type SingleMessageHandlerWithoutContext<MessageType extends AnyMessage = AnyMessage, MessageMetaDataType extends AnyRecordedMessageMetadata = never> = SingleRawMessageHandlerWithoutContext<MessageType> | SingleRecordedMessageHandlerWithoutContext<MessageType, MessageMetaDataType>;
|
|
@@ -729,13 +953,14 @@ type InMemoryEventStore = EventStore<ReadEventMetadataWithGlobalPosition> & {
|
|
|
729
953
|
database: InMemoryDatabase;
|
|
730
954
|
};
|
|
731
955
|
type InMemoryReadEventMetadata = ReadEventMetadataWithGlobalPosition;
|
|
732
|
-
type InMemoryProjectionHandlerContext = {
|
|
956
|
+
type InMemoryProjectionHandlerContext = MessageHandlerContext<{
|
|
733
957
|
eventStore?: InMemoryEventStore;
|
|
734
958
|
database?: InMemoryDatabase;
|
|
735
|
-
}
|
|
959
|
+
}>;
|
|
736
960
|
type InMemoryEventStoreOptions = DefaultEventStoreOptions<InMemoryEventStore> & {
|
|
737
961
|
projections?: ProjectionRegistration<'inline', InMemoryReadEventMetadata, InMemoryProjectionHandlerContext>[];
|
|
738
962
|
database?: InMemoryDatabase;
|
|
963
|
+
observability?: EventStoreObservabilityConfig;
|
|
739
964
|
};
|
|
740
965
|
type InMemoryReadEvent<EventType extends Event = Event> = ReadEvent<EventType, ReadEventMetadataWithGlobalPosition>;
|
|
741
966
|
declare const getInMemoryEventStore: (eventStoreOptions?: InMemoryEventStoreOptions) => InMemoryEventStore;
|
|
@@ -748,6 +973,7 @@ type InMemoryProjectionHandlerOptions<EventType extends Event = Event> = {
|
|
|
748
973
|
events: ReadEvent<EventType, InMemoryReadEventMetadata>[];
|
|
749
974
|
database: InMemoryDatabase;
|
|
750
975
|
eventStore?: InMemoryProjectionHandlerContext['eventStore'];
|
|
976
|
+
observability: ResolvedEventStoreObservability;
|
|
751
977
|
};
|
|
752
978
|
/**
|
|
753
979
|
* Handles projections for the InMemoryEventStore
|
|
@@ -1011,14 +1237,6 @@ declare const upcastRecordedMessages: <MessageType extends AnyMessage, MessagePa
|
|
|
1011
1237
|
upcast?: MessageUpcast<MessageType, MessagePayloadType, RecordedMessageMetadataType>;
|
|
1012
1238
|
}) => RecordedMessage<MessageType, RecordedMessageMetadataType>[];
|
|
1013
1239
|
//#endregion
|
|
1014
|
-
//#region src/observability/options.d.ts
|
|
1015
|
-
type PollTracing = 'off' | 'active' | 'verbose';
|
|
1016
|
-
type EmmettObservabilityConfig = ObservabilityConfig<'emmett'> & {
|
|
1017
|
-
pollTracing?: PollTracing;
|
|
1018
|
-
includeMessagePayloads?: boolean;
|
|
1019
|
-
};
|
|
1020
|
-
type CommandObservabilityConfig = Pick<EmmettObservabilityConfig, 'tracer' | 'meter' | 'attributeTarget' | 'includeMessagePayloads'>;
|
|
1021
|
-
//#endregion
|
|
1022
1240
|
//#region src/utils/async/mapAsync.d.ts
|
|
1023
1241
|
declare function reduceAsync<T, R>(items: T[], fn: (accumulator: R, item: T, index: number) => Promise<R>, initial: R): Promise<R>;
|
|
1024
1242
|
//#endregion
|
|
@@ -1109,6 +1327,9 @@ declare const onShutdown: (handler: ShutdownHandler) => (() => void);
|
|
|
1109
1327
|
//#region src/utils/strings/hashText.d.ts
|
|
1110
1328
|
declare const hashText: (text: string) => Promise<bigint>;
|
|
1111
1329
|
//#endregion
|
|
1330
|
+
//#region src/commandHandling/observability/commandHandlerCollector.d.ts
|
|
1331
|
+
type CommandObservabilityConfig = Pick<EmmettObservabilityConfig, 'tracer' | 'meter' | 'attributeTarget' | 'includeMessagePayloads'>;
|
|
1332
|
+
//#endregion
|
|
1112
1333
|
//#region src/commandHandling/handleCommand.d.ts
|
|
1113
1334
|
declare const CommandHandlerStreamVersionConflictRetryOptions: AsyncRetryOptions;
|
|
1114
1335
|
type CommandHandlerRetryOptions = AsyncRetryOptions | {
|
|
@@ -1285,11 +1506,11 @@ type WorkflowOptions<Input extends AnyEvent | AnyCommand, State, Output extends
|
|
|
1285
1506
|
};
|
|
1286
1507
|
};
|
|
1287
1508
|
};
|
|
1288
|
-
type WorkflowProcessorContext = {
|
|
1509
|
+
type WorkflowProcessorContext = MessageHandlerContext<{
|
|
1289
1510
|
connection: {
|
|
1290
1511
|
messageStore: EventStore;
|
|
1291
1512
|
};
|
|
1292
|
-
}
|
|
1513
|
+
}>;
|
|
1293
1514
|
type WorkflowOutputHandlerResult<Input extends AnyEvent | AnyCommand> = Promise<Input | Input[] | EmmettError | [] | void> | Input | Input[] | EmmettError | [] | void;
|
|
1294
1515
|
type SingleWorkflowOutputHandler<Input extends AnyEvent | AnyCommand, Output extends AnyEvent | AnyCommand, MessageMetaDataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends WorkflowProcessorContext = WorkflowProcessorContext> = (message: Output | RecordedMessage<Output, MessageMetaDataType>, context: HandlerContext) => WorkflowOutputHandlerResult<Input>;
|
|
1295
1516
|
type BatchWorkflowOutputHandler<Input extends AnyEvent | AnyCommand, Output extends AnyEvent | AnyCommand, MessageMetaDataType extends AnyReadEventMetadata = AnyReadEventMetadata, HandlerContext extends WorkflowProcessorContext = WorkflowProcessorContext> = (messages: RecordedMessage<Output, MessageMetaDataType>[], context: HandlerContext) => WorkflowOutputHandlerResult<Input>;
|
|
@@ -1334,9 +1555,14 @@ declare const workflowStreamName: ({
|
|
|
1334
1555
|
workflowName: string;
|
|
1335
1556
|
workflowId: string;
|
|
1336
1557
|
}) => string;
|
|
1337
|
-
|
|
1558
|
+
type WorkflowHandlerOptions<Input extends AnyEvent | AnyCommand, State, Output extends AnyEvent | AnyCommand, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, StoredMessage extends AnyEvent | AnyCommand = Output> = WorkflowOptions<Input, State, Output, MessageMetadataType, StoredMessage> & {
|
|
1338
1559
|
retry?: WorkflowHandlerRetryOptions;
|
|
1339
|
-
|
|
1560
|
+
observability?: WorkflowObservabilityConfig;
|
|
1561
|
+
};
|
|
1562
|
+
declare const WorkflowHandler: <Input extends AnyEvent | AnyCommand, State, Output extends AnyEvent | AnyCommand, MessageMetadataType extends AnyReadEventMetadata = AnyReadEventMetadata, StoredMessage extends AnyEvent | AnyCommand = Output>(options: WorkflowHandlerOptions<Input, State, Output, MessageMetadataType, StoredMessage>) => <Store extends EventStore>(store: Store, message: Input | RecordedMessage<Input, MessageMetadataType>, handleOptions?: WorkflowHandleOptions<Store>) => Promise<WorkflowHandlerResult<Output, Store>>;
|
|
1563
|
+
declare namespace index_d_exports {
|
|
1564
|
+
export { AcquireLockOptions, AfterEventStoreCommitHandler, AggregateStreamOptions, AggregateStreamResult, AggregateStreamResultOfEventStore, AggregateStreamResultWithGlobalPosition, AnyCommand, AnyEvent, AnyMessage, AnyReadEvent, AnyReadEventMetadata, AnyRecord, AnyRecordedMessage, AnyRecordedMessageMetadata, AppendStreamResultOfEventStore, AppendToStreamOptions, AppendToStreamResult, AppendToStreamResultWithGlobalPosition, ArgumentMatcher, AssertionError, AsyncAwaiter, AsyncDeciderSpecification, AsyncRetryOptions, BaseMessageProcessorOptions, BatchMessageHandler, BatchMessageHandlerResult, BatchMessageHandlerWithContext, BatchMessageHandlerWithoutContext, BatchRawMessageHandlerWithContext, BatchRawMessageHandlerWithoutContext, BatchRecordedMessageHandlerWithContext, BatchRecordedMessageHandlerWithoutContext, BatchWorkflowOutputHandler, BeforeEventStoreCommitHandler, BoundedAccessGuard, Brand, CanHandle, Checkpointer, Closeable, CombineMetadata, CombinedMessageMetadata, CombinedReadEventMetadata, Command, CommandBus, CommandDataOf, CommandHandler, CommandHandlerOptions, CommandHandlerResult, CommandHandlerRetryOptions, CommandHandlerStreamVersionConflictRetryOptions, CommandMetaDataOf, CommandProcessor, CommandSender, CommandTypeOf, CommonReadEventMetadata, CommonRecordedMessageMetadata, ConcurrencyError, ConcurrencyInMemoryDatabaseError, ConsumerObservabilityConfig, CreateCommandType, CreateEventType, CurrentMessageProcessorPosition, DATABASE_REQUIRED_ERROR_MESSAGE, DatabaseHandleOptionErrors, DatabaseHandleOptions, DatabaseHandleResult, Decider, DeciderCommandHandler, DeciderCommandHandlerOptions, DeciderSpecification, DeepReadonly, DefaultCommandMetadata, DefaultEventStoreOptions, DefaultRecord, DeleteManyOptions, DeleteManyResult, DeleteOneOptions, DeleteResult, Document, DocumentHandler, EmmettAttributes, EmmettCliCommand, EmmettCliPlugin, EmmettCliPluginRegistration, EmmettError, EmmettMetrics, EmmettObservabilityConfig, EmmettObservabilityOptions, EmmettPlugin, EmmettPluginConfig, EmmettPluginRegistration, EmmettPluginType, EmmettPluginsConfig, EnhancedOmit, EnqueueTaskOptions, Equatable, ErrorConstructor, Event, EventBus, EventDataOf, EventMetaDataOf, EventStore, EventStoreAppendSchemaOptions, EventStoreObservabilityConfig, EventStoreReadEventMetadata, EventStoreReadSchemaOptions, EventStoreSchemaOptions, EventStoreSession, EventStoreSessionFactory, EventStoreWrapper, EventSubscription, EventTypeOf, EventsPublisher, ExclusiveAccessGuard, ExpectedDocumentVersion, ExpectedDocumentVersionGeneral, ExpectedDocumentVersionValue, ExpectedStreamVersion, ExpectedStreamVersionGeneral, ExpectedStreamVersionWithValue, ExpectedVersionConflictError, Flavour, FullId, GetCheckpoint, GlobalPosition, GlobalStreamCaughtUp, GlobalStreamCaughtUpType, GlobalSubscriptionEvent, HandleOptions, HandlerOptions, IllegalStateError, InMemoryCheckpointer, InMemoryDatabase, InMemoryDocumentEvolve, InMemoryDocumentsCollection, InMemoryEventStore, InMemoryEventStoreDefaultStreamVersion, InMemoryEventStoreOptions, InMemoryMultiStreamProjectionOptions, InMemoryProcessor, InMemoryProcessorConnectionOptions, InMemoryProcessorEachBatchHandler, InMemoryProcessorEachMessageHandler, InMemoryProcessorHandlerContext, InMemoryProcessorOptions, InMemoryProjectionAssert, InMemoryProjectionDefinition, InMemoryProjectionHandlerContext, InMemoryProjectionHandlerOptions, InMemoryProjectionOptions, InMemoryProjectionSpec, InMemoryProjectionSpecEvent, InMemoryProjectionSpecOptions, InMemoryProjectionSpecWhenOptions, InMemoryProjectorOptions, InMemoryReactorOptions, InMemoryReadEvent, InMemoryReadEventMetadata, InMemorySingleStreamProjectionOptions, InMemoryWithNotNullDocumentEvolve, InMemoryWithNullableDocumentEvolve, InProcessLock, InitializedOnceGuard, InsertManyOptions, InsertManyResult, InsertOneOptions, InsertOneResult, JSONCodec, JSONCodecOptions, JSONDeserializeOptions, JSONReplacer, JSONReplacers, JSONReviver, JSONReviverContext, JSONRevivers, JSONSerializationOptions, JSONSerializeOptions, JSONSerializer, JSONSerializerOptions, Lock, LockOptions, LogLevel, LogStyle, LogType, Message, MessageBus, MessageConsumer, MessageConsumerOptions, MessageDataOf, MessageDowncast, MessageHandler, MessageHandlerContext, MessageKindOf, MessageMetaDataOf, MessageProcessingScope, MessageProcessor, MessageProcessorStartFrom, MessageProcessorType, MessageScheduler, MessageSubscription, MessageTypeOf, MessageUpcast, MessagingSystemName, MockedFunction, Mutable, NO_CONCURRENCY_CHECK, NoRetries, NonNullable$1 as NonNullable, NotFoundError, OnReactorCloseHook, OnReactorInitHook, OnReactorStartHook, OperationResult, OptionalId, OptionalUnlessRequiredId, OptionalUnlessRequiredIdAndVersion, OptionalUnlessRequiredVersion, OptionalVersion, PollTracing, ProcessorCheckpoint, ProcessorCollectorContext, ProcessorHooks, ProcessorObservabilityConfig, ProjectionDefinition, ProjectionHandler, ProjectionHandlerContext, ProjectionHandlingType, ProjectionInitOptions, ProjectionRegistration, ProjectorOptions, ReactorOptions, ReadEvent, ReadEventMetadata, ReadEventMetadataWithGlobalPosition, ReadEventMetadataWithoutGlobalPosition, ReadProcessorCheckpoint, ReadProcessorCheckpointResult, ReadStreamOptions, ReadStreamResult, RecordedMessage, RecordedMessageMetadata, RecordedMessageMetadataWithGlobalPosition, RecordedMessageMetadataWithoutGlobalPosition, ReleaseLockOptions, ReplaceOneOptions, ResolvedConsumerObservability, ResolvedEventStoreObservability, ResolvedProcessorObservability, ResolvedWorkflowObservability, STREAM_DOES_NOT_EXIST, STREAM_EXISTS, ScheduleOptions, ScheduledMessage, ScheduledMessageProcessor, ScopeTypes, SerializationCodec, Serializer, ShutdownHandler, SingleMessageHandler, SingleMessageHandlerResult, SingleMessageHandlerWithContext, SingleMessageHandlerWithoutContext, SingleRawMessageHandlerWithContext, SingleRawMessageHandlerWithoutContext, SingleRecordedMessageHandlerWithContext, SingleRecordedMessageHandlerWithoutContext, SingleWorkflowOutputHandler, StoreProcessorCheckpoint, StoreProcessorCheckpointResult, StreamExistsResult, StreamPosition, Task, TaskContext, TaskProcessor, TaskProcessorOptions, TaskQueue, TaskQueueItem, TestEventStream, ThenThrows, TruncateProjection, UpdateManyOptions, UpdateManyResult, UpdateOneOptions, UpdateResult, ValidationError, ValidationErrors, WithGlobalPosition, WithId, WithIdAndVersion, WithObservabilityScope, WithVersion, WithoutId, WithoutVersion, Workflow, WorkflowCollectorContext, WorkflowCommand, WorkflowEvent, WorkflowHandleOptions, WorkflowHandler, WorkflowHandlerOptions, WorkflowHandlerResult, WorkflowHandlerRetryOptions, WorkflowHandlerStreamVersionConflictRetryOptions, WorkflowInputMessageMetadata, WorkflowMessageAction, WorkflowObservabilityConfig, WorkflowOptions, WorkflowOutput, WorkflowOutputHandlerDefinition, WorkflowOutputHandlerOptions, WorkflowOutputHandlerResult, WorkflowOutputMessageMetadata, WorkflowProcessorContext, WorkflowProcessorOptions, WorkflowSpecification, WrapEventStore, argMatches, argValue, arrayUtils, assertDeepEqual, assertDefined, assertDoesNotThrow, assertEqual, assertExpectedVersionMatchesCurrent, assertFails, assertFalse, assertIsNotNull, assertIsNull, assertMatches, assertNotDeepEqual, assertNotEmptyString, assertNotEqual, assertOk, assertPositiveNumber, assertRejects, assertThat, assertThatArray, assertThrows, assertThrowsAsync, assertTrue, assertUndefined, assertUnsignedBigInt, asyncAwaiter, asyncProjections, asyncRetry, bigInt, bigIntProcessorCheckpoint, canCreateEventStoreSession, caughtUpEventFrom, command, composeJSONReplacers, composeJSONRevivers, consumerCollector, deepEquals, defaultProcessingMessageProcessingScope, defaultProcessorPartition, defaultProcessorVersion, defaultTag, delay, documentExists, downcastRecordedMessage, downcastRecordedMessages, emmettPrefix, event, eventInStream, eventStoreCollector, eventsInStream, expectInMemoryDocuments, filterProjections, formatDateToUtcYYYYMMDD, forwardToMessageBus, getCheckpoint, getInMemoryDatabase, getInMemoryEventStore, getInMemoryMessageBus, getProcessorInstanceId, getProjectorId, getWorkflowId, globalStreamCaughtUp, globalTag, guardBoundedAccess, guardExclusiveAccess, guardInitializedOnce, handleInMemoryProjections, hashText, inMemoryCheckpointer, inMemoryMultiStreamProjection, inMemoryProjection, inMemoryProjector, inMemoryReactor, inMemorySingleStreamProjection, inlineProjections, isBigint, isEquatable, isErrorConstructor, isExpectedVersionConflictError, isGlobalStreamCaughtUp, isNotInternalEvent, isNumber, isPluginConfig, isString, isSubscriptionEvent, isSubset, isValidYYYYMMDD, jsonSerializer, matchesExpectedVersion, merge, message, newEventsInStream, nulloSessionFactory, onShutdown, parseBigIntProcessorCheckpoint, parseDateFromUtcYYYYMMDD, processorCollector, projection, projections, projector, reactor, reduceAsync, resolveConsumerObservability, resolveEventStoreObservability, resolveProcessorObservability, resolveWorkflowObservability, sum, toNormalizedString, tracer, tryPublishMessagesAfterCommit, unknownTag, upcastRecordedMessage, upcastRecordedMessages, verifyThat, wasMessageHandled, workflowCollector, workflowOutputHandler, workflowProcessor, workflowStreamName };
|
|
1565
|
+
}
|
|
1340
1566
|
//#endregion
|
|
1341
|
-
export { AcquireLockOptions, AfterEventStoreCommitHandler, AggregateStreamOptions, AggregateStreamResult, AggregateStreamResultOfEventStore, AggregateStreamResultWithGlobalPosition, AnyCommand, AnyEvent, AnyMessage, AnyReadEvent, AnyReadEventMetadata, AnyRecord, AnyRecordedMessage, AnyRecordedMessageMetadata, AppendStreamResultOfEventStore, AppendToStreamOptions, AppendToStreamResult, AppendToStreamResultWithGlobalPosition, ArgumentMatcher, AssertionError, AsyncAwaiter, AsyncDeciderSpecification, AsyncRetryOptions, BaseMessageProcessorOptions, BatchMessageHandler, BatchMessageHandlerResult, BatchMessageHandlerWithContext, BatchMessageHandlerWithoutContext, BatchRawMessageHandlerWithContext, BatchRawMessageHandlerWithoutContext, BatchRecordedMessageHandlerWithContext, BatchRecordedMessageHandlerWithoutContext, BatchWorkflowOutputHandler, BeforeEventStoreCommitHandler, BoundedAccessGuard, Brand, CanHandle, Checkpointer, Closeable, CombineMetadata, CombinedMessageMetadata, CombinedReadEventMetadata, Command, CommandBus, CommandDataOf, CommandHandler, CommandHandlerOptions, CommandHandlerResult, CommandHandlerRetryOptions, CommandHandlerStreamVersionConflictRetryOptions, CommandMetaDataOf, CommandProcessor, CommandSender, CommandTypeOf, CommonReadEventMetadata, CommonRecordedMessageMetadata, ConcurrencyError, ConcurrencyInMemoryDatabaseError, CreateCommandType, CreateEventType, CurrentMessageProcessorPosition, DATABASE_REQUIRED_ERROR_MESSAGE, DatabaseHandleOptionErrors, DatabaseHandleOptions, DatabaseHandleResult, Decider, DeciderCommandHandler, DeciderCommandHandlerOptions, DeciderSpecification, DeepReadonly, DefaultCommandMetadata, DefaultEventStoreOptions, DefaultRecord, DeleteManyOptions, DeleteManyResult, DeleteOneOptions, DeleteResult, Document, DocumentHandler, EmmettCliCommand, EmmettCliPlugin, EmmettCliPluginRegistration, EmmettError, EmmettPlugin, EmmettPluginConfig, EmmettPluginRegistration, EmmettPluginType, EmmettPluginsConfig, EnhancedOmit, EnqueueTaskOptions, Equatable, ErrorConstructor, Event, EventBus, EventDataOf, EventMetaDataOf, EventStore, EventStoreAppendSchemaOptions, EventStoreReadEventMetadata, EventStoreReadSchemaOptions, EventStoreSchemaOptions, EventStoreSession, EventStoreSessionFactory, EventStoreWrapper, EventSubscription, EventTypeOf, EventsPublisher, ExclusiveAccessGuard, ExpectedDocumentVersion, ExpectedDocumentVersionGeneral, ExpectedDocumentVersionValue, ExpectedStreamVersion, ExpectedStreamVersionGeneral, ExpectedStreamVersionWithValue, ExpectedVersionConflictError, Flavour, FullId, GetCheckpoint, GlobalPosition, GlobalStreamCaughtUp, GlobalStreamCaughtUpType, GlobalSubscriptionEvent, HandleOptions, HandlerOptions, IllegalStateError, InMemoryCheckpointer, InMemoryDatabase, InMemoryDocumentEvolve, InMemoryDocumentsCollection, InMemoryEventStore, InMemoryEventStoreDefaultStreamVersion, InMemoryEventStoreOptions, InMemoryMultiStreamProjectionOptions, InMemoryProcessor, InMemoryProcessorConnectionOptions, InMemoryProcessorEachBatchHandler, InMemoryProcessorEachMessageHandler, InMemoryProcessorHandlerContext, InMemoryProcessorOptions, InMemoryProjectionAssert, InMemoryProjectionDefinition, InMemoryProjectionHandlerContext, InMemoryProjectionHandlerOptions, InMemoryProjectionOptions, InMemoryProjectionSpec, InMemoryProjectionSpecEvent, InMemoryProjectionSpecOptions, InMemoryProjectionSpecWhenOptions, InMemoryProjectorOptions, InMemoryReactorOptions, InMemoryReadEvent, InMemoryReadEventMetadata, InMemorySingleStreamProjectionOptions, InMemoryWithNotNullDocumentEvolve, InMemoryWithNullableDocumentEvolve, InProcessLock, InitializedOnceGuard, InsertManyOptions, InsertManyResult, InsertOneOptions, InsertOneResult, JSONCodec, type JSONCodecOptions, type JSONDeserializeOptions, JSONReplacer, JSONReplacers, JSONReviver, JSONReviverContext, JSONRevivers, type JSONSerializationOptions, type JSONSerializeOptions, JSONSerializer, type JSONSerializerOptions, Lock, LockOptions, Message, MessageBus, MessageConsumer, MessageConsumerOptions, MessageDataOf, MessageDowncast, MessageHandler, MessageKindOf, MessageMetaDataOf, MessageProcessingScope, MessageProcessor, MessageProcessorStartFrom, MessageProcessorType, MessageScheduler, MessageSubscription, MessageTypeOf, MessageUpcast, MockedFunction, Mutable, NO_CONCURRENCY_CHECK, NoRetries, NonNullable$1 as NonNullable, NotFoundError, OnReactorCloseHook, OnReactorInitHook, OnReactorStartHook, OperationResult, OptionalId, OptionalUnlessRequiredId, OptionalUnlessRequiredIdAndVersion, OptionalUnlessRequiredVersion, OptionalVersion, ProcessorCheckpoint, ProcessorHooks, ProjectionDefinition, ProjectionHandler, ProjectionHandlingType, ProjectionInitOptions, ProjectionRegistration, ProjectorOptions, ReactorOptions, ReadEvent, ReadEventMetadata, ReadEventMetadataWithGlobalPosition, ReadEventMetadataWithoutGlobalPosition, ReadProcessorCheckpoint, ReadProcessorCheckpointResult, ReadStreamOptions, ReadStreamResult, RecordedMessage, RecordedMessageMetadata, RecordedMessageMetadataWithGlobalPosition, RecordedMessageMetadataWithoutGlobalPosition, ReleaseLockOptions, ReplaceOneOptions, STREAM_DOES_NOT_EXIST, STREAM_EXISTS, ScheduleOptions, ScheduledMessage, ScheduledMessageProcessor, SerializationCodec, Serializer, ShutdownHandler, SingleMessageHandler, SingleMessageHandlerResult, SingleMessageHandlerWithContext, SingleMessageHandlerWithoutContext, SingleRawMessageHandlerWithContext, SingleRawMessageHandlerWithoutContext, SingleRecordedMessageHandlerWithContext, SingleRecordedMessageHandlerWithoutContext, SingleWorkflowOutputHandler, StoreProcessorCheckpoint, StoreProcessorCheckpointResult, StreamExistsResult, StreamPosition, Task, TaskContext, TaskProcessor, TaskProcessorOptions, TaskQueue, TaskQueueItem, TestEventStream, ThenThrows, TruncateProjection, UpdateManyOptions, UpdateManyResult, UpdateOneOptions, UpdateResult, ValidationError, ValidationErrors, WithGlobalPosition, WithId, WithIdAndVersion, WithVersion, WithoutId, WithoutVersion, Workflow, WorkflowCommand, WorkflowEvent, WorkflowHandleOptions, WorkflowHandler, WorkflowHandlerResult, WorkflowHandlerRetryOptions, WorkflowHandlerStreamVersionConflictRetryOptions, WorkflowInputMessageMetadata, WorkflowMessageAction, WorkflowOptions, WorkflowOutput, WorkflowOutputHandlerDefinition, WorkflowOutputHandlerOptions, WorkflowOutputHandlerResult, WorkflowOutputMessageMetadata, WorkflowProcessorContext, WorkflowProcessorOptions, WorkflowSpecification, WrapEventStore, argMatches, argValue, arrayUtils, assertDeepEqual, assertDefined, assertDoesNotThrow, assertEqual, assertExpectedVersionMatchesCurrent, assertFails, assertFalse, assertIsNotNull, assertIsNull, assertMatches, assertNotDeepEqual, assertNotEmptyString, assertNotEqual, assertOk, assertPositiveNumber, assertRejects, assertThat, assertThatArray, assertThrows, assertThrowsAsync, assertTrue, assertUndefined, assertUnsignedBigInt, asyncAwaiter, asyncProjections, asyncRetry, bigInt, bigIntProcessorCheckpoint, canCreateEventStoreSession, caughtUpEventFrom, command, composeJSONReplacers, composeJSONRevivers, deepEquals, defaultProcessingMessageProcessingScope, defaultProcessorPartition, defaultProcessorVersion, defaultTag, delay, documentExists, downcastRecordedMessage, downcastRecordedMessages, emmettPrefix, event, eventInStream, eventsInStream, expectInMemoryDocuments, filterProjections, formatDateToUtcYYYYMMDD, forwardToMessageBus, getCheckpoint, getInMemoryDatabase, getInMemoryEventStore, getInMemoryMessageBus, getProcessorInstanceId, getProjectorId, getWorkflowId, globalStreamCaughtUp, globalTag, guardBoundedAccess, guardExclusiveAccess, guardInitializedOnce, handleInMemoryProjections, hashText, inMemoryCheckpointer, inMemoryMultiStreamProjection, inMemoryProjection, inMemoryProjector, inMemoryReactor, inMemorySingleStreamProjection, inlineProjections, isBigint, isEquatable, isErrorConstructor, isExpectedVersionConflictError, isGlobalStreamCaughtUp, isNotInternalEvent, isNumber, isPluginConfig, isString, isSubscriptionEvent, isSubset, isValidYYYYMMDD, jsonSerializer, matchesExpectedVersion, merge, message, newEventsInStream, nulloSessionFactory, onShutdown, parseBigIntProcessorCheckpoint, parseDateFromUtcYYYYMMDD, projection, projections, projector, reactor, reduceAsync, sum, toNormalizedString, tryPublishMessagesAfterCommit, unknownTag, upcastRecordedMessage, upcastRecordedMessages, verifyThat, wasMessageHandled, workflowOutputHandler, workflowProcessor, workflowStreamName };
|
|
1567
|
+
export { AcquireLockOptions, AfterEventStoreCommitHandler, AggregateStreamOptions, AggregateStreamResult, AggregateStreamResultOfEventStore, AggregateStreamResultWithGlobalPosition, AnyCommand, AnyEvent, AnyMessage, AnyReadEvent, AnyReadEventMetadata, AnyRecord, AnyRecordedMessage, AnyRecordedMessageMetadata, AppendStreamResultOfEventStore, AppendToStreamOptions, AppendToStreamResult, AppendToStreamResultWithGlobalPosition, ArgumentMatcher, AssertionError, AsyncAwaiter, AsyncDeciderSpecification, AsyncRetryOptions, BaseMessageProcessorOptions, BatchMessageHandler, BatchMessageHandlerResult, BatchMessageHandlerWithContext, BatchMessageHandlerWithoutContext, BatchRawMessageHandlerWithContext, BatchRawMessageHandlerWithoutContext, BatchRecordedMessageHandlerWithContext, BatchRecordedMessageHandlerWithoutContext, BatchWorkflowOutputHandler, BeforeEventStoreCommitHandler, BoundedAccessGuard, Brand, CanHandle, Checkpointer, Closeable, CombineMetadata, CombinedMessageMetadata, CombinedReadEventMetadata, Command, CommandBus, CommandDataOf, CommandHandler, CommandHandlerOptions, CommandHandlerResult, CommandHandlerRetryOptions, CommandHandlerStreamVersionConflictRetryOptions, CommandMetaDataOf, CommandProcessor, CommandSender, CommandTypeOf, CommonReadEventMetadata, CommonRecordedMessageMetadata, ConcurrencyError, ConcurrencyInMemoryDatabaseError, ConsumerObservabilityConfig, CreateCommandType, CreateEventType, CurrentMessageProcessorPosition, DATABASE_REQUIRED_ERROR_MESSAGE, DatabaseHandleOptionErrors, DatabaseHandleOptions, DatabaseHandleResult, Decider, DeciderCommandHandler, DeciderCommandHandlerOptions, DeciderSpecification, DeepReadonly, DefaultCommandMetadata, DefaultEventStoreOptions, DefaultRecord, DeleteManyOptions, DeleteManyResult, DeleteOneOptions, DeleteResult, Document, DocumentHandler, EmmettAttributes, EmmettCliCommand, EmmettCliPlugin, EmmettCliPluginRegistration, EmmettError, EmmettMetrics, EmmettObservabilityConfig, EmmettObservabilityOptions, EmmettPlugin, EmmettPluginConfig, EmmettPluginRegistration, EmmettPluginType, EmmettPluginsConfig, EnhancedOmit, EnqueueTaskOptions, Equatable, ErrorConstructor, Event, EventBus, EventDataOf, EventMetaDataOf, EventStore, EventStoreAppendSchemaOptions, EventStoreObservabilityConfig, EventStoreReadEventMetadata, EventStoreReadSchemaOptions, EventStoreSchemaOptions, EventStoreSession, EventStoreSessionFactory, EventStoreWrapper, EventSubscription, EventTypeOf, EventsPublisher, ExclusiveAccessGuard, ExpectedDocumentVersion, ExpectedDocumentVersionGeneral, ExpectedDocumentVersionValue, ExpectedStreamVersion, ExpectedStreamVersionGeneral, ExpectedStreamVersionWithValue, ExpectedVersionConflictError, Flavour, FullId, GetCheckpoint, GlobalPosition, GlobalStreamCaughtUp, GlobalStreamCaughtUpType, GlobalSubscriptionEvent, HandleOptions, HandlerOptions, IllegalStateError, InMemoryCheckpointer, InMemoryDatabase, InMemoryDocumentEvolve, InMemoryDocumentsCollection, InMemoryEventStore, InMemoryEventStoreDefaultStreamVersion, InMemoryEventStoreOptions, InMemoryMultiStreamProjectionOptions, InMemoryProcessor, InMemoryProcessorConnectionOptions, InMemoryProcessorEachBatchHandler, InMemoryProcessorEachMessageHandler, InMemoryProcessorHandlerContext, InMemoryProcessorOptions, InMemoryProjectionAssert, InMemoryProjectionDefinition, InMemoryProjectionHandlerContext, InMemoryProjectionHandlerOptions, InMemoryProjectionOptions, InMemoryProjectionSpec, InMemoryProjectionSpecEvent, InMemoryProjectionSpecOptions, InMemoryProjectionSpecWhenOptions, InMemoryProjectorOptions, InMemoryReactorOptions, InMemoryReadEvent, InMemoryReadEventMetadata, InMemorySingleStreamProjectionOptions, InMemoryWithNotNullDocumentEvolve, InMemoryWithNullableDocumentEvolve, InProcessLock, InitializedOnceGuard, InsertManyOptions, InsertManyResult, InsertOneOptions, InsertOneResult, JSONCodec, type JSONCodecOptions, type JSONDeserializeOptions, JSONReplacer, JSONReplacers, JSONReviver, JSONReviverContext, JSONRevivers, type JSONSerializationOptions, type JSONSerializeOptions, JSONSerializer, type JSONSerializerOptions, Lock, LockOptions, LogLevel, LogStyle, LogType, Message, MessageBus, MessageConsumer, MessageConsumerOptions, MessageDataOf, MessageDowncast, MessageHandler, MessageHandlerContext, MessageKindOf, MessageMetaDataOf, MessageProcessingScope, MessageProcessor, MessageProcessorStartFrom, MessageProcessorType, MessageScheduler, MessageSubscription, MessageTypeOf, MessageUpcast, MessagingSystemName, MockedFunction, Mutable, NO_CONCURRENCY_CHECK, NoRetries, NonNullable$1 as NonNullable, NotFoundError, OnReactorCloseHook, OnReactorInitHook, OnReactorStartHook, OperationResult, OptionalId, OptionalUnlessRequiredId, OptionalUnlessRequiredIdAndVersion, OptionalUnlessRequiredVersion, OptionalVersion, PollTracing, ProcessorCheckpoint, ProcessorCollectorContext, ProcessorHooks, ProcessorObservabilityConfig, ProjectionDefinition, ProjectionHandler, ProjectionHandlerContext, ProjectionHandlingType, ProjectionInitOptions, ProjectionRegistration, ProjectorOptions, ReactorOptions, ReadEvent, ReadEventMetadata, ReadEventMetadataWithGlobalPosition, ReadEventMetadataWithoutGlobalPosition, ReadProcessorCheckpoint, ReadProcessorCheckpointResult, ReadStreamOptions, ReadStreamResult, RecordedMessage, RecordedMessageMetadata, RecordedMessageMetadataWithGlobalPosition, RecordedMessageMetadataWithoutGlobalPosition, ReleaseLockOptions, ReplaceOneOptions, ResolvedConsumerObservability, ResolvedEventStoreObservability, ResolvedProcessorObservability, ResolvedWorkflowObservability, STREAM_DOES_NOT_EXIST, STREAM_EXISTS, ScheduleOptions, ScheduledMessage, ScheduledMessageProcessor, ScopeTypes, SerializationCodec, Serializer, ShutdownHandler, SingleMessageHandler, SingleMessageHandlerResult, SingleMessageHandlerWithContext, SingleMessageHandlerWithoutContext, SingleRawMessageHandlerWithContext, SingleRawMessageHandlerWithoutContext, SingleRecordedMessageHandlerWithContext, SingleRecordedMessageHandlerWithoutContext, SingleWorkflowOutputHandler, StoreProcessorCheckpoint, StoreProcessorCheckpointResult, StreamExistsResult, StreamPosition, Task, TaskContext, TaskProcessor, TaskProcessorOptions, TaskQueue, TaskQueueItem, TestEventStream, ThenThrows, TruncateProjection, UpdateManyOptions, UpdateManyResult, UpdateOneOptions, UpdateResult, ValidationError, ValidationErrors, WithGlobalPosition, WithId, WithIdAndVersion, WithObservabilityScope, WithVersion, WithoutId, WithoutVersion, Workflow, WorkflowCollectorContext, WorkflowCommand, WorkflowEvent, WorkflowHandleOptions, WorkflowHandler, WorkflowHandlerOptions, WorkflowHandlerResult, WorkflowHandlerRetryOptions, WorkflowHandlerStreamVersionConflictRetryOptions, WorkflowInputMessageMetadata, WorkflowMessageAction, WorkflowObservabilityConfig, WorkflowOptions, WorkflowOutput, WorkflowOutputHandlerDefinition, WorkflowOutputHandlerOptions, WorkflowOutputHandlerResult, WorkflowOutputMessageMetadata, WorkflowProcessorContext, WorkflowProcessorOptions, WorkflowSpecification, WrapEventStore, argMatches, argValue, arrayUtils, assertDeepEqual, assertDefined, assertDoesNotThrow, assertEqual, assertExpectedVersionMatchesCurrent, assertFails, assertFalse, assertIsNotNull, assertIsNull, assertMatches, assertNotDeepEqual, assertNotEmptyString, assertNotEqual, assertOk, assertPositiveNumber, assertRejects, assertThat, assertThatArray, assertThrows, assertThrowsAsync, assertTrue, assertUndefined, assertUnsignedBigInt, asyncAwaiter, asyncProjections, asyncRetry, bigInt, bigIntProcessorCheckpoint, canCreateEventStoreSession, caughtUpEventFrom, command, composeJSONReplacers, composeJSONRevivers, consumerCollector, deepEquals, defaultProcessingMessageProcessingScope, defaultProcessorPartition, defaultProcessorVersion, defaultTag, delay, documentExists, downcastRecordedMessage, downcastRecordedMessages, emmettPrefix, event, eventInStream, eventStoreCollector, eventsInStream, expectInMemoryDocuments, filterProjections, formatDateToUtcYYYYMMDD, forwardToMessageBus, getCheckpoint, getInMemoryDatabase, getInMemoryEventStore, getInMemoryMessageBus, getProcessorInstanceId, getProjectorId, getWorkflowId, globalStreamCaughtUp, globalTag, guardBoundedAccess, guardExclusiveAccess, guardInitializedOnce, handleInMemoryProjections, hashText, inMemoryCheckpointer, inMemoryMultiStreamProjection, inMemoryProjection, inMemoryProjector, inMemoryReactor, inMemorySingleStreamProjection, inlineProjections, isBigint, isEquatable, isErrorConstructor, isExpectedVersionConflictError, isGlobalStreamCaughtUp, isNotInternalEvent, isNumber, isPluginConfig, isString, isSubscriptionEvent, isSubset, isValidYYYYMMDD, jsonSerializer, matchesExpectedVersion, merge, message, newEventsInStream, nulloSessionFactory, onShutdown, parseBigIntProcessorCheckpoint, parseDateFromUtcYYYYMMDD, processorCollector, projection, projections, projector, reactor, reduceAsync, resolveConsumerObservability, resolveEventStoreObservability, resolveProcessorObservability, resolveWorkflowObservability, sum, toNormalizedString, tracer, tryPublishMessagesAfterCommit, unknownTag, upcastRecordedMessage, upcastRecordedMessages, verifyThat, wasMessageHandled, workflowCollector, workflowOutputHandler, workflowProcessor, workflowStreamName };
|
|
1342
1568
|
//# sourceMappingURL=index.d.cts.map
|