mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-14 13:06:51 +00:00
chore: 完成多批次代码优化与重构
- 重构工作流模块目录结构,迁移代码文件 - 修复类型断言空值安全问题,添加 ! 操作符 - 优化样式类名,替换 flex-cc 为标准 flex 工具类 - 更新路由标签简化文案,移除冗余注释 - 调整 ruff 配置,放宽行长度限制 - 更新 README 与多语言文案,优化项目描述 - 修复表单、图表组件的类型与样式问题 - 简化搜索表单、数据卡片的布局代码
This commit is contained in:
@@ -130,10 +130,9 @@ const TenantAPI = {
|
||||
|
||||
export default TenantAPI;
|
||||
|
||||
export interface TenantPageQuery extends PageQuery {
|
||||
export interface TenantPageQuery extends PageQuery, UserByQueryParams, TenantByQueryParams {
|
||||
name?: string;
|
||||
code?: string;
|
||||
created_time?: string[];
|
||||
}
|
||||
|
||||
export interface TenantTable extends BaseType {
|
||||
@@ -158,12 +157,13 @@ export interface TenantTable extends BaseType {
|
||||
privacy?: string;
|
||||
clause?: string;
|
||||
git_code?: string;
|
||||
status?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export interface TenantForm extends BaseFormType {
|
||||
name?: string;
|
||||
code?: string;
|
||||
description?: string;
|
||||
package_id?: number;
|
||||
start_time?: string;
|
||||
end_time?: string;
|
||||
@@ -183,6 +183,8 @@ export interface TenantForm extends BaseFormType {
|
||||
privacy?: string;
|
||||
clause?: string;
|
||||
git_code?: string;
|
||||
status?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export interface TenantCreateForm extends BaseFormType {
|
||||
@@ -207,6 +209,8 @@ export interface TenantCreateForm extends BaseFormType {
|
||||
privacy?: string;
|
||||
clause?: string;
|
||||
git_code?: string;
|
||||
status?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export interface TenantUpdateForm extends BaseFormType {
|
||||
@@ -231,6 +235,8 @@ export interface TenantUpdateForm extends BaseFormType {
|
||||
privacy?: string;
|
||||
clause?: string;
|
||||
git_code?: string;
|
||||
status?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
/** 套餐变更影响预览 */
|
||||
|
||||
Reference in New Issue
Block a user