UNPKG

ddnet

Version:

A typescript npm package for interacting with data from ddnet.org

29 lines (28 loc) 630 B
import { z } from 'zod'; /** * The zod schema for map queries. * * @see * [maps.py](https://github.com/ddnet/ddnet-scripts/blob/master/servers/scripts/maps.py) * * @internal */ export declare const _Schema_maps_query: z.ZodArray<z.ZodObject<{ mapper: z.ZodString; type: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: string; mapper: string; }, { name: string; type: string; mapper: string; }>, "many">; /** * Map query array type, inferred from {@link _Schema_maps_query} * * @internal */ export type _MapsQuery = z.infer<typeof _Schema_maps_query>;