mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-08-06 12:21:57 +00:00
24
interfaces/Category.ts
Normal file
24
interfaces/Category.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { List } from "./General"
|
||||
import { CardSimple } from "./Card"
|
||||
|
||||
export enum Category {
|
||||
POKEMON,
|
||||
TRAINER,
|
||||
ENERGY
|
||||
}
|
||||
|
||||
export default Category
|
||||
|
||||
export type CategorySingle = {
|
||||
id: Category
|
||||
name: string
|
||||
cards: Array<CardSimple>
|
||||
}
|
||||
|
||||
|
||||
export type CategorySimple = {
|
||||
id: Category
|
||||
name: string
|
||||
}
|
||||
|
||||
export type CategoryList = List<CategorySimple>
|
Reference in New Issue
Block a user