-
Notifications
You must be signed in to change notification settings - Fork 0
[#468] WidgetCore 레이어에서 Domain 레이어 의존성을 제거한다 #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
cd6e725
refactor: 불필요 import 문 제거
opficdev 6dcf55c
refactor: 위젯 Todo 스냅샷 Core 이동
opficdev 1161937
refactor: 위젯 동기화 흐름의 Data 계층 이동
opficdev 0910f80
refactor: WidgetCore의 외부 레이어 의존성 제거
opficdev df98dbc
refactor: 위젯 스냅샷 갱신 구현 위치 정리
opficdev 6c4f21f
refactor: WidgetTodoSnapshot에 Sendable 추가
opficdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,39 @@ | ||
| // | ||
| // WidgetTodoSnapshot.swift | ||
| // DevLogCore | ||
| // | ||
| // Created by opfic on 5/18/26. | ||
| // | ||
|
|
||
| import Foundation | ||
|
|
||
| public struct WidgetTodoSnapshot: Equatable, Sendable { | ||
| public let id: String | ||
| public let number: Int? | ||
| public let title: String | ||
| public let isPinned: Bool | ||
| public let createdAt: Date | ||
| public let completedAt: Date? | ||
| public let deletedAt: Date? | ||
| public let dueDate: Date? | ||
|
|
||
| public init( | ||
| id: String, | ||
| number: Int?, | ||
|
opficdev marked this conversation as resolved.
|
||
| title: String, | ||
| isPinned: Bool, | ||
| createdAt: Date, | ||
| completedAt: Date?, | ||
| deletedAt: Date?, | ||
| dueDate: Date? | ||
| ) { | ||
| self.id = id | ||
| self.number = number | ||
| self.title = title | ||
| self.isPinned = isPinned | ||
| self.createdAt = createdAt | ||
| self.completedAt = completedAt | ||
| self.deletedAt = deletedAt | ||
| self.dueDate = dueDate | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ | |
| // Created by 최윤진 on 2/19/26. | ||
| // | ||
|
|
||
| import DevLogCore | ||
| import DevLogDomain | ||
|
|
||
| public extension TodoRequest { | ||
|
|
||
5 changes: 1 addition & 4 deletions
5
...Core/Sources/Common/WidgetSyncEvent.swift → ...Data/Sources/Widget/WidgetSyncEvent.swift
This file contains hidden or 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,13 +1,10 @@ | ||
| // | ||
| // WidgetSyncEvent.swift | ||
| // DevLogWidgetCore | ||
| // DevLogData | ||
| // | ||
| // Created by opfic on 4/29/26. | ||
| // | ||
|
|
||
| import DevLogDomain | ||
| import DevLogData | ||
|
|
||
| public enum WidgetSyncEvent: Equatable { | ||
| case syncRequested | ||
| } |
4 changes: 1 addition & 3 deletions
4
...ore/Sources/Sync/WidgetSyncEventBus.swift → ...a/Sources/Widget/WidgetSyncEventBus.swift
This file contains hidden or 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
4 changes: 1 addition & 3 deletions
4
...Sources/Sync/WidgetSyncEventBusImpl.swift → ...urces/Widget/WidgetSyncEventBusImpl.swift
This file contains hidden or 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 hidden or 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
4 changes: 2 additions & 2 deletions
4
.../Tests/Sync/WidgetSyncEventBusTests.swift → ...ests/Widget/WidgetSyncEventBusTests.swift
This file contains hidden or 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
5 changes: 2 additions & 3 deletions
5
...ts/Sync/WidgetSyncEventHandlerTests.swift → .../Widget/WidgetSyncEventHandlerTests.swift
This file contains hidden or 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
4 changes: 2 additions & 2 deletions
4
...e/Tests/Common/WidgetSyncEventTests.swift → ...a/Tests/Widget/WidgetSyncEventTests.swift
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.