mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-06 17:50:20 +00:00
chore: cleanup old frontend code and update project configs
This commit removes the deprecated frontend/web-old directory, updates various project configuration files including tsconfig, vite config, environment variables, and backend data models. It also fixes several API paths, adds tenant awareness to multiple models, and makes minor UI adjustments.
This commit is contained in:
@@ -65,7 +65,7 @@ export interface CacheInfo {
|
||||
cache_key: string;
|
||||
cache_name: string;
|
||||
cache_value: string;
|
||||
remark: string;
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
export interface CommandStats {
|
||||
|
||||
@@ -41,12 +41,14 @@ export interface OnlineUserPageQuery extends PageQuery {
|
||||
export interface OnlineUserTable {
|
||||
session_id: string;
|
||||
user_id: number;
|
||||
tenant_id?: number;
|
||||
is_super_admin?: boolean;
|
||||
name: string;
|
||||
user_name: string;
|
||||
ipaddr: string;
|
||||
login_location: string;
|
||||
os: string;
|
||||
browser: string;
|
||||
login_time: string;
|
||||
login_type: string;
|
||||
ipaddr?: string;
|
||||
login_location?: string;
|
||||
os?: string;
|
||||
browser?: string;
|
||||
login_time?: string;
|
||||
login_type?: string;
|
||||
}
|
||||
|
||||
@@ -196,9 +196,9 @@ export interface ResourceItem {
|
||||
/** 文件大小(字节) */
|
||||
size?: number | null;
|
||||
/** 创建时间 */
|
||||
created_time: string;
|
||||
created_time?: string;
|
||||
/** 修改时间 */
|
||||
modified_time: string;
|
||||
modified_time?: string;
|
||||
/** 是否为隐藏文件 */
|
||||
is_hidden?: boolean;
|
||||
}
|
||||
|
||||
@@ -29,10 +29,10 @@ export interface Memory {
|
||||
}
|
||||
|
||||
export interface System {
|
||||
computer_name: string;
|
||||
os_name: string;
|
||||
computer_ip: string;
|
||||
computer_name: string;
|
||||
os_arch: string;
|
||||
os_name: string;
|
||||
user_dir: string;
|
||||
}
|
||||
|
||||
@@ -49,9 +49,9 @@ export interface Python {
|
||||
}
|
||||
|
||||
export interface SysFile {
|
||||
dirName: string;
|
||||
sysTypeName: string;
|
||||
typeName: string;
|
||||
dir_name: string;
|
||||
sys_type_name: string;
|
||||
type_name: string;
|
||||
total: string;
|
||||
free: string;
|
||||
used: string;
|
||||
|
||||
Reference in New Issue
Block a user