import { Result as ResultFromPrisma } from 'db' import { Answer, InputStepType, VariableWithValue } from '.' export type Result = Omit & { createdAt: string variables: VariableWithValue[] } export type ResultWithAnswers = Result & { answers: Answer[] } export type ResultValues = Pick< ResultWithAnswers, 'answers' | 'createdAt' | 'variables' > export type ResultHeaderCell = { label: string stepId?: string stepType?: InputStepType isLong?: boolean variableId?: string }