@todesktop/shared 7.64.0 → 7.67.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
  */
@@ -110,6 +110,10 @@ export interface DesktopifyAppWindow {
110
110
  * Inital visibility of window
111
111
  */
112
112
  visibility: "visible" | "hidden" | "show-when-contents-loaded";
113
+ /**
114
+ * MacOS option for whether the window should be visible on all workspaces
115
+ */
116
+ visibleOnAllWorkspaces: boolean;
113
117
  /**
114
118
  * Does the window have a minimum width. Default is `false`
115
119
  */
@@ -136,7 +140,7 @@ export interface DesktopifyAppWindow {
136
140
  webPreferences?: Pick<WebPreferences, whitelistedWebPreferencesOptions>;
137
141
  };
138
142
  }
139
- export interface DesktopifyApp2 extends Schemable {
143
+ export interface DesktopifyApp2 {
140
144
  id: string;
141
145
  /**
142
146
  * The name of the app
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.64.0",
3
+ "version": "7.67.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -212,6 +212,10 @@ export interface DesktopifyAppWindow {
212
212
  * Inital visibility of window
213
213
  */
214
214
  visibility: "visible" | "hidden" | "show-when-contents-loaded";
215
+ /**
216
+ * MacOS option for whether the window should be visible on all workspaces
217
+ */
218
+ visibleOnAllWorkspaces: boolean;
215
219
  /**
216
220
  * Does the window have a minimum width. Default is `false`
217
221
  */
@@ -243,7 +247,7 @@ export interface DesktopifyAppWindow {
243
247
  }
244
248
  // TODO: Look into hasMinHeight, etc
245
249
 
246
- export interface DesktopifyApp2 extends Schemable {
250
+ export interface DesktopifyApp2 {
247
251
  id: string;
248
252
  /**
249
253
  * The name of the app