You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/src/Recyclarr.ServarrApi/Services/ICustomFormatService.cs

17 lines
570 B

using Recyclarr.Config.Models;
using Recyclarr.TrashGuide.CustomFormat;
namespace Recyclarr.ServarrApi.Services;
public interface ICustomFormatService
{
Task<IList<CustomFormatData>> GetCustomFormats(IServiceConfiguration config);
Task<CustomFormatData?> CreateCustomFormat(IServiceConfiguration config, CustomFormatData cf);
Task UpdateCustomFormat(IServiceConfiguration config, CustomFormatData cf);
Task DeleteCustomFormat(
IServiceConfiguration config,
int customFormatId,
CancellationToken cancellationToken = default);
}