Florian Bouillon 7f0e95d574
Added the new Rarity v1.7.0
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-01-31 13:49:36 +01:00

32 lines
461 B
TypeScript

import { List } from "./General"
import { CardSimple } from "./Card"
export enum Rarity {
NONE,
COMMON,
UNCOMMON,
RARE,
// Both RAREULTRA and ULTRARARE are the same until I know the correct name
RAREULTRA = 4,
ULTRARARE = 4,
AMAZING,
}
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>