fix: access control, voices options
This commit is contained in:
@@ -32,7 +32,7 @@ export const imageSizeOptions: {
|
||||
|
||||
export const TTSParamsConfig: ParamsSchema[] = [
|
||||
{
|
||||
type: 'Select',
|
||||
type: 'AutoComplete',
|
||||
name: 'voice',
|
||||
options: [],
|
||||
label: {
|
||||
@@ -41,7 +41,7 @@ export const TTSParamsConfig: ParamsSchema[] = [
|
||||
},
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
required: false,
|
||||
message: 'Voice is required'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -38,13 +38,13 @@ export interface MessageItem {
|
||||
type SchemaType =
|
||||
| 'Input'
|
||||
| 'InputNumber'
|
||||
| 'Textarea'
|
||||
| 'TextArea'
|
||||
| 'Select'
|
||||
| 'Slider'
|
||||
| 'TextArea'
|
||||
| 'Checkbox'
|
||||
| 'Textarea'
|
||||
| 'Switch';
|
||||
| 'Checkbox'
|
||||
| 'Switch'
|
||||
| 'AutoComplete';
|
||||
|
||||
export interface ParamsSchema {
|
||||
type: SchemaType;
|
||||
|
||||
Reference in New Issue
Block a user