feat: fileCard and dataCard
This commit is contained in:
8
client/src/api/request/kb.d.ts
vendored
8
client/src/api/request/kb.d.ts
vendored
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user