#nullable enable
namespace ErsatzTV.Core.Api.Troubleshooting;

// GeneralJson mirrors the JSON blob rendered on the "General" tab of the legacy Blazor
// Troubleshooting page (version, environment, cpus, video controllers, health, ffmpeg settings,
// AviSynth flags, channels, ffmpeg profiles) - kept pre-serialized so the SPA can render/copy it
// verbatim without re-deriving the same shape. The remaining fields mirror the per-platform
// capability dump tabs (only the ones relevant to the current OS/GPU are non-empty).
public record TroubleshootingInfoResponseModel(
    string GeneralJson,
    string? NvidiaCapabilities,
    string? QsvCapabilities,
    string? VaapiCapabilities,
    string? VideoToolboxCapabilities);
