feat: fileCard and dataCard

This commit is contained in:
archer
2023-09-10 11:29:36 +08:00
parent 5b9332c673
commit ba6c2d27d5
28 changed files with 675 additions and 83 deletions

View File

@@ -1,4 +1,6 @@
import { KbTypeEnum } from '@/constants/kb';
import type { RequestPaging } from '@/types';
export type KbUpdateParams = {
id: string;
tags?: string;
@@ -13,3 +15,9 @@ export type CreateKbParams = {
vectorModel?: string;
type: `${KbTypeEnum}`;
};
export type GetKbDataListProps = RequestPaging & {
kbId: string;
searchText: string;
fileId: string;
};