feat: 初始化项目基础结构和配置
This commit is contained in:
2
packages/types/src/index.ts
Normal file
2
packages/types/src/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export type * from './user';
|
||||
export type * from '@vben-core/typings';
|
||||
15
packages/types/src/user.ts
Normal file
15
packages/types/src/user.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { BasicUserInfo } from '@vben-core/typings';
|
||||
|
||||
/** 用户信息 */
|
||||
interface UserInfo extends BasicUserInfo {
|
||||
/**
|
||||
* 最后登录时间
|
||||
*/
|
||||
lastTime: string;
|
||||
/**
|
||||
* 主页地址
|
||||
*/
|
||||
homePath?: string;
|
||||
}
|
||||
|
||||
export type { UserInfo };
|
||||
Reference in New Issue
Block a user