namespace AIStudio.Tools.DataBackup;
///
/// What a backup holds, and what wrote it.
///
/// The version of the format, cf. DataBackupFormat.FORMAT_VERSION.
/// The version of AI Studio which wrote the backup.
/// The version of the settings in the backup.
/// When the backup was written.
/// The data folder the backup was made from, for whoever wonders where it came from.
/// The configuration folder the backup was made from.
/// Whether the backup holds the indexes of the data sources. Without them, a restore keeps the indexes there are.
/// Every file of the backup, the manifest aside.
public sealed record DataBackupManifest(
int FormatVersion,
string AppVersion,
string SettingsVersion,
DateTimeOffset CreatedAtUtc,
string SourceDataDirectory,
string SourceConfigDirectory,
bool IncludesDataSourceIndexes,
IReadOnlyList Entries);