UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

34 lines (33 loc) 1.37 kB
import { z } from 'zod'; /** * /v2/masteries definition. */ export declare const MasteriesDTO: z.ZodArray<z.ZodObject<{ /** The id of the mastery. */ id: z.ZodNumber; /** The name of the selected mastery. */ name: z.ZodString; /** The written out requirements to unlock the mastery track. */ requirement: z.ZodString; /** The order in which the mastery track appears in a list. */ order: z.ZodNumber; /** The background uri for the mastery track. */ background: z.ZodString; /** The in-game region in which the mastery track belongs. */ region: z.ZodString; /** An array containing the information of each mastery level. */ levels: z.ZodArray<z.ZodObject<{ /** The name for the given mastery. */ name: z.ZodString; /** The in game description for the given mastery. */ description: z.ZodString; /** The in game instructions for the given mastery. */ instruction: z.ZodString; /** The icon uri for the mastery. */ icon: z.ZodString; /** The amount of mastery points required to unlock the mastery. */ point_cost: z.ZodNumber; /** The total amount of experience needed to train the given mastery level. This total is non-cumulative between levels. */ exp_cost: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>;