biketag
Version:
The Javascript client API for BikeTag Games
8 lines (6 loc) • 396 B
TypeScript
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[]>>;