mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-06 01:42:12 +00:00
Some checks failed
Build and Release / Determine run mode (push) Has been cancelled
Build and Release / Read metadata (push) Has been cancelled
Build and Release / Sync Flatpak repo (push) Has been cancelled
Build and Release / Collect Flatpak artifacts (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Has been cancelled
Build and Release / Prepare & create release (push) Has been cancelled
Build and Release / Publish release (push) Has been cancelled
51 lines
1.8 KiB
C#
51 lines
1.8 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Assistants.VisualBriefing;
|
|
|
|
/// <summary>
|
|
/// Defines one node in the validated bounded presentation layout tree.
|
|
/// </summary>
|
|
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
|
|
[CanonicalJsonShape("14064835")]
|
|
public sealed class VisualBriefingLayoutNode
|
|
{
|
|
/// <summary>Gets or sets the globally unique layout node identifier.</summary>
|
|
[JsonRequired]
|
|
public string NodeId { get; init; } = string.Empty;
|
|
|
|
/// <summary>Gets or sets the node kind.</summary>
|
|
[JsonRequired]
|
|
public VisualBriefingLayoutNodeKind Kind { get; init; }
|
|
|
|
/// <summary>Gets or sets the planned section identifier for a section node.</summary>
|
|
[JsonRequired]
|
|
public string? SectionId { get; init; }
|
|
|
|
/// <summary>Gets or sets the planned component identifier for a component node.</summary>
|
|
[JsonRequired]
|
|
public string? ComponentId { get; init; }
|
|
|
|
/// <summary>Gets or sets the ordered child nodes.</summary>
|
|
[JsonRequired]
|
|
public List<VisualBriefingLayoutNode> Children { get; init; } = [];
|
|
|
|
/// <summary>Gets or sets responsive columns for a grid node.</summary>
|
|
[JsonRequired]
|
|
public VisualBriefingResponsiveColumns? Columns { get; set; }
|
|
|
|
/// <summary>Gets or sets the bounded grid span.</summary>
|
|
[JsonRequired]
|
|
public int Span { get; set; } = 1;
|
|
|
|
/// <summary>Gets or sets the explicit sibling order.</summary>
|
|
[JsonRequired]
|
|
public int Order { get; init; }
|
|
|
|
/// <summary>Gets or sets whether the node receives visual emphasis.</summary>
|
|
[JsonRequired]
|
|
public bool Emphasized { get; set; }
|
|
|
|
/// <summary>Gets or sets the cross-axis alignment.</summary>
|
|
[JsonRequired]
|
|
public VisualBriefingAlignment Alignment { get; set; }
|
|
} |