namespace Nexus.Api.Services;

public sealed record DocFileInfo(
    string Name,
    string Path,
    string Category,
    string Type,
    long Size,
    DateTime ModifiedAt);

public sealed record DocFileContent(
    string Name,
    string Path,
    string Content,
    long Size,
    DateTime ModifiedAt);

public interface IDocService
{
    IReadOnlyList<DocFileInfo> GetAll();
    Task<DocFileContent?> GetFileAsync(string path);
}
