scryfall-client
Version:
A module for making requests to scryfall
34 lines (33 loc) • 783 B
TypeScript
export type Color = "W" | "U" | "B" | "R" | "G";
export type ImageUris = {
png: string;
border_crop: string;
art_crop: string;
large: string;
normal: string;
small: string;
};
export type Prices = {
usd: string | null;
usd_foil: string | null;
usd_etched: string | null;
eur: string | null;
eur_foil: string | null;
tix: string | null;
};
export type Legality = "legal" | "not_legal" | "restricted" | "banned";
export type Legalities = {
standard: Legality;
future: Legality;
historic: Legality;
pioneer: Legality;
modern: Legality;
legacy: Legality;
pauper: Legality;
vintage: Legality;
penny: Legality;
commander: Legality;
brawl: Legality;
duel: Legality;
oldschool: Legality;
};