Adds BlockController (block groups + blocks CRUD, items GET, full replace, non-persisting preview) mirroring ScheduleController, plus four scheduling search picker endpoints on SearchController (collections, television shows, television seasons, smart collections). Response DTOs in ErsatzTV.Core/Api/ Scheduling; request DTOs with ToCommand index auto-assignment. #144 S1 (#162) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
25 lines
613 B
C#
25 lines
613 B
C#
#nullable enable
|
|
using ErsatzTV.Core.Domain;
|
|
|
|
namespace ErsatzTV.Core.Api.Scheduling;
|
|
|
|
public record BlockItemResponseModel(
|
|
int Id,
|
|
int Index,
|
|
CollectionType CollectionType,
|
|
int? CollectionId,
|
|
string? CollectionName,
|
|
int? MultiCollectionId,
|
|
string? MultiCollectionName,
|
|
int? SmartCollectionId,
|
|
string? SmartCollectionName,
|
|
int? MediaItemId,
|
|
string? MediaItemName,
|
|
string SearchTitle,
|
|
string SearchQuery,
|
|
PlaybackOrder PlaybackOrder,
|
|
bool IncludeInProgramGuide,
|
|
bool DisableWatermarks,
|
|
List<int> WatermarkIds,
|
|
List<int> GraphicsElementIds);
|