🚧 Use TS project references

This commit is contained in:
Baptiste Arnaud
2024-08-28 18:09:35 +02:00
parent 0c7d2afd51
commit fdd6cc6fee
627 changed files with 3043 additions and 1696 deletions

View File

@@ -1,9 +1,4 @@
import {
Block,
Credentials,
SessionState,
TypebotInSession,
} from '@typebot.io/schemas'
import { Block, SessionState, TypebotInSession } from '@typebot.io/schemas'
import {
ChatCompletionOpenAIOptions,
OpenAICredentials,
@@ -176,6 +171,3 @@ const getNextBlock =
)
: connectedGroup?.blocks.at(0)
}
const isCredentialsV2 = (credentials: Pick<Credentials, 'iv'>) =>
credentials.iv.length === 24