tauri-plugin-z9 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-js/index.d.mts +4 -3
- package/dist-js/index.mjs +1 -1
- package/package.json +1 -1
package/dist-js/index.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
//#region guest-js/index.d.ts
|
|
2
|
-
export declare function minimizeApp(): Promise<
|
|
3
|
-
export
|
|
2
|
+
export declare function minimizeApp(): Promise<void>;
|
|
3
|
+
export type Insets = {
|
|
4
4
|
top: number;
|
|
5
5
|
bottom: number;
|
|
6
6
|
left: number;
|
|
7
7
|
right: number;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
|
+
export declare function getInsets(): Promise<Insets>;
|
|
9
10
|
export declare function setNightMode(night: boolean): Promise<void>;
|
|
10
11
|
//#endregion
|
package/dist-js/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { invoke } from "@tauri-apps/api/core";
|
|
2
2
|
//#region guest-js/index.ts
|
|
3
3
|
async function minimizeApp() {
|
|
4
|
-
|
|
4
|
+
await invoke("plugin:z9|minimize_app");
|
|
5
5
|
}
|
|
6
6
|
async function getInsets() {
|
|
7
7
|
return await invoke("plugin:z9|get_insets");
|