@todesktop/shared 7.68.0 → 7.71.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.
@@ -39,6 +39,7 @@ export declare type DesktopifyAppTrayAction = DesktopifyAppTrayToggleMenuAction
39
39
  export interface DesktopifyAppTray {
40
40
  id: string;
41
41
  icon: string;
42
+ bundledIcon: string;
42
43
  rightClick: DesktopifyAppTrayAction;
43
44
  leftClick: DesktopifyAppTrayAction;
44
45
  }
@@ -239,6 +240,11 @@ export interface DesktopifyApp2 {
239
240
  * @unused
240
241
  */
241
242
  pollForAppUpdatesEveryXMinutes?: number;
243
+ /**
244
+ * An array of plugin modules. Can work with semver specificity
245
+ * e.g. ["@todesktop/plugin-foo", "@todesktop/plugin-baz@1.0.0"]
246
+ */
247
+ plugins?: string[];
242
248
  /**
243
249
  * The app's windows
244
250
  */
@@ -233,6 +233,7 @@ export interface IApp extends BaseApp {
233
233
  appPkgName?: string;
234
234
  appProtocol?: ISwitchableValue<string>;
235
235
  appType?: string;
236
+ appxConfig?: Partial<IAppBuilderLib["config"]["appx"]>;
236
237
  cssToInject?: string;
237
238
  customMacCodeSign?: CustomMacCodeSign;
238
239
  customDomain?: string;
@@ -287,6 +288,7 @@ export interface IApp extends BaseApp {
287
288
  shouldReuseRendererProcess?: boolean;
288
289
  snapStore?: {
289
290
  login?: string;
291
+ description?: string;
290
292
  };
291
293
  themeSource?: "system" | "light" | "dark";
292
294
  themeSourceMac?: "system" | "light" | "dark";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.68.0",
3
+ "version": "7.71.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -64,6 +64,7 @@ export type DesktopifyAppTrayAction =
64
64
  export interface DesktopifyAppTray {
65
65
  id: string;
66
66
  icon: string;
67
+ bundledIcon: string;
67
68
  rightClick: DesktopifyAppTrayAction;
68
69
  leftClick: DesktopifyAppTrayAction;
69
70
  }
@@ -215,7 +216,7 @@ export interface DesktopifyAppWindow {
215
216
  /**
216
217
  * MacOS option for whether the window should be visible on all workspaces
217
218
  */
218
- visibleOnAllWorkspaces: boolean;
219
+ visibleOnAllWorkspaces: boolean;
219
220
  /**
220
221
  * Does the window have a minimum width. Default is `false`
221
222
  */
@@ -346,6 +347,11 @@ export interface DesktopifyApp2 {
346
347
  * @unused
347
348
  */
348
349
  pollForAppUpdatesEveryXMinutes?: number;
350
+ /**
351
+ * An array of plugin modules. Can work with semver specificity
352
+ * e.g. ["@todesktop/plugin-foo", "@todesktop/plugin-baz@1.0.0"]
353
+ */
354
+ plugins?: string[];
349
355
  /**
350
356
  * The app's windows
351
357
  */
package/src/toDesktop.ts CHANGED
@@ -266,6 +266,7 @@ export interface IApp extends BaseApp {
266
266
  appPkgName?: string;
267
267
  appProtocol?: ISwitchableValue<string>;
268
268
  appType?: string;
269
+ appxConfig?: Partial<IAppBuilderLib["config"]["appx"]>;
269
270
  cssToInject?: string;
270
271
  customMacCodeSign?: CustomMacCodeSign;
271
272
  customDomain?: string;
@@ -316,7 +317,7 @@ export interface IApp extends BaseApp {
316
317
  shouldLaunchAtStartupByDefault?: boolean;
317
318
  shouldOnlySendAbsolutelyNecessaryRequests?: boolean;
318
319
  shouldReuseRendererProcess?: boolean;
319
- snapStore?: { login?: string };
320
+ snapStore?: { login?: string; description?: string };
320
321
  themeSource?: "system" | "light" | "dark";
321
322
  themeSourceMac?: "system" | "light" | "dark";
322
323
  toggleVisibilityKeyboardShortcut?: ISwitchableValue<string>;