From fe8e7712d9e8dad366585075dfd2b858cecf3d6e Mon Sep 17 00:00:00 2001 From: Marek Vesely <xvesely4@fi.muni.cz> Date: Sun, 26 May 2024 15:42:53 +0200 Subject: [PATCH] Revert "fix: tsx errors" This reverts commit f2259f251d8aefa4ac55ab72c723ebaaf07a8d88. --- frontend/src/analyst/Plots/types.ts | 4 ++-- frontend/src/analyst/utilities.ts | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/analyst/Plots/types.ts b/frontend/src/analyst/Plots/types.ts index 4b479fa6d..b86487d69 100644 --- a/frontend/src/analyst/Plots/types.ts +++ b/frontend/src/analyst/Plots/types.ts @@ -1,5 +1,5 @@ +import type { ExtendedTool } from '@inject/graphql/fragments/ExtendedToolType.generated' import type { TeamWithoutEmailAddress } from '@inject/graphql/fragments/TeamWithoutEmailAddress.generated' -import type { Tool } from '@inject/graphql/fragments/Tool.generated' import type { ScaleOrdinal } from 'd3-scale' import type { ReactNode } from 'react' import type { XScale, YScale } from './ScatterPlot/types' @@ -8,7 +8,7 @@ export interface PlotDataElement { name: string value: number groupName: string | undefined - tool?: Tool + tool?: ExtendedTool team?: TeamWithoutEmailAddress } diff --git a/frontend/src/analyst/utilities.ts b/frontend/src/analyst/utilities.ts index 6d2c8e095..f4f0a9733 100644 --- a/frontend/src/analyst/utilities.ts +++ b/frontend/src/analyst/utilities.ts @@ -139,8 +139,6 @@ export const injectEmailTool: ExtendedTool = { id: null, name: null, }, - responses: [], - hasParam: false, } export const getInjectEmailArgument = (emailDetails: EmailDetails) => `to: ${getRecipients(emailDetails) -- GitLab