parent
dccaa55303
commit
98bc1dc9a5
@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
// export class ApiDataManager{
|
|
||||||
|
|
||||||
|
|
||||||
// public async getCards() : Promise<String[]> {
|
|
||||||
|
|
||||||
|
|
||||||
// const CardPromise = await fetch('https://omgvamp-hearthstone-v1.p.rapidapi.com/cards')
|
|
||||||
|
|
||||||
// const CardListJson = await CardPromise.json();
|
|
||||||
// const CardList: String[] = Array.of(CardListJson);
|
|
||||||
// return CardList;
|
|
||||||
// }
|
|
||||||
// }
|
|
@ -1,13 +0,0 @@
|
|||||||
import { Card } from "../models/Card"
|
|
||||||
|
|
||||||
export class StubLib {
|
|
||||||
|
|
||||||
public getCards(): Card[] {
|
|
||||||
const NOUNOURS_LIST : Card[] = [
|
|
||||||
|
|
||||||
|
|
||||||
]
|
|
||||||
return NOUNOURS_LIST
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in new issue