mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-03-14 19:38:42 +08:00
### What problem does this PR solve? fix: Change document status with @tanstack/react-query #13306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
40 lines
768 B
TypeScript
40 lines
768 B
TypeScript
import { RunningStatus } from '@/constants/knowledge';
|
|
|
|
export interface IDocumentInfo {
|
|
chunk_num: number;
|
|
create_date: string;
|
|
create_time: number;
|
|
created_by: string;
|
|
id: string;
|
|
kb_id: string;
|
|
location: string;
|
|
name: string;
|
|
parser_config: IParserConfig;
|
|
parser_id: string;
|
|
process_begin_at: null;
|
|
process_duation: number;
|
|
progress: number;
|
|
progress_msg: string;
|
|
run: RunningStatus;
|
|
size: number;
|
|
source_type: string;
|
|
status: string;
|
|
thumbnail: string;
|
|
token_num: number;
|
|
type: string;
|
|
update_date: string;
|
|
update_time: number;
|
|
}
|
|
|
|
export interface IParserConfig {
|
|
delimiter: string;
|
|
html4excel: boolean;
|
|
layout_recognize: boolean;
|
|
pages: any[];
|
|
raptor: Raptor;
|
|
}
|
|
|
|
interface Raptor {
|
|
use_raptor: boolean;
|
|
}
|