UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

34 lines (33 loc) 1.22 kB
import { z } from 'zod'; /** * /v2/wvw/matches/stats definition */ export declare const WvWMatchesStatsDTO: z.ZodObject<{ /** The WvW match id. */ id: z.ZodString; /** An object containing the total deaths of the three servers. */ deaths: z.ZodObject<{ red: z.ZodNumber; blue: z.ZodNumber; green: z.ZodNumber; }, z.core.$strict>; /** An object containing the total kills of the three servers. */ kills: z.ZodObject<{ red: z.ZodNumber; blue: z.ZodNumber; green: z.ZodNumber; }, z.core.$strict>; /** A list of objects containing detailed information about each of the four maps. */ maps: z.ZodArray<z.ZodObject<{ /** The map id. */ id: z.ZodNumber; /** The identifier for the map. Can be either RedHome, GreenHome or BlueHome for the borderlands or Center for Eternal Battlegrounds. */ type: z.ZodString; /** An object containing the total deaths of the three servers for only the specified map. */ deaths: z.ZodObject<{ red: z.ZodNumber; blue: z.ZodNumber; green: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>;