UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

41 lines (40 loc) 1.35 kB
import { z } from 'zod'; /** * /v2/pvp/heroes definition. */ export declare const PvPHeroesDTO: z.ZodArray<z.ZodObject<{ /** The id of the pvp heroes. */ id: z.ZodString; /** The name of the pvp heroes. */ name: z.ZodString; /** The description of the hero. */ description: z.ZodString; /** The flavor type describing the hero. */ type: z.ZodString; /** An object reflecting the champions stats under offense, defense, or speed. */ stats: z.ZodObject<{ /** Offense. */ offense: z.ZodNumber; /** Defense. */ defense: z.ZodNumber; /** Speed. */ speed: z.ZodNumber; }, z.core.$strict>; /** The overlay art url for that champion. */ overlay: z.ZodString; /** The underlay art url for that champion. */ underlay: z.ZodString; /** The pvp hero skin. */ skins: z.ZodArray<z.ZodObject<{ /** The skin id. */ id: z.ZodNumber; /** The name of the skin. */ name: z.ZodString; /** The icon url for the skin. */ icon: z.ZodString; /** States if the skin is the default champion skin. */ default: z.ZodBoolean; /** Item ids which unlock the skin. Can be resolved against /v2/items. */ unlock_items: z.ZodArray<z.ZodNumber>; }, z.core.$strict>>; }, z.core.$strict>>;