UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

22 lines (21 loc) 789 B
import { z } from 'zod'; /** * /v2/quests definition. */ export declare const QuestsDTO: z.ZodArray<z.ZodObject<{ /** The id of the quest. */ id: z.ZodNumber; /** The name of the quest. */ name: z.ZodString; /** The minimum level required for a character to begin this quest. */ level: z.ZodNumber; /** The id for the story. Can be resolved against /v2/stories. */ story: z.ZodNumber; /** An array of goal objects providing details about the goals for this quest. */ goals: z.ZodArray<z.ZodObject<{ /** The text displayed for the quest step if it is active. */ active: z.ZodString; /** The text displayed for the quest step if it is complete. */ complete: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>;