-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#170]: interfaces creation #467
Open
Guryanov-Maksim
wants to merge
23
commits into
master
Choose a base branch
from
refactor/170-interfaces-creation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0260f58
[#170]: Create an interface for GameController class
Guryanov-Maksim a02fa56
[#170]: create an interface for GameService class
Guryanov-Maksim 72d10a2
[#170]: create a interface for GameRepository class
Guryanov-Maksim 21a01bc
[#170]: create an interface for PlayerService class
Guryanov-Maksim 650b8ea
[#170]: create an interface for PlayerRepository class
Guryanov-Maksim d824d04
[#179]: create an interface for PlaygroundService class
Guryanov-Maksim 3bbe59e
[#170]: create an interface for PlaygroudRepository class
Guryanov-Maksim 4520fe2
[#170]: create an interface for UserService class
Guryanov-Maksim f3fff61
[#170]: create an interface for UserRepository class
Guryanov-Maksim c652bc3
[#170]: create an interface for Gameplay class
Guryanov-Maksim 9e18b37
[#170]: create an interface for AuthService class
Guryanov-Maksim 1ec807d
[#170]: create an interface for LigrettoCoreService class
Guryanov-Maksim 77f171b
[#170]: fix syntax
Guryanov-Maksim 60cb41e
[#170]: fix missed dependency
Guryanov-Maksim 2098e3d
[#170]: create an interface for WebsocketHandler class
Guryanov-Maksim a20f13b
[#170]: update inversify config
Guryanov-Maksim 81e87f8
[#170]: update ioc types
Guryanov-Maksim 36a1d58
[#170]: create an interface for Controller class
Guryanov-Maksim be3355f
[#170]: update GamesController inrerface
Guryanov-Maksim 09f9888
[#170]: fix injection of bot and gameplay controllers
Guryanov-Maksim eac48ec
[#170]: update inversify config
Guryanov-Maksim ebefe9b
[#170]: naming
Guryanov-Maksim 3df9a2f
[#170]: update tests
Guryanov-Maksim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
export const IOC_TYPES = { | ||
WebSocketHandler: Symbol.for('WebSocketHandler'), | ||
GameService: Symbol.for('GameService'), | ||
GameRepository: Symbol.for('GameRepository'), | ||
PlaygroundService: Symbol.for('PlaygroundService'), | ||
PlaygroundRepository: Symbol.for('PlaygroundRepository'), | ||
PlayerService: Symbol.for('PlayerService'), | ||
PlayerRepository: Symbol.for('PlayerRepository'), | ||
Gameplay: Symbol.for('Gameplay'), | ||
GameplayController: Symbol.for('GameplayController'), | ||
GamesController: Symbol.for('GamesController'), | ||
RoomRepository: Symbol.for('RoomRepository'), | ||
RoomService: Symbol.for('RoomService'), | ||
Emitter: Symbol.for('Emitter'), | ||
Database: Symbol.for('Database'), | ||
UserRepository: Symbol.for('UserRepository'), | ||
UserService: Symbol.for('UserService'), | ||
BotController: Symbol.for('BotController'), | ||
AuthService: Symbol.for('AuthService'), | ||
LigrettoCoreService: Symbol.for('LigrettoCoreService'), | ||
IWebSocketHandler: Symbol.for('IWebSocketHandler'), | ||
IGameService: Symbol.for('IGameService'), | ||
IGameRepository: Symbol.for('IGameRepository'), | ||
IPlaygroundService: Symbol.for('IPlaygroundService'), | ||
IPlaygroundRepository: Symbol.for('IPlaygroundRepository'), | ||
IPlayerService: Symbol.for('IPlayerService'), | ||
IPlayerRepository: Symbol.for('IPlayerRepository'), | ||
IGameplay: Symbol.for('IGameplay'), | ||
IGamesController: Symbol.for('IGamesController'), | ||
IDatabase: Symbol.for('IDatabase'), | ||
IUserRepository: Symbol.for('IUserRepository'), | ||
IUserService: Symbol.for('IUserService'), | ||
IController: Symbol.for('IController'), | ||
IAuthService: Symbol.for('IAuthService'), | ||
ILigrettoCoreService: Symbol.for('ILigrettoCoreService'), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { Database } from './database' | ||
export { Database, IDatabase } from './database' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 19 additions & 4 deletions
23
apps/ligretto-gameplay-backend/src/entities/player/player.repo.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think no
Lets try to remove
@injectable()