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.TrashLib/Services/CustomFormat/Models/Cache/CustomFormatCache.cs

16 lines
480 B

using System.Collections.ObjectModel;
using Recyclarr.TrashLib.Cache;
namespace Recyclarr.TrashLib.Services.CustomFormat.Models.Cache;
[CacheObjectName("custom-format-cache")]
public record CustomFormatCache
{
public const int LatestVersion = 1;
public int Version { get; init; } = LatestVersion;
public Collection<TrashIdMapping> TrashIdMappings { get; init; } = new();
}
public record TrashIdMapping(string TrashId, string CustomFormatName, int CustomFormatId);