mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: global variable key repeat & value type (#2540)
This commit is contained in:
7
packages/global/core/app/type.d.ts
vendored
7
packages/global/core/app/type.d.ts
vendored
@@ -1,7 +1,11 @@
|
||||
import type { FlowNodeTemplateType, StoreNodeItemType } from '../workflow/type/node';
|
||||
import { AppTypeEnum } from './constants';
|
||||
import { PermissionTypeEnum } from '../../support/permission/constant';
|
||||
import { NodeInputKeyEnum, VariableInputEnum } from '../workflow/constants';
|
||||
import {
|
||||
NodeInputKeyEnum,
|
||||
VariableInputEnum,
|
||||
WorkflowIOValueTypeEnum
|
||||
} from '../workflow/constants';
|
||||
import { SelectedDatasetType } from '../workflow/api';
|
||||
import { DatasetSearchModeEnum } from '../dataset/constants';
|
||||
import { TeamTagSchema as TeamTagsSchemaType } from '@fastgpt/global/support/user/team/type.d';
|
||||
@@ -111,6 +115,7 @@ export type VariableItemType = {
|
||||
required: boolean;
|
||||
maxLen: number;
|
||||
enums: { value: string }[];
|
||||
valueType: WorkflowIOValueTypeEnum;
|
||||
};
|
||||
// tts
|
||||
export type AppTTSConfigType = {
|
||||
|
@@ -914,6 +914,7 @@
|
||||
"add option": "Add option",
|
||||
"input type": "Text",
|
||||
"key": "Variable key",
|
||||
"key already exists": "Key already exist",
|
||||
"key is required": "Variable key is required",
|
||||
"select type": "Dropdown single select",
|
||||
"text max length": "Maximum length",
|
||||
|
@@ -914,6 +914,7 @@
|
||||
"add option": "添加选项",
|
||||
"input type": "文本",
|
||||
"key": "变量 key",
|
||||
"key already exists": "Key 已经存在",
|
||||
"key is required": "变量 key 是必须的",
|
||||
"select type": "下拉单选",
|
||||
"text max length": "最大长度",
|
||||
|
Reference in New Issue
Block a user