diff --git a/frontend/src/analyst/Plots/types.ts b/frontend/src/analyst/Plots/types.ts index 4b479fa6d513ab2a1e11a1fe4164a4c53c13502c..b86487d69519540b870b13d6e298986fc52512a2 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 6d2c8e095ea2dc264d79f104df8e891ec60c5e3a..f4f0a97336e9fc29b23e8b11f2abf1a85a1b0630 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)