Feat/customizable file upload config (#818)
This commit is contained in:
parent
b7c29ea1b6
commit
155a4733f6
13 changed files with 122 additions and 83 deletions
|
|
@ -9,7 +9,7 @@ import Link from 'next/link'
|
|||
import { groupBy } from 'lodash-es'
|
||||
import PreviewItem, { PreviewType } from './preview-item'
|
||||
import s from './index.module.css'
|
||||
import type { CreateDocumentReq, File, FullDocumentDetail, FileIndexingEstimateResponse as IndexingEstimateResponse, NotionInfo, PreProcessingRule, Rules, createDocumentResponse } from '@/models/datasets'
|
||||
import type { CreateDocumentReq, CustomFile, FullDocumentDetail, FileIndexingEstimateResponse as IndexingEstimateResponse, NotionInfo, PreProcessingRule, Rules, createDocumentResponse } from '@/models/datasets'
|
||||
import {
|
||||
createDocument,
|
||||
createFirstDocument,
|
||||
|
|
@ -39,7 +39,7 @@ type StepTwoProps = {
|
|||
datasetId?: string
|
||||
indexingType?: string
|
||||
dataSourceType: DataSourceType
|
||||
files: File[]
|
||||
files: CustomFile[]
|
||||
notionPages?: Page[]
|
||||
onStepChange?: (delta: number) => void
|
||||
updateIndexingTypeCache?: (type: string) => void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue