UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

29 lines (28 loc) 1.11 kB
import { z } from 'zod'; /** * /v2/specializations definition */ export declare const SpecializationsDTO: z.ZodArray<z.ZodObject<{ /** The specialization's ID. */ id: z.ZodNumber; /** The name of the specialization. */ name: z.ZodString; /** The profession that this specialization belongs to. */ profession: z.ZodString; /** A URL to an icon of the specialization. */ icon: z.ZodURL; /** A URL to the background image of the specialization. */ background: z.ZodURL; /** Contains a list of IDs specifying the minor traits in the specialization. */ minor_traits: z.ZodArray<z.ZodNumber>; /** Contains a list of IDs specifying the major traits in the specialization. */ major_traits: z.ZodArray<z.ZodNumber>; /** Profession icon/ */ profession_icon: z.ZodOptional<z.ZodURL>; /** Large profession icon. */ profession_icon_big: z.ZodOptional<z.ZodURL>; /** Whether this is an Elite specialization. */ elite: z.ZodBoolean; /** Specialization weapon trait. */ weapon_trait: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>>;