mirror of
https://github.com/langgenius/dify.git
synced 2026-02-12 22:01:20 -05:00
- Implemented File Upload node with support for uploading files to the sandbox. - Added necessary UI components including node panel and default configurations. - Enhanced workflow constants and enums to include File Upload. - Updated error handling for file upload operations. - Integrated File Upload into existing workflow structure, ensuring compatibility with variable handling and output management. - Added translations for new File Upload features in workflow.json.
13 lines
301 B
TypeScript
13 lines
301 B
TypeScript
import type { FC } from 'react'
|
|
import type { FileUploadNodeType } from './types'
|
|
import type { NodeProps } from '@/app/components/workflow/types'
|
|
import * as React from 'react'
|
|
|
|
const Node: FC<NodeProps<FileUploadNodeType>> = () => {
|
|
return (
|
|
<div></div>
|
|
)
|
|
}
|
|
|
|
export default React.memo(Node)
|