namespace StellaOps.Feedser.Storage.Mongo.Exporting;

public sealed record ExportStateRecord(
    string Id,
    string? BaseExportId,
    string? BaseDigest,
    string? LastFullDigest,
    string? LastDeltaDigest,
    string? ExportCursor,
    string? TargetRepository,
    string? ExporterVersion,
    DateTimeOffset UpdatedAt,
    IReadOnlyList<ExportFileRecord> Files);

public sealed record ExportFileRecord(string Path, long Length, string Digest);
