@interopio/desktop 6.11.0 → 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 +4 -0
- package/desktop.d.ts +34 -2
- package/dist/desktop.browser.js +209 -126
- 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 +209 -126
- package/dist/desktop.es.js.map +1 -1
- package/dist/desktop.umd.js +209 -126
- 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 +4 -5
package/changelog.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
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
|
|
1
5
|
6.11.0
|
|
2
6
|
- fix: increase the timeout for the interop methods to 90 seconds
|
|
3
7
|
- fix: appManager: fix the issue with the appManager.start - race condition
|
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.
|
|
@@ -2136,7 +2135,14 @@ export declare namespace IOConnectDesktop {
|
|
|
2136
2135
|
onSaveRequested(callback: (info?: SaveRequestContext) => SaveRequestResponse): UnsubscribeFunction;
|
|
2137
2136
|
|
|
2138
2137
|
/**
|
|
2139
|
-
*
|
|
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.
|
|
2140
2146
|
* @param callback Callback function for handling the event.
|
|
2141
2147
|
*/
|
|
2142
2148
|
onLayoutModified(callback: (info: LayoutModifiedEvent) => SaveRequestResponse): UnsubscribeFunction;
|
|
@@ -6250,6 +6256,13 @@ export declare namespace IOConnectDesktop {
|
|
|
6250
6256
|
*/
|
|
6251
6257
|
getRestrictions(windowId?: string): Promise<Restrictions>;
|
|
6252
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
|
+
|
|
6253
6266
|
/**
|
|
6254
6267
|
* Notifies when a Channel is changed.
|
|
6255
6268
|
* @param callback Callback function for handling the event.
|
|
@@ -6347,6 +6360,25 @@ export declare namespace IOConnectDesktop {
|
|
|
6347
6360
|
channels?: string[];
|
|
6348
6361
|
}
|
|
6349
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
|
+
|
|
6350
6382
|
/**
|
|
6351
6383
|
* Describes a Channel context.
|
|
6352
6384
|
*/
|