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

32 lines
387 B
TypeScript

import { List } from "./General"
import { CardSimple } from "./Card"
enum Type {
COLORLESS,
DARKNESS,
DRAGON,
FAIRY,
FIGHTING,
FIRE,
GRASS,
LIGHTNING,
METAL,
PSYCHIC,
WATER,
}
export interface TypeSimple {
id: Type
name: string
}
export type TypeSingle = {
id: Type
name: string
cards: Array<CardSimple>
}
export type TypeList = List<TypeSimple>
export default Type