@flesh-and-blood/types
Version:
TypeScript representations of Flesh and Blood card types
28 lines (27 loc) • 976 B
TypeScript
import { Card, Type, Keyword, Subtype, Trait } from "../interfaces";
export declare const getCardIdentifier: (card: {
name: string;
pitch?: string | number;
}, useNumber?: boolean) => string;
export declare const getIsArenaCard: ({ keywords, traits, types, }: {
keywords?: Keyword[];
traits?: Trait[];
types: Type[];
}) => boolean;
export declare const getIsDeckCard: ({ keywords, traits, types, }: {
keywords?: Keyword[];
traits?: Trait[];
types: Type[];
}) => boolean;
export declare const getIsCardTokenForDeck: ({ keywords, traits, types, }: {
keywords?: Keyword[];
traits?: Trait[];
types: Type[];
}) => boolean;
export declare const getCanCardBeTokenForDeck: (card: Card) => boolean;
export declare const getCanAddToDeck: ({ isCardBack, keywords, traits, types, }: Card) => boolean;
export declare const getShouldRotateCardImage: (card: {
keywords?: Keyword[];
subtypes?: Subtype[];
types?: Type[];
}) => boolean;