2
0
Files
bot/packages/forge/blocks/elevenlabs/auth.ts
2024-05-03 08:34:48 +02:00

18 lines
495 B
TypeScript

import { option, AuthDefinition } from '@typebot.io/forge'
export const auth = {
type: 'encryptedCredentials',
name: 'ElevenLabs account',
schema: option.object({
apiKey: option.string.layout({
label: 'API key',
isRequired: true,
inputType: 'password',
helperText:
'You can generate an API key in your ElevenLabs dashboard in the Profile menu.',
isDebounceDisabled: true,
withVariableButton: false,
}),
}),
} satisfies AuthDefinition