mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
27 lines
658 B
TypeScript
27 lines
658 B
TypeScript
import type { ChatModelItemType } from '../ai/model.d';
|
|
import { AppTypeEnum } from './constants';
|
|
import { AppSchema, AppSimpleEditFormType } from './type';
|
|
|
|
export type CreateAppParams = {
|
|
name?: string;
|
|
avatar?: string;
|
|
type?: `${AppTypeEnum}`;
|
|
modules: AppSchema['modules'];
|
|
};
|
|
|
|
export interface AppUpdateParams {
|
|
name?: string;
|
|
type?: `${AppTypeEnum}`;
|
|
simpleTemplateId?: string;
|
|
avatar?: string;
|
|
intro?: string;
|
|
modules?: AppSchema['modules'];
|
|
permission?: AppSchema['permission'];
|
|
}
|
|
|
|
export type FormatForm2ModulesProps = {
|
|
formData: AppSimpleEditFormType;
|
|
chatModelMaxToken: number;
|
|
chatModelList: ChatModelItemType[];
|
|
};
|