Files
TeleWave/backend/src/TeleWave.Application/Programming/Planning/DebugExport/ExportChannelDebugCommand.cs
T
Leonid Pershin 9cd364b174
ci / build-backend (push) Successful in 1m16s
ci / build-frontend (push) Successful in 42s
ci / tests (push) Successful in 1m24s
ci / sonar (push) Successful in 5m9s
Add debug export functionality for channel analysis
Implemented a new endpoint for exporting debug data related to channel scheduling, allowing users to download an archive containing channel settings, slot states, and trace information. Updated the frontend to include a button for triggering the export, along with necessary API adjustments for handling the download. Enhanced localization strings to support the new debug export feature in both English and Russian. Updated .gitignore to include debug export files while ensuring the directory structure is maintained for development.
2026-07-31 02:58:17 +03:00

14 lines
790 B
C#

using LiteCqrs;
using TeleWave.Application.Common.Models;
namespace TeleWave.Application.Programming.Planning.DebugExport;
/// <summary>
/// Собрать отладочный дамп канала: всё, из чего строится сетка, плюс то, что из неё получилось.
///
/// Команда, а не запрос, хотя в БД ничего не меняет: копия архива ложится на диск, а побочный
/// эффект в запросе — это ровно то место, где потом ищут «почему после обновления страницы
/// появился файл».
/// </summary>
public sealed record ExportChannelDebugCommand(Guid ChannelId) : ICommand<Result<DebugExportDto>>;