公告板
版本库
filestore
活动
搜索
登录
ai_exam
/
app-qxueyou-dify
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
初始化
wwf
2025-05-20
938c3e5a587ce950a94964ea509b9e7f8834dfae
[ai_exam/app-qxueyou-dify.git]
/
app
/
components
/
workflow
/
blocks.tsx
1
2
3
4
5
import { BlockEnum } from './types'
export const ALL_AVAILABLE_BLOCKS = Object.values(BlockEnum)
export const ALL_CHAT_AVAILABLE_BLOCKS = ALL_AVAILABLE_BLOCKS.filter(key => key !== BlockEnum.End && key !== BlockEnum.Start) as BlockEnum[]
export const ALL_COMPLETION_AVAILABLE_BLOCKS = ALL_AVAILABLE_BLOCKS.filter(key => key !== BlockEnum.Answer && key !== BlockEnum.Start) as BlockEnum[]