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.
18 lines
494 B
18 lines
494 B
namespace ErsatzTV.Application.Search; |
|
|
|
public record SearchTargetViewModel(int Id, string Name, SearchTargetKind Kind); |
|
|
|
public record SmartCollectionSearchTargetViewModel(int Id, string Name, string Query) |
|
: SearchTargetViewModel(Id, Name, SearchTargetKind.SmartCollection); |
|
|
|
public enum SearchTargetKind |
|
{ |
|
Channel = 1, |
|
FFmpegProfile = 2, |
|
ChannelWatermark = 3, |
|
Collection = 4, |
|
MultiCollection = 5, |
|
SmartCollection = 6, |
|
Schedule = 7, |
|
ScheduleItems = 8 |
|
}
|
|
|