UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

21 lines (20 loc) 1.02 kB
import { z } from 'zod'; /** * /v2/backstory/questions definition */ export declare const BackstoryQuestionsDTO: z.ZodArray<z.ZodObject<{ /** The id of the question. */ id: z.ZodNumber; /** The title (or name) of the question. */ title: z.ZodString; /** The description of the question; as displayed in-game when presented as a Biography choice during character creation. */ description: z.ZodString; /** The order in which this question is displayed in-game while answering your characters' Biography questions during character creation. */ order: z.ZodNumber; /** The list of answers for this question; Can be resolved against v2/backstory/answers. */ answers: z.ZodArray<z.ZodString>; /** When present, an array of races that this question is presented to. */ races: z.ZodOptional<z.ZodArray<z.ZodString>>; /** When present, an array of professions that this question is presented to. */ professions: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strict>>;