mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 15:36:50 +08:00
### What problem does this PR solve? Feat: Filter document by running status and file type. #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { IRenameTag } from '@/interfaces/database/knowledge';
|
||||
import {
|
||||
IFetchDocumentListRequestBody,
|
||||
IFetchKnowledgeListRequestBody,
|
||||
IFetchKnowledgeListRequestParams,
|
||||
} from '@/interfaces/request/knowledge';
|
||||
@ -182,4 +183,9 @@ export const listDataset = (
|
||||
body?: IFetchKnowledgeListRequestBody,
|
||||
) => request.post(api.kb_list, { data: body || {}, params });
|
||||
|
||||
export const listDocument = (
|
||||
params?: IFetchKnowledgeListRequestParams,
|
||||
body?: IFetchDocumentListRequestBody,
|
||||
) => request.post(api.get_document_list, { data: body || {}, params });
|
||||
|
||||
export default kbService;
|
||||
|
||||
Reference in New Issue
Block a user