Files
dify/web/app/components/workflow/nodes/end/mock.ts
2024-03-06 17:59:58 +08:00

20 lines
429 B
TypeScript

import { BlockEnum } from '../../types'
import { EndVarType } from './types'
import type { EndNodeType } from './types'
export const mockData: EndNodeType = {
title: 'End',
desc: 'Test',
type: BlockEnum.End,
outputs: {
type: EndVarType.structured,
plain_text_selector: ['aaa', 'name'],
structured_variables: [
{
variable: 'test',
value_selector: ['aaa', 'name'],
},
],
},
}