@todesktop/shared 7.62.0 → 7.65.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 +4 -3
- package/package.json +1 -1
- package/src/desktopify2.ts +3 -2
package/lib/desktopify2.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { ISwitchableValue } from "./toDesktop";
|
|
3
3
|
import { MenuItemConstructorOptions, BrowserWindowConstructorOptions, WebPreferences } from "@todesktop/client-electron-types";
|
|
4
|
-
import { BaseApp
|
|
4
|
+
import { BaseApp } from "./base";
|
|
5
5
|
/**
|
|
6
6
|
* Custom ToDesktop Roles for Application & Tray Menus
|
|
7
7
|
*/
|
|
@@ -136,7 +136,8 @@ export interface DesktopifyAppWindow {
|
|
|
136
136
|
webPreferences?: Pick<WebPreferences, whitelistedWebPreferencesOptions>;
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
export interface DesktopifyApp2
|
|
139
|
+
export interface DesktopifyApp2 {
|
|
140
|
+
id: string;
|
|
140
141
|
/**
|
|
141
142
|
* The name of the app
|
|
142
143
|
*/
|
|
@@ -248,6 +249,6 @@ export interface DesktopifyApp2 extends Schemable {
|
|
|
248
249
|
menus: DesktopifyAppMenu[];
|
|
249
250
|
}
|
|
250
251
|
export interface IApp2 extends BaseApp {
|
|
251
|
-
desktopApp
|
|
252
|
+
desktopApp: DesktopifyApp2;
|
|
252
253
|
}
|
|
253
254
|
export {};
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -243,7 +243,8 @@ export interface DesktopifyAppWindow {
|
|
|
243
243
|
}
|
|
244
244
|
// TODO: Look into hasMinHeight, etc
|
|
245
245
|
|
|
246
|
-
export interface DesktopifyApp2
|
|
246
|
+
export interface DesktopifyApp2 {
|
|
247
|
+
id: string;
|
|
247
248
|
/**
|
|
248
249
|
* The name of the app
|
|
249
250
|
*/
|
|
@@ -356,5 +357,5 @@ export interface DesktopifyApp2 extends Schemable {
|
|
|
356
357
|
}
|
|
357
358
|
|
|
358
359
|
export interface IApp2 extends BaseApp {
|
|
359
|
-
desktopApp
|
|
360
|
+
desktopApp: DesktopifyApp2;
|
|
360
361
|
}
|