guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
25 lines (24 loc) • 786 B
TypeScript
import { z } from 'zod';
/**
* /v2/novelties definition
*/
export declare const NoveltiesDTO: z.ZodArray<z.ZodObject<{
/** The id of the novelty. */
id: z.ZodNumber;
/** The name of the novelty as it appears in-game. */
name: z.ZodString;
/** The in-game novelty description. */
description: z.ZodString;
/** The icon url for the novelty. */
icon: z.ZodString;
/** The slot which the novelty appears in the UI for. */
slot: z.ZodEnum<{
Tonic: "Tonic";
Chair: "Chair";
Music: "Music";
HeldItem: "HeldItem";
Miscellaneous: "Miscellaneous";
}>;
/** An array of item ids used to unlock the novelty. Can be resolved against /v2/items. */
unlock_item: z.ZodArray<z.ZodNumber>;
}, z.core.$strict>>;