9 lines
300 B
Swift
9 lines
300 B
Swift
import Foundation
|
|
|
|
@MainActor
|
|
protocol LeadRepository {
|
|
func leads(for salesCode: String, query: LeadQuery) async throws -> [Lead]
|
|
func lead(id: String, salesCode: String) async throws -> Lead
|
|
func setBookmark(_ bookmarked: Bool, leadID: String, salesCode: String) async throws -> Lead
|
|
}
|