Migrated the deletion of secrets from Tauri JS to the runtime API

This commit is contained in:
tsommer committed 2024-08-29 11:28:11 +02:00
1 parent 54c2cd3740
commit 88ea640a68
25 files changed
+99 -137

No files matched your search

@@ -0,0 +1,9 @@
namespace AIStudio.Tools.Rust;
/// <summary>
/// Data structure for deleting a secret response.
/// </summary>
/// <param name="Success">True, when the secret was successfully deleted or not found.</param>
/// <param name="Issue">The issue, when the secret could not be deleted.</param>
/// <param name="WasEntryFound">True, when the entry was found and deleted.</param>
public readonly record struct DeleteSecretResponse(bool Success, string Issue, bool WasEntryFound);
@@ -1,6 +0,0 @@
namespace AIStudio.Tools.Rust;
public readonly record struct GetSecretRequest(
string Destination,
string UserName
);
@@ -0,0 +1,3 @@
namespace AIStudio.Tools.Rust;
public readonly record struct SelectSecretRequest(string Destination, string UserName);