@interopio/desktop 6.4.0 → 6.5.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Tick42
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/changelog.md CHANGED
@@ -1,3 +1,13 @@
1
+ 6.5.1
2
+ - chore: unified repo bump
3
+ 6.5.0
4
+ - feat: contexts - add new methods - setPath,setPaths
5
+ - fix: windows - activate/focus never resolves in certain cases
6
+ - fix: appManager - when an is started, allow the timeout to be overridden
7
+ 6.4.1
8
+ - fix: channels - listen to event for channel restrictions
9
+ - chore: windows: messageTitle should be optional in the windows
10
+ - chore: fix types for the resolver
1
11
  6.4.0
2
12
  - feat: channels - add support for channel restrictions
3
13
  - chore: update types
package/desktop.d.ts CHANGED
@@ -1624,6 +1624,11 @@ export declare namespace IOConnectDesktop {
1624
1624
  * Optional parameters that will be passed to the executable app that is to be started. The value will be used as is and no validation will be performed on it.
1625
1625
  */
1626
1626
  parameters?: string;
1627
+
1628
+ /**
1629
+ * Interval in seconds to wait for the app to initialize.
1630
+ */
1631
+ timeout?: number
1627
1632
  }
1628
1633
 
1629
1634
  /**
@@ -4415,7 +4420,7 @@ export declare namespace IOConnectDesktop {
4415
4420
  /**
4416
4421
  * Title for the message that will be displayed in the dialog.
4417
4422
  */
4418
- messageTitle: string;
4423
+ messageTitle?: string;
4419
4424
 
4420
4425
  /**
4421
4426
  * If `true`, the user will be able to move the dialog.
@@ -5107,6 +5112,11 @@ export declare namespace IOConnectDesktop {
5107
5112
  */
5108
5113
  jumpList: IOConnectDesktop.Windows.JumpList;
5109
5114
 
5115
+ /**
5116
+ * If `true`, the user is able to drop the current window in a Workspace.
5117
+ */
5118
+ allowWorkspaceDrop: boolean;
5119
+
5110
5120
  /**
5111
5121
  * Attaches a tab window to the current tab window.
5112
5122
  * @param tab The instance or the name of the tab window to attach.
@@ -5520,6 +5530,12 @@ export declare namespace IOConnectDesktop {
5520
5530
  */
5521
5531
  setSticky(isSticky: boolean, success?: (window: IOConnectWindow) => void, error?: (error: string) => void): Promise<IOConnectWindow>;
5522
5532
 
5533
+ /**
5534
+ * Specifies whether the user will able to drop the current window in a Workspace.
5535
+ * @param allow Flag indicating whether the user will be able to drop the window in a Workspace.
5536
+ */
5537
+ setAllowWorkspaceDrop(allow: boolean): Promise<IOConnectWindow>;
5538
+
5523
5539
  /**
5524
5540
  * Refreshes the current window.
5525
5541
  * @param ignoreCache Flag indicating whether to use the Chromium cache (if `false`), or the server cache (if `true`) when refreshing the web page. Defaults to `false`.
@@ -5949,6 +5965,20 @@ export declare namespace IOConnectDesktop {
5949
5965
  */
5950
5966
  publish(data: any, name?: string): Promise<void>;
5951
5967
 
5968
+ /**
5969
+ * Sets a specified path within the Channel context to the provided value. If the path doesn't exist, it will be created.
5970
+ * @param path Object containing the path to update and the value with which to update it. The path must be specified as a dot-separated string (e.g., `"prop1.prop2"`).
5971
+ * @param name Name of the Channel to update. If not specified, will update the current Channel.
5972
+ */
5973
+ setPath(path: IOConnectDesktop.Contexts.PathValue, name?: string): Promise<void>;
5974
+
5975
+ /**
5976
+ * Sets a list of specified paths within the Channel context to the provided values. If a path doesn't exist, it will be created.
5977
+ * @param paths List of objects each containing a path to update and the value with which to update it. The path must be specified as a dot-separated string (e.g., `"prop1.prop2"`).
5978
+ * @param name Name of the Channel to update. If not specified, will update the current Channel.
5979
+ */
5980
+ setPaths(paths: IOConnectDesktop.Contexts.PathValue[], name?: string): Promise<void>;
5981
+
5952
5982
  /**
5953
5983
  * Retrieves a list of all Channel names.
5954
5984
  */
@@ -6316,7 +6346,22 @@ export declare namespace IOConnectDesktop {
6316
6346
  /**
6317
6347
  * Name of the raised Intent.
6318
6348
  */
6319
- intent: string;
6349
+ intent?: string | IntentRequest;
6350
+
6351
+ /**
6352
+ * Version of the Intents Resolver API.
6353
+ */
6354
+ version: string;
6355
+
6356
+ /**
6357
+ * Criteria for filtering the available Intent handlers. Available only if the `filterHandlers()` method was used to open the Intents Resolver UI.
6358
+ */
6359
+ handlerFilter?: HandlerFilter;
6360
+
6361
+ /**
6362
+ * Retrieves the title for the search operation. Available only if the `filterHandlers()` method was used to open the Intents Resolver UI and the `title` property of the `HandlerFilter` object was set.
6363
+ */
6364
+ getTitle(): string | undefined;
6320
6365
 
6321
6366
  /**
6322
6367
  * Notifies when a handler for the current Intent is added. Replays already existing handlers.