@interopio/workspaces-api 3.5.7 → 4.0.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/workspaces.d.ts CHANGED
@@ -7,15 +7,14 @@ export default WorkspacesFactory;
7
7
  /**
8
8
  * @docname Workspaces
9
9
  * @intro
10
- * The Workspaces API offers advanced window management functionalities. Using Workspaces, users are able to arrange multiple applications
11
- * within the same visual window (called *Frame*). This arrangement can be performed programmatically or by dragging and dropping applications within the Frame.
12
- * Users can also save Workspace Layouts and restore them within the same Frame or even in different Frames.
10
+ * The Workspaces API offers advanced window management functionalities. Using Workspaces, users are able to arrange multiple apps
11
+ * within the same visual window (called Frame or a Workspaces App). This arrangement can be performed programmatically or by dragging and dropping
12
+ * apps within the Frame. Users can also save Workspace Layouts and restore them within the same Frame or even in different Frames.
13
13
  *
14
- * The io.Connect Workspaces enable the users to compose a custom arrangement of applications by treating each application
15
- * as an individual building block that can be added, removed, moved or resized within a Workspace.
14
+ * The app windows in a Workspace are treated as individual building blocks that can be added, removed, moved, or resized within the Workspace.
16
15
  * The Frame can hold multiple Workspaces (as tabs) and can also be maximized, minimized or resized.
17
- *
18
- * The Workspaces API is accessible through the `io.workspaces` object.
16
+ *
17
+ * The Workspaces API is accessible via the [`io.workspaces`](#API) object.
19
18
  */
