2
0

🚸 Remove debounce on forged block credentials…

Closes #1357
This commit is contained in:
Baptiste Arnaud
2024-03-15 14:28:12 +01:00
parent 1202f09802
commit cdbdb3546c
12 changed files with 16 additions and 0 deletions

View File

@ -160,6 +160,7 @@ export const ZodFieldLayout = ({
onValueChange={onDataChange}
direction={layout?.direction}
width={width}
debounceTimeout={layout?.isDebounceDisabled ? 0 : undefined}
/>
)
}
@ -234,6 +235,7 @@ export const ZodFieldLayout = ({
moreInfoTooltip={layout.moreInfoTooltip}
onChange={onDataChange}
width={width}
debounceTimeout={layout?.isDebounceDisabled ? 0 : undefined}
/>
)
}
@ -257,6 +259,7 @@ export const ZodFieldLayout = ({
moreInfoTooltip={layout.moreInfoTooltip}
onChange={onDataChange}
width={width}
debounceTimeout={layout?.isDebounceDisabled ? 0 : undefined}
/>
)
return (
@ -275,6 +278,7 @@ export const ZodFieldLayout = ({
moreInfoTooltip={layout?.moreInfoTooltip}
onChange={onDataChange}
width={width}
debounceTimeout={layout?.isDebounceDisabled ? 0 : undefined}
/>
)
}

View File

@ -12,6 +12,7 @@ export const auth = {
'You can generate an API key [here](https://console.anthropic.com/settings/keys).',
placeholder: 'sk-...',
withVariableButton: false,
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -11,6 +11,7 @@ export const auth = {
'You can generate an API key [here](https://go.chatnode.ai/typebot).',
inputType: 'password',
withVariableButton: false,
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -28,6 +28,7 @@ export const auth = {
helperText: 'API Secret Key for your Dify App.',
inputType: 'password',
withVariableButton: false,
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -10,6 +10,7 @@ export const auth = {
inputType: 'password',
helperText:
'You can generate an API key in your ElevenLabs dashboard in the Profile menu.',
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -10,6 +10,7 @@ export const auth = {
inputType: 'password',
helperText:
'You can generate an API key [here](https://console.mistral.ai/api-keys).',
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -10,6 +10,7 @@ export const auth = {
inputType: 'password',
helperText:
'You can generate an API key [here](https://openrouter.ai/keys).',
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -12,6 +12,7 @@ export const auth = createAuth({
helperText:
'You can generate an API key [here](https://platform.openai.com/account/api-keys)',
withVariableButton: false,
isDebounceDisabled: true,
}),
}),
})

View File

@ -10,6 +10,7 @@ export const auth = {
inputType: 'password',
helperText:
'You can get your API key [here](https://api.together.xyz/settings/api-keys).',
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -10,6 +10,7 @@ export const auth = {
placeholder: 'ze...',
helperText:
'You can generate an API key [here](https://zemantic.ai/dashboard/settings).',
isDebounceDisabled: true,
}),
}),
} satisfies AuthDefinition

View File

@ -278,6 +278,8 @@ const createAuthFile = async (
inputType: 'password',
helperText:
'You can generate an API key [here](<INSERT_URL>).',
withVariableButton: false,
isDebounceDisabled: true,
}),
}),`
: ''

View File

@ -21,6 +21,7 @@ export interface ZodLayoutMetadata<
isOrdered?: T extends OptionableZodType<ZodArray<any>> ? boolean : never
moreInfoTooltip?: string
isHidden?: boolean
isDebounceDisabled?: boolean
}
declare module 'zod' {