(feat): add cache package
(feat): improve local storage security (feat): move settings to dedicated settings package
This commit is contained in:
parent
fb095db7a6
commit
790a1db788
54 changed files with 1984 additions and 947 deletions
|
|
@ -38,6 +38,13 @@ type ElectronDesktopApi = {
|
|||
iconDataUrl?: string;
|
||||
}) => Promise<void>;
|
||||
};
|
||||
secureStorage?: {
|
||||
getStatus?: () => Promise<{ available: boolean; backend: string | null }>;
|
||||
load?: (key: string) => Promise<string | null>;
|
||||
save?: (key: string, value: string) => Promise<void>;
|
||||
delete?: (key: string) => Promise<void>;
|
||||
clear?: () => Promise<void>;
|
||||
};
|
||||
};
|
||||
|
||||
declare global {
|
||||
|
|
|
|||
Loading…
Reference in a new issue