change and add into components, widgets and pages
This commit is contained in:
@@ -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
@@ -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;
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user