fix: segement settings of documents raise error (#8971)

This commit is contained in:
非法操作
2024-10-25 16:58:50 +08:00
committed by GitHub
parent fb218f8b10
commit fd437ff4c5
2 changed files with 12 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
import type { DataSourceNotionPage } from './common'
import type { DataSourceNotionPage, DataSourceProvider } from './common'
import type { AppIconType, AppMode, RetrievalConfig } from '@/types/app'
import type { Tag } from '@/app/components/base/tag-management/constant'
@@ -230,6 +230,9 @@ export type DataSourceInfo = {
extension: string
}
notion_page_icon?: string
notion_workspace_id?: string
notion_page_id?: string
provider?: DataSourceProvider
job_id: string
url: string
}