UNPKG

@genshin-db/tcg

Version:

Genshin Impact Trading Card Game JSON data with an API for searching the data in all in-game languages.

38 lines (29 loc) 1.04 kB
declare module "@genshin-db/tcg" { export interface TcgActionCards { id: number; name: string; // translated shareid: number; // id for generating deck share code cardtype: string; // enum cardtypetext: string; // translated tags: string[]; // enum tagstext: string[]; // translated description: string; // translated descriptionraw: string; // translated descriptionreplaced: string; // translated storytitle?: string; // translated. created cards like Keqing's Lightning Stiletto don't have this property. storytext?: string; // translated. created cards like Keqing's Lightning Stiletto don't have this property. source?: string; // translated. not every card has this property. playcost: TcgCardPlayCost[]; images: { filename_tagsicon: string[]; filename_cardface: string; filename_cardface_golden: string; filename_cardface_HD: string; }; version: string; } export interface TcgCardPlayCost { costtype: string; // enum count: number; } }