@todesktop/shared 7.36.0 → 7.37.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.
@@ -137,4 +137,45 @@ export declare const isPlatformBuildRunning: (platformBuild: PlatformBuild) => b
137
137
  export declare const isCiBuildRunning: (build: Build) => boolean;
138
138
  export declare const isBuildRunning: (build: Build) => boolean;
139
139
  export declare const isBuildCancellable: (build: Build) => boolean;
140
+ export interface IDesktopifyApp {
141
+ name: string;
142
+ targetUrl: string;
143
+ appId: string;
144
+ height: number;
145
+ width: number;
146
+ fullScreen: boolean;
147
+ isResizable: boolean;
148
+ minHeight?: number;
149
+ minWidth?: number;
150
+ maxHeight?: number;
151
+ maxWidth?: number;
152
+ singleInstance: boolean;
153
+ disableContextMenu: boolean;
154
+ titleBarStyle?: "hidden" | "hiddenInset" | "customButtonsOnHover";
155
+ alwaysOnTop: boolean;
156
+ internalUrls?: string;
157
+ isNativeWindowOpenDisabled?: boolean;
158
+ isFindInPageEnabled?: boolean;
159
+ userAgent?: string;
160
+ disableDevTools: boolean;
161
+ appProtocol?: string;
162
+ insecure?: boolean;
163
+ preventBackgroundThrottling?: boolean;
164
+ googleOAuthIsExternal?: boolean;
165
+ shouldUseRealUserAgent?: boolean;
166
+ extraBrowserWindowOptions?: string;
167
+ menubarIcon?: string;
168
+ trayIcon?: string;
169
+ toggleVisibilityKeyboardShortcut?: string;
170
+ appType?: string;
171
+ runtimeEnvs?: {
172
+ [propertyName: string]: string;
173
+ };
174
+ shouldLaunchAtStartupByDefault?: boolean;
175
+ shouldOnlySendAbsolutelyNecessaryRequests?: boolean;
176
+ shouldReuseRendererProcess?: boolean;
177
+ shouldMakeSameDomainAnExternalLink?: boolean;
178
+ enablePushNotifications?: boolean;
179
+ themeSource?: string;
180
+ }
140
181
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.36.0",
3
+ "version": "7.37.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -249,3 +249,43 @@ export const isBuildRunning = (build: Build): boolean => {
249
249
 
250
250
  export const isBuildCancellable = (build: Build): boolean =>
251
251
  hasBuildKickedOff(build) && isBuildRunning(build);
252
+
253
+ export interface IDesktopifyApp {
254
+ name: string;
255
+ targetUrl: string;
256
+ appId: string;
257
+ height: number;
258
+ width: number;
259
+ fullScreen: boolean;
260
+ isResizable: boolean;
261
+ minHeight?: number;
262
+ minWidth?: number;
263
+ maxHeight?: number;
264
+ maxWidth?: number;
265
+ singleInstance: boolean;
266
+ disableContextMenu: boolean;
267
+ titleBarStyle?: "hidden" | "hiddenInset" | "customButtonsOnHover";
268
+ alwaysOnTop: boolean;
269
+ internalUrls?: string;
270
+ isNativeWindowOpenDisabled?: boolean;
271
+ isFindInPageEnabled?: boolean;
272
+ userAgent?: string;
273
+ disableDevTools: boolean;
274
+ appProtocol?: string;
275
+ insecure?: boolean;
276
+ preventBackgroundThrottling?: boolean;
277
+ googleOAuthIsExternal?: boolean;
278
+ shouldUseRealUserAgent?: boolean;
279
+ extraBrowserWindowOptions?: string;
280
+ menubarIcon?: string;
281
+ trayIcon?: string;
282
+ toggleVisibilityKeyboardShortcut?: string;
283
+ appType?: string;
284
+ runtimeEnvs?: { [propertyName: string]: string };
285
+ shouldLaunchAtStartupByDefault?: boolean;
286
+ shouldOnlySendAbsolutelyNecessaryRequests?: boolean;
287
+ shouldReuseRendererProcess?: boolean;
288
+ shouldMakeSameDomainAnExternalLink?: boolean;
289
+ enablePushNotifications?: boolean;
290
+ themeSource?: string;
291
+ }