2
0

fix(results): 🐛 Collect prefilled variables in db

This commit is contained in:
Baptiste Arnaud
2022-02-17 16:08:01 +01:00
parent 0336bc2a42
commit aaf78e8a54
19 changed files with 454 additions and 507 deletions

View File

@ -1,3 +1,7 @@
import { Result as ResultFromPrisma } from 'db'
import { VariableWithValue } from '.'
export type Result = Omit<ResultFromPrisma, 'createdAt'> & { createdAt: string }
export type Result = Omit<
ResultFromPrisma,
'createdAt' | 'prefilledVariables'
> & { createdAt: string; prefilledVariables: VariableWithValue[] }