mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 06:40:17 +08:00
chore(projects): release v0.10.3 thin branch
This commit is contained in:
29
src/typings/api.d.ts
vendored
29
src/typings/api.d.ts
vendored
@@ -21,32 +21,3 @@ declare namespace ApiRoute {
|
||||
home: AuthRoute.AllRouteKey;
|
||||
}
|
||||
}
|
||||
|
||||
declare namespace ApiUserManagement {
|
||||
interface User {
|
||||
/** 用户id */
|
||||
id: string;
|
||||
/** 用户名 */
|
||||
userName: string | null;
|
||||
/** 用户年龄 */
|
||||
age: number | null;
|
||||
/**
|
||||
* 用户性别
|
||||
* - 0: 女
|
||||
* - 1: 男
|
||||
*/
|
||||
gender: '0' | '1' | null;
|
||||
/** 用户手机号码 */
|
||||
phone: string;
|
||||
/** 用户邮箱 */
|
||||
email: string | null;
|
||||
/**
|
||||
* 用户状态
|
||||
* - 1: 启用
|
||||
* - 2: 禁用
|
||||
* - 3: 冻结
|
||||
* - 4: 软删除
|
||||
*/
|
||||
userStatus: '1' | '2' | '3' | '4' | null;
|
||||
}
|
||||
}
|
||||
|
||||
25
src/typings/business.d.ts
vendored
25
src/typings/business.d.ts
vendored
@@ -18,28 +18,3 @@ declare namespace Auth {
|
||||
userRole: RoleType;
|
||||
}
|
||||
}
|
||||
|
||||
declare namespace UserManagement {
|
||||
interface User extends ApiUserManagement.User {
|
||||
/** 序号 */
|
||||
index: number;
|
||||
/** 表格的key(id) */
|
||||
key: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户性别
|
||||
* - 0: 女
|
||||
* - 1: 男
|
||||
*/
|
||||
type GenderKey = NonNullable<User['gender']>;
|
||||
|
||||
/**
|
||||
* 用户状态
|
||||
* - 1: 启用
|
||||
* - 2: 禁用
|
||||
* - 3: 冻结
|
||||
* - 4: 软删除
|
||||
*/
|
||||
type UserStatusKey = NonNullable<User['userStatus']>;
|
||||
}
|
||||
|
||||
3
src/typings/global.d.ts
vendored
3
src/typings/global.d.ts
vendored
@@ -16,6 +16,3 @@ declare namespace Common {
|
||||
/** 选项数据 */
|
||||
type OptionWithKey<K> = { value: K; label: string };
|
||||
}
|
||||
|
||||
/** 构建时间 */
|
||||
declare const PROJECT_BUILD_TIME: string;
|
||||
|
||||
3
src/typings/naive-ui.d.ts
vendored
3
src/typings/naive-ui.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
declare namespace NaiveUI {
|
||||
type ThemeColor = 'default' | 'error' | 'primary' | 'info' | 'success' | 'warning';
|
||||
}
|
||||
9
src/typings/package.d.ts
vendored
9
src/typings/package.d.ts
vendored
@@ -1,9 +0,0 @@
|
||||
/// <reference types="@amap/amap-jsapi-types" />
|
||||
/// <reference types="bmapgl" />
|
||||
|
||||
declare namespace BMap {
|
||||
class Map extends BMapGL.Map {}
|
||||
class Point extends BMapGL.Point {}
|
||||
}
|
||||
|
||||
declare const TMap: any;
|
||||
78
src/typings/page-route.d.ts
vendored
78
src/typings/page-route.d.ts
vendored
@@ -22,54 +22,11 @@ declare namespace PageRoute {
|
||||
| 'constant-page'
|
||||
| 'login'
|
||||
| 'not-found'
|
||||
| 'about'
|
||||
| 'auth-demo'
|
||||
| 'auth-demo_permission'
|
||||
| 'auth-demo_super'
|
||||
| 'component'
|
||||
| 'component_button'
|
||||
| 'component_card'
|
||||
| 'component_table'
|
||||
| 'dashboard'
|
||||
| 'dashboard_analysis'
|
||||
| 'dashboard_workbench'
|
||||
| 'document'
|
||||
| 'document_naive'
|
||||
| 'document_project-link'
|
||||
| 'document_project'
|
||||
| 'document_vite'
|
||||
| 'document_vue'
|
||||
| 'exception'
|
||||
| 'exception_403'
|
||||
| 'exception_404'
|
||||
| 'exception_500'
|
||||
| 'function'
|
||||
| 'function_tab-detail'
|
||||
| 'function_tab-multi-detail'
|
||||
| 'function_tab'
|
||||
| 'management'
|
||||
| 'management_auth'
|
||||
| 'management_role'
|
||||
| 'management_route'
|
||||
| 'management_user'
|
||||
| 'multi-menu'
|
||||
| 'multi-menu_first'
|
||||
| 'multi-menu_first_second-new'
|
||||
| 'multi-menu_first_second-new_third'
|
||||
| 'multi-menu_first_second'
|
||||
| 'plugin'
|
||||
| 'plugin_charts'
|
||||
| 'plugin_charts_antv'
|
||||
| 'plugin_charts_echarts'
|
||||
| 'plugin_copy'
|
||||
| 'plugin_editor'
|
||||
| 'plugin_editor_markdown'
|
||||
| 'plugin_editor_quill'
|
||||
| 'plugin_icon'
|
||||
| 'plugin_map'
|
||||
| 'plugin_print'
|
||||
| 'plugin_swiper'
|
||||
| 'plugin_video';
|
||||
| 'multi-menu_first_second';
|
||||
|
||||
/**
|
||||
* last degree route key, which has the page file
|
||||
@@ -83,40 +40,7 @@ declare namespace PageRoute {
|
||||
| 'constant-page'
|
||||
| 'login'
|
||||
| 'not-found'
|
||||
| 'about'
|
||||
| 'auth-demo_permission'
|
||||
| 'auth-demo_super'
|
||||
| 'component_button'
|
||||
| 'component_card'
|
||||
| 'component_table'
|
||||
| 'dashboard_analysis'
|
||||
| 'dashboard_workbench'
|
||||
| 'document_naive'
|
||||
| 'document_project-link'
|
||||
| 'document_project'
|
||||
| 'document_vite'
|
||||
| 'document_vue'
|
||||
| 'exception_403'
|
||||
| 'exception_404'
|
||||
| 'exception_500'
|
||||
| 'function_tab-detail'
|
||||
| 'function_tab-multi-detail'
|
||||
| 'function_tab'
|
||||
| 'management_auth'
|
||||
| 'management_role'
|
||||
| 'management_route'
|
||||
| 'management_user'
|
||||
| 'multi-menu_first_second-new_third'
|
||||
| 'multi-menu_first_second'
|
||||
| 'plugin_charts_antv'
|
||||
| 'plugin_charts_echarts'
|
||||
| 'plugin_copy'
|
||||
| 'plugin_editor_markdown'
|
||||
| 'plugin_editor_quill'
|
||||
| 'plugin_icon'
|
||||
| 'plugin_map'
|
||||
| 'plugin_print'
|
||||
| 'plugin_swiper'
|
||||
| 'plugin_video'
|
||||
>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user