@interopio/desktop 6.10.2 → 6.12.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/changelog.md +10 -6
- package/desktop.d.ts +54 -6
- package/dist/desktop.browser.js +688 -437
- package/dist/desktop.browser.js.map +1 -1
- package/dist/desktop.browser.min.js +1 -1
- package/dist/desktop.browser.min.js.map +1 -1
- package/dist/desktop.es.js +688 -437
- package/dist/desktop.es.js.map +1 -1
- package/dist/desktop.umd.js +688 -437
- package/dist/desktop.umd.js.map +1 -1
- package/dist/desktop.umd.min.js +1 -1
- package/dist/desktop.umd.min.js.map +1 -1
- package/package.json +49 -51
package/changelog.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
6.
|
|
2
|
-
-
|
|
3
|
-
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
-
|
|
1
|
+
6.12.0
|
|
2
|
+
- feat: channels - works outside from the platform
|
|
3
|
+
- feat: channels - add clearChannelData method
|
|
4
|
+
- bugfix: windows - focus and active methods always resolve
|
|
5
|
+
6.11.0
|
|
6
|
+
- fix: increase the timeout for the interop methods to 90 seconds
|
|
7
|
+
- fix: appManager: fix the issue with the appManager.start - race condition
|
|
8
|
+
- chore: add validations for various methods
|
|
9
|
+
- chore: update core
|
|
10
|
+
- chore: update fdc3
|
|
7
11
|
6.10.0
|
|
8
12
|
- feat: channels - add support for multi channels
|
|
9
13
|
- fix: windows - navigate method accepts timeout as a parameter
|
package/desktop.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { ApplicationConfig } from "@interopio/schemas";
|
|
|
3
3
|
import { IOConnectCore } from "@interopio/core";
|
|
4
4
|
import { IOConnectWorkspaces } from "@interopio/workspaces-api";
|
|
5
5
|
import { UnsubscribeFunction } from "callback-registry";
|
|
6
|
-
import { Context as FDC3Context } from "@finos/fdc3";
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Factory function that creates a new io.Connect instance.
|
|
@@ -268,7 +267,6 @@ export declare namespace IOConnectDesktop {
|
|
|
268
267
|
}
|
|
269
268
|
|
|
270
269
|
/** Activities configuration object. */
|
|
271
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
272
270
|
export interface Config {
|
|
273
271
|
/**
|
|
274
272
|
* @ignore
|
|
@@ -1217,7 +1215,6 @@ export declare namespace IOConnectDesktop {
|
|
|
1217
1215
|
type Mode = "startOnly" | "skipIcons" | "full";
|
|
1218
1216
|
|
|
1219
1217
|
/** @ignore */
|
|
1220
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
1221
1218
|
interface Config {
|
|
1222
1219
|
activities: IOConnectDesktop.Activities.API;
|
|
1223
1220
|
agm: IOConnectDesktop.Interop.API;
|
|
@@ -2138,7 +2135,14 @@ export declare namespace IOConnectDesktop {
|
|
|
2138
2135
|
onSaveRequested(callback: (info?: SaveRequestContext) => SaveRequestResponse): UnsubscribeFunction;
|
|
2139
2136
|
|
|
2140
2137
|
/**
|
|
2141
|
-
*
|
|
2138
|
+
* This event will be raised the first time the currently loaded global layout has been modified.
|
|
2139
|
+
* Modified means that the layout has been changed:
|
|
2140
|
+
* - an app has been started or stopped
|
|
2141
|
+
* - an app has ben moved
|
|
2142
|
+
* - a workspace that is part of the layout has been modified
|
|
2143
|
+
* This event can be used to mark the layout as dirty.
|
|
2144
|
+
* This event will be raised only the first time the layout is modified. A second modification won't raise the event again.
|
|
2145
|
+
* Saving the layout will reset that and the event will be raised again the next time the layout is modified.
|
|
2142
2146
|
* @param callback Callback function for handling the event.
|
|
2143
2147
|
*/
|
|
2144
2148
|
onLayoutModified(callback: (info: LayoutModifiedEvent) => SaveRequestResponse): UnsubscribeFunction;
|
|
@@ -6252,6 +6256,13 @@ export declare namespace IOConnectDesktop {
|
|
|
6252
6256
|
*/
|
|
6253
6257
|
getRestrictions(windowId?: string): Promise<Restrictions>;
|
|
6254
6258
|
|
|
6259
|
+
/**
|
|
6260
|
+
* Clears the context data of the current Channel. The `data` property of the Channel context is set to an empty object. Pass a Channel name as an argument to clear the data of a specific Channel.
|
|
6261
|
+
* @param channel Name of the Channel whose context data to clear.
|
|
6262
|
+
* @since io.Connect Desktop 9.8
|
|
6263
|
+
*/
|
|
6264
|
+
clearChannelData(channel?: string): Promise<void>;
|
|
6265
|
+
|
|
6255
6266
|
/**
|
|
6256
6267
|
* Notifies when a Channel is changed.
|
|
6257
6268
|
* @param callback Callback function for handling the event.
|
|
@@ -6349,6 +6360,25 @@ export declare namespace IOConnectDesktop {
|
|
|
6349
6360
|
channels?: string[];
|
|
6350
6361
|
}
|
|
6351
6362
|
|
|
6363
|
+
export interface FDC3Context {
|
|
6364
|
+
/**
|
|
6365
|
+
* Context data objects may contain equivalent key-value pairs for identifying and looking up context types, with optional identifiers to support various applications,
|
|
6366
|
+
* though some types may require at least one identifier.
|
|
6367
|
+
*/
|
|
6368
|
+
id?: {
|
|
6369
|
+
[key: string]: any;
|
|
6370
|
+
};
|
|
6371
|
+
/**
|
|
6372
|
+
* Context data objects may include a "name" property for additional information or display, with some derived types making it mandatory based on the use case.
|
|
6373
|
+
*/
|
|
6374
|
+
name?: string;
|
|
6375
|
+
/**
|
|
6376
|
+
* Required field in the FDC3 context data schema, essential for routing context data and for intent discovery within the FDC3 ecosystem.
|
|
6377
|
+
*/
|
|
6378
|
+
type: string;
|
|
6379
|
+
[property: string]: any;
|
|
6380
|
+
}
|
|
6381
|
+
|
|
6352
6382
|
/**
|
|
6353
6383
|
* Describes a Channel context.
|
|
6354
6384
|
*/
|
|
@@ -6582,7 +6612,6 @@ export declare namespace IOConnectDesktop {
|
|
|
6582
6612
|
/**
|
|
6583
6613
|
* Global settings for the Intents API.
|
|
6584
6614
|
*/
|
|
6585
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
6586
6615
|
export interface Config {
|
|
6587
6616
|
/**
|
|
6588
6617
|
* If `true`, will enable using the Intents Resolver UI for handling raised Intents.
|
|
@@ -7592,8 +7621,27 @@ export declare namespace IOConnectDesktop {
|
|
|
7592
7621
|
* @since io.Connect Desktop 9.6
|
|
7593
7622
|
*/
|
|
7594
7623
|
closeNotificationOnClick?: boolean;
|
|
7595
|
-
}
|
|
7596
7624
|
|
|
7625
|
+
/**
|
|
7626
|
+
* Settings for snoozing notifications.
|
|
7627
|
+
*/
|
|
7628
|
+
snooze?: {
|
|
7629
|
+
/**
|
|
7630
|
+
* If `true`, will enable snoozing notifications.
|
|
7631
|
+
*/
|
|
7632
|
+
enabled?: boolean;
|
|
7633
|
+
/**
|
|
7634
|
+
* Interval in milliseconds for which the notifications will be snoozed.
|
|
7635
|
+
* @default 600000
|
|
7636
|
+
*/
|
|
7637
|
+
duration?: number;
|
|
7638
|
+
};
|
|
7639
|
+
|
|
7640
|
+
/**
|
|
7641
|
+
* If `true`, will enable showing a notification badge on the tray menu icon, in the "Notifications" section of the io.Connect launcher, and on the taskbar icon of the io.Connect launcher (or your shell app).
|
|
7642
|
+
*/
|
|
7643
|
+
showNotificationBadge?: boolean;
|
|
7644
|
+
}
|
|
7597
7645
|
|
|
7598
7646
|
/**
|
|
7599
7647
|
* Settings for placing the Notification Panel and the notification toasts.
|