Interface StandardAction<A, T, Id>

Standard aggregate action interface.

interface StandardAction {
    nonce?: string;
    payload: T;
    root?: Id;
    type: A;
}

Type Parameters

  • A extends string = string

  • T = unknown

  • Id = unknown

Hierarchy

Properties

nonce?: string

Unique value associated with this action.

payload: T

Action payload.

root?: Id

Aggregate root ID.

type: A

Action type.

Generated using TypeDoc