mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-08-07 04:53:56 +08:00
feat(account): polish reviews favorites and account UI
This commit is contained in:
Vendored
+7
@@ -20,6 +20,7 @@ declare global {
|
||||
apm_store: {
|
||||
arch: string;
|
||||
};
|
||||
windowControls: WindowControlBridge;
|
||||
updateCenter: UpdateCenterBridge;
|
||||
}
|
||||
}
|
||||
@@ -31,6 +32,12 @@ interface IpcRendererFacade {
|
||||
invoke: import("electron").IpcRenderer["invoke"];
|
||||
}
|
||||
|
||||
interface WindowControlBridge {
|
||||
minimize: () => void;
|
||||
toggleMaximize: () => void;
|
||||
close: () => void;
|
||||
}
|
||||
|
||||
// IPC channel type definitions
|
||||
declare interface IpcChannels {
|
||||
"get-app-version": () => string;
|
||||
|
||||
Reference in New Issue
Block a user