fix: resolve clippy warnings and missing struct fields in tests

This commit is contained in:
t8y2 committed 2026-06-16 00:55:32 +08:00
1 parent 5f870be0d9
commit c57e18bf3e
17 files changed
+49 -30

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ pub async fn ai_cancel_stream(session_id: String) -> Result<bool, String> {
}
#[tauri::command]
#[allow(clippy::too_many_arguments)]
pub async fn ai_agent_stream(
app: AppHandle,
state: State<'_, Arc<AppState>>,
+1
View File
@@ -41,6 +41,7 @@ pub async fn redis_scan_keys_batch(
}
#[tauri::command]
#[allow(clippy::too_many_arguments)]
pub async fn redis_scan_values(
state: State<'_, Arc<AppState>>,
connection_id: String,
+1
View File
@@ -6,6 +6,7 @@ pub fn prepare_schema_diff(
}
#[tauri::command]
#[allow(clippy::too_many_arguments)]
pub fn generate_schema_sync_sql(
diffs: Vec<dbx_core::schema_diff::TableDiff>,
function_diffs: Option<Vec<dbx_core::schema_diff::FunctionDiff>>,