v4.5.2 (#439)
This commit is contained in:
21
packages/global/core/plugin/controller.d.ts
vendored
Normal file
21
packages/global/core/plugin/controller.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
};
|
||||
Reference in New Issue
Block a user