Yattee v2 rewrite

This commit is contained in:
Arkadiusz Fal
2026-02-08 18:31:16 +01:00
parent d94a50f8c3
commit 100df744d9
1043 changed files with 163886 additions and 68471 deletions

View File

@@ -0,0 +1,20 @@
//
// GitHubContributor.swift
// Yattee
//
// Data model for GitHub contributor information.
//
import Foundation
/// A GitHub repository contributor.
struct GitHubContributor: Identifiable, Decodable, Sendable {
let id: Int
let login: String
let avatarUrl: String
let htmlUrl: String
let contributions: Int
var avatarURL: URL? { URL(string: avatarUrl) }
var profileURL: URL? { URL(string: htmlUrl) }
}