@interopio/browser-platform 3.1.3 → 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;
|
|
@@ -230,9 +240,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
230
240
|
}
|
|
231
241
|
|
|
232
242
|
export namespace Notifications {
|
|
233
|
-
export interface Config {
|
|
234
|
-
enable?: boolean;
|
|
235
|
-
enableToasts?: boolean;
|
|
243
|
+
export interface Config extends IOConnectBrowser.Notifications.Configuration {
|
|
236
244
|
clearNotificationOnClick?: boolean;
|
|
237
245
|
}
|
|
238
246
|
}
|
|
@@ -299,6 +307,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
299
307
|
themes?: Themes.Config;
|
|
300
308
|
user?: User.Config;
|
|
301
309
|
environment?: any;
|
|
310
|
+
applicationPreferences?: Prefs.Config;
|
|
302
311
|
browserFactory?: (config?: IOConnectBrowser.Config) => Promise<IOConnectBrowser.API>;
|
|
303
312
|
}
|
|
304
313
|
|