@flesh-and-blood/types
Version:
TypeScript representations of Flesh and Blood card types
71 lines (70 loc) • 2.07 kB
TypeScript
import { Class, Hero, Rarity, Release, Talent } from "./interfaces";
export declare enum Language {
English = "English",
French = "Fran\u00E7ais",
German = "Deutsch",
Italian = "Italiano",
Japanese = "\u65E5\u672C\u8A9E",
Spanish = "Espa\u00F1ol"
}
export declare enum ReleaseType {
ArmoryDeck = "Armory Deck",
BlitzDeck = "Blitz Deck",
ClassicBattles = "Classic Battles",
ExpansionBooster = "Expansion Booster",
FirstStrike = "1st Strike",
HistoryPack = "History Pack",
MasteryPack = "Mastery Pack",
RoundTheTable = "Round the Table",
StandaloneBooster = "Standalone Booster",
WelcomeDeck = "Welcome Deck"
}
export declare const getIsBooster: (releaseType: ReleaseType) => boolean;
export declare const getIsReprint: (releaseType: ReleaseType) => boolean;
export declare const getIsDraftable: (releaseType: ReleaseType) => boolean;
export declare const getIsPreconstructed: (releaseType: ReleaseType) => boolean;
export declare const coreSetIdentifiers: {
[key: string]: Release;
};
export declare const supplementalSetIdentifiers: {
[key: string]: Release;
};
export declare const promoSetIdentifiers: string[];
interface DeckLink {
name?: string;
url: string;
}
interface DraftInfo {
heroIdentifiers: string[];
picksPerPack: number;
}
export interface ReleaseInfo {
cards: number;
classes: Class[];
deckLinks: DeckLink[];
draft?: DraftInfo;
heroes: Hero[];
heroOverrides?: {
[key: string]: Hero;
};
languages: Language[];
raritiesExcludedInLimited?: Rarity[];
relatedReleases: Release[];
release: Release;
releaseDate: string;
releaseType: ReleaseType;
setIdentifiers: string[];
talents: Talent[];
url?: string;
}
export declare const releases: ReleaseInfo[];
export declare const fullSetIdentifiers: {
[key: string]: Release;
};
export declare const setIdentifierToSetMappings: {
[key: string]: Release;
};
export declare const setToSetIdentifierMappings: {
[key: string]: string[];
};
export {};