guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
28 lines (27 loc) • 1.03 kB
TypeScript
import { z } from 'zod';
/**
* /v2/pvp/ranks definition.
*/
export declare const PvPRanksDTO: z.ZodArray<z.ZodObject<{
/** The id of the pvp rank. */
id: z.ZodNumber;
/** The id of the unlocked finisher, can be resolved against /v2/finishers */
finisher_id: z.ZodNumber;
/** The given name for the PvP rank. */
name: z.ZodString;
/** The icon uri for the Pvp rank. */
icon: z.ZodString;
/** The minimum PvP level required to be at this rank. */
min_rank: z.ZodNumber;
/** The maximum PvP level required to be at this rank. */
max_rank: z.ZodNumber;
/** The rank levels. */
levels: z.ZodArray<z.ZodObject<{
/** The minimum PvP level required to be at this rank. */
min_rank: z.ZodNumber;
/** The maximum PvP level required to be at this rank. */
max_rank: z.ZodNumber;
/** The amount of PvP experience needed to go from the given minimum rank to maximum rank. */
points: z.ZodNumber;
}, z.core.$strict>>;
}, z.core.$strict>>;