namespace AIStudio.Tools.ChatArchive;
///
/// The outcome of a chat archive import.
///
/// Whether the import ran without an error.
/// The number of workspaces which received chats.
/// The number of imported chats.
/// The number of chats which were skipped, because they already existed.
/// The number of chats which could not be imported.
/// The reason why the import failed, if it did.
/// Whether the user stopped the import. Chats imported up to that point are kept.
public sealed record ChatArchiveImportResult(
bool Success,
int ImportedWorkspaces,
int ImportedChats,
int SkippedChats,
int FailedChats,
string Issue,
bool Cancelled);