mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-08-06 12:21:57 +00:00
22
interfaces/Expansion.ts
Normal file
22
interfaces/Expansion.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { SetSimple } from "./Set";
|
||||
import { List } from "./General";
|
||||
import LangList from "./LangList";
|
||||
|
||||
export type ExpansionSingle = {
|
||||
code: string
|
||||
name: string
|
||||
sets: Array<SetSimple>
|
||||
}
|
||||
|
||||
export type ExpansionSimple = {
|
||||
code: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export type ExpansionList = List<ExpansionSimple>
|
||||
|
||||
export default interface Expansion {
|
||||
name: LangList<string> | string
|
||||
code: string
|
||||
sets?: Array<string>
|
||||
}
|
Reference in New Issue
Block a user