UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

15 lines (14 loc) 601 B
/** * /v2/guild/:id/ranks definition */ import { z } from 'zod'; export declare const GuildRanksDTO: z.ZodArray<z.ZodObject<{ /** The id and name of the rank. */ id: z.ZodString; /** A number given to each rank to specify how they should be sorted, lowest being the first and highest being the last. */ order: z.ZodNumber; /** An array of permission ids from /v2/guild/permissions that have been given to this rank. */ permissions: z.ZodArray<z.ZodString>; /** The URL pointing to the image currently assigned to this rank. */ icon: z.ZodString; }, z.core.$strict>>;