feat(api): add channel state endpoint contract
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace ErsatzTV.Core.Api.Channels;
|
||||
|
||||
public record ChannelNowPlayingResponseModel(
|
||||
string Title,
|
||||
DateTimeOffset StartUtc,
|
||||
DateTimeOffset FinishUtc);
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ErsatzTV.Core.Api.Channels;
|
||||
|
||||
public record ChannelStateResponseModel(
|
||||
int ChannelId,
|
||||
string ChannelNumber,
|
||||
bool OnAir,
|
||||
ChannelNowPlayingResponseModel NowPlaying);
|
||||
Reference in New Issue
Block a user