refact & cleanup : Sidebar, Button, card, EmptyState, Loader, ServiceObject, StatusBadge, UptameObject, BackupWidget, SecurityWidget, ServicesWidget, SupportCtaWidget, UptimeWidget, DashboardLayout
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import type { NodeStatus } from '@/types/Status';
|
||||
|
||||
export interface InfrastructureNode {
|
||||
id: string;
|
||||
label: string;
|
||||
type: string;
|
||||
status: NodeStatus;
|
||||
uptime_sla: string;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import type { ContractStatus } from '@/types/Status';
|
||||
|
||||
export interface ManagedContract {
|
||||
id: string;
|
||||
service_name: string;
|
||||
description?: string;
|
||||
status: ContractStatus;
|
||||
}
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user