You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/src/TrashLib/Config/Settings/SettingsValues.cs

24 lines
768 B

using JetBrains.Annotations;
namespace TrashLib.Config.Settings;
public record TrashRepository
{
public string CloneUrl { get; [UsedImplicitly] init; } = "https://github.com/TRaSH-/Guides.git";
public string Branch { get; [UsedImplicitly] init; } = "master";
public string? Sha1 { get; [UsedImplicitly] init; }
public string? GitPath { get; [UsedImplicitly] init; }
}
public record LogJanitorSettings
{
public int MaxFiles { get; [UsedImplicitly] init; } = 20;
}
public record SettingsValues
{
public TrashRepository Repository { get; [UsedImplicitly] init; } = new();
public bool EnableSslCertificateValidation { get; [UsedImplicitly] init; } = true;
public LogJanitorSettings LogJanitor { get; [UsedImplicitly] init; } = new();
}