Feat: App folder and permission (#1726)

* app folder

* feat: app foldere

* fix: run app param error

* perf: select app ux

* perf: folder rerender

* fix: ts

* fix: parentId

* fix: permission

* perf: loading ux

* perf: per select ux

* perf: clb context

* perf: query extension tip

* fix: ts

* perf: app detail per

* perf: default per
This commit is contained in:
Archer
2024-06-11 10:16:24 +08:00
committed by GitHub
parent b20d075d35
commit bc6864c3dc
89 changed files with 2495 additions and 695 deletions

View File

@@ -1,17 +1,11 @@
import { ParentIdType } from '@fastgpt/global/common/parentFolder/type';
import { AppTypeEnum } from '@fastgpt/global/core/app/constants';
import { AppSchema } from '@fastgpt/global/core/app/type';
export type CreateAppParams = {
name?: string;
avatar?: string;
type?: `${AppTypeEnum}`;
modules: AppSchema['modules'];
edges?: AppSchema['edges'];
};
export type AppUpdateParams = {
parentId?: ParentIdType;
name?: string;
type?: `${AppTypeEnum}`;
type?: AppTypeEnum;
avatar?: string;
intro?: string;
nodes?: AppSchema['modules'];
@@ -23,7 +17,7 @@ export type AppUpdateParams = {
};
export type PostPublishAppProps = {
type: `${AppTypeEnum}`;
type: AppTypeEnum;
nodes: AppSchema['modules'];
edges: AppSchema['edges'];
chatConfig: AppSchema['chatConfig'];

View File

@@ -72,7 +72,7 @@ export type SearchTestResponse = {
searchMode: `${DatasetSearchModeEnum}`;
usingReRank: boolean;
similarity: number;
usingQueryExtension: boolean;
queryExtensionModel?: string;
};
/* =========== training =========== */