namespace StellaOps.AuditPack.Services; /// /// Result of audit pack export. /// public sealed record ExportResult { public bool Success { get; init; } public byte[]? Data { get; init; } public string? ContentType { get; init; } public string? Filename { get; init; } public long SizeBytes { get; init; } public string? Error { get; init; } public static ExportResult Failed(string error) => new() { Success = false, Error = error }; }