@todesktop/shared 7.98.0 → 7.99.0
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/lib/desktopify2.d.ts +1 -8
- package/package.json +1 -1
- package/src/desktopify2.ts +0 -9
package/lib/desktopify2.d.ts
CHANGED
|
@@ -32,19 +32,13 @@ export declare type DesktopifyAppTrayToggleMenuAction = {
|
|
|
32
32
|
role: "toggleMenu";
|
|
33
33
|
menu: DesktopifyMenuItemConstructorOptions[];
|
|
34
34
|
};
|
|
35
|
-
/**
|
|
36
|
-
* Custom Menu Role
|
|
37
|
-
*/
|
|
38
|
-
export declare type DesktopifyAppTrayCustomMenuAction = {
|
|
39
|
-
role: "customMenu";
|
|
40
|
-
};
|
|
41
35
|
/**
|
|
42
36
|
* No Action Tray Action
|
|
43
37
|
*/
|
|
44
38
|
export declare type DesktopifyAppTrayNoAction = {
|
|
45
39
|
role: "noAction";
|
|
46
40
|
};
|
|
47
|
-
export declare type DesktopifyAppTrayAction = DesktopifyAppTrayToggleMenuAction |
|
|
41
|
+
export declare type DesktopifyAppTrayAction = DesktopifyAppTrayToggleMenuAction | DesktopifyAppTrayToggleWindowAction | DesktopifyAppTrayNoAction;
|
|
48
42
|
export interface DesktopifyAppTray {
|
|
49
43
|
id: string;
|
|
50
44
|
icon?: string;
|
|
@@ -54,7 +48,6 @@ export interface DesktopifyAppTray {
|
|
|
54
48
|
linuxIcon?: string;
|
|
55
49
|
bundledIcon?: string;
|
|
56
50
|
useTemplateImage?: boolean;
|
|
57
|
-
customMenu?: DesktopifyAppMenu[];
|
|
58
51
|
rightClick: DesktopifyAppTrayAction;
|
|
59
52
|
leftClick: DesktopifyAppTrayAction;
|
|
60
53
|
}
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -57,13 +57,6 @@ export type DesktopifyAppTrayToggleMenuAction = {
|
|
|
57
57
|
menu: DesktopifyMenuItemConstructorOptions[];
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
/**
|
|
61
|
-
* Custom Menu Role
|
|
62
|
-
*/
|
|
63
|
-
export type DesktopifyAppTrayCustomMenuAction = {
|
|
64
|
-
role: "customMenu";
|
|
65
|
-
};
|
|
66
|
-
|
|
67
60
|
/**
|
|
68
61
|
* No Action Tray Action
|
|
69
62
|
*/
|
|
@@ -73,7 +66,6 @@ export type DesktopifyAppTrayNoAction = {
|
|
|
73
66
|
|
|
74
67
|
export type DesktopifyAppTrayAction =
|
|
75
68
|
| DesktopifyAppTrayToggleMenuAction
|
|
76
|
-
| DesktopifyAppTrayCustomMenuAction
|
|
77
69
|
| DesktopifyAppTrayToggleWindowAction
|
|
78
70
|
| DesktopifyAppTrayNoAction;
|
|
79
71
|
|
|
@@ -86,7 +78,6 @@ export interface DesktopifyAppTray {
|
|
|
86
78
|
linuxIcon?: string;
|
|
87
79
|
bundledIcon?: string;
|
|
88
80
|
useTemplateImage?: boolean;
|
|
89
|
-
customMenu?: DesktopifyAppMenu[];
|
|
90
81
|
rightClick: DesktopifyAppTrayAction;
|
|
91
82
|
leftClick: DesktopifyAppTrayAction;
|
|
92
83
|
}
|