feat: preview document picker

This commit is contained in:
Joel
2024-12-09 15:39:37 +08:00
parent 12c791149c
commit 82e2b68d9e
8 changed files with 175 additions and 27 deletions

View File

@ -102,6 +102,12 @@ export type CustomFile = File & {
created_at?: number
}
export type DocumentItem = {
id: string
name: string
extension: string
}
export type CrawlOptions = {
crawl_sub_pages: boolean
only_main_content: boolean