guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
31 lines (30 loc) • 1.34 kB
TypeScript
import { z } from 'zod';
/**
* /v2/characters/:id/specializations definition
*/
export declare const CharacterSpecializationsDTO: z.ZodObject<{
/** Contains PvE, PvP, and WvW specialization objects currently equipped. */
specializations: z.ZodObject<{
/** PvE specializations currently equipped. */
pve: z.ZodArray<z.ZodObject<{
/** Specialization id. Can be resolved against /v2/specializations. */
id: z.ZodNumber;
/** Trait ids. Can be resolved against /v2/traits. */
traits: z.ZodArray<z.ZodNumber>;
}, z.core.$strict>>;
/** PvP specializations currently equipped. */
pvp: z.ZodArray<z.ZodObject<{
/** Specialization id. Can be resolved against /v2/specializations. */
id: z.ZodNumber;
/** Trait ids. Can be resolved against /v2/traits. */
traits: z.ZodArray<z.ZodNumber>;
}, z.core.$strict>>;
/** WvW specializations currently equipped. */
wvw: z.ZodArray<z.ZodObject<{
/** Specialization id. Can be resolved against /v2/specializations. */
id: z.ZodNumber;
/** Trait ids. Can be resolved against /v2/traits. */
traits: z.ZodArray<z.ZodNumber>;
}, z.core.$strict>>;
}, z.core.$strict>;
}, z.core.$strict>;