From c9bebdcfb0d9ff982c665274b1183b919f1908a0 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Tue, 10 Dec 2024 13:07:56 +0100 Subject: [PATCH] Fix incorrect merge --- apps/desktop/desktop_native/napi/index.d.ts | 4 +++- apps/desktop/desktop_native/napi/src/lib.rs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/desktop/desktop_native/napi/index.d.ts b/apps/desktop/desktop_native/napi/index.d.ts index a9f217866cf..b2c9ab2fea9 100644 --- a/apps/desktop/desktop_native/napi/index.d.ts +++ b/apps/desktop/desktop_native/napi/index.d.ts @@ -3,7 +3,6 @@ /* auto-generated by NAPI-RS */ -export declare function runCommand(value: string): Promise export declare namespace passwords { /** Fetch the stored password from the keychain. */ export function getPassword(service: string, account: string): Promise @@ -131,6 +130,9 @@ export declare namespace ephemeral_values { remove(key: string): void } } +export declare namespace autofill { + export function runCommand(value: string): Promise +} export declare namespace crypto { export function argon2(secret: Buffer, salt: Buffer, iterations: number, memory: number, parallelism: number): Promise } diff --git a/apps/desktop/desktop_native/napi/src/lib.rs b/apps/desktop/desktop_native/napi/src/lib.rs index 6b9087f2b3a..dbf35aa0d9a 100644 --- a/apps/desktop/desktop_native/napi/src/lib.rs +++ b/apps/desktop/desktop_native/napi/src/lib.rs @@ -580,6 +580,7 @@ pub mod ephemeral_values { } } } +#[napi] pub mod autofill { #[napi] pub async fn run_command(value: String) -> napi::Result {