20
19
  export namespace IOConnectWorkspaces {
21
20
 
@@ -50,7 +49,10 @@ export namespace IOConnectWorkspaces {
50
49
  /** The type of the workspace element. */
51
50
  type: "Workspace";
52
51
 
53
- /** The name of the workspaces app with which the layout is associated (available only in **io.Connect Desktop**). */
52
+ /**
53
+ * The name of the workspaces app with which the layout is associated.
54
+ * *Available only in **io.Connect Desktop**.*
55
+ */
54
56
  application?: string;
55
57
 
56
58
  state: WorkspaceLayoutComponentState;
@@ -93,7 +95,7 @@ export namespace IOConnectWorkspaces {
93
95
  }
94
96
 
95
97
  export interface WindowLayoutItemConfig {
96
- /** The name of the application as defined in **io.Connect Desktop**. */
98
+ /** The name of the application as specified in its definition. */
97
99
  appName: string;
98
100
  /** The id of the window */
99
101
  windowId?: string;
@@ -127,7 +129,10 @@ export namespace IOConnectWorkspaces {
127
129
  /** A string id of an existing frame. If provided, this workspace will be opened in that specific frame */
128
130
  frameId?: string;
129
131
 
130
- /** The application name of the workspace app that should be used for the new frame (available only for **io.Connect Desktop**) */
132
+ /**
133
+ * The application name of the workspace app that should be used for the new frame.
134
+ * *Available only in **io.Connect Desktop**.*
135
+ */
131
136
  applicationName?: string;
132
137
 
133
138
  /** A setting used to declare that the workspace must be in a new frame and also provide options for that new frame */
@@ -162,7 +167,9 @@ export namespace IOConnectWorkspaces {
162
167
  positionIndex?: number;
163
168
 
164
169
  /**
165
- * Controls the users ability to activate the Workspaces frame when the workspace is restored (available only for **io.Connect Desktop**). Defaults to the configuration passed in the workspaces.json or to false.
170
+ * Controls the users ability to activate the Workspaces frame when the workspace is restored.
171
+ * *Available only in **io.Connect Desktop**.*
172
+ * Defaults to the configuration passed in the `workspaces.json` file or to `false`.
166
173
  */
167
174
  activateFrame?: boolean;
168
175
 
@@ -220,6 +227,7 @@ export namespace IOConnectWorkspaces {
220
227
 
221
228
  /**
222
229
  * Options for closing a Frame.
230
+ * *Available only for **io.Connect Desktop**.*
223
231
  * @since io.Connect Desktop 9.9
224
232
  */
225
233
  export interface FrameCloseOptions {
@@ -240,7 +248,7 @@ export namespace IOConnectWorkspaces {
240
248
  }
241
249
 
242
250
  /**
243
- * The loading strategy used to open new workspaces.
251
+ * The loading strategy used to open new workspaces.
244
252
  * "direct" will cause all windows to start loading at the same time as soon as the workspace loads
245
253
  * "delayed" will cause all visible/active/selected windows to start loading at the same time as soon as the workspace loads. The rest will be loaded gradually at a specific interval.
246
254
  * "lazy" will cause all visible/active/selected windows to start loading at the same time as soon as the workspace loads. The rest will start loading when the user selects them and not before that.
@@ -276,7 +284,7 @@ export namespace IOConnectWorkspaces {
276
284
  /** Position of the workspace in relation to it's siblings in the frame. */
277
285
  position?: number;
278
286
 
279
- /**
287
+ /**
280
288
  * Provides the opportunity to open a workspace with no tab header
281
289
  * @default false
282
290
  */
@@ -300,79 +308,80 @@ export namespace IOConnectWorkspaces {
300
308
  */
301
309
  allowDropLeft?: boolean;
302
310
 
303
- /**
311
+ /**
304
312
  * Controls the users ability to drop windows in the top-most zone of the workspace
305
313
  * @default true
306
314
  */
307
315
  allowDropTop?: boolean;
308
316
 
309
- /**
317
+ /**
310
318
  * Controls the users ability to drop windows in the right-most zone of the workspace
311
319
  * @default true
312
320
  */
313
321
  allowDropRight?: boolean;
314
322
 
315
- /**
323
+ /**
316
324
  * Controls the users ability to drop windows in the bottom-most zone of the workspace
317
325
  * @default true
318
326
  */
319
327
  allowDropBottom?: boolean;
320
328
 
321
- /**
329
+ /**
322
330
  * Controls the users ability to extract windows from the workspace
323
331
  * @default true
324
332
  */
325
333
  allowExtract?: boolean;
326
334
 
327
- /**
335
+ /**
328
336
  * Control the users ability to reorder windows in the workspace
329
337
  * @default true
330
338
  */
331
339
  allowWindowReorder?: boolean;
332
340
 
333
- /**
341
+ /**
334
342
  * Controls the visibility of the save workspace button located in the workspace tab
335
343
  * @default true
336
344
  */
337
345
  showSaveButton?: boolean;
338
346
 
339
- /**
347
+ /**
340
348
  * Controls whether a workspace tab can be reordered in the frame
341
349
  * @default true
342
350
  */
343
351
  allowWorkspaceTabReorder?: boolean;
344
352
 
345
- /**
346
- * Controls whether a workspace tab can be extracted from the frame (available only for **io.Connect Desktop**).
353
+ /**
354
+ * Controls whether a workspace tab can be extracted from the frame.
355
+ * *Available only in **io.Connect Desktop**.*
347
356
  * @default true
348
357
  */
349
358
  allowWorkspaceTabExtract?: boolean;
350
359
 
351
- /**
360
+ /**
352
361
  * Controls the visibility of the close button located in the workspaces tab
353
362
  * @default true
354
363
  */
355
364
  showCloseButton?: boolean;
356
365
 
357
- /**
366
+ /**
358
367
  * Prevents the splitters for being draggable, so the windows cannot be resized
359
368
  * @default true
360
369
  */
361
370
  allowSplitters?: boolean;
362
371
 
363
- /**
372
+ /**
364
373
  * Controls the visibility of all close button located in the windows' tab elements
365
374
  * @default true
366
375
  */
367
376
  showWindowCloseButtons?: boolean;
368
377
 
369
- /**
378
+ /**
370
379
  * Controls the visibility of all eject buttons located in the groups' headers
371
380
  * @default true
372
381
  */
373
382
  showEjectButtons?: boolean;
374
383
 
375
- /**
384
+ /**
376
385
  * Controls the visibility of all the add window buttons (the ones with the plus icon) located in the group headers
377
386
  * @default true
378
387
  */
@@ -401,7 +410,7 @@ export namespace IOConnectWorkspaces {
401
410
  positionIndex?: number;
402
411
 
403
412
  /**
404
- * Mode for dragging the windows that are part of the Workspace. If set to `"autoEject"` (available only for **io.Connect Desktop**), when the user drags a Workspace window, it will be ejected from the Workspace during the dragging operation and the user will be able to drop it back inside the Workspace, or out of the Workspace.
413
+ * Mode for dragging the windows that are part of the Workspace. If set to `"autoEject"` (available only in **io.Connect Desktop**), when the user drags a Workspace window, it will be ejected from the Workspace during the dragging operation and the user will be able to drop it back inside the Workspace, or out of the Workspace.
405
414
  * If set to `"keepInside"`, the window won't be ejected from the Workspace when being dragged and the user will be able to drop it only inside the Workspace.
406
415
  */
407
416
  windowDragMode?: "keepInside" | "autoEject";
@@ -449,7 +458,10 @@ export namespace IOConnectWorkspaces {
449
458
  /** Controls the whether the workspace tab can be reordered */
450
459
  allowWorkspaceTabReorder?: boolean;
451
460
 
452
- /** Controls the whether the workspace tab can be extracted (available only for **io.Connect Desktop**). */
461
+ /**
462
+ * Controls the whether the workspace tab can be extracted.
463
+ * *Available only in **io.Connect Desktop**.*
464
+ */
453
465
  allowWorkspaceTabExtract?: boolean;
454
466
 
455
467
  /** Controls the visibility of all the add window buttons (the ones with the plus icon) located in the group headers */
@@ -649,13 +661,20 @@ export namespace IOConnectWorkspaces {
649
661
  }
650
662
 
651
663
  export interface FrameTargetingOptions {
652
- /** If true the frame will be activated when the operation is executed (available only for **io.Connect Desktop**). Defaults to the configuration passed in the workspaces.json or to false. */
664
+ /**
665
+ * If `true`, the frame will be activated when the operation is executed.
666
+ * *Available only in **io.Connect Desktop**.*
667
+ * Defaults to the configuration passed in the `workspaces.json` file or to `false`.
668
+ */
653
669
  activate?: boolean;
654
670
 
655
671
  /** A string id of an existing frame. If provided, this workspace will be opened in that specific frame */
656
672
  reuseFrameId?: string;
657
673
 
658
- /** The application name of the workspace app that should be used for the new frame (available only for **io.Connect Desktop**). */
674
+ /**
675
+ * The application name of the workspace app that should be used for the new frame.
676
+ * *Available only in **io.Connect Desktop**.*
677
+ */
659
678
  applicationName?: string;
660
679
 
661
680
  /** A setting used to declare that the workspace must be in a new frame and also provide options for that new frame */
@@ -755,15 +774,21 @@ export namespace IOConnectWorkspaces {
755
774
  /** An unique string name and identifier of the layout */
756
775
  name: string;
757
776
 
758
- /** The name of the workspaces app with which the layout is associated (available only in **io.Connect Desktop**). */
777
+ /**
778
+ * The name of the workspaces app with which the layout is associated.
779
+ * *Available only in **io.Connect Desktop**.*
780
+ */
759
781
  applicationName?: string;
760
782
  }
761
783
 
762
784
  export interface EmptyFrameDefinition {
763
- /** The application name of the workspace app that should be used for the new frame (available only for **io.Connect Desktop**). */
785
+ /**
786
+ * The application name of the workspace app that should be used for the new frame.
787
+ * *Available only in **io.Connect Desktop**.*
788
+ */
764
789
  applicationName?: string;
765
790
 
766
- /**
791
+ /**
767
792
  * Optional frame related settings
768
793
  */
769
794
  frameConfig?: IOConnectWorkspaces.NewFrameConfig;
@@ -773,7 +798,7 @@ export namespace IOConnectWorkspaces {
773
798
  */
774
799
  context?: object;
775
800
 
776
- /**
801
+ /**
777
802
  * Optional the id of the layout component which is being restored
778
803
  */
779
804
  layoutComponentId?: string;
@@ -802,59 +827,70 @@ export namespace IOConnectWorkspaces {
802
827
  isInitialized: boolean;
803
828
  }
804
829
 
805
- /** An object describing a frame */
830
+ /**
831
+ * Describes a Frame (a Workspaces App instance).
832
+ */
806
833
  export interface Frame extends FrameSummary {
807
834
  /**
808
- * Registers keyboard shortcut to the current frame (available only in **io.Connect Desktop**).
835
+ * Registers a keyboard shortcut for the current Frame.
836
+ * @param shortcut Keyboard combination to register as a shortcut for the Frame (e.g., "ctrl+w").
837
+ * @param callback Callback that will be invoked when the Frame for which the shortcut is registered
838
+ * is on focus and the user presses the registered keyboard combination.
839
+ * *Available only in **io.Connect Desktop**.*
809
840
  */
810
841
  registerShortcut(shortcut: string, callback: () => void): Promise<Unsubscribe>;
811
842
 
812
843
  /**
813
- * Retrieves the current bounds of the frame.
844
+ * Retrieves the current bounds of the Frame.
814
845
  */
815
846
  getBounds(): Promise<FrameBounds>;
816
847
 
817
848
  /**
818
- * Changes the size of this frame.
819
- * @param config An object defining the resize parameters.
849
+ * Resizes the Frame.
850
+ * @param config Options for resizing the Frame.
820
851
  */
821
852
  resize(config: ResizeConfig): Promise<void>;
822
853
 
823
854
  /**
824
- * Changes the position of this frame.
825
- * @param config An object defining the position parameters.
855
+ * Moves the Frame.
856
+ * @param config Options for moving the Frame.
826
857
  */
827
858
  move(config: MoveConfig): Promise<void>;
828
859
 
829
860
  /**
830
- * Focuses this frame.
861
+ * Focuses the Frame.
831
862
  */
832
863
  focus(): Promise<void>;
833
864
 
834
865
  /**
835
- * Returns the current state of the frame.
836
- * Not available in **io.Connect Browser**.
866
+ * Returns the current state of the Frame.
867
+ * *Available only in **io.Connect Desktop**.*
837
868
  */
838
869
  state(): Promise<FrameState>;
839
870
 
840
871
  /**
841
- * Minimizes this frame.
842
- * Not available in **io.Connect Browser**.
872
+ * Minimizes the Frame.
873
+ * *Available only in **io.Connect Desktop**.*
843
874
  */
844
875
  minimize(): Promise<void>;
845
876
 
846
877
  /**
847
- * Maximizes this frame.
848
- * Not available in **io.Connect Browser**.
878
+ * Maximizes the Frame.
879
+ * *Available only in **io.Connect Desktop**.*
849
880
  */
850
881
  maximize(): Promise<void>;
851
882
 
852
883
  /**
853
- * Restores this frame.
854
- * Not available in **io.Connect Browser**.
884
+ * Restores the Frame.
885
+ * *Available only in **io.Connect Desktop**.*
855
886
  */
856
887
  restore(): Promise<void>;
857
888
 
889
+ /**
890
+ * Closes the Frame.
891
+ * The result from using this method in **io.Connect Browser** projects may vary depending on whether the browser will allow the closing operation.
892
+ * @param options Options for closing the Frame.
893
+ */
858
894
  close(options?: FrameCloseOptions): Promise<void>;
859
895
 
860
896
  /**
@@ -864,15 +900,17 @@ export namespace IOConnectWorkspaces {
864
900
  init(config: FrameInitializationConfig): Promise<void>;
865
901
 
866
902
  /**
867
- * Returns the taskbar icon of the frame
868
- * Not available in **io.Connect Browser**.
903
+ * Retrieves the taskbar icon of the `Frame` instance.
904
+ * *Available only for **io.Connect Desktop**.*
905
+ * @since io.Connect Desktop 9.9
869
906
  */
870
907
  getIcon(): Promise<Icon>;
871
908
 
872
909
  /**
873
- * Updates the taskbar icon of the frame
874
- * Not available in **io.Connect Browser**.
875
- * @param icon An object describing the new icon.
910
+ * Sets the taskbar icon of the `Frame` instance.
911
+ * *Available only for **io.Connect Desktop**.*
912
+ * @param icon New icon to be displayed in the taskbar for the `Frame` instance. The icon must be encoded as a Base64 string.
913
+ * @since io.Connect Desktop 9.9
876
914
  */
877
915
  setIcon(icon: Icon): Promise<void>;
878
916
 
@@ -941,7 +979,8 @@ export namespace IOConnectWorkspaces {
941
979
  onNormal(callback: () => void): Promise<Unsubscribe>;
942
980
 
943
981
  /**
944
- * Triggered when either a window in the frame is focused or the frame itself (supported only in **io.Connect Desktop**).
982
+ * Triggered when either a window in the frame is focused or the frame itself.
983
+ * *Available only in **io.Connect Desktop**.*
945
984
  * @param callback Callback function to handle the event. It receives a data oject which indicates how the focus has changed.
946
985
  */
947
986
  onFocusChanged(callback: (data: FrameFocusChangedData) => void): Promise<IOConnectWorkspaces.Unsubscribe>;
@@ -1044,7 +1083,10 @@ export namespace IOConnectWorkspaces {
1044
1083
  /** Indicates if the save button for this workspace is visible to the user */
1045
1084
  showSaveButton?: boolean;
1046
1085
 
1047
- /** Controls whether the workspace tab can be extracted (available only for **io.Connect Desktop**) */
1086
+ /**
1087
+ * Controls whether the workspace tab can be extracted.
1088
+ * *Available only in **io.Connect Desktop**.*
1089
+ */
1048
1090
  allowWorkspaceTabExtract?: boolean;
1049
1091
 
1050
1092
  /** Controls whether the workspace tab can be reordered*/
@@ -1079,7 +1121,7 @@ export namespace IOConnectWorkspaces {
1079
1121
 
1080
1122
  /**
1081
1123
  * Indicates the loading strategy for the Workspace.
1082
- * *Available only for **io.Connect Desktop**.*
1124
+ * *Available only in **io.Connect Desktop**.*
1083
1125
  */
1084
1126
  loadingStrategy?: LoadingStrategy;
1085
1127
 
@@ -1144,7 +1186,7 @@ export namespace IOConnectWorkspaces {
1144
1186
  onContextUpdated(callback: (data: any) => void): Promise<Unsubscribe>;
1145
1187
 
1146
1188
  /**
1147
- * Updates this workspace reference to reflect the current state of the workspace.
1189
+ * Updates this workspace reference to reflect the current state of the workspace.
1148
1190
  */
1149
1191
  refreshReference(): Promise<void>;
1150
1192
 
@@ -1277,7 +1319,8 @@ export namespace IOConnectWorkspaces {
1277
1319
  lock(config?: WorkspaceLockConfig | ((config: WorkspaceLockConfig) => WorkspaceLockConfig)): Promise<void>;
1278
1320
 
1279
1321
  /**
1280
- * Sets the mode for dragging the windows that are part of the Workspace. *Available only for **io.Connect Desktop**.*
1322
+ * Sets the mode for dragging the windows that are part of the Workspace.
1323
+ * *Available only in **io.Connect Desktop**.*
1281
1324
  * @param mode Mode for dragging the Workspace windows. If set to `"autoEject"`, when the user drags a Workspace window, it will be ejected from the Workspace during the dragging operation and the user will be able to drop it back inside the Workspace, or out of the Workspace.
1282
1325
  * If set to `"keepInside"`, the window won't be ejected from the Workspace when being dragged and the user will be able to drop it only inside the Workspace.
1283
1326
  */
@@ -1288,7 +1331,8 @@ export namespace IOConnectWorkspaces {
1288
1331
  * This will override the current loading strategy for the Workspace that may have been specified via configuration or programmatically
1289
1332
  * when creating or restoring the Workspace. The loading strategy specified via this method will be preserved in the Workspace Layout
1290
1333
  * only if the Workspace is saved afterwards and the `"persistCurrentStrategy"` flag is set to `true` in the Workspaces App definition.
1291
- * *Available only for **io.Connect Desktop**.*
1334
+ * *Available only in **io.Connect Desktop**.*
1335
+ * @since io.Connect Desktop 9.8
1292
1336
  * @param strategy Loading strategy for the Workspace.
1293
1337
  */
1294
1338
  setLoadingStrategy(strategy: LoadingStrategy): Promise<void>;
@@ -1337,7 +1381,7 @@ export namespace IOConnectWorkspaces {
1337
1381
  * @param callback Callback function to handle the event. Receives the loaded window as a parameter.
1338
1382
  */
1339
1383
  onWindowLoaded(callback: (window: WorkspaceWindow) => void): Promise<Unsubscribe>;
1340
- /**
1384
+ /**
1341
1385
  * Notifies when a window was maximized in this workspace and returns an unsubscribe function.
1342
1386
  * A maximized window means that the window has been maximized either by an API call or from the maximize button by the user.
1343
1387
  * @param callback Callback function to handle the event. Receives the maximized window as a parameter.
@@ -1363,7 +1407,7 @@ export namespace IOConnectWorkspaces {
1363
1407
  isPinned?: boolean;
1364
1408
 
1365
1409
  /**
1366
- * Mode for dragging the windows that are part of the Workspace. If set to `"autoEject"` (available only for **io.Connect Desktop**), when the user drags a Workspace window, it will be ejected from the Workspace during the dragging operation and the user will be able to drop it back inside the Workspace, or out of the Workspace.
1410
+ * Mode for dragging the windows that are part of the Workspace. If set to `"autoEject"` (available only in **io.Connect Desktop**), when the user drags a Workspace window, it will be ejected from the Workspace during the dragging operation and the user will be able to drop it back inside the Workspace, or out of the Workspace.
1367
1411
  * If set to `"keepInside"`, the window won't be ejected from the Workspace when being dragged and the user will be able to drop it only inside the Workspace.
1368
1412
  */
1369
1413
  windowDragMode?: "keepInside" | "autoEject";
@@ -1391,17 +1435,19 @@ export namespace IOConnectWorkspaces {
1391
1435
 
1392
1436
  /**
1393
1437
  * Changes the workspace icon to the specified one
1394
- * @param icon
1438
+ * @param icon
1395
1439
  */
1396
1440
  setIcon(icon: string): Promise<void>;
1397
1441
 
1398
1442
  /**
1399
- * Shows the loading animation of the workspace (supported only in **io.Connect Desktop**).
1443
+ * Shows the loading animation of the workspace.
1444
+ * *Available only in **io.Connect Desktop**.*
1400
1445
  */
1401
1446
  showLoadingAnimation(): Promise<void>;
1402
1447
 
1403
1448
  /**
1404
- * Hides the loading animation of the workspace (supported only in **io.Connect Desktop**).
1449
+ * Hides the loading animation of the workspace.
1450
+ * *Available only in **io.Connect Desktop**.*
1405
1451
  */
1406
1452
  hideLoadingAnimation(): Promise<void>;
1407
1453
  }
@@ -1864,7 +1910,7 @@ export namespace IOConnectWorkspaces {
1864
1910
  /** A configuration object used to save a current workspace as a layout */
1865
1911
  export interface WorkspaceLayoutSaveConfig {
1866
1912
  /**
1867
- * A string used as name (doubles as id) of the layout, which is later used when restoring it.
1913
+ * A string used as name (doubles as id) of the layout, which is later used when restoring it.
1868
1914
  */
1869
1915
  name: string;
1870
1916
 
@@ -1930,8 +1976,13 @@ export namespace IOConnectWorkspaces {
1930
1976
  frameBounds?: FrameBounds;
1931
1977
  }
1932
1978
 
1933
- /** An object describing the complete state of a toolbar icon at the time when the icon was created */
1979
+ /**
1980
+ * Describes the taskbar icon of a `Frame` instance.
1981
+ */
1934
1982
  export interface Icon {
1983
+ /**
1984
+ * Icon encoded as a Base64 string.
1985
+ */
1935
1986
  base64Image: string;
1936
1987
  }
1937
1988
 
@@ -2041,7 +2092,7 @@ export namespace IOConnectWorkspaces {
2041
2092
 
2042
2093
  /**
2043
2094
  * Returns an instance of the workspace with the passed id. The performance is better than getWorkspace when querying for a workspace by id.
2044
- * @param workspaceId The id of the desired workspace
2095
+ * @param workspaceId The id of the desired workspace
2045
2096
  */
2046
2097
  getWorkspaceById(workspaceId: string): Promise<Workspace>;
2047
2098
 
@@ -2080,13 +2131,13 @@ export namespace IOConnectWorkspaces {
2080
2131
  createWorkspace(definition: WorkspaceDefinition, saveConfig?: WorkspaceCreateConfig): Promise<Workspace>;
2081
2132
 
2082
2133
  /**
2083
- *
2134
+ *
2084
2135
  * @param definition Optional definition of the frame
2085
2136
  */
2086
2137
  createEmptyFrame(definition?: EmptyFrameDefinition): Promise<IOConnectWorkspaces.Frame>;
2087
2138
 
2088
2139
  /**
2089
- * Wait for a frame with the specified id to be loaded.
2140
+ * Wait for a frame with the specified id to be loaded.
2090
2141
  * It's needed when using the workspaces-api from a custom workspaces frame and you have the frameId,
2091
2142
  * but the frame object is not populated in the API yet (e.g. the frame is in the pool)
2092
2143
  * @param id the id of the frame that should be waited