Frontend gaps fill work. Testing fixes work. Auditing in progress.

This commit is contained in:
StellaOps Bot
2025-12-30 01:22:58 +02:00
parent 1dc4bcbf10
commit 7a5210e2aa
928 changed files with 183942 additions and 3941 deletions

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformHealthSummary(
string Status,
int IncidentCount,
IReadOnlyList<PlatformHealthServiceStatus> Services);
public sealed record PlatformHealthServiceStatus(
string Service,
string Status,
string? Detail,
DateTimeOffset CheckedAt,
double? LatencyMs);
public sealed record PlatformDependencyStatus(
string Service,
string Status,
string Version,
DateTimeOffset CheckedAt,
string? Message);
public sealed record PlatformIncident(
string IncidentId,
string Severity,
string Status,
string Summary,
DateTimeOffset OpenedAt,
DateTimeOffset? UpdatedAt);
public sealed record PlatformHealthMetric(
string Metric,
double Value,
string Unit,
string Status,
double? Threshold,
DateTimeOffset SampledAt);

View File

@@ -0,0 +1,17 @@
using System.Collections.Generic;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformMetadata(
string Service,
string Version,
string? BuildVersion,
string? Environment,
string? Region,
bool OfflineMode,
IReadOnlyList<PlatformCapability> Capabilities);
public sealed record PlatformCapability(
string Id,
string Description,
bool Enabled);

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformOnboardingStepStatus(
string Step,
string Status,
DateTimeOffset? UpdatedAt,
string? UpdatedBy,
string? Notes);
public sealed record PlatformOnboardingState(
string TenantId,
string ActorId,
string Status,
IReadOnlyList<PlatformOnboardingStepStatus> Steps,
DateTimeOffset UpdatedAt,
string? UpdatedBy,
string? SkippedReason);
public sealed record PlatformOnboardingSkipRequest(
string? Reason);
public sealed record PlatformTenantSetupStatus(
string TenantId,
int TotalUsers,
int CompletedUsers,
int SkippedUsers,
int PendingUsers,
DateTimeOffset UpdatedAt);

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformItemResponse<T>(
string TenantId,
string ActorId,
DateTimeOffset DataAsOf,
bool Cached,
int CacheTtlSeconds,
T Item);
public sealed record PlatformListResponse<T>(
string TenantId,
string ActorId,
DateTimeOffset DataAsOf,
bool Cached,
int CacheTtlSeconds,
IReadOnlyList<T> Items,
int Count,
int? Limit = null,
int? Offset = null,
string? Query = null);

View File

@@ -0,0 +1,28 @@
using System;
using System.Text.Json.Nodes;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformDashboardPreferences(
string TenantId,
string ActorId,
JsonObject Preferences,
DateTimeOffset UpdatedAt,
string? UpdatedBy);
public sealed record PlatformDashboardPreferencesRequest(
JsonObject Preferences);
public sealed record PlatformDashboardProfile(
string ProfileId,
string Name,
string? Description,
JsonObject Preferences,
DateTimeOffset UpdatedAt,
string? UpdatedBy);
public sealed record PlatformDashboardProfileRequest(
string ProfileId,
string Name,
string? Description,
JsonObject Preferences);

View File

@@ -0,0 +1,29 @@
using System;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformQuotaUsage(
string QuotaId,
string Scope,
string Unit,
decimal Limit,
decimal Used,
decimal Remaining,
string Period,
string Source,
DateTimeOffset MeasuredAt);
public sealed record PlatformQuotaAlert(
string AlertId,
string QuotaId,
string Severity,
decimal Threshold,
string Condition,
DateTimeOffset CreatedAt,
string CreatedBy);
public sealed record PlatformQuotaAlertRequest(
string QuotaId,
decimal Threshold,
string Condition,
string Severity);

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace StellaOps.Platform.WebService.Contracts;
public sealed record PlatformSearchItem(
string EntityId,
string EntityType,
string Title,
string Summary,
string Source,
string? Url,
double Score,
DateTimeOffset UpdatedAt);
public sealed record PlatformSearchResult(
IReadOnlyList<PlatformSearchItem> Items,
int Total,
int Limit,
int Offset,
string? Query);