@gw2api/types
Version:
TypeScript types for all datastructures used by the Guild Wars 2 API
24 lines (19 loc) • 512 B
text/typescript
/**
* Title as returned from `/v2/titles`
* @see https://wiki.guildwars2.com/wiki/API:2/titles
*/
export interface Title {
/** The id of the title */
id: number;
/** The name of the title */
name: string;
/**
* The achievement id that grants this title
* @deprecated Use `achievements` instead
*/
achievement?: number;
/** List of achievement ids granting this title */
achievements?: number[];
/** Achievement Points required to unlock this title. */
ap_required?: number;
}