2
0

feat(webhook): ️ Show linked typebots results in webhook sample

This commit is contained in:
Baptiste Arnaud
2022-04-21 09:18:35 -07:00
parent 937621ee07
commit 12f43cdb88
13 changed files with 249 additions and 88 deletions

View File

@@ -5,13 +5,13 @@
"main": "./index.ts",
"types": "./index.ts",
"devDependencies": {
"prisma": "^3.11.1",
"prisma": "^3.12.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.3",
"dotenv-cli": "5.1.0"
},
"dependencies": {
"@prisma/client": "^3.11.1"
"@prisma/client": "^3.12.0"
},
"scripts": {
"dx": "dotenv -e ../../apps/builder/.env.local prisma db push && yarn generate:schema && yarn start:sutdio ",

View File

@@ -0,0 +1 @@
export * from './utils'

View File

@@ -1,13 +1,4 @@
import {
Typebot,
Answer,
VariableWithValue,
ResultWithAnswers,
PublicTypebot,
} from 'models'
import { NextApiRequest, NextApiResponse } from 'next'
import { parseResultHeader } from './results'
import { isDefined } from './utils'
export const methodNotAllowed = (res: NextApiResponse) =>
res.status(405).json({ message: 'Method Not Allowed' })

View File

@@ -1,4 +1,4 @@
export * from './utils'
export * from './apiUtils'
export * from './api'
export * from './encryption'
export * from './results'