using ErsatzTV.Application.MediaItems;
using ErsatzTV.Core;
using ErsatzTV.Core.Domain;

namespace ErsatzTV.Application.MediaCollections;

public record UpdateRerunCollection(
    int RerunCollectionId,
    string Name,
    CollectionType CollectionType,
    MediaCollectionViewModel Collection,
    MultiCollectionViewModel MultiCollection,
    SmartCollectionViewModel SmartCollection,
    NamedMediaItemViewModel MediaItem,
    PlaybackOrder FirstRunPlaybackOrder,
    PlaybackOrder RerunPlaybackOrder,
    Option<Seq<int>> ExpectedVersions = default)
    : IRequest<Either<BaseError, Unit>>;
