CBL Import Polish 4 (#4576)

This commit is contained in:
Joe Milazzo
2026-03-31 15:23:01 -05:00
committed by GitHub
parent f6796583bc
commit c8bcbc3d58
35 changed files with 979 additions and 420 deletions
@@ -21,6 +21,10 @@ public interface IReadingListRemapRuleRepository
/// Admin-only: returns all rules across all users, with user names.
/// </summary>
Task<IList<ReadingListRemapRule>> GetAllRulesAsync(CancellationToken ct = default);
/// <summary>
/// Finds an existing rule for the same user with the same CBL matching key (normalized name + volume + number).
/// </summary>
Task<ReadingListRemapRule?> GetExactRuleAsync(string normalizedCblSeriesName, string? cblVolume, string? cblNumber, int userId, CancellationToken ct = default);
void Add(ReadingListRemapRule rule);
void Remove(ReadingListRemapRule rule);
}