UNPKG

@genshin-db/tcg

Version:

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

97 lines (87 loc) 1.86 kB
declare module "@genshin-db/tcg" { export interface Food { id: number; name: string; rarity: 1 | 2 | 3 | 4 | 5; foodtype: 'NORMAL' | 'SPECIALTY'; filterType: 'COOK_FOOD_ATTACK' | 'COOK_FOOD_DEFENSE' | 'COOK_FOOD_FUNCTION' | 'COOK_FOOD_HEAL'; // enum filterText: string; // translated effect: string; description: string; suspicious?: { effect: string; description: string; }; normal?: { effect: string; description: string; }; delicious?: { effect: string; description: string; }; baseDishId?: number; // for specialty dish baseDishName?: string; // for specialty dish characterId?: number; // for specialty dish characterName?: string; // for specialty dish ingredients: FoodIngredient[]; images: { filename_buff: string; filename_icon: string; }; version: string; } export interface FoodIngredient { id: number; name: string; count: number; } // UNUSED. FOR REFERENCE ONLY. /* export interface FoodNormal { name: string; rarity: string; foodtype: 'NORMAL'; foodfilter: string; foodcategory: string; effect: string; description: string; suspicious: { effect: string; description: string; }; normal: { effect: string; description: string; }; delicious: { effect: string; description: string; }; ingredients: FoodIngredient[]; images?: {}; url: { fandom: string; }; } */ // UNUSED. FOR REFERENCE ONLY. /* export interface FoodSpecialty { name: string; rarity: string; foodtype: 'SPECIALTY'; foodfilter: string; foodcategory: string; effect: string; description: string; basedish: string; character: string; ingredients: FoodIngredient[]; images?: {}; url: { fandom: string; }; } */ }