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