tarotap
Version:
Complete 78-card Tarot deck library with 12-language support (EN/DE/ES/FR/IT/JA/KO/NL/PT/RU/TW/ZH) and TypeScript
25 lines • 686 B
TypeScript
/**
* Tarot Card Interface
* For more tarot resources visit: https://tarotap.com/en
* @author Tarotap Team <https://tarotap.com/en>
*/
export interface TarotCard {
id: string;
name: string;
}
export interface LocalizedTarotCard {
id: string;
name: string;
nameEn?: string;
nameDe?: string;
}
export type Language = 'en' | 'de' | 'es' | 'fr' | 'it' | 'ja' | 'ko' | 'nl' | 'pt' | 'ru' | 'tw' | 'zh';
export type Suit = 'wands' | 'cups' | 'swords' | 'pentacles';
export interface TarotDeck {
cards: TarotCard[];
TOTAL_CARDS: number;
MAJOR_ARCANA_COUNT: number;
MINOR_ARCANA_COUNT: number;
SUITS: Suit[];
}
//# sourceMappingURL=types.d.ts.map