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

    Interface DeckRecord

    A deck kept small, to store: drawn again from its settings and seed, and answered as it was (see deckRecord).

    interface DeckRecord {
        answers: DeckAnswer[];
        restorable?: boolean;
        seed: number;
        settings: DeckSettings;
        version: number;
    }
    Index

    Properties

    answers: DeckAnswer[]
    restorable?: boolean

    false on a record made before the deal last changed (migrateDeckRecord): the same settings and seed would deal other cards now, so its answers and score stand but its cards cannot be brought back — restoreDeck gives null and missedCards passes it by. Absent (or true) on a record that can be dealt again.

    seed: number
    settings: DeckSettings
    version: number

    DECK_RECORD_VERSION when it was made — or, for a record kept from an older version and migrated, the version it was brought up to