import type { CardDataLoaderService } from "../../src/card/CardDataLoaderService" ; import type { CardSet } from "../../src/card/set/CardSet" ; import type { UnlinkedCard } from "../../src/card/UnlinkedCard" ; import type { CardValues } from "../../src/card/type/CardValues" ; import { injectable } from "inversify" ; import { CardTypeCategory } from "../../src/card/type/CardTypeCategory" ; @ injectable ( ) export class MockDataLoaderService implements CardDataLoaderService { getAllCardSets ( ) { return Promise . resolve ( [ ] ) ; } getAllCards ( ) { return Promise . resolve ( [ ] ) ; } getArchetypes ( ) { return Promise . resolve ( [ ] ) ; } getCard ( ) { return Promise . resolve ( null ) ; } getCardValues ( ) { return Promise . resolve ( { [ CardTypeCategory . MONSTER ] : { subTypes : [ ] , types : [ ] , attributes : [ ] , levels : [ ] , linkMarkers : [ ] , } , [ CardTypeCategory . SPELL ] : { subTypes : [ ] , types : [ ] , } , [ CardTypeCategory . TRAP ] : { subTypes : [ ] , types : [ ] , } , [ CardTypeCategory . SKILL ] : { subTypes : [ ] , types : [ ] , } , } ) ; } }