2024-03-18 16:09:19 +01:00
|
|
|
import { anthropicBlock } from '@typebot.io/anthropic-block'
|
|
|
|
import { anthropicCredentialsSchema } from '@typebot.io/anthropic-block/schemas'
|
|
|
|
import { chatNodeBlock } from '@typebot.io/chat-node-block'
|
|
|
|
import { chatNodeCredentialsSchema } from '@typebot.io/chat-node-block/schemas'
|
|
|
|
import { difyAiBlock } from '@typebot.io/dify-ai-block'
|
|
|
|
import { difyAiCredentialsSchema } from '@typebot.io/dify-ai-block/schemas'
|
|
|
|
import { elevenlabsBlock } from '@typebot.io/elevenlabs-block'
|
|
|
|
import { elevenlabsCredentialsSchema } from '@typebot.io/elevenlabs-block/schemas'
|
|
|
|
import { mistralBlock } from '@typebot.io/mistral-block'
|
|
|
|
import { mistralCredentialsSchema } from '@typebot.io/mistral-block/schemas'
|
|
|
|
import { openRouterBlock } from '@typebot.io/open-router-block'
|
|
|
|
import { openRouterCredentialsSchema } from '@typebot.io/open-router-block/schemas'
|
|
|
|
import { openAIBlock } from '@typebot.io/openai-block'
|
|
|
|
import { openAICredentialsSchema } from '@typebot.io/openai-block/schemas'
|
|
|
|
import { togetherAiBlock } from '@typebot.io/together-ai-block'
|
|
|
|
import { togetherAiCredentialsSchema } from '@typebot.io/together-ai-block/schemas'
|
2024-05-27 12:46:42 +04:00
|
|
|
import { nocodbBlock } from '@typebot.io/nocodb-block'
|
|
|
|
import { nocodbCredentialsSchema } from '@typebot.io/nocodb-block/schemas'
|
2024-08-16 11:23:23 -04:00
|
|
|
import { segmentBlock } from '@typebot.io/segment-block'
|
|
|
|
import { segmentCredentialsSchema } from '@typebot.io/segment-block/schemas'
|
2024-08-22 15:31:05 +02:00
|
|
|
import { groqBlock } from '@typebot.io/groq-block'
|
|
|
|
import { groqCredentialsSchema } from '@typebot.io/groq-block/schemas'
|
2024-03-18 16:09:19 +01:00
|
|
|
|
|
|
|
export const forgedCredentialsSchemas = {
|
|
|
|
[openAIBlock.id]: openAICredentialsSchema,
|
|
|
|
[chatNodeBlock.id]: chatNodeCredentialsSchema,
|
|
|
|
[difyAiBlock.id]: difyAiCredentialsSchema,
|
|
|
|
[mistralBlock.id]: mistralCredentialsSchema,
|
|
|
|
[elevenlabsBlock.id]: elevenlabsCredentialsSchema,
|
|
|
|
[anthropicBlock.id]: anthropicCredentialsSchema,
|
|
|
|
[togetherAiBlock.id]: togetherAiCredentialsSchema,
|
|
|
|
[openRouterBlock.id]: openRouterCredentialsSchema,
|
2024-05-27 12:46:42 +04:00
|
|
|
[nocodbBlock.id]: nocodbCredentialsSchema,
|
2024-08-16 11:23:23 -04:00
|
|
|
[segmentBlock.id]: segmentCredentialsSchema,
|
2024-08-22 15:31:05 +02:00
|
|
|
[groqBlock.id]: groqCredentialsSchema,
|
2024-03-18 16:09:19 +01:00
|
|
|
}
|