UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

45 lines (44 loc) 1.69 kB
import { z } from 'zod'; /** * /v2/maps definition */ export declare const MapsDTO: z.ZodArray<z.ZodObject<{ /** The map id. */ id: z.ZodNumber; /** The map name. */ name: z.ZodString; /** The minimal level for this map. */ min_level: z.ZodNumber; /** The maximum level for this map. */ max_level: z.ZodNumber; /** The default floor for this map. */ default_floor: z.ZodNumber; /** The map type. */ type: z.ZodEnum<{ Unknown: "Unknown"; Pvp: "Pvp"; BlueHome: "BlueHome"; Center: "Center"; EdgeOfTheMists: "EdgeOfTheMists"; GreenHome: "GreenHome"; Instance: "Instance"; JumpPuzzle: "JumpPuzzle"; Public: "Public"; RedHome: "RedHome"; Tutorial: "Tutorial"; }>; /** A list of available floors for this map. */ floors: z.ZodArray<z.ZodNumber>; /** The id of the region this map belongs to. */ region_id: z.ZodOptional<z.ZodNumber>; /** The name of the region this map belongs to. */ region_name: z.ZodOptional<z.ZodString>; /** The id of the continent this map belongs to. */ continent_id: z.ZodOptional<z.ZodNumber>; /** The name of the continent this map belongs to. */ continent_name: z.ZodOptional<z.ZodString>; /** The dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners. */ map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; /** The dimensions of the map within the continent coordinate system, given as the coordinates of the upper-left (NW) and lower-right (SE) corners. */ continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>; }, z.core.$strict>>;