guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
26 lines (25 loc) • 915 B
TypeScript
import { z } from 'zod';
/**
* /v2/characters/:id/crafting definition
*/
export declare const CharacterCraftingDTO: z.ZodObject<{
/** Crafting disciplines of a character. */
crafting: z.ZodArray<z.ZodObject<{
/** An array containing an entry for each crafting discipline the character has unlocked. */
discipline: z.ZodEnum<{
Armorsmith: "Armorsmith";
Artificer: "Artificer";
Chef: "Chef";
Huntsman: "Huntsman";
Jeweler: "Jeweler";
Leatherworker: "Leatherworker";
Scribe: "Scribe";
Tailor: "Tailor";
Weaponsmith: "Weaponsmith";
}>;
/** The name of the discipline. */
rating: z.ZodNumber;
/** Describes if the given discipline is currently active or not on the character. */
active: z.ZodBoolean;
}, z.core.$strict>>;
}, z.core.$strict>;