guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
40 lines (39 loc) • 1.72 kB
TypeScript
import { z } from 'zod';
/**
* /v2/account/buildstorage definition
*/
export declare const AccountBuildStorageDTO: z.ZodArray<z.ZodObject<{
/** Name of the stored build. */
name: z.ZodString;
/** Profession of the stored build. */
profession: z.ZodString;
/** Specializations of the stored build. */
specializations: z.ZodArray<z.ZodObject<{
/** Id of the specialization. */
id: z.ZodNumber;
/** Selected traits. */
traits: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
}, z.core.$strict>>;
/** Selected utility skills. */
skills: z.ZodOptional<z.ZodObject<{
/** Id of the heal skill. */
heal: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
/** Ids of the utility skills. */
utilities: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
/** Id of the elite skill. */
elite: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
}, z.core.$strict>>;
/** Selected aquatic utility skills. */
aquatic_skills: z.ZodOptional<z.ZodObject<{
/** Id of the heal skill. */
heal: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
/** Ids of the utility skills. */
utilities: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
/** Id of the elite skill. */
elite: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
}, z.core.$strict>>;
/** Selected legends (revenant only). */
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>>;
/** Selected aquatic legends (revenant only). */
aquatic_legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>>;
}, z.core.$strict>>;