mirror of https://github.com/langgenius/dify.git
20 lines
432 B
TypeScript
20 lines
432 B
TypeScript
import { BlockEnum } from '../../types'
|
|
import type { TemplateTransformNodeType } from './types'
|
|
|
|
export const mockData: TemplateTransformNodeType = {
|
|
title: 'Test',
|
|
desc: 'Test',
|
|
type: BlockEnum.TemplateTransform,
|
|
variables: [
|
|
{
|
|
variable: 'name',
|
|
value_selector: ['aaa', 'name'],
|
|
},
|
|
{
|
|
variable: 'age',
|
|
value_selector: ['bbb', 'b', 'c'],
|
|
},
|
|
],
|
|
template: 'print("hello world")',
|
|
}
|