2
0

(typebotLink) Better typebot link with merge option

Closes #675
This commit is contained in:
Baptiste Arnaud
2023-08-24 07:48:30 +02:00
parent 0acede92ef
commit ee3b94c35d
59 changed files with 1147 additions and 696 deletions

View File

@ -0,0 +1,17 @@
import { z } from 'zod'
import { publicTypebotSchema } from '../publicTypebot'
export const typebotInSessionStateSchema = publicTypebotSchema._def.schema.pick(
{
id: true,
groups: true,
edges: true,
variables: true,
}
)
export type TypebotInSession = z.infer<typeof typebotInSessionStateSchema>
export const dynamicThemeSchema = z.object({
hostAvatarUrl: z.string().optional(),
guestAvatarUrl: z.string().optional(),
})