mirror of https://github.com/ErsatzTV/ErsatzTV.git
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.
13 lines
480 B
13 lines
480 B
using System.Collections.Generic; |
|
using ErsatzTV.Core; |
|
using ErsatzTV.Core.Domain; |
|
using LanguageExt; |
|
using MediatR; |
|
|
|
namespace ErsatzTV.Application.MediaCollections.Commands |
|
{ |
|
public record CreateMultiCollectionItem(int? CollectionId, int? SmartCollectionId, bool ScheduleAsGroup, PlaybackOrder PlaybackOrder); |
|
|
|
public record CreateMultiCollection |
|
(string Name, List<CreateMultiCollectionItem> Items) : IRequest<Either<BaseError, MultiCollectionViewModel>>; |
|
}
|
|
|