defaults to this.constructor.singletonKeyString
defaults to this.constructor.name
Which chronological group to place commits in
The store to use for instances of this aggregate class.
For multi-instance aggregates, a schema defining how to construct an aggregate key from props.
Whether to perform in-place store transformation of upcasted commits
The SnapshotStore to use for instances of this aggregate class.
Snapshots will be written when aggregate version is a multiple of snapshotsFrequency
Event upcasters to use for this aggregate
Calculates and returns checksum based on store upcasters and code compatibility
Execute command with hydrate+retry on VersionConflictError
Reset aggregate instance to version 0
Commit aggregate events to the store without loading all commits
Loads an aggregate instance
Returns null if no commits found or state is {}
Function that reduces events to the desireable aggregate state
Generated using TypeDoc