mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
25 lines
601 B
TypeScript
25 lines
601 B
TypeScript
import { ParentIdType } from 'common/parentFolder/type';
|
|
import { AppSchema } from './type';
|
|
import { AppTypeEnum } from './constants';
|
|
|
|
export type CreateAppProps = {
|
|
parentId?: ParentIdType;
|
|
name?: string;
|
|
avatar?: string;
|
|
intro?: string;
|
|
type?: AppTypeEnum;
|
|
modules: AppSchema['modules'];
|
|
edges?: AppSchema['edges'];
|
|
};
|
|
export type CreateHttpPluginChildrenPros = Omit<CreateAppProps, 'type'> & {
|
|
parentId: ParentIdType;
|
|
name: string;
|
|
intro: string;
|
|
avatar: string;
|
|
modules: AppSchema['modules'];
|
|
edges: AppSchema['edges'];
|
|
pluginData: {
|
|
pluginUniId: string;
|
|
};
|
|
};
|