import { BlockEnum } from '../../types' import { APIType, AuthorizationType, BodyType, Method } from './types' import type { HttpNodeType } from './types' export const mockData: HttpNodeType = { title: 'HTTP Request', desc: 'Test', type: BlockEnum.HttpRequest, variables: [ { variable: 'name', value_selector: ['aaa', 'name'], }, { variable: 'age', value_selector: ['bbb', 'b', 'c'], }, ], method: Method.get, url: 'https://api.dify.com/xx', headers: 'Content-Type: application/json\nAccept: */*', params: '', body: { type: BodyType.none, data: '', }, authorization: { type: AuthorizationType.apiKey, config: { type: APIType.custom, api_key: 'abc', header: 'x-Authorization', }, }, }