From d4434a64e13311dcb3c2958b841c55608ad120f1 Mon Sep 17 00:00:00 2001 From: ghotso <168240713+ghotso@users.noreply.github.com> Date: Mon, 18 Aug 2025 22:48:23 +0200 Subject: [PATCH] fix(types): add assigned_users to incident types for server persistence --- application/src/services/incident/types.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/application/src/services/incident/types.ts b/application/src/services/incident/types.ts index 0297356..3a4a2ed 100644 --- a/application/src/services/incident/types.ts +++ b/application/src/services/incident/types.ts @@ -5,7 +5,8 @@ export type IncidentItem = { service_id?: string; timestamp?: string; description: string; - assigned_to?: string; + assigned_to?: string; // legacy UI field + assigned_users?: string; // server field resolution_time?: string; impact: string; affected_systems: string; @@ -32,7 +33,8 @@ export type CreateIncidentInput = { affected_systems: string; priority: string; service_id?: string; - assigned_to?: string; + assigned_to?: string; // legacy UI field + assigned_users?: string; // server field root_cause?: string; resolution_steps?: string; lessons_learned?: string; @@ -50,7 +52,8 @@ export type UpdateIncidentInput = { affected_systems?: string; priority?: string; service_id?: string; - assigned_to?: string; + assigned_to?: string; // legacy UI field + assigned_users?: string; // server field root_cause?: string; resolution_steps?: string; lessons_learned?: string;