1- import { Container } from " inversify" ;
1+ import { Container } from ' inversify' ;
22
3- import { BadgeService , IBadgeService } from " ./services/BadgeService" ;
4- import { BuyOrderService , IBuyOrderService } from " ./services/BuyOrderService" ;
5- import { DatabaseService , IDatabaseService } from " ./services/DatabaseService" ;
6- import { GameGiftService , IGameGiftService } from " ./services/GameGiftService" ;
7- import { GameService , IGameService } from " ./services/GameService" ;
8- import { GameViewService , IGameViewService } from " ./services/GameViewService" ;
9- import { IInventoryService , InventoryService } from " ./services/InventoryService" ;
10- import { IItemService , ItemService } from " ./services/ItemService" ;
11- import { ILobbyService , LobbyService } from " ./services/LobbyService" ;
12- import { ILogService , LogService } from " ./services/LogService" ;
13- import { IMailService , MailService } from " ./services/MailService" ;
14- import { IMarketListingService , MarketListingService } from " ./services/MarketListingService" ;
15- import { IOAuth2Service , OAuth2Service } from " ./services/OAuth2Service" ;
16- import { ISteamOAuthService , SteamOAuthService } from " ./services/SteamOAuthService" ;
17- import { IStudioService , StudioService } from " ./services/StudioService" ;
18- import { ITradeService , TradeService } from " ./services/TradeService" ;
19- import { IUserService , UserService } from " ./services/UserService" ;
3+ import { BadgeService , IBadgeService } from ' ./services/BadgeService' ;
4+ import { BuyOrderService , IBuyOrderService } from ' ./services/BuyOrderService' ;
5+ import { DatabaseService , IDatabaseService } from ' ./services/DatabaseService' ;
6+ import { GameGiftService , IGameGiftService } from ' ./services/GameGiftService' ;
7+ import { GameService , IGameService } from ' ./services/GameService' ;
8+ import { GameViewService , IGameViewService } from ' ./services/GameViewService' ;
9+ import { IInventoryService , InventoryService } from ' ./services/InventoryService' ;
10+ import { IItemService , ItemService } from ' ./services/ItemService' ;
11+ import { ILobbyService , LobbyService } from ' ./services/LobbyService' ;
12+ import { ILogService , LogService } from ' ./services/LogService' ;
13+ import { IMailService , MailService } from ' ./services/MailService' ;
14+ import { IMarketListingService , MarketListingService } from ' ./services/MarketListingService' ;
15+ import { IOAuth2Service , OAuth2Service } from ' ./services/OAuth2Service' ;
16+ import { ISteamOAuthService , SteamOAuthService } from ' ./services/SteamOAuthService' ;
17+ import { IStudioService , StudioService } from ' ./services/StudioService' ;
18+ import { ITradeService , TradeService } from ' ./services/TradeService' ;
19+ import { IUserService , UserService } from ' ./services/UserService' ;
2020
2121const container = new Container ( ) ;
2222
23- container . bind < IDatabaseService > ( " DatabaseService" ) . to ( DatabaseService ) . inSingletonScope ( ) ;
24- container . bind < IInventoryService > ( " InventoryService" ) . to ( InventoryService ) . inSingletonScope ( ) ;
25- container . bind < IItemService > ( " ItemService" ) . to ( ItemService ) . inSingletonScope ( ) ;
26- container . bind < IUserService > ( " UserService" ) . to ( UserService ) . inSingletonScope ( ) ;
27- container . bind < ILobbyService > ( " LobbyService" ) . to ( LobbyService ) . inSingletonScope ( ) ;
28- container . bind < ITradeService > ( " TradeService" ) . to ( TradeService ) . inSingletonScope ( ) ;
29- container . bind < IGameService > ( " GameService" ) . to ( GameService ) . inSingletonScope ( ) ;
30- container . bind < IOAuth2Service > ( " OAuth2Service" ) . to ( OAuth2Service ) . inSingletonScope ( ) ;
31- container . bind < ISteamOAuthService > ( " SteamOAuthService" ) . to ( SteamOAuthService ) . inSingletonScope ( ) ;
32- container . bind < IMailService > ( " MailService" ) . to ( MailService ) . inSingletonScope ( ) ;
33- container . bind < IStudioService > ( " StudioService" ) . to ( StudioService ) . inSingletonScope ( ) ;
34- container . bind < ILogService > ( " LogService" ) . to ( LogService ) . inSingletonScope ( ) ;
35- container . bind < IGameGiftService > ( " GameGiftService" ) . to ( GameGiftService ) . inSingletonScope ( ) ;
36- container . bind < IMarketListingService > ( " MarketListingService" ) . to ( MarketListingService ) . inSingletonScope ( ) ;
37- container . bind < IBuyOrderService > ( " BuyOrderService" ) . to ( BuyOrderService ) . inSingletonScope ( ) ;
38- container . bind < IBadgeService > ( " BadgeService" ) . to ( BadgeService ) . inSingletonScope ( ) ;
39- container . bind < IGameViewService > ( " GameViewService" ) . to ( GameViewService ) . inSingletonScope ( ) ;
23+ container . bind < IDatabaseService > ( ' DatabaseService' ) . to ( DatabaseService ) . inSingletonScope ( ) ;
24+ container . bind < IInventoryService > ( ' InventoryService' ) . to ( InventoryService ) . inSingletonScope ( ) ;
25+ container . bind < IItemService > ( ' ItemService' ) . to ( ItemService ) . inSingletonScope ( ) ;
26+ container . bind < IUserService > ( ' UserService' ) . to ( UserService ) . inSingletonScope ( ) ;
27+ container . bind < ILobbyService > ( ' LobbyService' ) . to ( LobbyService ) . inSingletonScope ( ) ;
28+ container . bind < ITradeService > ( ' TradeService' ) . to ( TradeService ) . inSingletonScope ( ) ;
29+ container . bind < IGameService > ( ' GameService' ) . to ( GameService ) . inSingletonScope ( ) ;
30+ container . bind < IOAuth2Service > ( ' OAuth2Service' ) . to ( OAuth2Service ) . inSingletonScope ( ) ;
31+ container . bind < ISteamOAuthService > ( ' SteamOAuthService' ) . to ( SteamOAuthService ) . inSingletonScope ( ) ;
32+ container . bind < IMailService > ( ' MailService' ) . to ( MailService ) . inSingletonScope ( ) ;
33+ container . bind < IStudioService > ( ' StudioService' ) . to ( StudioService ) . inSingletonScope ( ) ;
34+ container . bind < ILogService > ( ' LogService' ) . to ( LogService ) . inSingletonScope ( ) ;
35+ container . bind < IGameGiftService > ( ' GameGiftService' ) . to ( GameGiftService ) . inSingletonScope ( ) ;
36+ container . bind < IMarketListingService > ( ' MarketListingService' ) . to ( MarketListingService ) . inSingletonScope ( ) ;
37+ container . bind < IBuyOrderService > ( ' BuyOrderService' ) . to ( BuyOrderService ) . inSingletonScope ( ) ;
38+ container . bind < IBadgeService > ( ' BadgeService' ) . to ( BadgeService ) . inSingletonScope ( ) ;
39+ container . bind < IGameViewService > ( ' GameViewService' ) . to ( GameViewService ) . inSingletonScope ( ) ;
4040
41- export default container ;
41+ export default container ;
0 commit comments