mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +00:00
d1136a4987
Decrypt master-password and legacy SessionP credentials during MobaXterm import so migrating hosts do not require re-entering passwords. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
670 B
TypeScript
19 lines
670 B
TypeScript
import type { VaultImportDestination } from "../../domain/vaultImport";
|
|
import type { VaultImportFileEncoding } from "./vaultImportFile";
|
|
|
|
/** Options for a vault host-file import (kept out of UI modules). */
|
|
export type VaultImportOptions = {
|
|
managed?: boolean;
|
|
filePath?: string;
|
|
encoding?: VaultImportFileEncoding;
|
|
masterPassword?: string;
|
|
destination?: VaultImportDestination;
|
|
};
|
|
|
|
/** Notification sink so application/state hooks do not import UI toast. */
|
|
export type VaultImportNotifier = {
|
|
success: (message: string, title?: string) => void;
|
|
error: (message: string, title?: string) => void;
|
|
warning: (message: string, title?: string) => void;
|
|
};
|