mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-24 22:03:54 +00:00
22 lines
419 B
TypeScript
22 lines
419 B
TypeScript
import type { ModuleItemType } from '../module/type.d';
|
|
|
|
export type CreateOnePluginParams = {
|
|
name: string;
|
|
avatar: string;
|
|
intro: string;
|
|
modules?: ModuleItemType[];
|
|
};
|
|
export type UpdatePluginParams = {
|
|
id: string;
|
|
name?: string;
|
|
avatar?: string;
|
|
intro?: string;
|
|
modules?: ModuleItemType[];
|
|
};
|
|
export type PluginListItemType = {
|
|
_id: string;
|
|
name: string;
|
|
avatar: string;
|
|
intro: string;
|
|
};
|