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 Tag {
BASIC,
BASICENERGY,
@@ -29,3 +32,11 @@ export interface TagSimple {
id: Tag
name: string
}
export type TagSingle = {
id: Tag
name: string
cards: Array<CardSimple>
}
export type TagList = List<TagSimple>