@ -5,6 +5,7 @@ import { LogicBlockType } from './enums'
|
||||
export const typebotLinkOptionsSchema = z.object({
|
||||
typebotId: z.string().optional(),
|
||||
groupId: z.string().optional(),
|
||||
mergeResults: z.boolean().optional(),
|
||||
})
|
||||
|
||||
export const typebotLinkBlockSchema = blockBaseSchema.merge(
|
||||
@ -14,7 +15,9 @@ export const typebotLinkBlockSchema = blockBaseSchema.merge(
|
||||
})
|
||||
)
|
||||
|
||||
export const defaultTypebotLinkOptions: TypebotLinkOptions = {}
|
||||
export const defaultTypebotLinkOptions: TypebotLinkOptions = {
|
||||
mergeResults: false,
|
||||
}
|
||||
|
||||
export type TypebotLinkBlock = z.infer<typeof typebotLinkBlockSchema>
|
||||
export type TypebotLinkOptions = z.infer<typeof typebotLinkOptionsSchema>
|
||||
|
Reference in New Issue
Block a user