2
0

⬆️ Upgrade pnpm, turbo, isolated-vm (#1609)

Closes https://github.com/baptisteArno/typebot.io/issues/1554
This commit is contained in:
Baptiste Arnaud
2024-07-11 16:09:49 +02:00
committed by GitHub
parent c7263a17eb
commit 5a3fd84214
18 changed files with 14488 additions and 10916 deletions

View File

@ -69,7 +69,7 @@
"google-spreadsheet": "4.1.1",
"immer": "10.0.2",
"ioredis": "^5.4.1",
"isolated-vm": "4.7.2",
"isolated-vm": "5.0.1",
"jsonwebtoken": "9.0.1",
"ky": "1.2.4",
"libphonenumber-js": "1.10.37",

View File

@ -13,3 +13,5 @@ writeFileSync(
'./openapi/builder.json',
JSON.stringify(openApiDocument, null, 2)
)
process.exit()

View File

@ -1057,7 +1057,33 @@
"type": "object",
"properties": {
"message": {
"type": "string",
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
},
"text": {
"type": "string"
},
"attachedFileUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Can only be provided if current input block is a text input block that allows attachments"
}
},
"required": [
"type",
"text"
]
}
],
"description": "Only provide it if your flow starts with an input block and you'd like to directly provide an answer to it."
},
"isStreamEnabled": {
@ -1448,7 +1474,33 @@
"type": "object",
"properties": {
"message": {
"type": "string"
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
},
"text": {
"type": "string"
},
"attachedFileUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Can only be provided if current input block is a text input block that allows attachments"
}
},
"required": [
"type",
"text"
]
}
]
},
"textBubbleContentFormat": {
"type": "string",
@ -1792,7 +1844,33 @@
"default": false
},
"message": {
"type": "string"
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
},
"text": {
"type": "string"
},
"attachedFileUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Can only be provided if current input block is a text input block that allows attachments"
}
},
"required": [
"type",
"text"
]
}
]
},
"isOnlyRegistering": {
"type": "boolean",
@ -2915,6 +2993,9 @@
"properties": {
"id": {
"type": "string"
},
"caption": {
"type": "string"
}
},
"required": [
@ -2949,6 +3030,9 @@
"properties": {
"id": {
"type": "string"
},
"caption": {
"type": "string"
}
},
"required": [
@ -3017,6 +3101,9 @@
"properties": {
"id": {
"type": "string"
},
"caption": {
"type": "string"
}
},
"required": [
@ -5872,6 +5959,25 @@
},
"isLong": {
"type": "boolean"
},
"attachments": {
"type": "object",
"properties": {
"isEnabled": {
"type": "boolean"
},
"saveVariableId": {
"type": "string"
},
"visibility": {
"type": "string",
"enum": [
"Auto",
"Public",
"Private"
]
}
}
}
}
}

View File

@ -12,4 +12,4 @@
"tsx": "4.6.2",
"dotenv-cli": "7.4.1"
}
}
}

View File

@ -22,7 +22,7 @@ title: Manual
## Requirements
- A PostgresDB database hosted somewhere. [Supabase](https://supabase.com/) offer great free options. But you can also setup your own database on your server.
- A server with Node.js 14+, Nginx, and PM2 installed.
- A server with Node.js 20+, Nginx, and PM2 installed.
- Experience deploying Next.js applications with PM2. Check out [this guide](https://www.coderrocketfuel.com/article/how-to-deploy-a-next-js-website-to-a-digital-ocean-server/) for more information.
## Getting Started

View File

@ -26,7 +26,7 @@
"cors": "2.8.5",
"google-spreadsheet": "4.1.1",
"got": "12.6.0",
"isolated-vm": "4.7.2",
"isolated-vm": "5.0.1",
"ky": "1.2.4",
"next": "14.1.0",
"nextjs-cors": "2.1.2",

View File

@ -10,3 +10,5 @@ const openApiDocument = generateOpenApiDocument(appRouter, {
})
writeFileSync('./openapi/viewer.json', JSON.stringify(openApiDocument, null, 2))
process.exit()