Add send sync database contents to Feedbin

This commit is contained in:
Maurice Parker
2019-05-15 11:52:56 -05:00
parent f5f8d67411
commit 6be6c6a682
12 changed files with 252 additions and 20 deletions

View File

@@ -27,6 +27,18 @@ public final class SyncDatabase {
syncStatusTable.insertStatuses(statuses)
}
public func selectForProcessing() -> [SyncStatus] {
return syncStatusTable.selectForProcessing()
}
public func resetSelectedForProcessing(_ articleIDs: [String]) {
syncStatusTable.resetSelectedForProcessing(articleIDs)
}
public func deleteSelectedForProcessing(_ articleIDs: [String]) {
syncStatusTable.deleteSelectedForProcessing(articleIDs)
}
}
// MARK: - Private