AI-Studio/app/MindWork AI Studio/Settings/DataModel/DataWorkspace.cs

29 lines
1.0 KiB
C#
Raw Normal View History

2024-08-05 19:12:52 +00:00
namespace AIStudio.Settings.DataModel;
public sealed class DataWorkspace
{
/// <summary>
/// The chat storage behavior.
/// </summary>
public WorkspaceStorageBehavior StorageBehavior { get; set; } = WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY;
/// <summary>
/// The chat storage maintenance behavior.
/// </summary>
public WorkspaceStorageTemporaryMaintenancePolicy StorageTemporaryMaintenancePolicy { get; set; } = WorkspaceStorageTemporaryMaintenancePolicy.DELETE_OLDER_THAN_90_DAYS;
2024-11-02 21:53:02 +00:00
/// <summary>
/// The behavior used for displaying the workspace.
/// </summary>
public WorkspaceDisplayBehavior DisplayBehavior { get; set; } = WorkspaceDisplayBehavior.TOGGLE_SIDEBAR;
/// <summary>
/// Indicates whether the sidebar is currently visible.
/// </summary>
public bool IsSidebarVisible { get; set; } = true;
2025-01-02 12:16:47 +00:00
/// <summary>
/// The position of the splitter between the chat and the workspaces.
/// </summary>
public double SplitterPosition { get; set; } = 30;
2024-08-05 19:12:52 +00:00
}