🚀 Init preview and typebot cotext in editor
This commit is contained in:
11
packages/bot-engine/src/models/result.ts
Normal file
11
packages/bot-engine/src/models/result.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import { Result as ResultFromPrisma } from 'db'
|
||||
|
||||
export type Result = Omit<ResultFromPrisma, 'answers'> & {
|
||||
answers: Answer[]
|
||||
}
|
||||
|
||||
export type Answer = {
|
||||
blockId: string
|
||||
stepId: string
|
||||
content: string
|
||||
}
|
Reference in New Issue
Block a user