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/Recyclarr.Repo/RepoMetadata.cs

27 lines
860 B

namespace Recyclarr.Repo;
public record RadarrMetadata
{
public IReadOnlyCollection<string> CustomFormats { get; init; } = Array.Empty<string>();
public IReadOnlyCollection<string> Qualities { get; init; } = Array.Empty<string>();
public IReadOnlyCollection<string> Naming { get; init; } = Array.Empty<string>();
}
public record SonarrMetadata
{
public IReadOnlyCollection<string> Qualities { get; init; } = Array.Empty<string>();
public IReadOnlyCollection<string> CustomFormats { get; init; } = Array.Empty<string>();
public IReadOnlyCollection<string> Naming { get; init; } = Array.Empty<string>();
}
public record JsonPaths
{
public RadarrMetadata Radarr { get; init; } = new();
public SonarrMetadata Sonarr { get; init; } = new();
}
public record RepoMetadata
{
public JsonPaths JsonPaths { get; init; } = new();
}