mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-15 09:12:56 +02:00
Add option to disable encryption when key is forgotten (#371)
This commit is contained in:
@@ -11,3 +11,7 @@ export function revealWorkspaceKey(workspaceId: string) {
|
||||
export function setWorkspaceKey(args: { workspaceId: string; key: string }) {
|
||||
return invoke<void>('cmd_set_workspace_key', args);
|
||||
}
|
||||
|
||||
export function disableEncryption(workspaceId: string) {
|
||||
return invoke<void>('cmd_disable_encryption', { workspaceId });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user