Options
All
  • Public
  • Public/Protected
  • All
Menu

External module @ddes/core

Index

Type aliases

AggregateKey

AggregateKey: string

A key that, within the scope of an aggregateType, uniquely identifies an aggregate.

AggregateKeyProps

AggregateKeyProps: any

Object with properties that can be used by a KeySchema to produce an AggregateKey

AggregateType

AggregateType: string

String identifying an aggregate type/class

EventInput

EventInput: Partial<Event> & Pick<Event, "type">

EventWithMetadata

EventWithMetadata: Event & Pick<Commit, "aggregateType" | "aggregateKey" | "aggregateVersion" | "timestamp">

InternalState

InternalState: any

Internal state representation that the stateReducer understands e.g. immutablejs objects

MarshalledCommit

MarshalledCommit: any

MetaStoreKey

MetaStoreKey: [string, string]

StoreCursor

StoreCursor: string

Timestamp

Timestamp: number

Functions

retryCommand

  • retryCommand(options?: Partial<RetryConfig>): (Anonymous function)
  • Decorator for Aggregate methods (commands)

    By default retries on VersionConflictError

    Parameters

    Returns (Anonymous function)

upcastCommits

Generated using TypeDoc