@genshin-db/tcg
Version:
Genshin Impact Trading Card Game JSON data with an API for searching the data in all in-game languages.
25 lines (19 loc) • 507 B
TypeScript
declare module "@genshin-db/tcg" {
export interface TcgDetailedRules {
id: number;
name: string; // translated
rules: TcgRule[];
version: string;
}
export interface TcgRule {
reaction?: {
elementone: string; // enum
elementtwo: string; // enum
};
title: string; // translated. can be empty string.
titleraw: string; // translated. can be empty string.
content: string; // translated
contentraw: string; // translated
filename_image?: string;
}
}