mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-22 10:52:10 +00:00
Updated interfaces
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
465a616980
commit
f805fc09b4
@ -3,7 +3,7 @@ import LangList from "./LangList";
|
||||
import { promises } from "fs";
|
||||
|
||||
interface Ability {
|
||||
id: number
|
||||
id?: number
|
||||
type: AbilityType
|
||||
name: LangList<string>
|
||||
text: LangList<string>
|
||||
|
@ -6,6 +6,7 @@ import Rarity from "./Rarity";
|
||||
import Attack from "./Attack";
|
||||
import Illustrator from "./Illutrator";
|
||||
import Ability from "./Ability";
|
||||
import Set from "./Set";
|
||||
|
||||
interface Card {
|
||||
|
||||
@ -55,7 +56,7 @@ interface Card {
|
||||
set: {
|
||||
name: string
|
||||
code: string
|
||||
}
|
||||
}| Set
|
||||
}
|
||||
|
||||
export default Card
|
||||
|
@ -19,7 +19,6 @@ export default interface Set {
|
||||
official: number
|
||||
}
|
||||
|
||||
// subsets only releaseDate
|
||||
releaseDate?: string // date in format yyyy-mm-dd
|
||||
|
||||
// api endpoint for scrapping
|
||||
|
Loading…
x
Reference in New Issue
Block a user