UNPKG

genshin-db

Version:

Genshin Impact v5.5 JSON data. Search and get results in all in-game languages! Sources from the fandom wiki and GenshinData repo.

38 lines (29 loc) 1.04 kB
declare module "genshin-db" { 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; } }