init project

This commit is contained in:
caiyuchao
2025-05-16 14:52:30 +08:00
commit 1d6f7521c4
1496 changed files with 134863 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
export type * from './user';
export type * from '@vben-core/typings';

View File

@@ -0,0 +1,19 @@
import type { AppRouteRecordRaw, BasicUserInfo } from '@vben-core/typings';
/** 用户信息 */
interface UserInfo extends BasicUserInfo {
/**
* 首页地址
*/
homePath: string;
}
/** 权限信息 */
interface AuthPermissionInfo {
user: UserInfo;
roles: string[];
permissions: string[];
menus: AppRouteRecordRaw[];
}
export type { AuthPermissionInfo, UserInfo };