mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-16 04:00:32 +00:00
18 lines
373 B
Swift
18 lines
373 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public struct Tag: Codable, Hashable {
|
|
public let name: String
|
|
public let url: URL
|
|
public let history: [History]?
|
|
}
|
|
|
|
public extension Tag {
|
|
struct History: Codable, Hashable {
|
|
public let day: String
|
|
public let uses: String
|
|
public let accounts: String
|
|
}
|
|
}
|