From 1d5f1e0920034a0e90f08a1aa1a3f0e49e5f53a1 Mon Sep 17 00:00:00 2001 From: Kiryl Koniukh <49252228+Kasmadei@users.noreply.github.com> Date: Mon, 8 Jul 2024 19:32:51 +0200 Subject: [PATCH] Added props for FaultEvent interface --- src/models/eventModel.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/models/eventModel.tsx b/src/models/eventModel.tsx index 9fb7544a..67d0b8c5 100644 --- a/src/models/eventModel.tsx +++ b/src/models/eventModel.tsx @@ -91,6 +91,7 @@ export interface FaultEvent extends AbstractModel { }; selectedEstimate?: { iri?: string; + value?: any; }; supertypes?: { iri?: string; @@ -101,6 +102,11 @@ export interface FaultEvent extends AbstractModel { iri?: string; hasFailureRate?: { estimate?: { + iri?: string; + value?: number; + }; + prediction?: { + iri?: string; value?: number; }; }; @@ -110,12 +116,18 @@ export interface FaultEvent extends AbstractModel { quantity?: number; supertypes?: { ataCode?: string; + partNumber?: string; + name?: string; }; stock?: string; schematicDesignation?: string; }; }; hasFailureRate?: { + estimate?: { + iri?: string; + value?: number; + }; iri?: string; requirement?: { iri?: string;