gitbay/Issues/Milestone.swift
13 lines · 314 bytes
1import Foundation
2
3/// One row of `milestone list`, with progress counts.
4nonisolated struct Milestone: Decodable, Sendable, Hashable, Identifiable {
5 let title: String
6 let description: String?
7 let due: String?
8 let state: String
9 let open: Int
10 let closed: Int
11
12 var id: String { title }
13}