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

    Return value of useTakeHistory.

    interface UseTakeHistoryResult {
        clear: () => void;
        getStoredScore: (id: string) => Promise<StoredTakeScore | undefined>;
        results: SavedTakeResult[];
        save: (result: TakeResult) => void;
        update: (id: string, patch: Partial<SavedTakeResult>) => void;
    }
    Index

    Properties

    clear: () => void

    Forget every take

    getStoredScore: (id: string) => Promise<StoredTakeScore | undefined>

    A kept take's marked score, or undefined when it was not kept

    results: SavedTakeResult[]

    The takes kept, newest first

    save: (result: TakeResult) => void

    Keep a graded take: its numbers in the list, its marked score alongside

    update: (id: string, patch: Partial<SavedTakeResult>) => void

    Change what is kept of one take