UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

17 lines (16 loc) 662 B
import { z } from 'zod'; /** * /v2/titles definition */ export declare const TitlesDTO: z.ZodArray<z.ZodObject<{ /** The id of the title. */ id: z.ZodNumber; /** The name of the title (this is also the title displayed over a character in-game.) */ name: z.ZodString; /** @deprecated Use achievements instead */ achievement: z.ZodOptional<z.ZodNumber>; /** The id of the achievement that grants this title. Can be resolved against /v2/achievements. */ achievements: z.ZodOptional<z.ZodArray<z.ZodNumber>>; /** The amount of AP required to have said title. */ ap_required: z.ZodOptional<z.ZodNumber>; }, z.core.$strict>>;