mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 18:37:46 +08:00
feat(admin): 实现系统数据导入导出功能,支持提供商和模型批量配置
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use crate::handlers::admin::shared::AdminTypedObjectPatch;
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
@@ -32,6 +33,8 @@ pub(crate) struct AdminGlobalModelUpdateRequest {
|
||||
pub(crate) config: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
pub(crate) type AdminGlobalModelUpdatePatch = AdminTypedObjectPatch<AdminGlobalModelUpdateRequest>;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub(crate) struct AdminBatchDeleteIdsRequest {
|
||||
pub(crate) ids: Vec<String>,
|
||||
|
||||
Reference in New Issue
Block a user