parent
e67b4296b3
commit
593740900a
@ -1,7 +1,6 @@
|
||||
namespace Trash
|
||||
namespace Trash;
|
||||
|
||||
public interface ILogJanitor
|
||||
{
|
||||
public interface ILogJanitor
|
||||
{
|
||||
void DeleteOldestLogFiles(int numberOfNewestToKeep);
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,8 @@
|
||||
using TrashLib.Radarr.Config;
|
||||
|
||||
namespace Trash
|
||||
namespace Trash;
|
||||
|
||||
public class ResourcePaths : IResourcePaths
|
||||
{
|
||||
public class ResourcePaths : IResourcePaths
|
||||
{
|
||||
public string RepoPath => AppPaths.RepoDirectory;
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +1,12 @@
|
||||
using Autofac;
|
||||
|
||||
namespace TrashLib.Cache
|
||||
namespace TrashLib.Cache;
|
||||
|
||||
public class CacheAutofacModule : Module
|
||||
{
|
||||
public class CacheAutofacModule : Module
|
||||
{
|
||||
protected override void Load(ContainerBuilder builder)
|
||||
{
|
||||
// Clients must register their own implementation of ICacheStoragePath
|
||||
builder.RegisterType<ServiceCache>().As<IServiceCache>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,8 @@
|
||||
using Flurl.Http;
|
||||
|
||||
namespace TrashLib.Config
|
||||
namespace TrashLib.Config;
|
||||
|
||||
public interface IServerInfo
|
||||
{
|
||||
public interface IServerInfo
|
||||
{
|
||||
IFlurlRequest BuildRequest();
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
namespace TrashLib.Config
|
||||
namespace TrashLib.Config;
|
||||
|
||||
public interface IServiceConfiguration
|
||||
{
|
||||
public interface IServiceConfiguration
|
||||
{
|
||||
string BaseUrl { get; }
|
||||
string ApiKey { get; }
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
namespace TrashLib.Radarr.Config
|
||||
namespace TrashLib.Radarr.Config;
|
||||
|
||||
public interface IRadarrValidationMessages
|
||||
{
|
||||
public interface IRadarrValidationMessages
|
||||
{
|
||||
string BaseUrl { get; }
|
||||
string ApiKey { get; }
|
||||
string CustomFormatNamesAndIds { get; }
|
||||
string QualityProfileName { get; }
|
||||
string QualityDefinitionType { get; }
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
namespace TrashLib.Radarr.Config
|
||||
namespace TrashLib.Radarr.Config;
|
||||
|
||||
public interface IResourcePaths
|
||||
{
|
||||
public interface IResourcePaths
|
||||
{
|
||||
string RepoPath { get; }
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,9 @@
|
||||
namespace TrashLib.Radarr.CustomFormat
|
||||
namespace TrashLib.Radarr.CustomFormat;
|
||||
|
||||
public enum ApiOperationType
|
||||
{
|
||||
public enum ApiOperationType
|
||||
{
|
||||
Create,
|
||||
Update,
|
||||
NoChange,
|
||||
Delete
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TrashLib.Radarr.CustomFormat.Guide
|
||||
namespace TrashLib.Radarr.CustomFormat.Guide;
|
||||
|
||||
public interface IRadarrGuideService
|
||||
{
|
||||
public interface IRadarrGuideService
|
||||
{
|
||||
Task<IEnumerable<string>> GetCustomFormatJsonAsync();
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using TrashLib.Radarr.Config;
|
||||
|
||||
namespace TrashLib.Radarr.CustomFormat.Models
|
||||
namespace TrashLib.Radarr.CustomFormat.Models;
|
||||
|
||||
public class ProcessedConfigData
|
||||
{
|
||||
public class ProcessedConfigData
|
||||
{
|
||||
public ICollection<ProcessedCustomFormatData> CustomFormats { get; init; }
|
||||
= new List<ProcessedCustomFormatData>();
|
||||
|
||||
public ICollection<QualityProfileConfig> QualityProfiles { get; init; }
|
||||
= new List<QualityProfileConfig>();
|
||||
}
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue