fix: formatting, refs NOISSUE

This commit is contained in:
2025-07-20 03:19:16 +02:00
parent 2e876ad628
commit 5b72e25636
10 changed files with 68 additions and 60 deletions

View File

@@ -15,11 +15,13 @@ public class Base64UrlImageBuilder
private string _fileContents = string.Empty;
public string FileContents {
get {
public string FileContents
{
get
{
return _fileContents;
}
}
}
public override string ToString()
{

View File

@@ -87,31 +87,31 @@ public class NavidromeValidator : SongValidatorBase
public class NavidromeShareInfoData
{
[JsonPropertyName("id")]
public string Id { get; set; }
public required string Id { get; set; }
[JsonPropertyName("description")]
public string Description { get; set; }
public required string Description { get; set; }
[JsonPropertyName("downloadable")]
public bool Downloadable { get; set; }
[JsonPropertyName("tracks")]
public List<NavidromeTrackInfoData> Tracks { get; set; }
public required List<NavidromeTrackInfoData> Tracks { get; set; }
}
public class NavidromeTrackInfoData
{
[JsonPropertyName("id")]
public string Id { get; set; }
public required string Id { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; }
public required string Title { get; set; }
[JsonPropertyName("artist")]
public string Artist { get; set; }
public required string Artist { get; set; }
[JsonPropertyName("album")]
public string Album { get; set; }
public required string Album { get; set; }
[JsonPropertyName("updatedAt")]
public DateTime UpdatedAt { get; set; }