A ProjectionActionMessage represents an action that is sent from the client to the server.

interface ProjectionActionMessage {
    payload: {
        action: Message;
        domain: string;
        optimisticId?: string;
    };
    type: "projection/action";
}

Properties

Properties

payload: {
    action: Message;
    domain: string;
    optimisticId?: string;
}

Type declaration

  • action: Message
  • domain: string
  • Optional optimisticId?: string
type: "projection/action"