UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

39 lines (38 loc) 1.52 kB
import { z } from 'zod'; /** * /v2/pvp/standings definition. */ export declare const PvPStandingsDTO: z.ZodArray<z.ZodObject<{ /** Current standings. */ current: z.ZodObject<{ /** Total points in the current ladder. */ total_points: z.ZodNumber; /** 0-indexed and refers to the data returned by season ID. */ division: z.ZodNumber; /** 0-indexed and refers to the data returned by season ID. */ tier: z.ZodNumber; /** Current point count. */ points: z.ZodNumber; /** The number of times the account has maxed out the "Repeat" division. */ repeats: z.ZodNumber; /** The current rating level. For PvP season 5 and after only. */ rating: z.ZodOptional<z.ZodNumber>; /** The current decay value. For PvP season 5 and after only. */ decay: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>; /** Best standings. */ best: z.ZodObject<{ /** Total points in the current ladder. */ total_points: z.ZodNumber; /** 0-indexed and refers to the data returned by season ID. */ division: z.ZodNumber; /** 0-indexed and refers to the data returned by season ID. */ tier: z.ZodNumber; /** Current point count. */ points: z.ZodNumber; /** The number of times the account has maxed out the "Repeat" division. */ repeats: z.ZodNumber; }, z.core.$strict>; /** The season ID. */ season_id: z.ZodString; }, z.core.$strict>>;