change and add into components, widgets and pages

This commit is contained in:
LathanDevers
2026-07-30 14:08:49 +02:00
parent ec900efe3a
commit 057aa628a3
39 changed files with 1620 additions and 1062 deletions
+13
View File
@@ -0,0 +1,13 @@
export interface TicketMessage {
id: string;
content: string;
created: string;
expand?: {
author?: {
id?: string;
name?: string;
email?: string;
avatar?: string;
};
};
}
+5 -2
View File
@@ -2,7 +2,10 @@
export type NodeStatus = 'Opérationnel' | 'Dégradé' | 'Hors Ligne';
// Statuts relatifs aux contrats d'infogérance
export type ContractStatus = 'Actif' | 'En déploiement' | 'Suspendu';
export type ContractStatus = 'Actif' | 'En Déploiement' | 'Annulé';
// Status relatifs aux tickets du service desk
export type TicketStatus = 'Ouvert' | 'En Analyse' | 'Résolu';
// Type unifié regroupant tous les statuts possibles sur la plateforme AEGIS
export type AegisStatus = NodeStatus | ContractStatus;
export type AegisStatus = NodeStatus | ContractStatus | TicketStatus;
+10
View File
@@ -0,0 +1,10 @@
import type { TicketStatus } from '@/types/Status';
export interface Ticket {
id: string;
subject: string;
description: string;
category: string;
status: TicketStatus;
created: string;
}