-
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.
feat: add domain, infra, service layer
- Loading branch information
1 parent
8750515
commit 0656767
Showing
4 changed files
with
21 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from ara.domain.board.type import BoardInfo | ||
from ara.infra.board.board_infra import BoardInfra | ||
|
||
|
||
class BoardDomain: | ||
def __init__(self) -> None: | ||
self.board_infra = BoardInfra() | ||
|
||
def get_all_boards(self) -> list[BoardInfo]: | ||
return self.board_infra.get_all_boards() |
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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from ara.domain.board.board_domain import BoardDomain | ||
from ara.domain.board.type import BoardInfo | ||
|
||
|
||
class BadgeApplication: | ||
def __init__(self) -> None: | ||
self.board_domain = BoardDomain() | ||
|
||
def get_all_boards(self) -> list[BoardInfo]: | ||
return self.board_domain.get_all_boards() |