mirror of
https://github.com/metabolist/metatext.git
synced 2024-05-29 05:38:05 +00:00
17 lines
328 B
Swift
17 lines
328 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public struct Marker: Codable, Hashable {
|
|
public let lastReadId: String
|
|
public let updatedAt: Date
|
|
public let version: Int
|
|
}
|
|
|
|
public extension Marker {
|
|
enum Timeline: String, Codable {
|
|
case home
|
|
case notifications
|
|
}
|
|
}
|