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

    Interface ResultStore

    Where results are kept: any database, file or service, through createResultStore.

    interface ResultStore {
        clear: () => Promise<void>;
        list: (query?: GameResultQuery) => Promise<GameResult[]>;
        remove: (id: string) => Promise<void>;
        save: (result: GameResult) => Promise<void>;
    }
    Index

    Properties

    Properties

    clear: () => Promise<void>
    list: (query?: GameResultQuery) => Promise<GameResult[]>

    Newest first

    remove: (id: string) => Promise<void>
    save: (result: GameResult) => Promise<void>