[Feature] Models of the service #1

Merged
javier merged 6 commits from feature/models into main 2023-04-18 18:37:09 +00:00
Showing only changes of commit 14325a9933 - Show all commits

View File

@ -0,0 +1,13 @@
import Foundation
public struct LastUpdated {
public let timestamp: Date
}
// MARK: - Decodable
extension LastUpdated: Decodable {
enum CodingKeys: String, CodingKey {
case timestamp = "lastUpdated"
}
}