Skip to content

Commit c1f8836

Browse files
committed
refactor: 프로토콜에서 유즈케이스 변수 제거
1 parent 717335c commit c1f8836

28 files changed

Lines changed: 14 additions & 28 deletions

DevLog/Domain/UseCase/Auth/Delete/DeleteAuthUseCase.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
//
77

88
protocol DeleteAuthUseCase {
9-
var repository: AuthenticationRepository { get }
109
func execute() async throws
1110
}

DevLog/Domain/UseCase/Auth/Delete/DeleteAuthUseCaseImpl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
final class DeleteAuthUseCaseImpl: DeleteAuthUseCase {
9-
let repository: AuthenticationRepository
9+
private let repository: AuthenticationRepository
1010

1111
init(_ repository: AuthenticationRepository) {
1212
self.repository = repository

DevLog/Domain/UseCase/Auth/Session/AuthSessionUseCase.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
//
77

88
protocol AuthSessionUseCase {
9-
var repository: AuthSessionRepository { get }
109
func execute(_ signIn: Bool)
1110
}

DevLog/Domain/UseCase/Auth/Session/AuthSessionUseCaseImpl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
final class AuthSessionUseCaseImpl: AuthSessionUseCase {
9-
let repository: AuthSessionRepository
9+
private let repository: AuthSessionRepository
1010

1111
init(_ repository: AuthSessionRepository) {
1212
self.repository = repository

DevLog/Domain/UseCase/Auth/SignIn/SignInUseCase.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
//
77

88
protocol SignInUseCase {
9-
var repository: AuthenticationRepository { get }
109
func execute(_ provider: AuthProvider) async throws
1110
}

DevLog/Domain/UseCase/Auth/SignIn/SignInUseCaseImpl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
final class SignInUseCaseImpl: SignInUseCase {
9-
let repository: AuthenticationRepository
9+
private let repository: AuthenticationRepository
1010

1111
init(_ repository: AuthenticationRepository) {
1212
self.repository = repository

DevLog/Domain/UseCase/Auth/SignOut/SignOutUseCase.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
//
77

88
protocol SignOutUseCase {
9-
var repository: AuthenticationRepository { get }
109
func execute() async throws
1110
}

DevLog/Domain/UseCase/Auth/SignOut/SignOutUseCaseImpl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
final class SignOutUseCaseImpl: SignOutUseCase {
9-
let repository: AuthenticationRepository
9+
private let repository: AuthenticationRepository
1010

1111
init(_ repository: AuthenticationRepository) {
1212
self.repository = repository

DevLog/Domain/UseCase/Todo/Fetch/FetchPinnedTodosUseCase.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
//
77

88
protocol FetchPinnedTodosUseCase {
9-
var repository: TodoRepository { get }
109
func execute() async throws -> [Todo]
1110
}

DevLog/Domain/UseCase/Todo/Fetch/FetchPinnedTodosUseCaseImpl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
final class FetchPinnedTodosUseCaseImpl: FetchPinnedTodosUseCase {
9-
let repository: TodoRepository
9+
private let repository: TodoRepository
1010

1111
init(_ repository: TodoRepository) {
1212
self.repository = repository

0 commit comments

Comments
 (0)