add models module: shared types for accounts, messages, threads, sync
fix Package.swift: remove NIOIMAPCore product reference (only NIOIMAP is exported by swift-nio-imap) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/// Note: spec defines syncFailed(Error), but Error is not Sendable.
|
||||
/// Using String instead for Swift 6 strict concurrency compliance.
|
||||
public enum SyncEvent: Sendable {
|
||||
case syncStarted
|
||||
case newMessages(count: Int, mailbox: String)
|
||||
case flagsChanged(messageIds: [String])
|
||||
case syncCompleted
|
||||
case syncFailed(String)
|
||||
}
|
||||
Reference in New Issue
Block a user