@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.
@@ -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, Schemable } from "./base";
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 extends Schemable {
143
+ export interface DesktopifyApp2 {
144
+ id: string;
140
145
  /**
141
146
  * The name of the app
142
147
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.63.0",
3
+ "version": "7.66.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -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 extends Schemable {
250
+ export interface DesktopifyApp2 {
251
+ id: string;
247
252
  /**
248
253
  * The name of the app
249
254
  */