changed nested seeker helper types to own files

This commit is contained in:
Flaminel committed 2026-10-28 22:27:40 +02:00
1 parent 2e89aee500
commit 91beee4263
4 files changed
+15 -8

No files matched your search

@@ -578,12 +578,6 @@ public abstract class ArrClient : IArrClient
return result?.Id;
}
private sealed class CommandIdResponse
{
[JsonPropertyName("id")]
public long? Id { get; init; }
}
/// <summary>
/// Determines whether the failed import record should be skipped
/// </summary>
@@ -0,0 +1,9 @@
using System.Text.Json.Serialization;
namespace Cleanuparr.Infrastructure.Features.Arr;
internal sealed class CommandIdResponse
{
[JsonPropertyName("id")]
public long? Id { get; init; }
}
@@ -23,8 +23,6 @@ public sealed class CustomFormatScoreSyncer : IHandler
private const int FetchConcurrency = 5;
private static readonly TimeSpan HistoryRetention = TimeSpan.FromDays(120);
private sealed record SeriesFetch(SearchableSeries Series, List<SearchableEpisode> Episodes, List<ArrEpisodeFile> EpisodeFiles, bool Failed);
private readonly ILogger<CustomFormatScoreSyncer> _logger;
private readonly DataContext _dataContext;
private readonly EventsContext _eventsContext;
@@ -0,0 +1,6 @@
using Cleanuparr.Domain.Entities.Arr;
using Cleanuparr.Persistence.Models.State;
namespace Cleanuparr.Infrastructure.Features.Jobs;
internal sealed record SeriesFetch(SearchableSeries Series, List<SearchableEpisode> Episodes, List<ArrEpisodeFile> EpisodeFiles, bool Failed);