26 lines
648 B
C#
26 lines
648 B
C#
|
|
namespace TeamUp.Modules.Skills.Endpoints;
|
||
|
|
|
||
|
|
internal sealed record ActionDto(string Name, string Risk);
|
||
|
|
|
||
|
|
internal sealed record SkillSummary(
|
||
|
|
string SkillKey,
|
||
|
|
string Name,
|
||
|
|
string Version,
|
||
|
|
string? Summary,
|
||
|
|
List<string> Roles,
|
||
|
|
string Visibility,
|
||
|
|
string MinTier,
|
||
|
|
string Status,
|
||
|
|
List<ActionDto> Actions);
|
||
|
|
|
||
|
|
internal sealed record SkillDetail(
|
||
|
|
SkillSummary Skill,
|
||
|
|
string? Inputs,
|
||
|
|
string? Outputs,
|
||
|
|
List<string> Tools,
|
||
|
|
List<string> Context,
|
||
|
|
int GoldenTestCount,
|
||
|
|
string Body);
|
||
|
|
|
||
|
|
internal sealed record IndexRequest(string Content, string? SourceRepo, string? SourcePath, string? SourceCommit);
|