mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 12:19:47 +00:00
20 lines
514 B
C#
20 lines
514 B
C#
namespace AIStudio.Components.Blocks;
|
|
|
|
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; }
|
|
|
|
public string Path { get; init; } = string.Empty;
|
|
|
|
public bool Expandable { get; init; } = true;
|
|
|
|
public HashSet<ITreeItem> Children { get; init; } = [];
|
|
} |