UNPKG

tarotap

Version:

Complete 78-card Tarot deck library with 17-language support (EN/DE/ES/FR/IT/JA/KO/NL/PT/RU/TW/ZH/TH/TR/PL/DA/NO) and TypeScript

25 lines 721 B
/** * 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' | 'th' | 'tr' | 'pl' | 'da' | 'no'; 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