New model types: TaskStatus, TaskSummary, LabelInfo, ItemSummary. GRDB records: TaskRecord, LabelRecord, ItemLabelRecord, DeferralRecord. Database migrations v3_task, v3_label, v3_deferral with indexes. MailStore query extensions for labels, item-labels, deferrals, task cache. TaskStore module wrapping MailStore. Tests for all v3 tables and records. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
342 B
Swift
14 lines
342 B
Swift
public struct LabelInfo: Sendable, Identifiable, Equatable {
|
|
public var id: String
|
|
public var name: String
|
|
public var isProject: Bool
|
|
public var color: String?
|
|
|
|
public init(id: String, name: String, isProject: Bool = false, color: String? = nil) {
|
|
self.id = id
|
|
self.name = name
|
|
self.isProject = isProject
|
|
self.color = color
|
|
}
|
|
}
|