Florian Bouillon 53afc67b72
Updated Interfaces
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-03-11 11:02:24 +01:00

44 lines
528 B
TypeScript

import { List } from "./General"
import { CardSimple } from "./Card"
export enum Rarity {
Common,
Uncommon,
Rare,
// Rare holo
RareHolo,
RareHoloEX,
RareHoloGX,
RareHoloLvX,
// Rare other
RareUltra,
RarePrime,
RareACE,
RareBREAK,
RareRainbow,
// Other
LEGEND,
// V & Vmax
RareV,
RareVMAX,
}
export default Rarity
export interface RaritySimple {
id: Rarity
name: string
}
export type RaritySingle = {
id: Rarity
name: string
cards: Array<CardSimple>
}
export type RarityList = List<RaritySimple>