feat(webhook): ⚡️ Show linked typebots results in webhook sample
This commit is contained in:
@@ -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 ",
|
||||
|
||||
1
packages/utils/src/api/index.ts
Normal file
1
packages/utils/src/api/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './utils'
|
||||
@@ -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' })
|
||||
@@ -1,4 +1,4 @@
|
||||
export * from './utils'
|
||||
export * from './apiUtils'
|
||||
export * from './api'
|
||||
export * from './encryption'
|
||||
export * from './results'
|
||||
|
||||
Reference in New Issue
Block a user