|
|
|
@ -7,18 +7,18 @@ using TrashLib.Radarr.CustomFormat.Processors.PersistenceSteps;
|
|
|
|
|
|
|
|
|
|
namespace TrashLib.Radarr.CustomFormat.Processors
|
|
|
|
|
{
|
|
|
|
|
public interface IPersistenceProcessor
|
|
|
|
|
{
|
|
|
|
|
IDictionary<string, List<UpdatedFormatScore>> UpdatedScores { get; }
|
|
|
|
|
IReadOnlyCollection<string> InvalidProfileNames { get; }
|
|
|
|
|
CustomFormatTransactionData Transactions { get; }
|
|
|
|
|
|
|
|
|
|
Task PersistCustomFormats(
|
|
|
|
|
RadarrConfig config,
|
|
|
|
|
IEnumerable<ProcessedCustomFormatData> guideCfs,
|
|
|
|
|
IEnumerable<TrashIdMapping> deletedCfsInCache,
|
|
|
|
|
IDictionary<string, QualityProfileCustomFormatScoreMapping> profileScores);
|
|
|
|
|
|
|
|
|
|
void Reset();
|
|
|
|
|
}
|
|
|
|
|
// public interface IPersistenceProcessor
|
|
|
|
|
// {
|
|
|
|
|
// IDictionary<string, List<UpdatedFormatScore>> UpdatedScores { get; }
|
|
|
|
|
// IReadOnlyCollection<string> InvalidProfileNames { get; }
|
|
|
|
|
// CustomFormatTransactionData Transactions { get; }
|
|
|
|
|
//
|
|
|
|
|
// Task PersistCustomFormats(
|
|
|
|
|
// RadarrConfig config,
|
|
|
|
|
// IEnumerable<ProcessedCustomFormatData> guideCfs,
|
|
|
|
|
// IEnumerable<TrashIdMapping> deletedCfsInCache,
|
|
|
|
|
// IDictionary<string, QualityProfileCustomFormatScoreMapping> profileScores);
|
|
|
|
|
//
|
|
|
|
|
// void Reset();
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|