@interopio/workspaces-api 4.6.0 → 5.0.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 -2
- package/dist/workspaces.es.js +122 -14
- package/dist/workspaces.es.js.map +1 -1
- package/dist/workspaces.umd.js +122 -14
- package/dist/workspaces.umd.js.map +1 -1
- package/dist/workspaces.umd.min.js +1 -1
- package/package.json +1 -1
- package/workspaces.d.ts +155 -25
package/workspaces.d.ts
CHANGED
|
@@ -20,7 +20,10 @@ export namespace IOConnectWorkspaces {
|
|
|
20
20
|
|
|
21
21
|
/** An object describing a workspace layout. */
|
|
22
22
|
export interface WorkspaceLayout {
|
|
23
|
-
/**
|
|
23
|
+
/** A unique string identifier of the layout */
|
|
24
|
+
id?: string;
|
|
25
|
+
|
|
26
|
+
/** name of the layout */
|
|
24
27
|
name: string;
|
|
25
28
|
|
|
26
29
|
/** The type of the workspace element. */
|
|
@@ -185,6 +188,10 @@ export namespace IOConnectWorkspaces {
|
|
|
185
188
|
allowSystemHibernation?: boolean;
|
|
186
189
|
}
|
|
187
190
|
|
|
191
|
+
export interface RestoreWorkspaceByIdConfig extends RestoreWorkspaceConfig {
|
|
192
|
+
layoutId: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
188
195
|
/**
|
|
189
196
|
* Settings for showing a previously hidden Workspaces Frame instance.
|
|
190
197
|
*/
|
|
@@ -480,6 +487,69 @@ export namespace IOConnectWorkspaces {
|
|
|
480
487
|
* @default true
|
|
481
488
|
*/
|
|
482
489
|
allowSystemHibernation?: boolean;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Restrictions for dropping apps in the Workspace and allowing apps to appear in the "Add Apps" popup menu of the Workspace.
|
|
493
|
+
* @since io.Connect Desktop 10.5
|
|
494
|
+
* @since io.Connect Browser 4.6
|
|
495
|
+
* @since @interopio/workspaces-api 5.0.0
|
|
496
|
+
*/
|
|
497
|
+
appRestrictions?: AppRestrictions | undefined;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Describes the default restrictions for dropping apps in a Workspace and allowing apps to appear in the "Add Apps" popup menu of a Workspace.
|
|
502
|
+
* @since io.Connect Desktop 10.5
|
|
503
|
+
* @since io.Connect Browser 4.6
|
|
504
|
+
* @since @interopio/workspaces-api 5.0.0
|
|
505
|
+
*/
|
|
506
|
+
export interface AppRestrictionRule {
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* If `true`, will allow an app to appear in the "Add Apps" popup menu of a Workspace.
|
|
510
|
+
*/
|
|
511
|
+
allowInApplicationPopup?: boolean;
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* If `true`, will allow an app to be dropped in a Workspace.
|
|
515
|
+
* *Available only in **io.Connect Desktop**.*
|
|
516
|
+
*/
|
|
517
|
+
allowDrop?: boolean;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Describes the restrictions for dropping a specific app in a Workspace and allowing it to appear in the "Add Apps" popup menu of a Workspace.
|
|
522
|
+
* @since io.Connect Desktop 10.5
|
|
523
|
+
* @since io.Connect Browser 4.6
|
|
524
|
+
* @since @interopio/workspaces-api 5.0.0
|
|
525
|
+
*/
|
|
526
|
+
export interface AppRestrictionEntry extends AppRestrictionRule {
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Name of the app, as defined within the io.Connect framework, for which to apply the specified restrictions.
|
|
530
|
+
*/
|
|
531
|
+
appName: string;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Describes the restrictions for dropping apps in a Workspace and allowing apps to appear in the "Add Apps" popup menu of a Workspace.
|
|
536
|
+
* @since io.Connect Desktop 10.5
|
|
537
|
+
* @since io.Connect Browser 4.6
|
|
538
|
+
* @since @interopio/workspaces-api 5.0.0
|
|
539
|
+
*/
|
|
540
|
+
export interface AppRestrictions {
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Array of objects describing the restrictions related to specific apps.
|
|
544
|
+
* The restrictions specified here will override the default restrictions specified via the `default` property.
|
|
545
|
+
*/
|
|
546
|
+
apps?: AppRestrictionEntry[];
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Default restrictions that will be applied to all apps.
|
|
550
|
+
* The restrictions specified here can be overridden per app via the `apps` array.
|
|
551
|
+
*/
|
|
552
|
+
default?: AppRestrictionRule;
|
|
483
553
|
}
|
|
484
554
|
|
|
485
555
|
/** A config object which provides fine grain control when locking a workspace */
|
|
@@ -775,6 +845,18 @@ export namespace IOConnectWorkspaces {
|
|
|
775
845
|
frame?: FrameTargetingOptions;
|
|
776
846
|
}
|
|
777
847
|
|
|
848
|
+
export interface RestoreWorkspaceByIdDefinition {
|
|
849
|
+
/**
|
|
850
|
+
* The id of a saved workspace layout, which will be restored.
|
|
851
|
+
*/
|
|
852
|
+
id: string;
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* An optional object containing various workspace restore options.
|
|
856
|
+
*/
|
|
857
|
+
restoreOptions?: RestoreWorkspaceConfig;
|
|
858
|
+
}
|
|
859
|
+
|
|
778
860
|
/** An object describing the possible options when restoring a workspace */
|
|
779
861
|
export interface RestoreWorkspaceDefinition {
|
|
780
862
|
/**
|
|
@@ -843,6 +925,8 @@ export namespace IOConnectWorkspaces {
|
|
|
843
925
|
|
|
844
926
|
/** An object describing a workspace layout without the underlying structure */
|
|
845
927
|
export interface WorkspaceLayoutSummary {
|
|
928
|
+
id?: string;
|
|
929
|
+
|
|
846
930
|
/** An unique string name and identifier of the layout */
|
|
847
931
|
name: string;
|
|
848
932
|
|
|
@@ -880,7 +964,7 @@ export namespace IOConnectWorkspaces {
|
|
|
880
964
|
/**
|
|
881
965
|
* Array of workspace definitions with which the frame should be opened
|
|
882
966
|
*/
|
|
883
|
-
workspaces: Array<IOConnectWorkspaces.WorkspaceDefinition | RestoreWorkspaceDefinition>;
|
|
967
|
+
workspaces: Array<IOConnectWorkspaces.WorkspaceDefinition | RestoreWorkspaceDefinition | RestoreWorkspaceByIdDefinition>;
|
|
884
968
|
}
|
|
885
969
|
|
|
886
970
|
export interface FrameInitializationContext {
|
|
@@ -980,11 +1064,11 @@ export namespace IOConnectWorkspaces {
|
|
|
980
1064
|
}
|
|
981
1065
|
|
|
982
1066
|
/**
|
|
983
|
-
*
|
|
1067
|
+
* Settings for placing a Workspaces App instance on top of the z-order.
|
|
984
1068
|
*/
|
|
985
1069
|
export interface FrameSetOnTopOptions {
|
|
986
1070
|
/**
|
|
987
|
-
* If `true`, the
|
|
1071
|
+
* If `true`, the Workspaces App instance will be set on top of the z-order.
|
|
988
1072
|
*/
|
|
989
1073
|
onTop: boolean;
|
|
990
1074
|
}
|
|
@@ -1287,9 +1371,11 @@ export namespace IOConnectWorkspaces {
|
|
|
1287
1371
|
showDialog<T>(options: FrameDialogOptions): Promise<T>;
|
|
1288
1372
|
|
|
1289
1373
|
/**
|
|
1290
|
-
* Sets
|
|
1374
|
+
* Sets a Workspaces App instance on top of the z-order.
|
|
1291
1375
|
* *Available only in **io.Connect Desktop**.*
|
|
1292
|
-
* @param options
|
|
1376
|
+
* @param options Settings for placing the Workspaces App instance on top of the z-order.
|
|
1377
|
+
* @since io.Connect Desktop 10.3
|
|
1378
|
+
* @since @interopio/workspaces-api 4.5
|
|
1293
1379
|
*/
|
|
1294
1380
|
setOnTop(options: FrameSetOnTopOptions): Promise<void>;
|
|
1295
1381
|
|
|
@@ -1397,6 +1483,9 @@ export namespace IOConnectWorkspaces {
|
|
|
1397
1483
|
/** The name of the originating layout of the current workspace if any */
|
|
1398
1484
|
layoutName: string | undefined;
|
|
1399
1485
|
|
|
1486
|
+
/** The id of the originating layout of the current workspace if any. Can be undefined if using with an older version of **io.Connect Desktop** or **io.Connect Browser**. */
|
|
1487
|
+
layoutId?: string;
|
|
1488
|
+
|
|
1400
1489
|
/** Indicates if the workspace is hibernated */
|
|
1401
1490
|
isHibernated?: boolean;
|
|
1402
1491
|
|
|
@@ -1480,6 +1569,14 @@ export namespace IOConnectWorkspaces {
|
|
|
1480
1569
|
* This setting doesn't apply to programmatic hibernation via the `hibernate()` method of a `Workspace` instance.
|
|
1481
1570
|
*/
|
|
1482
1571
|
allowSystemHibernation?: boolean;
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Restrictions for dropping apps in the Workspace and allowing apps to appear in the "Add Apps" popup menu of the Workspace.
|
|
1575
|
+
* @since io.Connect Desktop 10.5
|
|
1576
|
+
* @since io.Connect Browser 4.6
|
|
1577
|
+
* @since @interopio/workspaces-api 5.0.0
|
|
1578
|
+
*/
|
|
1579
|
+
appRestrictions?: AppRestrictions;
|
|
1483
1580
|
}
|
|
1484
1581
|
|
|
1485
1582
|
export type SaveLayoutConfig = Omit<Omit<IOConnectWorkspaces.WorkspaceLayoutSaveConfig, "name">, "workspaceId">;
|
|
@@ -1553,7 +1650,7 @@ export namespace IOConnectWorkspaces {
|
|
|
1553
1650
|
* Returns the first box in this workspace, which satisfies the provided predicate.
|
|
1554
1651
|
* @param predicate A filtering function (predicate) called for each box present in this workspace.
|
|
1555
1652
|
*/
|
|
1556
|
-
getBox(predicate: (box: WorkspaceBox) => boolean): WorkspaceBox;
|
|
1653
|
+
getBox(predicate: (box: WorkspaceBox) => boolean): WorkspaceBox | undefined;
|
|
1557
1654
|
|
|
1558
1655
|
/**
|
|
1559
1656
|
* Returns all boxes in this workspace, which satisfy the provided predicate. If no predicate was provided, will return all boxes.
|
|
@@ -1565,7 +1662,7 @@ export namespace IOConnectWorkspaces {
|
|
|
1565
1662
|
* Returns the first row in this workspace, which satisfies the provided predicate.
|
|
1566
1663
|
* @param predicate A filtering function (predicate) called for each row present in this workspace.
|
|
1567
1664
|
*/
|
|
1568
|
-
getRow(predicate: (row: Row) => boolean): Row;
|
|
1665
|
+
getRow(predicate: (row: Row) => boolean): Row | undefined;
|
|
1569
1666
|
|
|
1570
1667
|
/**
|
|
1571
1668
|
* Returns all rows in this workspace, which satisfy the provided predicate. If no predicate was provided, will return all rows.
|
|
@@ -1577,7 +1674,7 @@ export namespace IOConnectWorkspaces {
|
|
|
1577
1674
|
* Returns the first column in this workspace, which satisfies the provided predicate.
|
|
1578
1675
|
* @param predicate A filtering function (predicate) called for each column present in this workspace.
|
|
1579
1676
|
*/
|
|
1580
|
-
getColumn(predicate: (column: Column) => boolean): Column;
|
|
1677
|
+
getColumn(predicate: (column: Column) => boolean): Column | undefined;
|
|
1581
1678
|
|
|
1582
1679
|
/**
|
|
1583
1680
|
* Returns all columns in this workspace, which satisfy the provided predicate. If no predicate was provided, will return all column.
|
|
@@ -1589,7 +1686,7 @@ export namespace IOConnectWorkspaces {
|
|
|
1589
1686
|
* Returns the first group in this workspace, which satisfies the provided predicate.
|
|
1590
1687
|
* @param predicate A filtering function (predicate) called for each group present in this workspace.
|
|
1591
1688
|
*/
|
|
1592
|
-
getGroup(predicate: (group: Group) => boolean): Group;
|
|
1689
|
+
getGroup(predicate: (group: Group) => boolean): Group | undefined;
|
|
1593
1690
|
|
|
1594
1691
|
/**
|
|
1595
1692
|
* Returns all groups in this workspace, which satisfy the provided predicate. If no predicate was provided, will return all groups.
|
|
@@ -1601,7 +1698,7 @@ export namespace IOConnectWorkspaces {
|
|
|
1601
1698
|
* Returns the first window in this workspace, which satisfies the provided predicate.
|
|
1602
1699
|
* @param predicate A filtering function (predicate) called for each window present in this workspace.
|
|
1603
1700
|
*/
|
|
1604
|
-
getWindow(predicate: (window: WorkspaceWindow) => boolean): WorkspaceWindow;
|
|
1701
|
+
getWindow(predicate: (window: WorkspaceWindow) => boolean): WorkspaceWindow | undefined;
|
|
1605
1702
|
|
|
1606
1703
|
/**
|
|
1607
1704
|
* Returns all windows in this workspace, which satisfy the provided predicate. If no predicate was provided, will return all windows.
|
|
@@ -1714,19 +1811,21 @@ export namespace IOConnectWorkspaces {
|
|
|
1714
1811
|
*/
|
|
1715
1812
|
onResumed(callback: () => void): Promise<IOConnectWorkspaces.Unsubscribe>;
|
|
1716
1813
|
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1814
|
+
/**
|
|
1815
|
+
* Notifies when the Workspace tab has been reordered. Returns an unsubscribe function.
|
|
1816
|
+
* @param callback Callback function for handling the event.
|
|
1817
|
+
* @since io.Connect Desktop 10.3
|
|
1818
|
+
* @since io.Connect Browser 4.4
|
|
1819
|
+
* @since @interopio/workspaces-api 4.4
|
|
1820
|
+
*/
|
|
1723
1821
|
onTabReordered(callback: () => void): Promise<IOConnectWorkspaces.Unsubscribe>;
|
|
1724
1822
|
|
|
1725
1823
|
/**
|
|
1726
1824
|
* Notifies when the tab of a window participating in the Workspace has been reordered. Returns an unsubscribe function.
|
|
1727
1825
|
* @param callback Callback function for handling the event. Receives as an argument the `WorkspaceWindow` object describing the window whose tab has been reordered.
|
|
1728
|
-
*
|
|
1826
|
+
* @since io.Connect Desktop 10.3
|
|
1729
1827
|
* @since io.Connect Browser 4.4
|
|
1828
|
+
* @since @interopio/workspaces-api 4.4
|
|
1730
1829
|
*/
|
|
1731
1830
|
onWindowTabReordered(callback: (window: WorkspaceWindow) => void): Promise<IOConnectWorkspaces.Unsubscribe>;
|
|
1732
1831
|
|
|
@@ -2213,8 +2312,9 @@ export namespace IOConnectWorkspaces {
|
|
|
2213
2312
|
/**
|
|
2214
2313
|
* Notifies when the tab of the Workspace window has been reordered. Returns an unsubscribe function.
|
|
2215
2314
|
* @param callback Callback function for handling the event.
|
|
2216
|
-
*
|
|
2315
|
+
* @since io.Connect Desktop 10.3
|
|
2217
2316
|
* @since io.Connect Browser 4.4
|
|
2317
|
+
* @since @interopio/workspaces-api 4.4
|
|
2218
2318
|
*/
|
|
2219
2319
|
onTabReordered(callback: () => void): Promise<IOConnectWorkspaces.Unsubscribe>;
|
|
2220
2320
|
}
|
|
@@ -2286,6 +2386,7 @@ export namespace IOConnectWorkspaces {
|
|
|
2286
2386
|
|
|
2287
2387
|
/** A configuration object used to save a current workspace as a layout */
|
|
2288
2388
|
export interface WorkspaceLayoutSaveConfig {
|
|
2389
|
+
id?: string;
|
|
2289
2390
|
/**
|
|
2290
2391
|
* A string used as name (doubles as id) of the layout, which is later used when restoring it.
|
|
2291
2392
|
*/
|
|
@@ -2321,6 +2422,14 @@ export namespace IOConnectWorkspaces {
|
|
|
2321
2422
|
saveWindowContexts?: boolean;
|
|
2322
2423
|
}
|
|
2323
2424
|
|
|
2425
|
+
/** A configuration object used to overwrite an existing workspace layout, identified by its id */
|
|
2426
|
+
export interface WorkspaceLayoutSaveByIdConfig extends WorkspaceLayoutSaveConfig {
|
|
2427
|
+
/**
|
|
2428
|
+
* The id of the layout to overwrite.
|
|
2429
|
+
*/
|
|
2430
|
+
id?: string;
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2324
2433
|
export interface SetMaximizationBoundaryConfig {
|
|
2325
2434
|
/**
|
|
2326
2435
|
* Represents the new value of the maximizationBoundary property
|
|
@@ -2397,6 +2506,12 @@ export namespace IOConnectWorkspaces {
|
|
|
2397
2506
|
*/
|
|
2398
2507
|
delete(name: string): Promise<void>;
|
|
2399
2508
|
|
|
2509
|
+
/**
|
|
2510
|
+
* Deletes a previously saved layout by its id.
|
|
2511
|
+
* @param layoutId The id of the layout to delete.
|
|
2512
|
+
*/
|
|
2513
|
+
deleteById(layoutId: string): Promise<void>;
|
|
2514
|
+
|
|
2400
2515
|
/**
|
|
2401
2516
|
* Returns all layouts which satisfy the predicate. This collection of all saved layouts includes the layouts structure. If no predicate is provided, it returns all saved layouts.
|
|
2402
2517
|
* @param predicate A filtering function (predicate) called for each saved layout.
|
|
@@ -2415,6 +2530,13 @@ export namespace IOConnectWorkspaces {
|
|
|
2415
2530
|
*/
|
|
2416
2531
|
save(config: WorkspaceLayoutSaveConfig): Promise<WorkspaceLayout>;
|
|
2417
2532
|
|
|
2533
|
+
/**
|
|
2534
|
+
* Overwrites the layout with the specified id with the structure of an existing, open workspace.
|
|
2535
|
+
* Prefer this over `save()` when layout names aren't guaranteed to be unique (e.g. when layout sharing is enabled).
|
|
2536
|
+
* @param config An object describing the id of the layout to overwrite, the layout name and the id of the workspace, whose structure will be saved.
|
|
2537
|
+
*/
|
|
2538
|
+
saveById(config: WorkspaceLayoutSaveByIdConfig): Promise<WorkspaceLayout>;
|
|
2539
|
+
|
|
2418
2540
|
/**
|
|
2419
2541
|
* Notifies when a layouts has been saved. This event is fired when a new layout has been saved and an existing layout has been updated.
|
|
2420
2542
|
* @param callback Callback function to handle the event. Receives the saved layout as a parameter.
|
|
@@ -2453,7 +2575,7 @@ export namespace IOConnectWorkspaces {
|
|
|
2453
2575
|
* Returns the first frame instance which satisfies the provided predicate or undefined, if non do.
|
|
2454
2576
|
* @param predicate A filtering function (predicate) called for each open frame.
|
|
2455
2577
|
*/
|
|
2456
|
-
getFrame(predicate: (frame: Frame) => boolean): Promise<Frame>;
|
|
2578
|
+
getFrame(predicate: (frame: Frame) => boolean): Promise<Frame | undefined>;
|
|
2457
2579
|
|
|
2458
2580
|
/**
|
|
2459
2581
|
* Returns all frames which satisfy the provided predicate. If no predicate is provided, will return all frames.
|
|
@@ -2477,7 +2599,7 @@ export namespace IOConnectWorkspaces {
|
|
|
2477
2599
|
* Returns the first workspace instance which satisfies the provided predicate or undefined, if non do.
|
|
2478
2600
|
* @param predicate A filtering function (predicate) called for each open workspace.
|
|
2479
2601
|
*/
|
|
2480
|
-
getWorkspace(predicate: (workspace: Workspace) => boolean): Promise<Workspace>;
|
|
2602
|
+
getWorkspace(predicate: (workspace: Workspace) => boolean): Promise<Workspace | undefined>;
|
|
2481
2603
|
|
|
2482
2604
|
/**
|
|
2483
2605
|
* Returns an instance of the workspace with the passed id. The performance is better than getWorkspace when querying for a workspace by id.
|
|
@@ -2496,14 +2618,14 @@ export namespace IOConnectWorkspaces {
|
|
|
2496
2618
|
* This function will search recursively in all open workspaces.
|
|
2497
2619
|
* @param predicate A filtering function (predicate) called for each window in each open workspace.
|
|
2498
2620
|
*/
|
|
2499
|
-
getWindow(predicate: (workspaceWindow: WorkspaceWindow) => boolean): Promise<WorkspaceWindow>;
|
|
2621
|
+
getWindow(predicate: (workspaceWindow: WorkspaceWindow) => boolean): Promise<WorkspaceWindow | undefined>;
|
|
2500
2622
|
|
|
2501
2623
|
/**
|
|
2502
2624
|
* Returns the instance of the first box, which satisfies the provided predicate.
|
|
2503
2625
|
* This function will search recursively in all open workspaces.
|
|
2504
2626
|
* @param predicate A filtering function (predicate) called for each box in each open workspace.
|
|
2505
2627
|
*/
|
|
2506
|
-
getBox(predicate: (box: WorkspaceBox) => boolean): Promise<WorkspaceBox>;
|
|
2628
|
+
getBox(predicate: (box: WorkspaceBox) => boolean): Promise<WorkspaceBox | undefined>;
|
|
2507
2629
|
|
|
2508
2630
|
/**
|
|
2509
2631
|
* Opens a new workspace by restoring a previously saved workspace layout.
|
|
@@ -2512,6 +2634,12 @@ export namespace IOConnectWorkspaces {
|
|
|
2512
2634
|
*/
|
|
2513
2635
|
restoreWorkspace(name: string, options?: RestoreWorkspaceConfig): Promise<Workspace>;
|
|
2514
2636
|
|
|
2637
|
+
/**
|
|
2638
|
+
* Opens a new workspace by restoring a previously saved workspace layout by its id.
|
|
2639
|
+
* @param options An object containing the id of the layout to restore and various workspace restore options.
|
|
2640
|
+
*/
|
|
2641
|
+
restoreWorkspaceById(options: RestoreWorkspaceByIdConfig): Promise<Workspace>;
|
|
2642
|
+
|
|
2515
2643
|
/**
|
|
2516
2644
|
* Opens a new workspace based on the provided definition.
|
|
2517
2645
|
* @param definition An object describing the shape and options of the workspace.
|
|
@@ -2581,8 +2709,9 @@ export namespace IOConnectWorkspaces {
|
|
|
2581
2709
|
/**
|
|
2582
2710
|
* Notifies when the tab of any Workspace in any Workspaces App has been reordered. Returns an unsubscribe function.
|
|
2583
2711
|
* @param callback Callback function for handling the event. Receives as an argument the `Workspace` object describing the Workspace whose tab has been reordered.
|
|
2584
|
-
*
|
|
2712
|
+
* @since io.Connect Desktop 10.3
|
|
2585
2713
|
* @since io.Connect Browser 4.4
|
|
2714
|
+
* @since @interopio/workspaces-api 4.4
|
|
2586
2715
|
*/
|
|
2587
2716
|
onWorkspaceTabReordered(callback: (workspace: IOConnectWorkspaces.Workspace) => void): Promise<IOConnectWorkspaces.Unsubscribe>;
|
|
2588
2717
|
/**
|
|
@@ -2628,8 +2757,9 @@ export namespace IOConnectWorkspaces {
|
|
|
2628
2757
|
/**
|
|
2629
2758
|
* Notifies when the tab of a Workspace window participating in any Workspace in any Workspaces App has been reordered. Returns an unsubscribe function.
|
|
2630
2759
|
* @param callback Callback function for handling the event. Receives as an argument the `WorkspaceWindow` object describing the Workspace window whose tab has been reordered.
|
|
2631
|
-
*
|
|
2760
|
+
* @since io.Connect Desktop 10.3
|
|
2632
2761
|
* @since io.Connect Browser 4.4
|
|
2762
|
+
* @since @interopio/workspaces-api 4.4
|
|
2633
2763
|
*/
|
|
2634
2764
|
onWindowTabReordered(callback: (workspaceWindow: IOConnectWorkspaces.WorkspaceWindow) => void): Promise<IOConnectWorkspaces.Unsubscribe>;
|
|
2635
2765
|
|