couch-kit
    Preparing search index...

    Interface IAction

    Base interface for game actions. All custom actions must extend this.

    The type field is required; payload, playerId, and timestamp are optional and can be used by game-specific logic.

    interface IAction {
        payload?: unknown;
        playerId?: string;
        timestamp?: number;
        type: string;
    }
    Index
    payload?: unknown
    playerId?: string
    timestamp?: number
    type: string