Skip to content

Commit d98d39f

Browse files
authored
[#545] SignInUseCase의 Sendable 책임을 TCA Dependency로 분리한다 (#552)
* refactor: 무분별한 sendable 적용 제거 * feat: Sendable 채택 * refactor: LoginFeature concurrency 경계 정리 * refactor: LoginFeature dependency key 경로 정리 * fix: 무분별한 Sendable 삭제 복구
1 parent 0c599c3 commit d98d39f

24 files changed

Lines changed: 33 additions & 33 deletions

Application/DevLogCore/Sources/ActivityKind.swift

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

88
import Foundation
99

10-
public enum ActivityKind: String, Hashable, Sendable {
10+
public enum ActivityKind: String, Hashable {
1111
case created
1212
case completed
1313
case deleted

Application/DevLogCore/Sources/Logger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99
import os.log
1010

11-
public final class Logger: Sendable {
11+
public final class Logger {
1212
private let subsystem: String
1313
private let category: String
1414
private let osLog: OSLog

Application/DevLogCore/Sources/TodayDisplayOptions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
import Foundation
99

10-
public struct TodayDisplayOptions: Equatable, Sendable {
11-
public enum DueDateVisibility: String, CaseIterable, Equatable, Sendable {
10+
public struct TodayDisplayOptions: Equatable {
11+
public enum DueDateVisibility: String, CaseIterable, Equatable {
1212
case all
1313
case withDueDateOnly
1414
case withoutDueDateOnly
1515
}
1616

17-
public enum FocusVisibility: String, CaseIterable, Equatable, Sendable {
17+
public enum FocusVisibility: String, CaseIterable, Equatable {
1818
case all
1919
case focusedOnly
2020
}

Application/DevLogCore/Sources/WidgetTodoSnapshot.swift

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

88
import Foundation
99

10-
public struct WidgetTodoSnapshot: Equatable, Sendable {
10+
public struct WidgetTodoSnapshot: Equatable {
1111
public let id: String
1212
public let number: Int?
1313
public let title: String

Application/DevLogData/Sources/Protocol/AuthService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Combine
99
import Foundation
1010

11-
public protocol AuthService: Sendable {
11+
public protocol AuthService {
1212
var uid: String? { get }
1313
var providerIDs: [String] { get }
1414
var currentUserEmail: String? { get }

Application/DevLogData/Sources/Protocol/AuthenticationService.swift

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

88
import Foundation
99

10-
public protocol AuthenticationService: Sendable {
10+
public protocol AuthenticationService {
1111
func signIn() async throws -> AuthDataResponse
1212
func signOut(_ uid: String) async throws
1313
func deleteAuth(_ uid: String) async throws

Application/DevLogData/Sources/Protocol/UserService.swift

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

88
import Foundation
99

10-
public protocol UserService: Sendable {
10+
public protocol UserService {
1111
func upsertUser(_ response: AuthDataResponse) async throws
1212
func fetchUserProfile() async throws -> UserProfileResponse
1313
func upsertStatusMessage(_ message: String) async throws

Application/DevLogData/Sources/Protocol/WebPageImageStore.swift

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

88
import Foundation
99

10-
public protocol WebPageImageStore: Sendable {
10+
public protocol WebPageImageStore {
1111
func cachedImageURL(for url: URL) async throws -> URL
1212
func saveImage(_ data: Data, for url: URL) async throws -> URL
1313
func dirSizeInBytes() async -> Int64

Application/DevLogData/Sources/Protocol/WidgetSnapshotPreferenceStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99
import DevLogCore
1010

11-
public protocol WidgetSnapshotPreferenceStore: Sendable {
11+
public protocol WidgetSnapshotPreferenceStore {
1212
func heatmapActivityTypes() -> [String]
1313
func setHeatmapActivityTypes(_ activityTypes: [String])
1414
func selectedActivityKinds() -> Set<ActivityKind>

Application/DevLogData/Sources/Protocol/WidgetSnapshotUpdater.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99
import DevLogCore
1010

11-
public protocol WidgetSnapshotUpdater: Sendable {
11+
public protocol WidgetSnapshotUpdater {
1212
func updateTodaySnapshot(
1313
todos: [WidgetTodoSnapshot],
1414
now: Date

0 commit comments

Comments
 (0)