2
0

⬆️ (openai) Replace openai-edge with openai and upgrade next

This commit is contained in:
Baptiste Arnaud
2023-10-06 14:22:38 +02:00
parent dfcaa0f1d0
commit 225dfed313
15 changed files with 415 additions and 178 deletions

View File

@@ -13,7 +13,7 @@
"@typebot.io/schemas": "workspace:*",
"@typebot.io/tsconfig": "workspace:*",
"@types/nodemailer": "6.4.8",
"next": "13.4.3",
"next": "13.5.4",
"nodemailer": "6.9.3",
"typescript": "5.1.6"
},

View File

@@ -62,7 +62,9 @@ export const isNotDefined = <T>(
value: T | undefined | null
): value is undefined | null => value === undefined || value === null
export const isEmpty = (value: string | undefined | null): value is undefined =>
export const isEmpty = (
value: string | undefined | null
): value is undefined | null =>
value === undefined || value === null || value === ''
export const isNotEmpty = (value: string | undefined | null): value is string =>