-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Load call to avatareditorview, added onavatarconfigloaded stump…
… to presenter
- Loading branch information
1 parent
be7dc64
commit 044b172
Showing
5 changed files
with
29 additions
and
11 deletions.
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
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
3 changes: 3 additions & 0 deletions
3
src/Components/Core/Presentation/AvatarEditor/AvatarEditorPresenter.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import IAvatarEditorPresenter from "./IAvatarEditorPresenter"; | ||
import AvatarEditorViewModel from "./AvatarEditorViewModel"; | ||
import AvatarConfigTO from "../../Application/DataTransferObjects/AvatarConfigTO"; | ||
|
||
export default class AvatarEditorPresenter implements IAvatarEditorPresenter { | ||
constructor(private viewModel: AvatarEditorViewModel) {} | ||
|
||
onAvatarConfigLoaded(avatarConfig: AvatarConfigTO) {} | ||
} |
7 changes: 6 additions & 1 deletion
7
src/Components/Core/Presentation/AvatarEditor/IAvatarEditorPresenter.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
export default interface IAvatarEditorPresenter {} | ||
import AvatarConfigTO from "../../Application/DataTransferObjects/AvatarConfigTO"; | ||
import IAvatarAdapter from "../../Application/Ports/AvatarPort/IAvatarAdapter"; | ||
|
||
export default interface IAvatarEditorPresenter extends IAvatarAdapter { | ||
onAvatarConfigLoaded(avatarConfig: AvatarConfigTO): void; | ||
} |