Hiyve Components - v1.0.0
    Preparing search index...

    Interface GameResult

    One finished game, ready to store anywhere.

    interface GameResult {
        durationMs?: number;
        extra?: Record<string, unknown>;
        game: string;
        id: string;
        mode: PlayMode;
        playedAt: string;
        player?: { id: string; name?: string };
        record: DeckRecord;
        score: Score;
        summary: DeckSummary;
    }
    Index

    Properties

    durationMs?: number
    extra?: Record<string, unknown>

    Anything else the host wants kept with it

    game: string

    The game, as the host names it

    id: string
    mode: PlayMode
    playedAt: string

    When it was played, as ISO 8601

    player?: { id: string; name?: string }
    record: DeckRecord

    The deck kept small; restoreDeck brings it back

    score: Score
    summary: DeckSummary