Updated Interfaces

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-03-11 11:02:24 +01:00
parent 593b17b55f
commit 53afc67b72
6 changed files with 43 additions and 8 deletions

View File

@@ -1,3 +1,6 @@
import { List } from "./General"
import { CardSimple } from "./Card"
export enum Rarity {
Common,
Uncommon,
@@ -30,3 +33,11 @@ export interface RaritySimple {
id: Rarity
name: string
}
export type RaritySingle = {
id: Rarity
name: string
cards: Array<CardSimple>
}
export type RarityList = List<RaritySimple>