guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
43 lines (42 loc) • 2.47 kB
TypeScript
import { z } from 'zod';
/**
* /v2/characters/:id/skills definition
*/
export declare const CharacterSkillsDTO: z.ZodObject<{
/** PvE, PvP, and WvW skill layout of a character. */
skills: z.ZodObject<{
/** PvE skills. */
pve: z.ZodObject<{
/** Id of the heal skill. Can be resolved against /v2/skills. */
heal: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
/** Ids of the utilities, or null if it's not set. Can be resolved against /v2/skills */
utilities: z.ZodArray<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>;
/** Id of the elite skill. Can be resolved against /v2/skills. */
elite: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
/** Ids of the legends. Revenant only. Can be resolved against /v2/legends. */
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
}, z.core.$strict>;
/** PvP skills. */
pvp: z.ZodObject<{
/** Id of the heal skill. Can be resolved against /v2/skills. */
heal: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
/** Ids of the utilities, or null if it's not set. Can be resolved against /v2/skills */
utilities: z.ZodArray<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>;
/** Id of the elite skill. Can be resolved against /v2/skills. */
elite: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
/** Ids of the legends. Revenant only. Can be resolved against /v2/legends. */
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
}, z.core.$strict>;
/** WvW skills. */
wvw: z.ZodObject<{
/** Id of the heal skill. Can be resolved against /v2/skills. */
heal: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
/** Ids of the utilities, or null if it's not set. Can be resolved against /v2/skills */
utilities: z.ZodArray<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>;
/** Id of the elite skill. Can be resolved against /v2/skills. */
elite: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
/** Ids of the legends. Revenant only. Can be resolved against /v2/legends. */
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
}, z.core.$strict>;
}, z.core.$strict>;
}, z.core.$strict>;