generated from GSM-MSG/MSG-Repository-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ :: [#318] TeacherDomain / Interface DI
- Loading branch information
Showing
11 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
Projects/Domain/TeacherDomain/Interface/DI/TeacherDomainBuildable.swift
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,8 @@ | ||
public protocol TeacherDomainBuildable { | ||
var commonSignupUseCase: any CommonSignupUseCase { get } | ||
var principalSignupUseCase: any PrincipalSignupUseCase { get } | ||
var deputyPrincipalSignupUseCase: any DeputyPrincipalSignupUseCase { get } | ||
var directorSignupUseCase: any DirectorSignupUseCase { get } | ||
var homeRoomSignupUseCase: any HomeRoomSignupUseCase { get } | ||
var teacherRepository: any TeacherRepository { get } | ||
} |
9 changes: 9 additions & 0 deletions
9
Projects/Domain/TeacherDomain/Interface/DateSource/RemoteTeacherDataSource.swift
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,9 @@ | ||
// | ||
// RemoteTeacherDataSource.swift | ||
// TeacherDomainInterface | ||
// | ||
// Created by 정윤서 on 2/20/24. | ||
// Copyright © 2024 com.msg. All rights reserved. | ||
// | ||
|
||
import Foundation |
9 changes: 9 additions & 0 deletions
9
Projects/Domain/TeacherDomain/Interface/Error/TeacherDomainError.swift
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,9 @@ | ||
// | ||
// TeacherDomainError.swift | ||
// TeacherDomainInterface | ||
// | ||
// Created by 정윤서 on 2/20/24. | ||
// Copyright © 2024 com.msg. All rights reserved. | ||
// | ||
|
||
import Foundation |
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
Projects/Domain/TeacherDomain/Interface/Repository/TeacherRepository.swift
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,9 @@ | ||
// | ||
// TeacherRepository.swift | ||
// TeacherDomainInterface | ||
// | ||
// Created by 정윤서 on 2/20/24. | ||
// Copyright © 2024 com.msg. All rights reserved. | ||
// | ||
|
||
import Foundation |
5 changes: 5 additions & 0 deletions
5
Projects/Domain/TeacherDomain/Interface/UseCase/CommonSignupUseCase.swift
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,5 @@ | ||
import Foundation | ||
|
||
public protocol CommonSignupUseCase { | ||
func execute() async throws | ||
} |
5 changes: 5 additions & 0 deletions
5
Projects/Domain/TeacherDomain/Interface/UseCase/DeputyPrincipalSignupUseCase.swift
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,5 @@ | ||
import Foundation | ||
|
||
public protocol DeputyPrincipalSignupUseCase { | ||
func execute() async throws | ||
} |
5 changes: 5 additions & 0 deletions
5
Projects/Domain/TeacherDomain/Interface/UseCase/DirectorSignupUseCase.swift
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,5 @@ | ||
import Foundation | ||
|
||
public protocol DirectorSignupUseCase { | ||
func execute() async throws | ||
} |
5 changes: 5 additions & 0 deletions
5
Projects/Domain/TeacherDomain/Interface/UseCase/HomeRoomSignupUseCase.swift
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,5 @@ | ||
import Foundation | ||
|
||
public protocol HomeRoomSignupUseCase { | ||
func execute(grade: Int, classNum: Int) async throws | ||
} |
5 changes: 5 additions & 0 deletions
5
Projects/Domain/TeacherDomain/Interface/UseCase/PrincipalSignupUseCase.swift
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,5 @@ | ||
import Foundation | ||
|
||
public protocol PrincipalSignupUseCase { | ||
func execute() async throws | ||
} |
9 changes: 9 additions & 0 deletions
9
Projects/Domain/TeacherDomain/Sources/Endpoint/TeacherEndPoint.swift
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,9 @@ | ||
// | ||
// TeacherEndPoint.swift | ||
// TeacherDomainInterface | ||
// | ||
// Created by 정윤서 on 2/20/24. | ||
// Copyright © 2024 com.msg. All rights reserved. | ||
// | ||
|
||
import Foundation |