Feat/customizable file upload config (#818)
This commit is contained in:
parent
b7c29ea1b6
commit
155a4733f6
13 changed files with 122 additions and 83 deletions
|
|
@ -7,7 +7,7 @@ import FileUploader from '../file-uploader'
|
|||
import NotionPagePreview from '../notion-page-preview'
|
||||
import EmptyDatasetCreationModal from '../empty-dataset-creation-modal'
|
||||
import s from './index.module.css'
|
||||
import type { File } from '@/models/datasets'
|
||||
import type { FileItem } from '@/models/datasets'
|
||||
import type { DataSourceNotionPage } from '@/models/common'
|
||||
import { DataSourceType } from '@/models/datasets'
|
||||
import Button from '@/app/components/base/button'
|
||||
|
|
@ -20,9 +20,9 @@ type IStepOneProps = {
|
|||
dataSourceTypeDisable: Boolean
|
||||
hasConnection: boolean
|
||||
onSetting: () => void
|
||||
files: any[]
|
||||
updateFileList: (files: any[]) => void
|
||||
updateFile: (fileItem: any, progress: number, list: any[]) => void
|
||||
files: FileItem[]
|
||||
updateFileList: (files: FileItem[]) => void
|
||||
updateFile: (fileItem: FileItem, progress: number, list: FileItem[]) => void
|
||||
notionPages?: any[]
|
||||
updateNotionPages: (value: any[]) => void
|
||||
onStepChange: () => void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue