Update scheduling parameters and refactor channel endpoints: extend HorizonDays to 7 and RetentionDays to 90 in appsettings.json. Consolidate channel-related endpoint logic by removing obsolete files and enhancing the ShowEndpoints with audience and genre management capabilities. Improve error handling and streamline command handlers for channel operations.
build / backend (push) Successful in 7m40s
build / frontend (push) Failing after 39s
tests / backend-tests (push) Successful in 6m9s

This commit is contained in:
Leonid Pershin
2026-07-26 13:32:13 +03:00
parent c4ef954dea
commit 66040a8841
272 changed files with 27944 additions and 8699 deletions
@@ -0,0 +1,20 @@
namespace TeleWave.Domain.Programming;
/// <summary>Тип слота: обычный контент, повтор уже сыгранного или конец вещания.</summary>
public enum SlotKind
{
/// <summary>Контент из группы по стратегии слота.</summary>
Content = 0,
/// <summary>
/// Повтор того, что уже играло в этой же ленте (вечерний фильм утром в субботу). Стратегии
/// и состояния не требует — читает записанное расписание.
/// </summary>
Repeat = 1,
/// <summary>
/// Конец вещания: настроечная таблица или гимн вместо эфира. Сделано слотом, а не флагом канала,
/// чтобы конец вещания можно было поставить только в будни либо не ставить вовсе.
/// </summary>
SignOff = 2,
}