2
0

📝 Migrate from Docusaurus to Mintlify (#1115)

Closes #868
This commit is contained in:
Baptiste Arnaud
2023-12-22 09:13:53 +01:00
committed by GitHub
parent 512bb09282
commit 1e5fa5a575
450 changed files with 49522 additions and 104787 deletions

View File

@ -36,8 +36,6 @@ import { IntegrationBlockType } from '@typebot.io/schemas/features/blocks/integr
import { defaultTheme } from '@typebot.io/schemas/features/typebot/theme/constants'
import { VisitedEdge } from '@typebot.io/prisma'
import { env } from '@typebot.io/env'
import { forgedBlocks } from '@typebot.io/forge-schemas'
import { FunctionToExecute } from '@typebot.io/forge'
type StartParams =
| ({
@ -61,7 +59,7 @@ export const startSession = async ({
startParams,
initialSessionState,
}: Props): Promise<
Omit<StartChatResponse, 'resultId'> & {
Omit<StartChatResponse, 'resultId' | 'isStreamEnabled' | 'sessionId'> & {
newSessionState: SessionState
visitedEdges: VisitedEdge[]
resultId?: string
@ -427,7 +425,7 @@ const parseStartClientSideAction = (
)
return
return { startPropsToInject }
return { type: 'startPropsToInject', startPropsToInject }
}
const sanitizeAndParseTheme = (