v0.5.2-pre.006-fix-004

This commit is contained in:
2026-08-11 00:30:03 +02:00
parent 066d969f5a
commit 1ee1d0297d
17 changed files with 698 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-app-demo-desktop/src/tauri.rs
// version: 42
// version: 43
//! Tauri runtime assembly and private command wrappers.
@@ -39,6 +39,9 @@ pub fn run() -> ks_core::Result<()> {
open_demo_wallet_window,
demo_wallet_inventory,
demo_wallet_create_native,
demo_wallet_inspect_transfer_file,
demo_wallet_import_file,
demo_wallet_export_file,
demo_wallet_balance,
demo_wallet_inspect_file,
demo_wallet_rpc_execute,
@@ -263,6 +266,29 @@ async fn demo_wallet_create_native(
return crate::demo_wallet_create_native(state.inner(), request).await;
}
#[tauri::command]
async fn demo_wallet_inspect_transfer_file(
request: crate::DemoWalletTransferInspectionRequest,
) -> std::result::Result<crate::DemoWalletTransferInspectionPayload, std::string::String> {
return crate::demo_wallet_inspect_transfer_file(request).await;
}
#[tauri::command]
async fn demo_wallet_import_file(
state: tauri::State<'_, crate::AppState>,
request: crate::DemoWalletImportRequest,
) -> std::result::Result<crate::DemoWalletIdentityPayload, std::string::String> {
return crate::demo_wallet_import_file(state.inner(), request).await;
}
#[tauri::command]
async fn demo_wallet_export_file(
state: tauri::State<'_, crate::AppState>,
request: crate::DemoWalletExportRequest,
) -> std::result::Result<(), std::string::String> {
return crate::demo_wallet_export_file(state.inner(), request).await;
}
#[tauri::command]
async fn demo_wallet_balance(
state: tauri::State<'_, crate::AppState>,