2
0
Files
bot/packages/forge/blocks/segment/auth.ts

17 lines
468 B
TypeScript
Raw Normal View History

import { option, AuthDefinition } from '@typebot.io/forge'
export const auth = {
type: 'encryptedCredentials',
name: 'Segment account',
schema: option.object({
apiKey: option.string.layout({
label: 'Write Key',
isRequired: true,
inputType: 'password',
helperText: 'You can find your Write Key in your Segment source settings.',
withVariableButton: false,
isDebounceDisabled: true,
})
}),
} satisfies AuthDefinition