UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

45 lines (44 loc) 1.54 kB
import { z } from 'zod'; /** * /v2/wvw/objectives definition */ export declare const WvWObjectivesDTO: z.ZodArray<z.ZodObject<{ /** The objective id. */ id: z.ZodString; /** The name of the objective. */ name: z.ZodString; /** The type of the objective. */ type: z.ZodEnum<{ Generic: "Generic"; Spawn: "Spawn"; Camp: "Camp"; Ruins: "Ruins"; Tower: "Tower"; Keep: "Keep"; Castle: "Castle"; Mercenary: "Mercenary"; Resource: "Resource"; }>; /** The map sector the objective can be found in. Refer to /v2/continents. */ sector_id: z.ZodNumber; /** The ID of the map that this objective can be found on. */ map_id: z.ZodNumber; /** The map that this objective can be found on. */ map_type: z.ZodEnum<{ BlueHome: "BlueHome"; Center: "Center"; GreenHome: "GreenHome"; RedHome: "RedHome"; EdgeOfTheMist: "EdgeOfTheMist"; }>; /** An array of three numbers representing the X, Y and Z coordinates of the objectives marker on the map. */ coord: z.ZodArray<z.ZodNumber>; /** An array of two numbers representing the X and Y coordinates of the sector centroid. */ label_coord: z.ZodArray<z.ZodNumber>; /** The icon link. */ marker: z.ZodString; /** The chat code for the observed objective. */ chat_link: z.ZodString; /** The upgrade id. Can be resolved against /v2/wvw/upgrades. */ upgrade_id: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>>;