mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-05-24 22:44:39 -04:00
Add option to remove only specified failed import message patterns (#297)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Cleanuparr.Domain.Enums;
|
||||
using Cleanuparr.Domain.Exceptions;
|
||||
|
||||
namespace Cleanuparr.Persistence.Models.Configuration.QueueCleaner;
|
||||
@@ -12,7 +14,9 @@ public sealed record FailedImportConfig
|
||||
|
||||
public bool DeletePrivate { get; init; }
|
||||
|
||||
public IReadOnlyList<string> IgnoredPatterns { get; init; } = [];
|
||||
public IReadOnlyList<string> Patterns { get; init; } = [];
|
||||
|
||||
public PatternMode PatternMode { get; init; } = PatternMode.Include;
|
||||
|
||||
public void Validate()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user