Initial commit: Add project files
ci / backend (push) Failing after 12s
ci / frontend (push) Failing after 19s
ci / static (push) Failing after 45s

This commit is contained in:
2026-08-02 05:15:36 +09:00
commit dcd1322d41
636 changed files with 122352 additions and 0 deletions
@@ -0,0 +1,35 @@
using FastEndpoints;
using KArtSell.Modules.ModelOperations.Domain;
namespace KArtSell.Modules.ModelOperations.Features.GetModelOperationsPlan;
public sealed class Endpoint : EndpointWithoutRequest<Response>
{
public override void Configure()
{
Get("/internal/v1/model-operations/plan");
Roles("Quant", "Risk", "System", "Auditor");
Description(x => x.WithTags("ModelOperations"));
}
public override Task HandleAsync(CancellationToken ct)
{
var items = ModelOperationRegistry.All.Select(x => new OperationItem(
x.OperationCode,
x.Name,
x.Cadence.ToContractValue(),
x.AutomationMode.ToContractValue(),
x.Queue,
x.PrimaryOwner,
x.SecondaryOwner,
x.RequiredEvidence,
x.Output,
x.Gate)).ToArray();
return Send.OkAsync(new Response(
"RESEARCH_CANDIDATE_NOT_PRODUCTION",
"AUTOMATIC_ORDER_AND_KIS_SUBMISSION_OFF",
"EVALUATION_AND_PROPOSAL_ONLY_HUMAN_APPROVAL_REQUIRED",
items), ct);
}
}