refact & cleanup : Sidebar, Button, card, EmptyState, Loader, ServiceObject, StatusBadge, UptameObject, BackupWidget, SecurityWidget, ServicesWidget, SupportCtaWidget, UptimeWidget, DashboardLayout

This commit is contained in:
LathanDevers
2026-07-29 22:50:04 +02:00
parent 438d739b1a
commit ec900efe3a
42 changed files with 3357 additions and 3966 deletions
+9
View File
@@ -0,0 +1,9 @@
import type { NodeStatus } from '@/types/Status';
export interface InfrastructureNode {
id: string;
label: string;
type: string;
status: NodeStatus;
uptime_sla: string;
}
+8
View File
@@ -0,0 +1,8 @@
import type { ContractStatus } from '@/types/Status';
export interface ManagedContract {
id: string;
service_name: string;
description?: string;
status: ContractStatus;
}
+8
View File
@@ -0,0 +1,8 @@
// Statuts relatifs aux équipements d'infrastructure
export type NodeStatus = 'Opérationnel' | 'Dégradé' | 'Hors Ligne';
// Statuts relatifs aux contrats d'infogérance
export type ContractStatus = 'Actif' | 'En déploiement' | 'Suspendu';
// Type unifié regroupant tous les statuts possibles sur la plateforme AEGIS
export type AegisStatus = NodeStatus | ContractStatus;