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

50 lines
1.5 KiB
C#
Raw Normal View History

2024-08-05 19:12:52 +00:00
namespace AIStudio.Settings.DataModel;
public sealed class DataApp
{
/// <summary>
/// The preferred theme to use.
/// </summary>
public Themes PreferredTheme { get; set; } = Themes.SYSTEM;
/// <summary>
2024-08-05 19:12:52 +00:00
/// Should we save energy? When true, we will update content streamed
/// from the server, i.e., AI, less frequently.
/// </summary>
public bool IsSavingEnergy { get; set; }
/// <summary>
/// Should we enable spellchecking for all input fields?
/// </summary>
public bool EnableSpellchecking { get; set; }
/// <summary>
/// If and when we should look for updates.
/// </summary>
2024-08-23 08:49:30 +00:00
public UpdateBehavior UpdateBehavior { get; set; } = UpdateBehavior.HOURLY;
2024-08-05 19:12:52 +00:00
/// <summary>
/// The navigation behavior.
/// </summary>
2024-08-23 08:49:30 +00:00
public NavBehavior NavigationBehavior { get; set; } = NavBehavior.NEVER_EXPAND_USE_TOOLTIPS;
/// <summary>
/// The visibility setting for previews features.
/// </summary>
public PreviewVisibility PreviewVisibility { get; set; } = PreviewVisibility.NONE;
/// <summary>
/// The enabled preview features.
/// </summary>
public HashSet<PreviewFeatures> EnabledPreviewFeatures { get; set; } = new();
2024-09-04 13:44:23 +00:00
/// <summary>
/// Should we preselect a provider for the entire app?
/// </summary>
public string PreselectedProvider { get; set; } = string.Empty;
2024-09-08 19:01:51 +00:00
/// <summary>
/// Should we preselect a profile for the entire app?
/// </summary>
public string PreselectedProfile { get; set; } = string.Empty;
2024-08-05 19:12:52 +00:00
}