Yattee v2 rewrite

This commit is contained in:
Arkadiusz Fal
2026-02-08 18:31:16 +01:00
parent 20d0cfc0c7
commit 05f921d605
1043 changed files with 163875 additions and 68430 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) }
}