guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
21 lines (20 loc) • 736 B
TypeScript
import { z } from 'zod';
/**
* /v2/achievements/categories/:ids definition
*/
export declare const AchievementCategoriesDTO: z.ZodArray<z.ZodObject<{
/** Category id. */
id: z.ZodNumber;
/** Category name. */
name: z.ZodString;
/** Category description. */
description: z.ZodString;
/** A number describing where to sort this category among other the other
* categories in its group. Lowest numbers go first, highest numbers go last. */
order: z.ZodNumber;
/** A URL to an image for the icon of the category. */
icon: z.ZodString;
/** Achievement ids in this category.
* Can be resolved against /v2/achievements. */
achievements: z.ZodArray<z.ZodNumber>;
}, z.core.$strict>>;