Solve circular dependency issue between `workflow/constants.ts` file and `default.ts` file (#13165)
parent
1b6fd9dfe8
commit
8fbc9c9342
@ -0,0 +1,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[]
|
||||||
Loading…
Reference in New Issue