UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

16 lines (15 loc) 544 B
import { z } from 'zod'; /** * /v2/characters/:id/training definition */ export declare const CharacterTrainingDTO: z.ZodObject<{ /** Skill trained in each skill tree. */ training: z.ZodArray<z.ZodObject<{ /** Skill tree id. Can be resolved against /v2/profession, in training section. */ id: z.ZodNumber; /** How many points have been spent in this tree. */ spent: z.ZodNumber; /** Whether the tree is fully trained. */ done: z.ZodBoolean; }, z.core.$strict>>; }, z.core.$strict>;