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.
24 lines
698 B
24 lines
698 B
using ErsatzTV.Core; |
|
using ErsatzTV.Core.Domain; |
|
using LanguageExt; |
|
using MediatR; |
|
|
|
namespace ErsatzTV.Application.Watermarks.Commands |
|
{ |
|
public record UpdateWatermark( |
|
int Id, |
|
string Name, |
|
string Image, |
|
ChannelWatermarkMode Mode, |
|
ChannelWatermarkImageSource ImageSource, |
|
ChannelWatermarkLocation Location, |
|
ChannelWatermarkSize Size, |
|
int Width, |
|
int HorizontalMargin, |
|
int VerticalMargin, |
|
int FrequencyMinutes, |
|
int DurationSeconds, |
|
int Opacity) : IRequest<Either<BaseError, UpdateWatermarkResult>>; |
|
|
|
public record UpdateWatermarkResult(int WatermarkId) : EntityIdResult(WatermarkId); |
|
}
|
|
|