2
0
Files
bot/packages/forge/blocks/openai/schemas.ts
2024-07-16 15:11:48 +02:00

11 lines
332 B
TypeScript

// Do not edit this file manually
import { parseBlockCredentials, parseBlockSchema } from '@typebot.io/forge'
import { openAIBlock } from '.'
import { auth } from './auth'
export const openAIBlockSchema = parseBlockSchema(openAIBlock)
export const openAICredentialsSchema = parseBlockCredentials(
openAIBlock.id,
auth.schema
)