@interopio/browser-platform 3.1.2 → 3.2.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/browser.platform.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { IOConnectDesktop } from "@interopio/desktop";
|
|
|
5
5
|
|
|
6
6
|
export namespace IOConnectBrowserPlatform {
|
|
7
7
|
|
|
8
|
-
export type LibDomains = "system" | "windows" | "appManager" | "layouts" | "workspaces" | "intents" | "channels" | "notifications" | "extension" | "search" | "themes" | "manager";
|
|
8
|
+
export type LibDomains = "system" | "windows" | "appManager" | "layouts" | "workspaces" | "intents" | "channels" | "notifications" | "extension" | "search" | "themes" | "manager" | "prefs";
|
|
9
9
|
|
|
10
10
|
export interface RemoteStore {
|
|
11
11
|
/**
|
|
@@ -71,6 +71,16 @@ export namespace IOConnectBrowserPlatform {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
export namespace Prefs {
|
|
75
|
+
export interface Store {
|
|
76
|
+
type?: "local" | "manager"
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface Config {
|
|
80
|
+
store?: Store;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
74
84
|
export namespace ServiceWorker {
|
|
75
85
|
export interface Config {
|
|
76
86
|
url?: string;
|
|
@@ -164,6 +174,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
164
174
|
alwaysPlatform?: boolean;
|
|
165
175
|
preferred?: PreferredConnectionSettings;
|
|
166
176
|
enableManualSwitching?: boolean;
|
|
177
|
+
allowedClientFallbackOrigin?: string;
|
|
167
178
|
}
|
|
168
179
|
}
|
|
169
180
|
|
|
@@ -229,9 +240,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
229
240
|
}
|
|
230
241
|
|
|
231
242
|
export namespace Notifications {
|
|
232
|
-
export interface Config {
|
|
233
|
-
enable?: boolean;
|
|
234
|
-
enableToasts?: boolean;
|
|
243
|
+
export interface Config extends IOConnectBrowser.Notifications.Configuration {
|
|
235
244
|
clearNotificationOnClick?: boolean;
|
|
236
245
|
}
|
|
237
246
|
}
|
|
@@ -298,6 +307,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
298
307
|
themes?: Themes.Config;
|
|
299
308
|
user?: User.Config;
|
|
300
309
|
environment?: any;
|
|
310
|
+
applicationPreferences?: Prefs.Config;
|
|
301
311
|
browserFactory?: (config?: IOConnectBrowser.Config) => Promise<IOConnectBrowser.API>;
|
|
302
312
|
}
|
|
303
313
|
|