import type { interfaces } from "inversify" ; import { ContainerModule } from "inversify" ; import { YGOPRODECK_INTERNAL_TYPES , YGOPRODECK_TYPES } from "./types" ; import { YgoprodeckCardDataLoaderService } from "./api/YgoprodeckCardDataLoaderService" ; import { YgoprodeckApiService } from "./api/YgoprodeckApiService" ; import { YgoprodeckService } from "./api/YgoprodeckService" ; import type { CardDataLoaderService } from "@yugioh-deck-tool/core" ; import { TYPES } from "@yugioh-deck-tool/core" ; /**
 * Module containing ygoprodeck.com providers.
 */ export const ygoprodeckModule = new ContainerModule ( ( bind ) => { bind < YgoprodeckApiService > ( YGOPRODECK_INTERNAL_TYPES . YgoprodeckApiService ) . to ( YgoprodeckApiService ) ; bind < YgoprodeckService > ( YGOPRODECK_TYPES . YgoprodeckService ) . to ( YgoprodeckService ) ; bind < CardDataLoaderService > ( TYPES . CardDataLoaderService ) . to ( YgoprodeckCardDataLoaderService ) ; } ) ;