51 lines
2.2 KiB
C#
51 lines
2.2 KiB
C#
namespace PlotLine.Models.WritingSolver;
|
|
|
|
public sealed class SolverResultCatalog
|
|
{
|
|
public List<SolverCapability> Capabilities { get; set; } = [];
|
|
public List<SolverResultContent> Results { get; set; } = [];
|
|
public List<SolverEvidenceCopy> Evidence { get; set; } = [];
|
|
}
|
|
public sealed class SolverCapability
|
|
{
|
|
public string Id { get; set; } = "";
|
|
public string Feature { get; set; } = "";
|
|
public string Name { get; set; } = "";
|
|
public string Shows { get; set; } = "";
|
|
public string Tour { get; set; } = "";
|
|
public string WorkspaceRoute { get; set; } = "";
|
|
public string CaptureView { get; set; } = "";
|
|
public string Asset { get; set; } = "";
|
|
public string Capture { get; set; } = "";
|
|
public string PreviewCaption { get; set; } = "";
|
|
public string? Image { get; set; }
|
|
public string ImageAlt { get; set; } = "";
|
|
public int ImageWidth { get; set; } = 1280;
|
|
public int ImageHeight { get; set; } = 800;
|
|
}
|
|
public sealed class SolverResultContent
|
|
{
|
|
public string Solution { get; set; } = "";
|
|
public string Capability { get; set; } = "";
|
|
public string Explanation { get; set; } = "";
|
|
public string Reason { get; set; } = "";
|
|
public string LookFor { get; set; } = "";
|
|
public string? Principle { get; set; }
|
|
public string? Secondary { get; set; }
|
|
public string? SecondaryReason { get; set; }
|
|
public string? ArticleKey { get; set; }
|
|
}
|
|
public sealed class SolverEvidenceCopy
|
|
{
|
|
public string Node { get; set; } = "";
|
|
public string Choice { get; set; } = "";
|
|
public List<string> Solutions { get; set; } = [];
|
|
public string Text { get; set; } = "";
|
|
public int Priority { get; set; }
|
|
}
|
|
public sealed record SolverDiagnosticPresentation(SolverSolution Solution,SolverResultContent Content,SolverCapability Capability,
|
|
IReadOnlyList<string> Evidence,IReadOnlyList<SolverSupportingPresentation> Supporting);
|
|
public sealed record SolverSupportingPresentation(SolverSolution Solution,IReadOnlyList<string> Evidence);
|
|
public sealed record SolverWorkspaceChoice(SolverCapability Capability,int? ProjectId,
|
|
IReadOnlyList<PlotLine.Models.Project> Projects,IReadOnlyList<PlotLine.Models.Character> Characters);
|