UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

27 lines (26 loc) 1.07 kB
import { z } from 'zod'; /** * /v2/pvp/seasons/:id/leaderboards definition. */ export declare const PvPSeasonLeaderboardsDTO: z.ZodArray<z.ZodObject<{ /** Account name. */ name: z.ZodString; /** Rank for the given player/guild. */ rank: z.ZodNumber; /** Guild id. NOTE: Almost never present. */ id: z.ZodOptional<z.ZodString>; /** (only for guild leaderboard) Name of the team. */ team: z.ZodOptional<z.ZodString>; /** (only for guild leaderboard) Internal team id. */ team_id: z.ZodOptional<z.ZodNumber>; /** Date at which the rank is reached. */ date: z.ZodString; /** Array of objects containing the id and values for scorings. */ scores: z.ZodArray<z.ZodObject<{ /** Id for the scoring parameter. Can be compared to the values obtained from /v2/pvp/seasons/:id in the scorings array. */ id: z.ZodString; /** Value for the given id. */ value: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>; export declare const PvPSeasonLeaderboardRegionsDTO: z.ZodArray<z.ZodString>;