AI-Studio/app/MindWork AI Studio/Components/Blocks/TreeItemData.cs

20 lines
514 B
C#
Raw Normal View History

namespace AIStudio.Components.Blocks;
2024-07-11 06:54:03 +00:00
public class TreeItemData : ITreeItem
{
public WorkspaceBranch Branch { get; init; } = WorkspaceBranch.NONE;
public int Depth { get; init; }
public string Text { get; init; } = string.Empty;
public string Icon { get; init; } = string.Empty;
public bool IsChat { get; init; }
2024-07-11 06:54:03 +00:00
public string Path { get; init; } = string.Empty;
public bool Expandable { get; init; } = true;
2024-07-11 06:54:03 +00:00
public HashSet<ITreeItem> Children { get; init; } = [];
}