using System.Text.Json.Nodes;
using LiteDB;
namespace StabilityMatrix.Core.Models.Database;
public record InferenceProjectEntry
{
[BsonId]
public required Guid Id { get; init; }
///
/// Full path to the project file (.smproj)
///
public required string FilePath { get; init; }
///
/// Whether the project is open in the editor
///
public bool IsOpen { get; set; }
///
/// Whether the project is selected in the editor
///
public bool IsSelected { get; set; }
///
/// Current index of the tab
///
public int CurrentTabIndex { get; set; } = -1;
///
/// The current dock layout state
///
public JsonObject? DockLayout { get; set; }
}