mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
32 lines
387 B
TypeScript
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
|