@todesktop/shared 7.140.0 → 7.141.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 +5 -1
- package/package.json +1 -1
- package/src/desktopify2.ts +7 -1
package/lib/desktopify2.d.ts
CHANGED
|
@@ -23,7 +23,11 @@ export interface MenuIconAssetDetails extends BaseAssetDetails {
|
|
|
23
23
|
export interface TrayMenubarIconAssetDetails extends BaseAssetDetails {
|
|
24
24
|
type: "trayMenubarIcon";
|
|
25
25
|
}
|
|
26
|
-
export
|
|
26
|
+
export interface FileAssetDetails extends BaseAssetDetails {
|
|
27
|
+
md5Hash: string;
|
|
28
|
+
type: "file";
|
|
29
|
+
}
|
|
30
|
+
export declare type AssetDetails = AppIconAssetDetails | MenuIconAssetDetails | TrayMenubarIconAssetDetails | FileAssetDetails;
|
|
27
31
|
/**
|
|
28
32
|
* Custom ToDesktop Roles for Application & Tray Menus
|
|
29
33
|
*/
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -31,10 +31,16 @@ export interface TrayMenubarIconAssetDetails extends BaseAssetDetails {
|
|
|
31
31
|
type: "trayMenubarIcon";
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
export interface FileAssetDetails extends BaseAssetDetails {
|
|
35
|
+
md5Hash: string;
|
|
36
|
+
type: "file";
|
|
37
|
+
}
|
|
38
|
+
|
|
34
39
|
export type AssetDetails =
|
|
35
40
|
| AppIconAssetDetails
|
|
36
41
|
| MenuIconAssetDetails
|
|
37
|
-
| TrayMenubarIconAssetDetails
|
|
42
|
+
| TrayMenubarIconAssetDetails
|
|
43
|
+
| FileAssetDetails;
|
|
38
44
|
|
|
39
45
|
/**
|
|
40
46
|
* Custom ToDesktop Roles for Application & Tray Menus
|