1
0
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:
Florian Bouillon 2020-02-08 17:55:29 +01:00
parent 465a616980
commit f805fc09b4
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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

View File

@ -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