PR Gates / CI image pin matches docker/ci (pull_request) Successful in 11s
PR Gates / Docs update reminder (pull_request) Successful in 12s
PR Gates / decisions lifecycle (pull_request) Successful in 20s
Build ErsatzTV Image / Build & test (.NET) (pull_request) Successful in 7m37s
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (pull_request) Successful in 21s
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (pull_request) Successful in 4m54s
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (pull_request) Successful in 19m41s
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
Build ErsatzTV Image / Functional E2E (curl contracts) (pull_request) Successful in 16m43s
Added ChannelId to PlayoutNameViewModel and all 6 construction sites
(Mapper, GetPlayoutByIdHandler, and the Update{,Scripted,ExternalJson,Sequential}
PlayoutHandler commands), plus the list DTO PlayoutListItemResponseModel and the
PlayoutController list projection. Regenerated OpenAPI (v1.json) and the TS client
(v1.d.ts); endpoint-index.md unchanged (no endpoint/operation delta). Simplified
PlayoutsScreen resetSelectedChannel to key directly on selectedSummary.channelId
instead of resolving via channelStates. Updated controller + SPA tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
25 lines
602 B
C#
25 lines
602 B
C#
using ErsatzTV.Core.Domain;
|
|
|
|
namespace ErsatzTV.Application.Playouts;
|
|
|
|
public record PlayoutNameViewModel(
|
|
int PlayoutId,
|
|
PlayoutScheduleKind ScheduleKind,
|
|
string ChannelName,
|
|
string ChannelNumber,
|
|
int ChannelId,
|
|
ChannelPlayoutMode PlayoutMode,
|
|
string ScheduleName,
|
|
string ScheduleFile,
|
|
TimeSpan? DbDailyRebuildTime,
|
|
PlayoutBuildStatus BuildStatus,
|
|
int? DecoId,
|
|
string DecoName,
|
|
int Version,
|
|
int Seed)
|
|
{
|
|
public Option<TimeSpan> DailyRebuildTime => Optional(DbDailyRebuildTime);
|
|
|
|
public string ScheduleFile { get; set; } = ScheduleFile;
|
|
}
|