feat: strip SaaS UI to vendor management dashboard
- Delete EnvironmentsPage, EnvironmentDetailPage, AppDetailPage - Delete EnvironmentTree and DeploymentStatusBadge components - Simplify DashboardPage to show tenant info, license status, server link - Remove environment/app/deployment routes from router - Remove environment section from sidebar, keep dashboard/license/platform - Strip API hooks to tenant/license/me only - Remove environment/app/deployment/observability types Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,48 +8,6 @@ export interface TenantResponse {
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface EnvironmentResponse {
|
||||
id: string;
|
||||
tenantId: string;
|
||||
slug: string;
|
||||
displayName: string;
|
||||
status: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface AppResponse {
|
||||
id: string;
|
||||
environmentId: string;
|
||||
slug: string;
|
||||
displayName: string;
|
||||
jarOriginalFilename: string | null;
|
||||
jarSizeBytes: number | null;
|
||||
jarChecksum: string | null;
|
||||
exposedPort: number | null;
|
||||
routeUrl: string | null;
|
||||
memoryLimit: string | null;
|
||||
cpuShares: number | null;
|
||||
currentDeploymentId: string | null;
|
||||
previousDeploymentId: string | null;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface DeploymentResponse {
|
||||
id: string;
|
||||
appId: string;
|
||||
version: number;
|
||||
imageRef: string;
|
||||
desiredStatus: string;
|
||||
observedStatus: string;
|
||||
errorMessage: string | null;
|
||||
orchestratorMetadata: Record<string, unknown>;
|
||||
deployedAt: string | null;
|
||||
stoppedAt: string | null;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface LicenseResponse {
|
||||
id: string;
|
||||
tenantId: string;
|
||||
@@ -61,31 +19,6 @@ export interface LicenseResponse {
|
||||
token: string;
|
||||
}
|
||||
|
||||
export interface AgentStatusResponse {
|
||||
registered: boolean;
|
||||
state: string;
|
||||
lastHeartbeat: string | null;
|
||||
routeIds: string[];
|
||||
applicationId: string;
|
||||
environmentId: string;
|
||||
}
|
||||
|
||||
export interface ObservabilityStatusResponse {
|
||||
hasTraces: boolean;
|
||||
hasMetrics: boolean;
|
||||
hasDiagrams: boolean;
|
||||
lastTraceAt: string | null;
|
||||
traceCount24h: number;
|
||||
}
|
||||
|
||||
export interface LogEntry {
|
||||
appId: string;
|
||||
deploymentId: string;
|
||||
timestamp: string;
|
||||
stream: string;
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface MeResponse {
|
||||
userId: string;
|
||||
tenants: Array<{
|
||||
|
||||
Reference in New Issue
Block a user