chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -28,23 +28,23 @@ export interface CustomLine {
|
||||
}
|
||||
|
||||
/**
|
||||
* 资源 icon 类型
|
||||
* Resource icon type
|
||||
*/
|
||||
export enum NodeType {
|
||||
WORKFLOW, // 工作流
|
||||
CHAT_FLOW, // 对话流
|
||||
KNOWLEDGE, // 知识库
|
||||
PLUGIN, // 插件
|
||||
DATABASE, // 数据库
|
||||
WORKFLOW, // Workflow
|
||||
CHAT_FLOW, // conversation flow
|
||||
KNOWLEDGE, // Knowledge Base
|
||||
PLUGIN, // plugin
|
||||
DATABASE, // database
|
||||
}
|
||||
|
||||
/**
|
||||
* 资源来源
|
||||
* source of resources
|
||||
*/
|
||||
export enum DependencyOrigin {
|
||||
LIBRARY, // 资源库
|
||||
LIBRARY, // resource library
|
||||
APP, // App / Project
|
||||
SHOP, // 商店
|
||||
SHOP, // store
|
||||
}
|
||||
|
||||
export interface EdgeItem {
|
||||
|
||||
@@ -20,7 +20,7 @@ export interface TreeNode {
|
||||
id: string;
|
||||
type: string;
|
||||
meta?: FlowNodeMeta;
|
||||
// collapsed、depth 放在 data 中
|
||||
// Collapsed, depth in data
|
||||
data: Record<string, any>;
|
||||
parent: TreeNode[];
|
||||
children?: TreeNode[];
|
||||
|
||||
Reference in New Issue
Block a user