UNPKG

biketag

Version:

The Javascript client API for BikeTag Games

7 lines (6 loc) 395 B
import { SanityClient } from '@sanity/client'; import { BikeTagApiResponse } from '../common/types'; import { getGamePayload } from '../common/payloads'; import { Game } from '../common/schema'; import { default as TinyCache } from 'tinycache'; export declare function getGame(client: SanityClient, payload: getGamePayload, cache?: typeof TinyCache): Promise<BikeTagApiResponse<Game | Game[]>>;