PlotDirector/PlotLine/Models/HelpModels.cs
2026-06-04 20:00:13 +01:00

26 lines
1.0 KiB
C#

namespace PlotLine.Models;
public sealed class HelpArticle
{
public string Title { get; set; } = string.Empty;
public string Category { get; set; } = string.Empty;
public IReadOnlyList<string> Tags { get; set; } = [];
public string ContextKey { get; set; } = string.Empty;
public string Micro { get; set; } = string.Empty;
public string QuickTitle { get; set; } = string.Empty;
public string QuickSummary { get; set; } = string.Empty;
public string Screenshot { get; set; } = string.Empty;
public string MarkdownContent { get; set; } = string.Empty;
public string RelativePath { get; set; } = string.Empty;
public IReadOnlyList<string> ValidationIssues { get; set; } = [];
public bool IsValid => ValidationIssues.Count == 0;
}
public sealed class HelpCoverageItem
{
public string ContextKey { get; set; } = string.Empty;
public string FilePath { get; set; } = string.Empty;
public bool IsValid { get; set; }
public IReadOnlyList<string> ValidationIssues { get; set; } = [];
}