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.
10 lines
470 B
10 lines
470 B
using ErsatzTV.Core; |
|
|
|
namespace ErsatzTV.Application.MediaCollections; |
|
|
|
public record AddTraktList(string TraktListUrl, string User, string List, bool Unlock) |
|
: IRequest<Either<BaseError, Unit>>, IBackgroundServiceRequest |
|
{ |
|
public static AddTraktList FromUrl(string traktListUrl) => new(traktListUrl, string.Empty, string.Empty, true); |
|
public static AddTraktList Existing(string user, string list, bool unlock) => new(string.Empty, user, list, unlock); |
|
}
|
|
|