mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 02:12:38 +00:00

* move file * perf: dataset file manage * v441 description * fix: qa csv update file * feat: rename file * frontend show system-version
25 lines
481 B
TypeScript
25 lines
481 B
TypeScript
import { KbTypeEnum } from '@/constants/kb';
|
|
import type { RequestPaging } from '@/types';
|
|
|
|
export type KbUpdateParams = {
|
|
id: string;
|
|
parentId?: string;
|
|
tags?: string;
|
|
name?: string;
|
|
avatar?: string;
|
|
};
|
|
export type CreateKbParams = {
|
|
parentId?: string;
|
|
name: string;
|
|
tags: string[];
|
|
avatar: string;
|
|
vectorModel?: string;
|
|
type: `${KbTypeEnum}`;
|
|
};
|
|
|
|
export type GetKbDataListProps = RequestPaging & {
|
|
kbId: string;
|
|
searchText: string;
|
|
fileId: string;
|
|
};
|