mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-08-09 21:42:00 +00:00
Updated Interfaces
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user