mirror of
https://github.com/langgenius/dify.git
synced 2025-07-16 13:50:18 +00:00
47 lines
932 B
TypeScript
47 lines
932 B
TypeScript
![]() |
import { VarType } from '@/app/components/workflow/types'
|
||
|
|
||
|
export const OUTPUT_VARIABLES_MAP = {
|
||
|
datasource_type: {
|
||
|
name: 'datasource_type',
|
||
|
type: VarType.string,
|
||
|
description: 'local_file, online_document, website_crawl',
|
||
|
},
|
||
|
file: {
|
||
|
name: 'file',
|
||
|
type: VarType.file,
|
||
|
description: 'file',
|
||
|
subItems: [
|
||
|
{
|
||
|
name: 'type',
|
||
|
type: VarType.string,
|
||
|
description: '',
|
||
|
},
|
||
|
{
|
||
|
name: 'upload_file_id',
|
||
|
type: VarType.string,
|
||
|
description: '',
|
||
|
},
|
||
|
{
|
||
|
name: 'name',
|
||
|
type: VarType.string,
|
||
|
description: '',
|
||
|
},
|
||
|
{
|
||
|
name: 'size',
|
||
|
type: VarType.number,
|
||
|
description: '',
|
||
|
},
|
||
|
{
|
||
|
name: 'extension',
|
||
|
type: VarType.string,
|
||
|
description: '',
|
||
|
},
|
||
|
{
|
||
|
name: 'mime_type',
|
||
|
type: VarType.string,
|
||
|
description: '',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
}
|