guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
31 lines (30 loc) • 1.01 kB
TypeScript
import { z } from 'zod';
/**
* /v2/itemstats definition
*/
export declare const ItemStatsDTO: z.ZodArray<z.ZodObject<{
/** The itemstat id. */
id: z.ZodNumber;
/** The name of the set of stats. */
name: z.ZodString;
/** The list of bonus attributes. */
attributes: z.ZodArray<z.ZodObject<{
/** The name of the attribute. */
attribute: z.ZodEnum<{
AgonyResistance: "AgonyResistance";
BoonDuration: "BoonDuration";
ConditionDamage: "ConditionDamage";
ConditionDuration: "ConditionDuration";
CritDamage: "CritDamage";
Healing: "Healing";
Power: "Power";
Precision: "Precision";
Toughness: "Toughness";
Vitality: "Vitality";
}>;
/** The multiplier number for that attribute. */
multiplier: z.ZodNumber;
/** The value number for that attribute. */
value: z.ZodNumber;
}, z.core.$strict>>;
}, z.core.$strict>>;