api: add user's monograph passwords key (#41)

This commit is contained in:
01zulfi
2025-08-18 11:45:42 +05:00
committed by GitHub
parent 8df70c81fc
commit 6d6342dbff
6 changed files with 52 additions and 7 deletions

View File

@@ -17,10 +17,9 @@ You should have received a copy of the Affero GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Threading;
using System.Threading.Tasks;
using Notesnook.API.Models;
using Notesnook.API.Models.Responses;
using Streetwriters.Common.Interfaces;
namespace Notesnook.API.Interfaces
{
@@ -31,6 +30,6 @@ namespace Notesnook.API.Interfaces
Task DeleteUserAsync(string userId, string jti, string password);
Task<bool> ResetUserAsync(string userId, bool removeAttachments);
Task<UserResponse> GetUserAsync(string userId);
Task SetUserAttachmentsKeyAsync(string userId, IEncrypted key);
Task SetUserKeysAsync(string userId, UserKeys keys);
}
}