From d66297677fb4cd0243497867cee67041fdaff353 Mon Sep 17 00:00:00 2001 From: Matthijs Smets Date: Tue, 17 Dec 2024 13:45:01 +0100 Subject: [PATCH] Refactor: moved more attributes to base class --- src/app/shared/interfaces/base-report.ts | 3 +++ src/app/shared/interfaces/report.ts | 3 --- src/app/shared/interfaces/test-list-item.ts | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/app/shared/interfaces/base-report.ts b/src/app/shared/interfaces/base-report.ts index 9a484a4b..ae922099 100644 --- a/src/app/shared/interfaces/base-report.ts +++ b/src/app/shared/interfaces/base-report.ts @@ -1,4 +1,7 @@ export interface BaseReport { checked: boolean; storageId: number; + path: string; + name: string; + description: string; } diff --git a/src/app/shared/interfaces/report.ts b/src/app/shared/interfaces/report.ts index 694bb655..6504d426 100644 --- a/src/app/shared/interfaces/report.ts +++ b/src/app/shared/interfaces/report.ts @@ -5,16 +5,13 @@ export interface Report extends BaseReport { checkpoints: Checkpoint[]; correlationId: string; crudStorage: boolean; - description: string; endTime: number; estimatedMemoryUsage: number; fullPath: string; inputCheckpoint: Checkpoint; - name: string; numberOfCheckpoints: number; originalEndpointOrAbortpointForCurrentLevel?: Checkpoint; originalReport: Report; - path: string; reportFilterMatching: boolean; startTime: number; stub: number; diff --git a/src/app/shared/interfaces/test-list-item.ts b/src/app/shared/interfaces/test-list-item.ts index 0ae36325..4ce77479 100644 --- a/src/app/shared/interfaces/test-list-item.ts +++ b/src/app/shared/interfaces/test-list-item.ts @@ -2,10 +2,7 @@ import { ReranReport } from './reran-report'; import { BaseReport } from './base-report'; export interface TestListItem extends BaseReport { - name: string; - path: string; fullPath?: string; - description: string; variables?: string; extractedVariables?: string; reranReport?: ReranReport | null;