@todesktop/shared 7.63.0 → 7.66.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 +7 -2
- package/package.json +1 -1
- package/src/desktopify2.ts +6 -1
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
|
*/
|
|
@@ -106,6 +106,10 @@ export interface DesktopifyAppWindow {
|
|
|
106
106
|
* Allows user to `Cmd+F` or `Edit>Find` to search for text on page
|
|
107
107
|
*/
|
|
108
108
|
isFindInPageEnabled?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Whether the window is in kiosk mode
|
|
111
|
+
*/
|
|
112
|
+
kiosk?: boolean;
|
|
109
113
|
/**
|
|
110
114
|
* Inital visibility of window
|
|
111
115
|
*/
|
|
@@ -136,7 +140,8 @@ export interface DesktopifyAppWindow {
|
|
|
136
140
|
webPreferences?: Pick<WebPreferences, whitelistedWebPreferencesOptions>;
|
|
137
141
|
};
|
|
138
142
|
}
|
|
139
|
-
export interface DesktopifyApp2
|
|
143
|
+
export interface DesktopifyApp2 {
|
|
144
|
+
id: string;
|
|
140
145
|
/**
|
|
141
146
|
* The name of the app
|
|
142
147
|
*/
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -208,6 +208,10 @@ export interface DesktopifyAppWindow {
|
|
|
208
208
|
* Allows user to `Cmd+F` or `Edit>Find` to search for text on page
|
|
209
209
|
*/
|
|
210
210
|
isFindInPageEnabled?: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* Whether the window is in kiosk mode
|
|
213
|
+
*/
|
|
214
|
+
kiosk?: boolean;
|
|
211
215
|
/**
|
|
212
216
|
* Inital visibility of window
|
|
213
217
|
*/
|
|
@@ -243,7 +247,8 @@ export interface DesktopifyAppWindow {
|
|
|
243
247
|
}
|
|
244
248
|
// TODO: Look into hasMinHeight, etc
|
|
245
249
|
|
|
246
|
-
export interface DesktopifyApp2
|
|
250
|
+
export interface DesktopifyApp2 {
|
|
251
|
+
id: string;
|
|
247
252
|
/**
|
|
248
253
|
* The name of the app
|
|
249
254
|
*/
|