using System; using System.Threading; using System.Threading.Tasks; namespace Jellyfin.Plugin.RecentlyAddedGuard.Core; /// /// Writes the "date added" of a library item. /// public interface IItemDateWriter { /// /// Sets the item's "date added" and saves it. /// /// The item. /// The new "date added" (UTC). /// The cancellation token. /// false if the item no longer exists. Task TrySetDateCreatedAsync(Guid itemId, DateTime dateCreated, CancellationToken cancellationToken); }