chore: update types
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
interface RoleInfo {
|
||||
/** 角色名 */
|
||||
roleName: string;
|
||||
/** 角色值 */
|
||||
value: string;
|
||||
}
|
||||
|
||||
/** 用户信息 */
|
||||
interface UserInfo {
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
avatar: string;
|
||||
/**
|
||||
* 用户描述
|
||||
*/
|
||||
desc: string;
|
||||
/**
|
||||
* 首页地址
|
||||
*/
|
||||
homePath: string;
|
||||
/**
|
||||
* 用户昵称
|
||||
*/
|
||||
realName: string;
|
||||
/**
|
||||
* 用户角色信息
|
||||
*/
|
||||
roles: RoleInfo[];
|
||||
/**
|
||||
* accessToken
|
||||
*/
|
||||
token: string;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
userId: string;
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
username: string;
|
||||
}
|
||||
|
||||
export type { RoleInfo, UserInfo };
|
@@ -1,4 +1,4 @@
|
||||
type LocaleSupportType = 'en-US' | 'zh-CN';
|
||||
type SupportedLanguagesType = 'en-US' | 'zh-CN';
|
||||
|
||||
type LayoutType =
|
||||
| 'full-content'
|
||||
@@ -17,6 +17,6 @@ export type {
|
||||
ContentCompactType,
|
||||
LayoutHeaderModeType,
|
||||
LayoutType,
|
||||
LocaleSupportType,
|
||||
SupportedLanguagesType,
|
||||
ThemeModeType,
|
||||
};
|
@@ -1,7 +1,6 @@
|
||||
export type * from './access';
|
||||
export type * from './app';
|
||||
export type * from './flatten';
|
||||
export type * from './helper';
|
||||
export type * from './menu-record';
|
||||
export type * from './tabs';
|
||||
export type * from './tools';
|
||||
export type * from './vue-router';
|
||||
|
Reference in New Issue
Block a user