Interface CardFace
interface CardFace {
cmc?: number;
colors?: Colors;
defense?: string;
loyalty?: string;
mana_cost: string;
name: string;
norm_type?: string;
object: "card_face";
oracle_text?: string;
power?: string;
toughness?: string;
type_line?: string;
}
cmc?: number;
colors?: Colors;
defense?: string;
loyalty?: string;
mana_cost: string;
name: string;
norm_type?: string;
object: "card_face";
oracle_text?: string;
power?: string;
toughness?: string;
type_line?: string;
}
Index
Properties
Optionalcmc
cmc?: number
The card face mana value. Note that some funny cards have fractional mana costs.
Optionalcolors
This card face colors.
Optionaldefense
defense?: string
This face’s defense, if any. Battle cards.
Optionalloyalty
loyalty?: string
This loyalty if any. Note that some cards have loyalties that are not numeric, such as X.
mana_cost
mana_cost: string
The mana cost for this card. This value will be any empty string "" if the cost is absent.
name
name: string
Card face name.
Optionalnorm_type
norm_type?: string
Normalized card type based on type line parsing.
object
object: "card_face"
Optionaloracle_text
oracle_text?: string
The Oracle text for this card face, if any.
Optionalpower
power?: string
This face’s power, if any. Note that some cards have powers that are not numeric, such as *.
Optionaltoughness
toughness?: string
This face’s toughness, if any. Note that some cards have toughnesses that are not numeric, such as *.
Optionaltype_line
type_line?: string
The type line of this card face.
Defines the enriched, but reduced set of card face data transferred from the Scryfall DB.
See
https://scryfall.com/docs/api/cards