feat(deeplink): add config merge command for preview

Expose config merging functionality to frontend for preview.
- Add merge_deeplink_config Tauri command
- Make parse_and_merge_config public for reuse
- Enable frontend to display complete config before import
This commit is contained in:
YoVinchen
2025-11-22 17:58:18 +08:00
parent cf57fbed7b
commit 2b1ae2aa71
3 changed files with 12 additions and 1 deletions

View File

@@ -398,7 +398,7 @@ requires_openai_auth = true
/// Parse and merge configuration from Base64 encoded config or remote URL
///
/// Priority: URL params > inline config > remote config
fn parse_and_merge_config(
pub fn parse_and_merge_config(
request: &DeepLinkImportRequest,
) -> Result<DeepLinkImportRequest, AppError> {
use base64::prelude::*;