UNPKG

guildwars2-ts

Version:

GuildWars 2 API Wrapper in Typescript

96 lines (95 loc) 3 kB
import { z } from 'zod'; /** * /v2/colors definition */ export declare const ColorsDTO: z.ZodArray<z.ZodObject<{ /** The color id. */ id: z.ZodNumber; /** The color name. */ name: z.ZodString; /** The base RGB values. */ base_rgb: z.ZodArray<z.ZodNumber>; /** Detailed information on its appearance when applied on cloth armor. */ cloth: z.ZodObject<{ /** Color brightness. */ brightness: z.ZodNumber; /** Color contrast. */ contrast: z.ZodNumber; /** Color hue. */ hue: z.ZodNumber; /** Color saturation. */ saturation: z.ZodNumber; /** Color lightness. */ lightness: z.ZodNumber; /** Color RGB values. */ rgb: z.ZodArray<z.ZodNumber>; }, z.core.$strict>; /** Detailed information on its appearance when applied on leather armor. */ leather: z.ZodObject<{ /** Color brightness. */ brightness: z.ZodNumber; /** Color contrast. */ contrast: z.ZodNumber; /** Color hue. */ hue: z.ZodNumber; /** Color saturation. */ saturation: z.ZodNumber; /** Color lightness. */ lightness: z.ZodNumber; /** Color RGB values. */ rgb: z.ZodArray<z.ZodNumber>; }, z.core.$strict>; /** Detailed information on its appearance when applied on metal armor. */ metal: z.ZodObject<{ /** Color brightness. */ brightness: z.ZodNumber; /** Color contrast. */ contrast: z.ZodNumber; /** Color hue. */ hue: z.ZodNumber; /** Color saturation. */ saturation: z.ZodNumber; /** Color lightness. */ lightness: z.ZodNumber; /** Color RGB values. */ rgb: z.ZodArray<z.ZodNumber>; }, z.core.$strict>; /** Detailed information on its appearance when applied on fur armor. */ fur: z.ZodOptional<z.ZodObject<{ /** Color brightness. */ brightness: z.ZodNumber; /** Color contrast. */ contrast: z.ZodNumber; /** Color hue. */ hue: z.ZodNumber; /** Color saturation. */ saturation: z.ZodNumber; /** Color lightness. */ lightness: z.ZodNumber; /** Color RGB values. */ rgb: z.ZodArray<z.ZodNumber>; }, z.core.$strict>>; /** ID of the dye item. */ item: z.ZodOptional<z.ZodNumber>; /** Color categories. */ categories: z.ZodUnion<[z.ZodTuple<[z.ZodEnum<{ Gray: "Gray"; Brown: "Brown"; Red: "Red"; Orange: "Orange"; Yellow: "Yellow"; Green: "Green"; Blue: "Blue"; Purple: "Purple"; }>, z.ZodEnum<{ Vibrant: "Vibrant"; Leather: "Leather"; Metal: "Metal"; }>, z.ZodEnum<{ Starter: "Starter"; Common: "Common"; Uncommon: "Uncommon"; Rare: "Rare"; Exclusive: "Exclusive"; }>], null>, z.ZodArray<z.ZodUndefined>]>; }, z.core.$strict>>;