mirror of
https://github.com/metabolist/metatext.git
synced 2024-09-26 13:30:02 +00:00
19 lines
515 B
Swift
19 lines
515 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
import GRDB
|
|
import Mastodon
|
|
|
|
struct LoadMoreRecord: ContentDatabaseRecord, Hashable {
|
|
let timelineId: Timeline.Id
|
|
let afterStatusId: Status.Id
|
|
let beforeStatusId: Status.Id
|
|
}
|
|
|
|
extension LoadMoreRecord {
|
|
enum Columns {
|
|
static let timelineId = Column(CodingKeys.timelineId)
|
|
static let afterStatusId = Column(CodingKeys.afterStatusId)
|
|
static let beforeStatusId = Column(CodingKeys.beforeStatusId)
|
|
}
|
|
}
|