namespace Nexus.Api.Services;

public sealed record IncidentSummary(
    string Name,
    string Title,
    string? Date,
    string Severity,
    string Excerpt,
    long Size);

public sealed record IncidentDetail(
    string Name,
    string Title,
    string? Date,
    string Content,
    long Size);

public interface IIncidentService
{
    Task<IReadOnlyList<IncidentSummary>> GetAllAsync();
    Task<IncidentDetail?> GetByNameAsync(string name);
}
