ddnet
Version:
A typescript npm package for interacting with data from ddnet.org
20 lines (19 loc) • 493 B
TypeScript
import { z } from 'zod';
/**
* The zod schema for player queries.
*
* @see
* [players.py](https://github.com/ddnet/ddnet-scripts/blob/master/servers/scripts/players.py)
*
* @internal
*/
export declare const _Schema_players_query: z.ZodArray<z.ZodObject<{
name: z.ZodString;
points: z.ZodNumber;
}, z.core.$strip>>;
/**
* Player query array type, inferred from {@link _Schema_players_query}
*
* @internal
*/
export type _PlayersQuery = z.infer<typeof _Schema_players_query>;