V13-FE-011: finalize search list layout slice

This commit is contained in:
2026-08-09 02:57:26 +09:00
parent 9efd202e76
commit 6422cb2b13
984 changed files with 120811 additions and 1498 deletions
@@ -0,0 +1,13 @@
using FastEndpoints;
using Kbx.Shared.Telemetry;
namespace Kbx.Modules.Common.UxTelemetry.Ingest;
public sealed class Endpoint(KbxUxTelemetryRepository repository) : Endpoint<KbxUxEventBatchRequest>
{
public override void Configure(){Post("/api/kbx/ux/events");Permissions("common.telemetry.write");}
public override async Task HandleAsync(KbxUxEventBatchRequest req,CancellationToken ct)
{
// Replace with the deployment's authenticated tenant accessor.
var tenantId=Kbx.Shared.Runtime.RuntimeIdentity.TenantId(User);
await repository.AppendAsync(tenantId,Kbx.Shared.Runtime.RuntimeIdentity.UserId(User),req.Events,ct);await Send.NoContentAsync(ct);
}
}