Skip to content

es cqrs.ReplayOptions

Sclable CI edited this page Nov 6, 2023 · 198 revisions

Interface: ReplayOptions

es-cqrs.ReplayOptions

Options to filter replayable events

Filters are applied with AND between them

Table of contents

Properties

Properties

aggregateId

Optional aggregateId: string

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:11


aggregateType

Optional aggregateType: string

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:12


eventName

Optional eventName: string

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:17


fromDate

Optional fromDate: Date

Minimun date is epoch, filter is expected to be inclusive

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:19


fromPosition

Optional fromPosition: number

Minimun position is 1, filter is expected to be inclusive

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:8


fromRevision

Optional fromRevision: number

Minimun revision is 1, filter is expected to be inclusive

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:14


pagingSize

Optional pagingSize: number

If paging size is not given, the default is 1000

Please choose a number suitable for your application and DB

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:27


toDate

Optional toDate: Date

Maximum date is now, filter is expected to be inclusive

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:21


toPosition

Optional toPosition: number

Maximum position is MAX_INT, filter is expected to be inclusive

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:10


toRevision

Optional toRevision: number

Maximum revision is MAX_INT, filter is expected to be inclusive

Defined in

packages/es-cqrs/src/event-store/replay-options.ts:16

Clone this wiki locally