Moved files to link with the SDK

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-03-11 11:21:40 +01:00
parent b36dd9046f
commit ef866401a4
31 changed files with 207 additions and 103 deletions

View File

@ -1,7 +1,7 @@
import { getAllCards, getBaseFolder } from "../util"
import { fetchCard, isCardAvailable } from "../cardUtil"
import { Langs } from "../../db/interfaces/LangList"
import { HpList } from "../../sdk/dist/types/interfaces/Hp"
import { Langs } from "@tcgdex/sdk/interfaces/LangList"
import { HpList } from "@tcgdex/sdk/interfaces/Hp"
import { promises as fs } from 'fs'
const lang = process.env.CARDLANG as Langs || "en"