UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

55 lines (54 loc) 2.04 kB
import { z } from 'zod'; /** * /v2/wvw/matches/scores definition */ export declare const WvWMatchesScoresDTO: z.ZodObject<{ /** The WvW match id. */ id: z.ZodString; /** An object containing the score of the three servers. */ scores: 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 score of the three servers for only the specified map. */ scores: z.ZodObject<{ red: z.ZodNumber; blue: z.ZodNumber; green: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; /** A list of skirmishes. */ skirmishes: z.ZodArray<z.ZodObject<{ /** The skirmish id . */ id: z.ZodNumber; /** Object containing total scores for each team color. */ scores: z.ZodObject<{ red: z.ZodNumber; blue: z.ZodNumber; green: z.ZodNumber; }, z.core.$strict>; /** Contains the map specific scores for the specific skirmish. */ map_scores: z.ZodArray<z.ZodObject<{ /** Which map is being looked at. */ type: z.ZodEnum<{ BlueHome: "BlueHome"; Center: "Center"; GreenHome: "GreenHome"; RedHome: "RedHome"; }>; /** Object containing total scores for each team color on the selected map. */ scores: z.ZodObject<{ red: z.ZodNumber; blue: z.ZodNumber; green: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>;