api_proxy refactored

This commit is contained in:
euzu
2025-06-19 17:20:36 +02:00
parent c0f293c99a
commit 3cf00a809f
23 changed files with 287 additions and 49 deletions
+1 -9
View File
@@ -1,4 +1,4 @@
use crate::model::{ConfigInputDto, ItemField};
use crate::model::{ConfigInputDto};
use crate::model::config::target::ConfigTargetDto;
@@ -17,14 +17,6 @@ pub struct PatternTemplateDto {
pub placeholder: String,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(deny_unknown_fields)]
pub struct ConfigRenameDto {
pub field: ItemField,
pub pattern: String,
pub new_name: String,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(deny_unknown_fields)]
pub struct ConfigSourceDto {