guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
22 lines (21 loc) • 1.01 kB
TypeScript
import { z } from 'zod';
/**
* /v2/backstory/answers definition
*/
export declare const BackstoryAnswersDTO: z.ZodArray<z.ZodObject<{
/** The id of the answer. */
id: z.ZodString;
/** The title (or name) of the answer. */
title: z.ZodString;
/** The description of the answer; as displayed in-game when presented as an answer choice
* to a question during the Biography portion of character creation. */
description: z.ZodString;
/** The Story Journal entry for the answer; as displayed in-game. */
journal: z.ZodString;
/** The id of the Biography question that this answers; Can be resolved against v2/backstory/questions. */
question: z.ZodNumber;
/** When present, an array of professions that this answer is available as a choice for. */
professions: z.ZodOptional<z.ZodArray<z.ZodString>>;
/** When present, an array of races that this answer is available as a choice for. */
races: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strict>>;