feat: 新增代码生成预览抽屉

This commit is contained in:
xlsea
2024-09-07 18:27:39 +08:00
parent 9a0df2e4f3
commit c0ad0e4e4f
22 changed files with 508 additions and 52 deletions

View File

@ -175,6 +175,9 @@ declare namespace Api {
Pick<GenTable, 'dataName' | 'tableName' | 'tableComment'> & Common.CommonSearchParams
>;
/** gen table preview */
type GenTablePreview = Record<string, string>;
/** gen table db list */
type GenTableDbList = Common.PaginatingQueryRecord<
Common.CommonRecord<Pick<GenTable, 'tableName' | 'tableComment'>>

View File

@ -299,6 +299,7 @@ declare namespace App {
expandColumn: string;
columnSetting: string;
config: string;
login: string;
confirm: string;
save: string;
delete: string;

View File

@ -45,6 +45,7 @@ declare module 'vue' {
LookForward: typeof import('./../components/custom/look-forward.vue')['default']
MenuToggler: typeof import('./../components/common/menu-toggler.vue')['default']
MenuTreeSelect: typeof import('./../components/custom/menu-tree-select.vue')['default']
MonacoEditor: typeof import('./../components/common/monaco-editor.vue')['default']
NAlert: typeof import('naive-ui')['NAlert']
NBreadcrumb: typeof import('naive-ui')['NBreadcrumb']
NBreadcrumbItem: typeof import('naive-ui')['NBreadcrumbItem']

View File

@ -161,7 +161,7 @@ declare module "@elegant-router/types" {
component: `view.${K}`;
}
: never;
/**
* the center level route
*/
@ -184,7 +184,7 @@ declare module "@elegant-router/types" {
children: (CenterLevelRoute<GetChildRouteKey<K>> | LastLevelRoute<GetChildRouteKey<K>>)[];
}
: never;
/**
* the custom first level route
*/

View File

@ -40,5 +40,7 @@ declare namespace StorageType {
layout: UnionKey.ThemeLayoutMode;
siderCollapse: boolean;
};
/** The login form rember */
loginRember: Api.Auth.PwdLoginForm;
}
}