@openfin/core 38.82.64 → 38.82.65
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/out/mock-alpha.d.ts +659 -213
- package/out/mock-beta.d.ts +659 -213
- package/out/mock-public.d.ts +659 -213
- package/out/mock.d.ts +659 -213
- package/out/mock.js +95 -25
- package/package.json +1 -1
package/out/mock.d.ts
CHANGED
@@ -61,7 +61,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
61
61
|
*/
|
62
62
|
declare type AddViewOptions = CreateViewTarget & {
|
63
63
|
options: ViewState;
|
64
|
-
targetView?:
|
64
|
+
targetView?: Identity_4;
|
65
65
|
};
|
66
66
|
|
67
67
|
/**
|
@@ -939,15 +939,15 @@ declare namespace ApplicationEvents {
|
|
939
939
|
*/
|
940
940
|
declare type ApplicationEventType = EventType_3;
|
941
941
|
|
942
|
-
declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
|
943
|
-
|
944
942
|
/**
|
945
943
|
* @interface
|
946
944
|
*/
|
947
|
-
declare type
|
945
|
+
declare type ApplicationIdentity = {
|
948
946
|
uuid: string;
|
949
947
|
};
|
950
948
|
|
949
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
|
950
|
+
|
951
951
|
/**
|
952
952
|
* @interface
|
953
953
|
*/
|
@@ -1320,12 +1320,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
1320
1320
|
*/
|
1321
1321
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
1322
1322
|
|
1323
|
-
declare type ApplicationState = OpenFin_2.ApplicationState;
|
1324
|
-
|
1325
1323
|
/**
|
1326
1324
|
* @interface
|
1327
1325
|
*/
|
1328
|
-
declare type
|
1326
|
+
declare type ApplicationState = {
|
1329
1327
|
/**
|
1330
1328
|
* True when the application is a Platform controller
|
1331
1329
|
*/
|
@@ -1357,12 +1355,10 @@ declare type ApplicationType = {
|
|
1357
1355
|
*/
|
1358
1356
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
1359
1357
|
|
1360
|
-
declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
|
1361
|
-
|
1362
1358
|
/**
|
1363
1359
|
* @interface
|
1364
1360
|
*/
|
1365
|
-
declare type
|
1361
|
+
declare type ApplicationWindowInfo = {
|
1366
1362
|
childWindows: Array<WindowDetail>;
|
1367
1363
|
mainWindow: WindowDetail;
|
1368
1364
|
/**
|
@@ -1641,7 +1637,7 @@ declare class Base {
|
|
1641
1637
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
1642
1638
|
* on the context in which the devtools panel was opened.
|
1643
1639
|
*/
|
1644
|
-
get me(): Identity;
|
1640
|
+
get me(): OpenFin_2.Identity;
|
1645
1641
|
/**
|
1646
1642
|
* @internal
|
1647
1643
|
* @deprecated
|
@@ -1873,11 +1869,12 @@ declare type BeforeUnloadUserDecision = {
|
|
1873
1869
|
/**
|
1874
1870
|
* Array of views that will close.
|
1875
1871
|
*/
|
1876
|
-
viewsToClose:
|
1872
|
+
viewsToClose: Identity_4[];
|
1877
1873
|
};
|
1878
1874
|
|
1879
1875
|
/**
|
1880
1876
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
1877
|
+
*
|
1881
1878
|
* @interface
|
1882
1879
|
*/
|
1883
1880
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
@@ -1918,31 +1915,33 @@ declare type Bounds = {
|
|
1918
1915
|
* Generated after changes in a window's size and/or position.
|
1919
1916
|
* @interface
|
1920
1917
|
*/
|
1921
|
-
declare type BoundsChangedEvent =
|
1918
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
1922
1919
|
type: 'bounds-changed';
|
1923
1920
|
};
|
1924
1921
|
|
1925
|
-
|
1926
|
-
* A general bounds change event without event type.
|
1927
|
-
* @interface
|
1928
|
-
*/
|
1929
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
1922
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
1930
1923
|
changeType: 0 | 1 | 2;
|
1931
|
-
deferred: boolean;
|
1932
|
-
height: number;
|
1933
|
-
left: number;
|
1934
|
-
top: number;
|
1935
|
-
width: number;
|
1936
1924
|
};
|
1937
1925
|
|
1938
1926
|
/**
|
1939
1927
|
* Generated during changes to a window's size and/or position.
|
1940
1928
|
* @interface
|
1941
1929
|
*/
|
1942
|
-
declare type BoundsChangingEvent =
|
1930
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
1943
1931
|
type: 'bounds-changing';
|
1944
1932
|
};
|
1945
1933
|
|
1934
|
+
/**
|
1935
|
+
* An event that fires when a window's bounds are successfully changed.
|
1936
|
+
*
|
1937
|
+
* @interface
|
1938
|
+
*/
|
1939
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
1940
|
+
reason: 'self' | 'animation';
|
1941
|
+
};
|
1942
|
+
|
1943
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
|
1944
|
+
|
1946
1945
|
/**
|
1947
1946
|
* A rule prescribing content creation in the browser.
|
1948
1947
|
*
|
@@ -3048,7 +3047,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
3048
3047
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
3049
3048
|
* @interface
|
3050
3049
|
*/
|
3051
|
-
declare type ClientIdentity =
|
3050
|
+
declare type ClientIdentity = Identity_4 & {
|
3052
3051
|
/**
|
3053
3052
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
3054
3053
|
*/
|
@@ -3281,7 +3280,7 @@ declare type CloseViewOptions = {
|
|
3281
3280
|
/**
|
3282
3281
|
*View to be closed.
|
3283
3282
|
*/
|
3284
|
-
viewIdentity:
|
3283
|
+
viewIdentity: Identity_4;
|
3285
3284
|
};
|
3286
3285
|
|
3287
3286
|
/**
|
@@ -3291,7 +3290,7 @@ declare type CloseViewPayload = {
|
|
3291
3290
|
/**
|
3292
3291
|
*View to be closed.
|
3293
3292
|
*/
|
3294
|
-
view:
|
3293
|
+
view: Identity_4;
|
3295
3294
|
/**
|
3296
3295
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
3297
3296
|
* visible layout.
|
@@ -3309,7 +3308,7 @@ declare interface CloseWindowPayload {
|
|
3309
3308
|
*
|
3310
3309
|
* Identity of the Window
|
3311
3310
|
*/
|
3312
|
-
windowId:
|
3311
|
+
windowId: Identity_4;
|
3313
3312
|
options: {
|
3314
3313
|
/**
|
3315
3314
|
* @defaultValue false
|
@@ -3430,7 +3429,7 @@ declare type ConstViewOptions = {
|
|
3430
3429
|
/**
|
3431
3430
|
* The identity of the window this view should be attached to.
|
3432
3431
|
*/
|
3433
|
-
target:
|
3432
|
+
target: Identity_4;
|
3434
3433
|
/**
|
3435
3434
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3436
3435
|
*/
|
@@ -3655,7 +3654,7 @@ declare type ConstWindowOptions = {
|
|
3655
3654
|
/**
|
3656
3655
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
3657
3656
|
*/
|
3658
|
-
modalParentIdentity:
|
3657
|
+
modalParentIdentity: Identity_4;
|
3659
3658
|
/**
|
3660
3659
|
* The name of the window.
|
3661
3660
|
*/
|
@@ -3673,7 +3672,9 @@ declare type ConstWindowOptions = {
|
|
3673
3672
|
*/
|
3674
3673
|
preloadScripts: PreloadScript[];
|
3675
3674
|
/**
|
3676
|
-
* String tag that attempts to group like-tagged renderers together.
|
3675
|
+
* String tag that attempts to group like-tagged renderers together.
|
3676
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
3677
|
+
* @remarks Will only be used if pages are on the same origin.
|
3677
3678
|
*/
|
3678
3679
|
processAffinity: string;
|
3679
3680
|
/**
|
@@ -4139,13 +4140,13 @@ declare type CreateViewPayload = {
|
|
4139
4140
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4140
4141
|
*/
|
4141
4142
|
target?: CreateViewTarget;
|
4142
|
-
targetView?:
|
4143
|
+
targetView?: Identity_4;
|
4143
4144
|
};
|
4144
4145
|
|
4145
4146
|
/**
|
4146
4147
|
* @interface
|
4147
4148
|
*/
|
4148
|
-
declare type CreateViewTarget = (
|
4149
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4149
4150
|
/**
|
4150
4151
|
* If specified, view creation will not attach to a window and caller must
|
4151
4152
|
* insert the view into the layout explicitly
|
@@ -4591,7 +4592,7 @@ declare type EmitterAccessor = string[];
|
|
4591
4592
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4592
4593
|
#private;
|
4593
4594
|
private topic;
|
4594
|
-
protected identity: ApplicationIdentity;
|
4595
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4595
4596
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4596
4597
|
eventNames: () => (string | symbol)[];
|
4597
4598
|
/**
|
@@ -4671,20 +4672,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4671
4672
|
|
4672
4673
|
/**
|
4673
4674
|
* Generated at the end of a user-driven change to a window's size or position.
|
4675
|
+
*
|
4674
4676
|
* @interface
|
4675
4677
|
*/
|
4676
4678
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4677
4679
|
type: 'end-user-bounds-changing';
|
4678
4680
|
};
|
4679
4681
|
|
4680
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4681
|
-
|
4682
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4683
|
-
|
4684
4682
|
/**
|
4685
4683
|
* @interface
|
4686
4684
|
*/
|
4687
|
-
declare type
|
4685
|
+
declare type EntityInfo = {
|
4688
4686
|
uuid: string;
|
4689
4687
|
name: string;
|
4690
4688
|
entityType: EntityType_4;
|
@@ -5054,7 +5052,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
5054
5052
|
* @interface
|
5055
5053
|
*/
|
5056
5054
|
declare type ExternalApplicationInfo = {
|
5057
|
-
parent:
|
5055
|
+
parent: Identity_4;
|
5058
5056
|
};
|
5059
5057
|
|
5060
5058
|
/**
|
@@ -5250,6 +5248,10 @@ declare type FileDownloadEvent = {
|
|
5250
5248
|
* The number of bytes of the item that have already been downloaded.
|
5251
5249
|
*/
|
5252
5250
|
downloadedBytes: number;
|
5251
|
+
/**
|
5252
|
+
* Unique identifier for the downloaded file.
|
5253
|
+
*/
|
5254
|
+
fileUuid: string;
|
5253
5255
|
} & NamedEvent;
|
5254
5256
|
|
5255
5257
|
/**
|
@@ -5506,7 +5508,7 @@ declare type FrameInfo = {
|
|
5506
5508
|
uuid: string;
|
5507
5509
|
url: string;
|
5508
5510
|
entityType: EntityType_4;
|
5509
|
-
parent:
|
5511
|
+
parent: Identity_4;
|
5510
5512
|
};
|
5511
5513
|
|
5512
5514
|
/**
|
@@ -5581,12 +5583,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5581
5583
|
entityType: string;
|
5582
5584
|
};
|
5583
5585
|
|
5584
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5585
|
-
|
5586
5586
|
/**
|
5587
5587
|
* @interface
|
5588
5588
|
*/
|
5589
|
-
declare type
|
5589
|
+
declare type GetLogRequestType = {
|
5590
5590
|
/**
|
5591
5591
|
* The name of the running application
|
5592
5592
|
*/
|
@@ -5606,7 +5606,7 @@ declare type GetWindowContextPayload = {
|
|
5606
5606
|
/**
|
5607
5607
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5608
5608
|
*/
|
5609
|
-
target:
|
5609
|
+
target: Identity_4;
|
5610
5610
|
};
|
5611
5611
|
|
5612
5612
|
/**
|
@@ -5875,8 +5875,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5875
5875
|
|
5876
5876
|
declare type Identity_3 = OpenFin_2.Identity;
|
5877
5877
|
|
5878
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5879
|
-
|
5880
5878
|
/**
|
5881
5879
|
* Unique identifier for a window, view or iframe.
|
5882
5880
|
*
|
@@ -5885,7 +5883,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5885
5883
|
*
|
5886
5884
|
* @interface
|
5887
5885
|
*/
|
5888
|
-
declare type
|
5886
|
+
declare type Identity_4 = {
|
5889
5887
|
/**
|
5890
5888
|
* Universally unique identifier of the application that owns the component.
|
5891
5889
|
*/
|
@@ -6047,12 +6045,10 @@ declare type InstallationInfo = {
|
|
6047
6045
|
cachedManifest: any;
|
6048
6046
|
};
|
6049
6047
|
|
6050
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
6051
|
-
|
6052
6048
|
/**
|
6053
6049
|
* @interface
|
6054
6050
|
*/
|
6055
|
-
declare type
|
6051
|
+
declare type InstalledApps = {
|
6056
6052
|
[key: string]: InstallationInfo;
|
6057
6053
|
};
|
6058
6054
|
|
@@ -6838,7 +6834,7 @@ declare class InteropBroker extends Base {
|
|
6838
6834
|
* @param _id the identity tryinc to connect
|
6839
6835
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6840
6836
|
*/
|
6841
|
-
isConnectionAuthorized(_id:
|
6837
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6842
6838
|
/**
|
6843
6839
|
* Called before every action to check if this entity should be allowed to take the action.
|
6844
6840
|
* Return false to prevent the action
|
@@ -7770,7 +7766,7 @@ declare class Layout extends Base {
|
|
7770
7766
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7771
7767
|
* ```
|
7772
7768
|
*/
|
7773
|
-
replaceView: (viewToReplace:
|
7769
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7774
7770
|
/**
|
7775
7771
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7776
7772
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7825,7 +7821,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7825
7821
|
/**
|
7826
7822
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7827
7823
|
*/
|
7828
|
-
declare type LayoutDOMEvent =
|
7824
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7829
7825
|
type: string;
|
7830
7826
|
topic: 'openfin-DOM-event';
|
7831
7827
|
tabSelector: string;
|
@@ -7886,7 +7882,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7886
7882
|
/**
|
7887
7883
|
* @interface
|
7888
7884
|
*/
|
7889
|
-
declare type LayoutIdentity =
|
7885
|
+
declare type LayoutIdentity = Identity_4 & {
|
7890
7886
|
/**
|
7891
7887
|
* The name of the layout in a given window.
|
7892
7888
|
*/
|
@@ -7995,7 +7991,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7995
7991
|
* @param identity
|
7996
7992
|
* @returns LayoutIdentity | undefined
|
7997
7993
|
*/
|
7998
|
-
resolveLayoutIdentity(identity?:
|
7994
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7999
7995
|
/**
|
8000
7996
|
* @experimental
|
8001
7997
|
*
|
@@ -8012,7 +8008,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
8012
8008
|
/**
|
8013
8009
|
* @experimental
|
8014
8010
|
*/
|
8015
|
-
getLayoutIdentityForView(viewIdentity:
|
8011
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
8016
8012
|
/**
|
8017
8013
|
* @experimental
|
8018
8014
|
*/
|
@@ -8486,12 +8482,10 @@ declare type Listener<T extends {
|
|
8486
8482
|
type: string;
|
8487
8483
|
}> = (payload: T) => void;
|
8488
8484
|
|
8489
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8490
|
-
|
8491
8485
|
/**
|
8492
8486
|
* @interface
|
8493
8487
|
*/
|
8494
|
-
declare type
|
8488
|
+
declare type LogInfo = {
|
8495
8489
|
/**
|
8496
8490
|
* The filename of the log
|
8497
8491
|
*/
|
@@ -8506,8 +8500,6 @@ declare type LogInfo_2 = {
|
|
8506
8500
|
date: string;
|
8507
8501
|
};
|
8508
8502
|
|
8509
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8510
|
-
|
8511
8503
|
/**
|
8512
8504
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8513
8505
|
*
|
@@ -8517,7 +8509,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8517
8509
|
* `error` and above<br>
|
8518
8510
|
* `fatal`: fatal only, indicates a crash is imminent
|
8519
8511
|
*/
|
8520
|
-
declare type
|
8512
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8521
8513
|
|
8522
8514
|
/**
|
8523
8515
|
* @interface
|
@@ -9349,13 +9341,13 @@ declare namespace OpenFin_2 {
|
|
9349
9341
|
LayoutPosition,
|
9350
9342
|
WebContent,
|
9351
9343
|
PlatformProvider,
|
9352
|
-
|
9353
|
-
|
9344
|
+
ApplicationIdentity,
|
9345
|
+
Identity_4 as Identity,
|
9354
9346
|
ClientIdentity,
|
9355
9347
|
ClientInfo,
|
9356
9348
|
ClientIdentityMultiRuntime,
|
9357
9349
|
ClientConnectionPayload,
|
9358
|
-
|
9350
|
+
EntityInfo,
|
9359
9351
|
EntityType_4 as EntityType,
|
9360
9352
|
Bounds,
|
9361
9353
|
WindowBounds,
|
@@ -9489,7 +9481,7 @@ declare namespace OpenFin_2 {
|
|
9489
9481
|
GpuInfo,
|
9490
9482
|
OSInfo,
|
9491
9483
|
HostSpecs,
|
9492
|
-
|
9484
|
+
PrinterInfo,
|
9493
9485
|
Dpi,
|
9494
9486
|
Margins,
|
9495
9487
|
PrintOptions,
|
@@ -9597,24 +9589,24 @@ declare namespace OpenFin_2 {
|
|
9597
9589
|
BeforeUnloadUserDecision,
|
9598
9590
|
ViewStatuses,
|
9599
9591
|
CloseWindowPayload,
|
9600
|
-
|
9601
|
-
|
9592
|
+
ProxyInfo,
|
9593
|
+
ProxyConfig,
|
9602
9594
|
ProxySystemInfo,
|
9603
9595
|
ChannelAction_2 as ChannelAction,
|
9604
9596
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9605
9597
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9606
|
-
|
9607
|
-
|
9598
|
+
ApplicationState,
|
9599
|
+
InstalledApps,
|
9608
9600
|
InstallationInfo,
|
9609
|
-
|
9610
|
-
|
9601
|
+
GetLogRequestType,
|
9602
|
+
LogInfo,
|
9611
9603
|
SendApplicationLogResponse,
|
9612
|
-
|
9604
|
+
LogLevel,
|
9613
9605
|
PermissionState_2 as PermissionState,
|
9614
|
-
|
9606
|
+
RegistryInfo,
|
9615
9607
|
ApplicationType,
|
9616
9608
|
WindowInfo,
|
9617
|
-
|
9609
|
+
ApplicationWindowInfo,
|
9618
9610
|
WindowDetail,
|
9619
9611
|
LayoutPresetType,
|
9620
9612
|
LayoutIdentity,
|
@@ -11603,12 +11595,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11603
11595
|
presetType: LayoutPresetType;
|
11604
11596
|
};
|
11605
11597
|
|
11606
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11607
|
-
|
11608
11598
|
/**
|
11609
11599
|
* @interface
|
11610
11600
|
*/
|
11611
|
-
declare type
|
11601
|
+
declare type PrinterInfo = {
|
11612
11602
|
/**
|
11613
11603
|
* Printer Name
|
11614
11604
|
*/
|
@@ -11870,20 +11860,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11870
11860
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11871
11861
|
|
11872
11862
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11863
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11864
|
+
'destroy-application': ApplicationIdentityCall<{
|
11865
|
+
force: boolean;
|
11866
|
+
}, void>;
|
11867
|
+
'close-application': ApplicationIdentityCall<{
|
11868
|
+
force: boolean;
|
11869
|
+
}, void>;
|
11870
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11871
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11872
|
+
'get-application-manifest': {
|
11873
|
+
request: {
|
11874
|
+
manifestUrl?: string;
|
11875
|
+
uuid?: string;
|
11876
|
+
};
|
11877
|
+
response: OpenFin_2.Manifest;
|
11878
|
+
};
|
11879
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11880
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11881
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11882
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11883
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11884
|
+
'register-user': ApplicationIdentityCall<{
|
11885
|
+
userName: string;
|
11886
|
+
appName: string;
|
11887
|
+
}, void>;
|
11888
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11889
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11890
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11891
|
+
'run-application': ApplicationIdentityCall<{
|
11892
|
+
manifestUrl?: string | undefined;
|
11893
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11894
|
+
}, void>;
|
11895
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11896
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11897
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11898
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11899
|
+
}, void>;
|
11900
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11901
|
+
enabledIcon: string;
|
11902
|
+
}, void>;
|
11903
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11904
|
+
data: OpenFin_2.ShortCutConfig;
|
11905
|
+
}, void>;
|
11906
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11907
|
+
data: string;
|
11908
|
+
}, void>;
|
11909
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11910
|
+
level: number;
|
11911
|
+
}, void>;
|
11912
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11913
|
+
data: string;
|
11914
|
+
}, void>;
|
11915
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11916
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11917
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11918
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11919
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11920
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11921
|
+
'set-file-download-location': {
|
11922
|
+
request: OpenFin_2.Identity & {
|
11923
|
+
downloadLocation: string;
|
11924
|
+
};
|
11925
|
+
response: void;
|
11926
|
+
};
|
11927
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11928
|
+
'show-tray-icon-popup-menu': {
|
11929
|
+
request: OpenFin_2.Identity & {
|
11930
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11931
|
+
};
|
11932
|
+
response: OpenFin_2.MenuResult;
|
11933
|
+
};
|
11934
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11935
|
+
'wrap-application': VoidCall;
|
11936
|
+
'wrap-application-sync': VoidCall;
|
11937
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11938
|
+
'application-create': VoidCall;
|
11939
|
+
'start-application': VoidCall;
|
11940
|
+
'run-applications': ApiCall<{
|
11941
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11942
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11943
|
+
}, void>;
|
11944
|
+
'get-current-application': VoidCall;
|
11945
|
+
'get-current-application-sync': VoidCall;
|
11946
|
+
'application-start-from-manifest': VoidCall;
|
11947
|
+
'application-create-from-manifest': VoidCall;
|
11873
11948
|
'request-external-authorization': {
|
11874
11949
|
request: any;
|
11875
11950
|
response: void;
|
11876
11951
|
specialResponse: AuthorizationPayload;
|
11877
11952
|
};
|
11878
|
-
'
|
11879
|
-
request:
|
11880
|
-
response: OpenFin_2.Identity[];
|
11881
|
-
};
|
11882
|
-
'set-jump-list': {
|
11883
|
-
request: {
|
11884
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11885
|
-
} & OpenFin_2.ApplicationIdentity;
|
11953
|
+
'request-authorization': {
|
11954
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11886
11955
|
response: void;
|
11956
|
+
specialResponse: Payload;
|
11887
11957
|
};
|
11888
11958
|
'clipboard-read-formats': {
|
11889
11959
|
request: {
|
@@ -11895,6 +11965,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11895
11965
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11896
11966
|
response: string;
|
11897
11967
|
};
|
11968
|
+
'clipboard-read-text': {
|
11969
|
+
request: {
|
11970
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11971
|
+
};
|
11972
|
+
response: string;
|
11973
|
+
};
|
11974
|
+
'clipboard-read-html': {
|
11975
|
+
request: {
|
11976
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11977
|
+
};
|
11978
|
+
response: string;
|
11979
|
+
};
|
11980
|
+
'clipboard-read-rtf': {
|
11981
|
+
request: {
|
11982
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11983
|
+
};
|
11984
|
+
response: string;
|
11985
|
+
};
|
11898
11986
|
'clipboard-write-image': {
|
11899
11987
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11900
11988
|
response: void;
|
@@ -11903,6 +11991,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11903
11991
|
request: OpenFin_2.WriteAnyRequestType;
|
11904
11992
|
response: void;
|
11905
11993
|
};
|
11994
|
+
'clipboard-write-text': {
|
11995
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11996
|
+
response: void;
|
11997
|
+
};
|
11998
|
+
'clipboard-write-html': {
|
11999
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12000
|
+
response: void;
|
12001
|
+
};
|
12002
|
+
'clipboard-write-rtf': {
|
12003
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12004
|
+
response: void;
|
12005
|
+
};
|
11906
12006
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11907
12007
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11908
12008
|
uuid: string;
|
@@ -11928,13 +12028,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11928
12028
|
options: OpenFin_2.UpdatableViewOptions;
|
11929
12029
|
}>;
|
11930
12030
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
12031
|
+
'view-wrap-sync': VoidCall;
|
12032
|
+
'view-wrap': VoidCall;
|
12033
|
+
'view-get-current': VoidCall;
|
12034
|
+
'view-get-current-sync': VoidCall;
|
12035
|
+
'animate-window': IdentityCall<{
|
12036
|
+
transitions: OpenFin_2.Transition;
|
12037
|
+
options: OpenFin_2.TransitionOptions;
|
12038
|
+
}>;
|
12039
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
12040
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
12041
|
+
'center-window': IdentityCall;
|
12042
|
+
'blur-window': IdentityCall;
|
12043
|
+
'bring-window-to-front': IdentityCall;
|
12044
|
+
'hide-window': IdentityCall;
|
12045
|
+
'close-window': IdentityCall<{
|
12046
|
+
force: boolean;
|
12047
|
+
}>;
|
12048
|
+
'focused-webview-changed': IdentityCall;
|
12049
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11931
12050
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11932
|
-
'
|
12051
|
+
'disable-window-frame': IdentityCall;
|
12052
|
+
'enable-window-frame': IdentityCall;
|
12053
|
+
'flash-window': IdentityCall;
|
12054
|
+
'stop-flash-window': IdentityCall;
|
12055
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
12056
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
12057
|
+
'get-window-snapshot': IdentityCall<{
|
12058
|
+
area?: OpenFin_2.Rectangle;
|
12059
|
+
}, string>;
|
12060
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
12061
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
12062
|
+
'maximize-window': IdentityCall;
|
12063
|
+
'minimize-window': IdentityCall;
|
12064
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
12065
|
+
deltaLeft: number;
|
12066
|
+
deltaTop: number;
|
12067
|
+
}>>;
|
12068
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
12069
|
+
left: number;
|
12070
|
+
top: number;
|
12071
|
+
}>>;
|
12072
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
12073
|
+
deltaWidth: number;
|
12074
|
+
deltaHeight: number;
|
12075
|
+
anchor: OpenFin_2.AnchorType;
|
12076
|
+
}>>;
|
12077
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
12078
|
+
width: number;
|
12079
|
+
height: number;
|
12080
|
+
anchor: OpenFin_2.AnchorType;
|
12081
|
+
}>>;
|
12082
|
+
'restore-window': IdentityCall;
|
12083
|
+
'set-foreground-window': IdentityCall;
|
12084
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
12085
|
+
'show-window': IdentityCall<{
|
12086
|
+
force: boolean;
|
12087
|
+
}>;
|
12088
|
+
'show-at-window': IdentityCall<{
|
12089
|
+
left: number;
|
12090
|
+
top: number;
|
12091
|
+
force: boolean;
|
12092
|
+
}>;
|
12093
|
+
'update-window-options': IdentityCall<{
|
12094
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
12095
|
+
}>;
|
12096
|
+
'window-authenticate': IdentityCall<{
|
12097
|
+
userName: string;
|
12098
|
+
password: string;
|
12099
|
+
}>;
|
12100
|
+
'show-popup-menu': {
|
11933
12101
|
request: OpenFin_2.Identity & {
|
11934
|
-
options: OpenFin_2.
|
12102
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11935
12103
|
};
|
11936
|
-
response:
|
12104
|
+
response: OpenFin_2.MenuResult;
|
11937
12105
|
};
|
12106
|
+
'close-popup-menu': IdentityCall;
|
12107
|
+
'dispatch-popup-result': IdentityCall<{
|
12108
|
+
data: any;
|
12109
|
+
}>;
|
11938
12110
|
'print-screenshot': {
|
11939
12111
|
request: OpenFin_2.Identity;
|
11940
12112
|
response: void;
|
@@ -11945,6 +12117,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11945
12117
|
};
|
11946
12118
|
response: void;
|
11947
12119
|
};
|
12120
|
+
'window-wrap': VoidCall;
|
12121
|
+
'window-wrap-sync': VoidCall;
|
12122
|
+
'create-window': VoidCall;
|
12123
|
+
'get-current-window': VoidCall;
|
12124
|
+
'get-current-window-sync': VoidCall;
|
12125
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
12126
|
+
'external-application-wrap': VoidCall;
|
12127
|
+
'external-application-wrap-sync': VoidCall;
|
12128
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
12129
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
12130
|
+
'frame-wrap': VoidCall;
|
12131
|
+
'frame-wrap-sync': VoidCall;
|
12132
|
+
'frame-get-current': VoidCall;
|
12133
|
+
'frame-get-current-sync': VoidCall;
|
12134
|
+
'global-hotkey-register': {
|
12135
|
+
request: {
|
12136
|
+
hotkey: string;
|
12137
|
+
};
|
12138
|
+
response: void;
|
12139
|
+
};
|
12140
|
+
'global-hotkey-unregister': {
|
12141
|
+
request: {
|
12142
|
+
hotkey: string;
|
12143
|
+
};
|
12144
|
+
response: void;
|
12145
|
+
};
|
12146
|
+
'global-hotkey-unregister-all': {
|
12147
|
+
request: {};
|
12148
|
+
response: void;
|
12149
|
+
};
|
12150
|
+
'global-hotkey-is-registered': {
|
12151
|
+
request: {
|
12152
|
+
hotkey: string;
|
12153
|
+
};
|
12154
|
+
response: boolean;
|
12155
|
+
};
|
12156
|
+
'publish-message': {
|
12157
|
+
request: {
|
12158
|
+
topic: string;
|
12159
|
+
message: any;
|
12160
|
+
sourceWindowName: string;
|
12161
|
+
};
|
12162
|
+
response: void;
|
12163
|
+
};
|
12164
|
+
'send-message': {
|
12165
|
+
request: {
|
12166
|
+
destinationUuid: string;
|
12167
|
+
destinationWindowName: string | undefined;
|
12168
|
+
topic: string;
|
12169
|
+
message: any;
|
12170
|
+
sourceWindowName: string;
|
12171
|
+
};
|
12172
|
+
response: void;
|
12173
|
+
};
|
12174
|
+
'subscribe': {
|
12175
|
+
request: {
|
12176
|
+
sourceUuid: string;
|
12177
|
+
sourceWindowName: string;
|
12178
|
+
topic: string;
|
12179
|
+
destinationWindowName: string;
|
12180
|
+
messageKey?: any;
|
12181
|
+
};
|
12182
|
+
response: void;
|
12183
|
+
};
|
12184
|
+
'unsubscribe': {
|
12185
|
+
request: {
|
12186
|
+
sourceUuid: string;
|
12187
|
+
sourceWindowName: string;
|
12188
|
+
topic: string;
|
12189
|
+
destinationWindowName: string;
|
12190
|
+
};
|
12191
|
+
response: void;
|
12192
|
+
};
|
12193
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
12194
|
+
'connect-to-channel': {
|
12195
|
+
request: any;
|
12196
|
+
response: OpenFin_2.RoutingInfo;
|
12197
|
+
};
|
12198
|
+
'create-channel': ApiCall<{
|
12199
|
+
channelName: string;
|
12200
|
+
}, OpenFin_2.ProviderIdentity>;
|
12201
|
+
'destroy-channel': ApiCall<{
|
12202
|
+
channelName: string;
|
12203
|
+
}, void>;
|
12204
|
+
'disconnect-from-channel': {
|
12205
|
+
request: {
|
12206
|
+
channelName: string;
|
12207
|
+
uuid: string;
|
12208
|
+
name: string;
|
12209
|
+
endpointId: string;
|
12210
|
+
};
|
12211
|
+
response: void;
|
12212
|
+
};
|
12213
|
+
'send-channel-message': {
|
12214
|
+
request: any;
|
12215
|
+
response: any;
|
12216
|
+
};
|
12217
|
+
'get-version': GetterCall<string>;
|
12218
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
12219
|
+
'delete-cache-request': VoidCall;
|
12220
|
+
'exit-desktop': VoidCall;
|
12221
|
+
'fetch-manifest': ApiCall<{
|
12222
|
+
manifestUrl: string;
|
12223
|
+
}, any>;
|
12224
|
+
'flush-cookie-store': VoidCall;
|
12225
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
12226
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
12227
|
+
'get-command-line-arguments': GetterCall<string>;
|
12228
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
12229
|
+
'start-crash-reporter': {
|
12230
|
+
request: OpenFin_2.CrashReporterOptions | {
|
12231
|
+
diagnosticMode: boolean;
|
12232
|
+
};
|
12233
|
+
response: OpenFin_2.CrashReporterState;
|
12234
|
+
};
|
12235
|
+
'get-unique-user-id': GetterCall<string>;
|
12236
|
+
'get-entity-info': {
|
12237
|
+
request: {
|
12238
|
+
uuid: string;
|
12239
|
+
name: string;
|
12240
|
+
};
|
12241
|
+
response: OpenFin_2.EntityInfo;
|
12242
|
+
};
|
12243
|
+
'get-environment-variable': {
|
12244
|
+
request: {
|
12245
|
+
environmentVariables: string;
|
12246
|
+
};
|
12247
|
+
response: string;
|
12248
|
+
};
|
12249
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
12250
|
+
'is-app-certified': {
|
12251
|
+
request: {
|
12252
|
+
manifestUrl: string;
|
12253
|
+
};
|
12254
|
+
response: {
|
12255
|
+
action: string;
|
12256
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
12257
|
+
};
|
12258
|
+
};
|
12259
|
+
'get-installed-runtimes': GetterCall<{
|
12260
|
+
action: string;
|
12261
|
+
runtimes: string[];
|
12262
|
+
}>;
|
12263
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
12264
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
12265
|
+
'get-machine-id': GetterCall<string>;
|
12266
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
12267
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
12268
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
12269
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
12270
|
+
'process-snapshot': GetterCall<Array<any>>;
|
12271
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
12272
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
12273
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
12274
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
12275
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
12276
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
12277
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
12278
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
12279
|
+
'write-to-log': ApiCall<{
|
12280
|
+
level: string;
|
12281
|
+
message: string;
|
12282
|
+
}, void>;
|
12283
|
+
'open-url-with-browser': ApiCall<{
|
12284
|
+
url: string;
|
12285
|
+
}, void>;
|
12286
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
12287
|
+
'unregister-custom-protocol': ApiCall<{
|
12288
|
+
protocolName: string;
|
12289
|
+
}, void>;
|
12290
|
+
'get-custom-protocol-state': ApiCall<{
|
12291
|
+
protocolName: string;
|
12292
|
+
}, OpenFin_2.CustomProtocolState>;
|
12293
|
+
'release-external-process': ApiCall<{
|
12294
|
+
uuid: string;
|
12295
|
+
}, void>;
|
12296
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
12297
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
12298
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
12299
|
+
'download-asset': {
|
12300
|
+
request: OpenFin_2.AppAssetInfo & {
|
12301
|
+
downloadId: string;
|
12302
|
+
};
|
12303
|
+
response: void;
|
12304
|
+
};
|
12305
|
+
'download-runtime': {
|
12306
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
12307
|
+
downloadId: string;
|
12308
|
+
};
|
12309
|
+
response: void;
|
12310
|
+
};
|
12311
|
+
'download-preload-scripts': ApiCall<{
|
12312
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
12313
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
12314
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
12315
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
12316
|
+
'get-cookies': {
|
12317
|
+
request: OpenFin_2.CookieOption & {
|
12318
|
+
url: string;
|
12319
|
+
};
|
12320
|
+
response: Array<OpenFin_2.CookieInfo>;
|
12321
|
+
};
|
12322
|
+
'set-min-log-level': ApiCall<{
|
12323
|
+
level: OpenFin_2.LogLevel;
|
12324
|
+
}, void>;
|
12325
|
+
'resolve-uuid': ApiCall<{
|
12326
|
+
entityKey: string;
|
12327
|
+
}, OpenFin_2.ApplicationType>;
|
12328
|
+
'read-registry-value': ApiCall<{
|
12329
|
+
rootKey: string;
|
12330
|
+
subkey: string;
|
12331
|
+
value: string;
|
12332
|
+
}, OpenFin_2.RegistryInfo>;
|
12333
|
+
'register-external-connection': ApiCall<{
|
12334
|
+
uuid: string;
|
12335
|
+
}, OpenFin_2.ExternalConnection>;
|
12336
|
+
'get-service-configuration': ApiCall<{
|
12337
|
+
name: string;
|
12338
|
+
}, OpenFin_2.ServiceConfiguration>;
|
12339
|
+
'get-system-app-configuration': ApiCall<{
|
12340
|
+
name: string;
|
12341
|
+
}, any>;
|
12342
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11948
12343
|
'launch-manifest': {
|
11949
12344
|
request: {
|
11950
12345
|
manifestUrl: string;
|
@@ -11956,17 +12351,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11956
12351
|
manifest: OpenFin_2.Manifest;
|
11957
12352
|
};
|
11958
12353
|
};
|
11959
|
-
'
|
12354
|
+
'query-permission-for-current-context': {
|
11960
12355
|
request: {
|
11961
|
-
|
11962
|
-
|
11963
|
-
response: any;
|
11964
|
-
};
|
11965
|
-
'show-popup-menu': {
|
11966
|
-
request: OpenFin_2.Identity & {
|
11967
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
12356
|
+
apiName: string;
|
12357
|
+
identity: OpenFin_2.Identity;
|
11968
12358
|
};
|
11969
|
-
response: OpenFin_2.
|
12359
|
+
response: OpenFin_2.QueryPermissionResult;
|
11970
12360
|
};
|
11971
12361
|
'enable-native-window-integration-provider': {
|
11972
12362
|
request: {
|
@@ -11974,24 +12364,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11974
12364
|
};
|
11975
12365
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11976
12366
|
};
|
12367
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
12368
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12369
|
+
'system-update-process-logging-options': ApiCall<{
|
12370
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
12371
|
+
}, void>;
|
12372
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12373
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12374
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12375
|
+
}, void>;
|
12376
|
+
'system-register-shutdown-handler': VoidCall;
|
11977
12377
|
'get-permissions': GetterCall<any>;
|
11978
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11979
|
-
'set-file-download-location': {
|
11980
|
-
request: OpenFin_2.Identity & {
|
11981
|
-
downloadLocation: string;
|
11982
|
-
};
|
11983
|
-
response: void;
|
11984
|
-
};
|
11985
|
-
'get-file-download-location': {
|
11986
|
-
request: OpenFin_2.ApplicationIdentity;
|
11987
|
-
response: string;
|
11988
|
-
};
|
11989
|
-
'close-popup-menu': IdentityCall;
|
11990
12378
|
'fdc3-add-context-listener': VoidCall;
|
12379
|
+
'fdc3-add-intent-listener': VoidCall;
|
12380
|
+
'fdc3-raise-intent': VoidCall;
|
12381
|
+
'fdc3-find-intent': VoidCall;
|
12382
|
+
'fdc3-find-intents-by-context': VoidCall;
|
12383
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
12384
|
+
'fdc3-get-info': VoidCall;
|
12385
|
+
'fdc3-find-instances': VoidCall;
|
12386
|
+
'fdc3-get-app-metadata': VoidCall;
|
11991
12387
|
'fdc3-broadcast': VoidCall;
|
12388
|
+
'fdc3-open': VoidCall;
|
12389
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11992
12390
|
'fdc3-get-system-channels': VoidCall;
|
11993
12391
|
'fdc3-join-channel': VoidCall;
|
12392
|
+
'fdc3-get-current-channel': VoidCall;
|
11994
12393
|
'fdc3-leave-current-channel': VoidCall;
|
12394
|
+
'interop-init': VoidCall;
|
11995
12395
|
'interop-connect-sync': VoidCall;
|
11996
12396
|
'interop-client-set-context': VoidCall;
|
11997
12397
|
'interop-client-add-context-handler': VoidCall;
|
@@ -12000,6 +12400,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12000
12400
|
'interop-client-remove-from-context-group': VoidCall;
|
12001
12401
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
12002
12402
|
'interop-client-get-info-for-context-group': VoidCall;
|
12403
|
+
'interop-client-fire-intent': VoidCall;
|
12404
|
+
'interop-client-register-intent-handler': VoidCall;
|
12405
|
+
'interop-client-get-current-context': VoidCall;
|
12406
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12407
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12408
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12409
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
12003
12410
|
'interop-broker-add-client-to-context-group': VoidCall;
|
12004
12411
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
12005
12412
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -12011,13 +12418,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12011
12418
|
'interop-broker-remove-from-context-group': VoidCall;
|
12012
12419
|
'interop-broker-set-context': VoidCall;
|
12013
12420
|
'interop-broker-set-context-for-group': VoidCall;
|
12014
|
-
'
|
12015
|
-
|
12016
|
-
|
12017
|
-
|
12018
|
-
|
12019
|
-
|
12020
|
-
|
12421
|
+
'interop-broker-get-current-context': VoidCall;
|
12422
|
+
'interop-broker-set-intent-target': VoidCall;
|
12423
|
+
'interop-session-context-group-set-context': VoidCall;
|
12424
|
+
'interop-session-context-group-get-context': VoidCall;
|
12425
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12426
|
+
'platform-wrap': VoidCall;
|
12427
|
+
'platform-wrap-sync': VoidCall;
|
12428
|
+
'platform-get-current': VoidCall;
|
12429
|
+
'platform-get-current-sync': VoidCall;
|
12430
|
+
'platform-start': VoidCall;
|
12431
|
+
'platform-start-from-manifest': VoidCall;
|
12432
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12433
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12434
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12435
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12436
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12437
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12438
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12439
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12440
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12441
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12442
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12443
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12444
|
+
'layout-wrap': VoidCall;
|
12445
|
+
'layout-wrap-sync': VoidCall;
|
12446
|
+
'layout-get-current': VoidCall;
|
12447
|
+
'layout-get-current-sync': VoidCall;
|
12448
|
+
'layout-init': VoidCall;
|
12449
|
+
'layout-get-config': VoidCall;
|
12450
|
+
'layout-get-views': VoidCall;
|
12451
|
+
'layout-replace': VoidCall;
|
12452
|
+
'layout-get-root-item': VoidCall;
|
12453
|
+
'layout-replace-view': VoidCall;
|
12454
|
+
'layout-apply-preset': VoidCall;
|
12455
|
+
'layout-controller-get-root': VoidCall;
|
12456
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12457
|
+
'layout-controller-get-stack-views': VoidCall;
|
12458
|
+
'layout-controller-get-content': VoidCall;
|
12459
|
+
'layout-controller-get-parent': VoidCall;
|
12460
|
+
'layout-controller-is-root': VoidCall;
|
12461
|
+
'layout-controller-exists': VoidCall;
|
12462
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12463
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12464
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12465
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12466
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12467
|
+
'snapshot-source-init': VoidCall;
|
12468
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12469
|
+
'snapshot-source-wrap': VoidCall;
|
12470
|
+
'snapshot-source-ready': VoidCall;
|
12471
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12472
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12473
|
+
'capture-page': IdentityCall<{
|
12474
|
+
options?: OpenFin_2.CapturePageOptions;
|
12475
|
+
}, string>;
|
12476
|
+
'execute-javascript-in-window': IdentityCall<{
|
12477
|
+
code: string;
|
12478
|
+
}, unknown>;
|
12479
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12480
|
+
'set-zoom-level': IdentityCall<{
|
12481
|
+
level: number;
|
12482
|
+
}, void>;
|
12483
|
+
'navigate-window': IdentityCall<{
|
12484
|
+
url: string;
|
12485
|
+
}, void>;
|
12486
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12487
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12488
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12489
|
+
'reload-window': IdentityCall<{
|
12490
|
+
ignoreCache: boolean;
|
12491
|
+
}, void>;
|
12492
|
+
'print': IdentityCall<{
|
12493
|
+
options: OpenFin_2.PrintOptions;
|
12494
|
+
}, void>;
|
12495
|
+
'find-in-page': IdentityCall<{
|
12496
|
+
searchTerm: string;
|
12497
|
+
options?: OpenFin_2.FindInPageOptions;
|
12498
|
+
}, void>;
|
12499
|
+
'stop-find-in-page': IdentityCall<{
|
12500
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12501
|
+
}, void>;
|
12502
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12503
|
+
'focus-window': IdentityCall<{
|
12504
|
+
emitSynthFocused: boolean;
|
12505
|
+
}, void>;
|
12506
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12507
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12508
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12509
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12510
|
+
workerId: string;
|
12511
|
+
}, void>;
|
12512
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12513
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12514
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
12021
12515
|
'try-create-popup-window': {
|
12022
12516
|
request: OpenFin_2.Identity & {
|
12023
12517
|
options: OpenFin_2.PopupOptions;
|
@@ -12033,9 +12527,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12033
12527
|
};
|
12034
12528
|
response: OpenFin_2.PopupResult;
|
12035
12529
|
};
|
12036
|
-
'dispatch-popup-result': IdentityCall<{
|
12037
|
-
data: any;
|
12038
|
-
}>;
|
12039
12530
|
'render-overlay': {
|
12040
12531
|
request: {
|
12041
12532
|
bounds: OpenFin_2.Bounds;
|
@@ -12055,40 +12546,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12055
12546
|
};
|
12056
12547
|
response: void;
|
12057
12548
|
};
|
12058
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
12059
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
12060
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12061
|
-
'system-register-shutdown-handler': VoidCall;
|
12062
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12063
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12064
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12065
|
-
}, void>;
|
12066
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
12067
|
-
deltaLeft: number;
|
12068
|
-
deltaTop: number;
|
12069
|
-
}>>;
|
12070
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
12071
|
-
left: number;
|
12072
|
-
top: number;
|
12073
|
-
}>>;
|
12074
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
12075
|
-
deltaWidth: number;
|
12076
|
-
deltaHeight: number;
|
12077
|
-
anchor: OpenFin_2.AnchorType;
|
12078
|
-
}>>;
|
12079
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
12080
|
-
width: number;
|
12081
|
-
height: number;
|
12082
|
-
anchor: OpenFin_2.AnchorType;
|
12083
|
-
}>>;
|
12084
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
12085
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
12086
|
-
'unregister-custom-protocol': ApiCall<{
|
12087
|
-
protocolName: string;
|
12088
|
-
}, void>;
|
12089
|
-
'get-custom-protocol-state': ApiCall<{
|
12090
|
-
protocolName: string;
|
12091
|
-
}, OpenFin_2.CustomProtocolState>;
|
12092
12549
|
}
|
12093
12550
|
|
12094
12551
|
declare interface ProtocolMapBase {
|
@@ -12118,7 +12575,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
12118
12575
|
* Identity of a channel provider.
|
12119
12576
|
* @interface
|
12120
12577
|
*/
|
12121
|
-
declare type ProviderIdentity_4 =
|
12578
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
12122
12579
|
/**
|
12123
12580
|
* Identifier of the channel.
|
12124
12581
|
*/
|
@@ -12129,12 +12586,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
12129
12586
|
channelName: string;
|
12130
12587
|
};
|
12131
12588
|
|
12132
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
12133
|
-
|
12134
12589
|
/**
|
12135
12590
|
* @interface
|
12136
12591
|
*/
|
12137
|
-
declare type
|
12592
|
+
declare type ProxyConfig = {
|
12138
12593
|
/**
|
12139
12594
|
* The configured proxy address.
|
12140
12595
|
*/
|
@@ -12146,13 +12601,11 @@ declare type ProxyConfig_2 = {
|
|
12146
12601
|
type: string;
|
12147
12602
|
};
|
12148
12603
|
|
12149
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
12150
|
-
|
12151
12604
|
/**
|
12152
12605
|
* @interface
|
12153
12606
|
*/
|
12154
|
-
declare type
|
12155
|
-
config:
|
12607
|
+
declare type ProxyInfo = {
|
12608
|
+
config: ProxyConfig;
|
12156
12609
|
system: ProxySystemInfo;
|
12157
12610
|
};
|
12158
12611
|
|
@@ -12258,12 +12711,10 @@ declare type RegisterUsageData = {
|
|
12258
12711
|
type: string;
|
12259
12712
|
};
|
12260
12713
|
|
12261
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
12262
|
-
|
12263
12714
|
/**
|
12264
12715
|
* @interface
|
12265
12716
|
*/
|
12266
|
-
declare type
|
12717
|
+
declare type RegistryInfo = {
|
12267
12718
|
data: any;
|
12268
12719
|
rootKey: string;
|
12269
12720
|
subkey: string;
|
@@ -12321,14 +12772,14 @@ declare type ReplaceLayoutPayload = {
|
|
12321
12772
|
/**
|
12322
12773
|
* Identity of the window whose layout will be replaced.
|
12323
12774
|
*/
|
12324
|
-
target:
|
12775
|
+
target: Identity_4 | LayoutIdentity;
|
12325
12776
|
};
|
12326
12777
|
|
12327
12778
|
/**
|
12328
12779
|
* @interface
|
12329
12780
|
*/
|
12330
12781
|
declare type ReplaceViewOptions = {
|
12331
|
-
viewToReplace:
|
12782
|
+
viewToReplace: Identity_4;
|
12332
12783
|
newView: ViewState;
|
12333
12784
|
};
|
12334
12785
|
|
@@ -12337,7 +12788,7 @@ declare type ReplaceViewOptions = {
|
|
12337
12788
|
*/
|
12338
12789
|
declare type ReplaceViewPayload = {
|
12339
12790
|
opts: {
|
12340
|
-
viewToReplace:
|
12791
|
+
viewToReplace: Identity_4;
|
12341
12792
|
newView: Partial<ViewOptions>;
|
12342
12793
|
};
|
12343
12794
|
target: LayoutIdentity;
|
@@ -12703,7 +13154,7 @@ declare type SetWindowContextPayload = {
|
|
12703
13154
|
/**
|
12704
13155
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12705
13156
|
*/
|
12706
|
-
target:
|
13157
|
+
target: Identity_4;
|
12707
13158
|
};
|
12708
13159
|
|
12709
13160
|
/**
|
@@ -13153,7 +13604,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13153
13604
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
13154
13605
|
* ```
|
13155
13606
|
*/
|
13156
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13607
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
13157
13608
|
/**
|
13158
13609
|
* Retrieves an array of data for all applications.
|
13159
13610
|
*
|
@@ -13162,7 +13613,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13162
13613
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
13163
13614
|
* ```
|
13164
13615
|
*/
|
13165
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13616
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
13166
13617
|
/**
|
13167
13618
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
13168
13619
|
*
|
@@ -13237,7 +13688,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13237
13688
|
* }
|
13238
13689
|
* ```
|
13239
13690
|
*/
|
13240
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13691
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
13241
13692
|
/**
|
13242
13693
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
13243
13694
|
*
|
@@ -13279,7 +13730,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13279
13730
|
* ```
|
13280
13731
|
*/
|
13281
13732
|
getInstalledRuntimes(): Promise<string[]>;
|
13282
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13733
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
13283
13734
|
/**
|
13284
13735
|
* Retrieves the contents of the log with the specified filename.
|
13285
13736
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -13294,7 +13745,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13294
13745
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
13295
13746
|
* ```
|
13296
13747
|
*/
|
13297
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13748
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
13298
13749
|
/**
|
13299
13750
|
* Returns a unique identifier (UUID) provided by the machine.
|
13300
13751
|
*
|
@@ -13312,7 +13763,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13312
13763
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
13313
13764
|
* ```
|
13314
13765
|
*/
|
13315
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13766
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
13316
13767
|
/**
|
13317
13768
|
* Retrieves an array containing information for each log file.
|
13318
13769
|
*
|
@@ -13321,7 +13772,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13321
13772
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
13322
13773
|
* ```
|
13323
13774
|
*/
|
13324
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13775
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
13325
13776
|
/**
|
13326
13777
|
* Retrieves an object that contains data about the monitor setup of the
|
13327
13778
|
* computer that the runtime is running on.
|
@@ -13392,7 +13843,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13392
13843
|
* }
|
13393
13844
|
* ```
|
13394
13845
|
*/
|
13395
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13846
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
13396
13847
|
/**
|
13397
13848
|
* Returns information about the running Runtime in an object.
|
13398
13849
|
*
|
@@ -13759,7 +14210,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13759
14210
|
* }
|
13760
14211
|
* ```
|
13761
14212
|
*/
|
13762
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
14213
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13763
14214
|
/**
|
13764
14215
|
* Monitors a running process. A pid for the process must be included in options.
|
13765
14216
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13776,7 +14227,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13776
14227
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13777
14228
|
* ```
|
13778
14229
|
*/
|
13779
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
14230
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13780
14231
|
/**
|
13781
14232
|
* Writes the passed message into both the log file and the console.
|
13782
14233
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13910,7 +14361,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13910
14361
|
*
|
13911
14362
|
* @tutorial System.showDeveloperTools
|
13912
14363
|
*/
|
13913
|
-
showDeveloperTools(identity:
|
14364
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13914
14365
|
/**
|
13915
14366
|
* Attempt to close an external process. The process will be terminated if it
|
13916
14367
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13944,7 +14395,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13944
14395
|
* .catch(err => console.error(err));
|
13945
14396
|
* ```
|
13946
14397
|
*/
|
13947
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
14398
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13948
14399
|
/**
|
13949
14400
|
* Downloads the given application asset.
|
13950
14401
|
*
|
@@ -14036,7 +14487,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14036
14487
|
* .catch(err => console.log(err));
|
14037
14488
|
* ```
|
14038
14489
|
*/
|
14039
|
-
getAllExternalApplications(): Promise<Array<
|
14490
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
14040
14491
|
/**
|
14041
14492
|
* Retrieves app asset information.
|
14042
14493
|
* @param options
|
@@ -14065,7 +14516,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14065
14516
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
14066
14517
|
* ```
|
14067
14518
|
*/
|
14068
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14519
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
14069
14520
|
/**
|
14070
14521
|
* Retrieves the UUID of the computer on which the runtime is installed
|
14071
14522
|
* @param uuid The uuid of the running application
|
@@ -14075,7 +14526,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14075
14526
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
14076
14527
|
* ```
|
14077
14528
|
*/
|
14078
|
-
resolveUuid(uuid: string): Promise<
|
14529
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
14079
14530
|
/**
|
14080
14531
|
* Retrieves an array of data for all external applications
|
14081
14532
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -14083,7 +14534,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14083
14534
|
*
|
14084
14535
|
* @ignore
|
14085
14536
|
*/
|
14086
|
-
executeOnRemote(requestingIdentity:
|
14537
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
14087
14538
|
/**
|
14088
14539
|
* Reads the specifed value from the registry.
|
14089
14540
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -14176,7 +14627,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14176
14627
|
* }
|
14177
14628
|
* ```
|
14178
14629
|
*/
|
14179
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14630
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
14180
14631
|
/**
|
14181
14632
|
* This function call will register a unique id and produce a token.
|
14182
14633
|
* The token can be used to broker an external connection.
|
@@ -14391,7 +14842,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14391
14842
|
* });
|
14392
14843
|
* ```
|
14393
14844
|
*/
|
14394
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14845
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
14395
14846
|
/**
|
14396
14847
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
14397
14848
|
* @param options Process Logging updatable options.
|
@@ -15017,14 +15468,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
15017
15468
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
15018
15469
|
|
15019
15470
|
/**
|
15020
|
-
*
|
15471
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15472
|
+
*
|
15021
15473
|
* @interface
|
15022
15474
|
*/
|
15023
|
-
declare type UserBoundsChangeEvent =
|
15024
|
-
height: number;
|
15025
|
-
left: number;
|
15026
|
-
top: number;
|
15027
|
-
width: number;
|
15475
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
15028
15476
|
windowState: 'minimized' | 'normal' | 'maximized';
|
15029
15477
|
};
|
15030
15478
|
|
@@ -15564,7 +16012,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15564
16012
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15565
16013
|
name: string;
|
15566
16014
|
url: string;
|
15567
|
-
target:
|
16015
|
+
target: Identity_4;
|
15568
16016
|
};
|
15569
16017
|
|
15570
16018
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15750,15 +16198,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15750
16198
|
/**
|
15751
16199
|
* Identity of the Window.
|
15752
16200
|
*/
|
15753
|
-
windowId:
|
16201
|
+
windowId: Identity_4;
|
15754
16202
|
/**
|
15755
16203
|
* Identities of the Views that are preventing an unload
|
15756
16204
|
*/
|
15757
|
-
viewsPreventingUnload:
|
16205
|
+
viewsPreventingUnload: Identity_4[];
|
15758
16206
|
/**
|
15759
16207
|
* Identities of the Views that are not preventing an unload
|
15760
16208
|
*/
|
15761
|
-
viewsNotPreventingUnload:
|
16209
|
+
viewsNotPreventingUnload: Identity_4[];
|
15762
16210
|
/**
|
15763
16211
|
* Source of the close action.
|
15764
16212
|
*/
|
@@ -15783,11 +16231,11 @@ declare interface ViewStatuses {
|
|
15783
16231
|
/**
|
15784
16232
|
* Identities of the Views that are preventing an unload.
|
15785
16233
|
*/
|
15786
|
-
viewsPreventingUnload:
|
16234
|
+
viewsPreventingUnload: Identity_4[];
|
15787
16235
|
/**
|
15788
16236
|
* Identities of the Views that are not preventing an unload.
|
15789
16237
|
*/
|
15790
|
-
viewsNotPreventingUnload:
|
16238
|
+
viewsNotPreventingUnload: Identity_4[];
|
15791
16239
|
}
|
15792
16240
|
|
15793
16241
|
/**
|
@@ -16292,7 +16740,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
16292
16740
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
16293
16741
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
16294
16742
|
*/
|
16295
|
-
stopFindInPage(action:
|
16743
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
16296
16744
|
/**
|
16297
16745
|
* Returns an array with all system printers
|
16298
16746
|
* @deprecated use System.getPrinters instead
|
@@ -16885,11 +17333,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16885
17333
|
* A general will-move or will-resize event without event type.
|
16886
17334
|
* @interface
|
16887
17335
|
*/
|
16888
|
-
declare type WillMoveOrResizeEvent =
|
16889
|
-
height: number;
|
16890
|
-
left: number;
|
16891
|
-
top: number;
|
16892
|
-
width: number;
|
17336
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16893
17337
|
monitorScaleFactor: number;
|
16894
17338
|
};
|
16895
17339
|
|
@@ -18084,16 +18528,21 @@ declare namespace WindowEvents {
|
|
18084
18528
|
PreloadScriptInfoRunning,
|
18085
18529
|
PreloadScriptInfo,
|
18086
18530
|
PreloadScriptsStateChangeEvent,
|
18087
|
-
|
18531
|
+
BoundsEvent,
|
18088
18532
|
BoundsChangeEvent,
|
18089
18533
|
WillMoveOrResizeEvent,
|
18534
|
+
BoundsDidChangeEvent,
|
18535
|
+
BoundsChangedEvent,
|
18536
|
+
BoundsChangingEvent,
|
18537
|
+
DisabledMovementBoundsChangedEvent,
|
18538
|
+
DisabledMovementBoundsChangingEvent,
|
18539
|
+
UserBoundsChangeEvent,
|
18540
|
+
BeginUserBoundsChangingEvent,
|
18541
|
+
EndUserBoundsChangingEvent,
|
18090
18542
|
PerformanceReportEvent,
|
18091
18543
|
InputEvent_2 as InputEvent,
|
18092
18544
|
LayoutInitializedEvent,
|
18093
18545
|
LayoutReadyEvent,
|
18094
|
-
BeginUserBoundsChangingEvent,
|
18095
|
-
BoundsChangedEvent,
|
18096
|
-
BoundsChangingEvent,
|
18097
18546
|
CloseRequestedEvent,
|
18098
18547
|
WindowCloseRequestedEvent,
|
18099
18548
|
ContextChangedEvent,
|
@@ -18101,10 +18550,7 @@ declare namespace WindowEvents {
|
|
18101
18550
|
WindowClosedEvent,
|
18102
18551
|
ClosingEvent,
|
18103
18552
|
WindowClosingEvent,
|
18104
|
-
DisabledMovementBoundsChangedEvent,
|
18105
|
-
DisabledMovementBoundsChangingEvent,
|
18106
18553
|
EmbeddedEvent,
|
18107
|
-
EndUserBoundsChangingEvent,
|
18108
18554
|
HotkeyEvent_2 as HotkeyEvent,
|
18109
18555
|
WindowHotkeyEvent,
|
18110
18556
|
InitializedEvent_2 as InitializedEvent,
|