Files
amacocian 9e3fa738bb DirectSong improvements (#1429) (Closes #1189)
* DirectSong improvements

* Use ChthonVIIs directsong remix

* DirectSong fetches remix mp3s

* Stop using ds executable to register entries on Windows

* DirectSong don't rely on admin rights

* Windows fixes
2026-02-13 06:25:46 -08:00

26 lines
584 B
C#

using System.Text.Json.Serialization;
namespace Daybreak.Shared.Models.Github;
public sealed class GithubContentItem
{
[JsonPropertyName("name")]
public string? Name { get; set; }
[JsonPropertyName("path")]
public string? Path { get; set; }
[JsonPropertyName("type")]
public string? Type { get; set; }
[JsonPropertyName("size")]
public long Size { get; set; }
[JsonPropertyName("download_url")]
public string? DownloadUrl { get; set; }
public bool IsFile => this.Type == "file";
public bool IsDirectory => this.Type == "dir";
}