Interface StandardEvent<A, T, Id>

Standard aggregate event.

interface StandardEvent {
    link?: readonly Id[];
    nonce?: string;
    payload: T;
    root?: Id;
    type: A;
}

Type Parameters

  • A extends string = string

  • T = unknown

  • Id = unknown

Hierarchy

Properties

link?: readonly Id[]

Dependent event links.

nonce?: string

Unique value associated with this action.

payload: T

Action payload.

root?: Id

Aggregate root ID.

type: A

Action type.

Generated using TypeDoc