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"
enum Type {
COLORLESS,
DARKNESS,
@@ -17,4 +20,12 @@ export interface TypeSimple {
name: string
}
export type TypeSingle = {
id: Type
name: string
cards: Array<CardSimple>
}
export type TypeList = List<TypeSimple>
export default Type