UNPKG

@scryfall/api-types

Version:

Type definitions for the Scryfall API

44 lines (41 loc) 996 B
/** The language code for cards as used by Scryfall. * Note this might differ from the printed code found on the card. * See: https://scryfall.com/docs/api/languages */ export enum ScryfallLanguageCode { /** English */ English = "en", /** Spanish */ Spanish = "es", /** French */ French = "fr", /** German */ German = "de", /** Italian */ Italian = "it", /** Portuguese */ Portuguese = "pt", /** Japanese */ Japanese = "ja", /** Korean */ Korean = "ko", /** Russian */ Russian = "ru", /** Simplified Chinese */ SimplifiedChinese = "zhs", /** Traditional Chinese */ TraditionalChinese = "zht", /** Hebrew */ Hebrew = "he", /** Latin */ Latin = "la", /** Ancient Greek */ AncientGreek = "grc", /** Arabic */ Arabic = "ar", /** Sanskrit */ Sanskrit = "sa", /** Phyrexian */ Phyrexian = "ph", } export type ScryfallLanguageCodeLike = ScryfallLanguageCode | `${ScryfallLanguageCode}`;