From f21638bcbc3144e06132fb7675c1a0e4981877cf Mon Sep 17 00:00:00 2001 From: Antigravity Date: Mon, 11 May 2026 18:06:14 +0000 Subject: [PATCH] refactor: update INativeStorageService abstraction --- .../Abstractions/Services/INativeStorageService.cs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/NexusReader.Application/Abstractions/Services/INativeStorageService.cs b/src/NexusReader.Application/Abstractions/Services/INativeStorageService.cs index 909853c..5b157a2 100644 --- a/src/NexusReader.Application/Abstractions/Services/INativeStorageService.cs +++ b/src/NexusReader.Application/Abstractions/Services/INativeStorageService.cs @@ -4,13 +4,11 @@ namespace NexusReader.Application.Abstractions.Services; public interface INativeStorageService { - Result SaveString(string key, string value); - Result GetString(string key); - Result SaveBool(string key, bool value); - Result GetBool(string key, bool defaultValue = false); - Result Remove(string key); - + Task> GetSecureString(string key); Task SaveSecureString(string key, string value); - Task> GetSecureString(string key); - Result RemoveSecure(string key); + Task> GetBool(string key); + Task SaveBool(string key, bool value); + Task> GetInt(string key); + Task SaveInt(string key, int value); + Task ClearAll(); }