metatext-app-ios-iphone-ipad/Mastodon/Sources/Mastodon/Entities/Marker.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
}
}