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 Card from "../../db/interfaces/Card"
import { Langs } from "../../db/interfaces/LangList"
import Card from "@tcgdex/sdk/interfaces/Card"
import { Langs } from "@tcgdex/sdk/interfaces/LangList"
import { promises as fs } from 'fs'
import { CardList, CardSimple } from "../../sdk/dist/types/interfaces/Card"
import { CardList, CardSimple } from "@tcgdex/sdk/interfaces/Card"
import { cardToCardSimple, isCardAvailable } from "../cardUtil"
import { getBaseFolder, getAllCards2 } from "../util"

View File

@ -1,6 +1,6 @@
import { getAllCards2, getBaseFolder } from "..//util"
import Card from "../../db/interfaces/Card"
import { Langs } from "../../db/interfaces/LangList"
import Card from "@tcgdex/sdk/interfaces/Card"
import { Langs } from "@tcgdex/sdk/interfaces/LangList"
import { promises as fs } from 'fs'
import { cardToCardSingle, isCardAvailable } from "../cardUtil"