@openfin/fdc3-api 38.82.63 → 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/fdc3-api-alpha.d.ts +680 -214
- package/out/fdc3-api-beta.d.ts +680 -214
- package/out/fdc3-api-public.d.ts +680 -214
- package/out/fdc3-api.d.ts +680 -214
- package/out/fdc3-api.js +39 -7
- package/package.json +1 -1
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -42,6 +42,15 @@ declare type Accelerator = {
|
|
|
42
42
|
zoom: boolean;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* Generated when a View is added to a layout.
|
|
47
|
+
* @interface
|
|
48
|
+
*/
|
|
49
|
+
declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
50
|
+
type: 'added-to-layout';
|
|
51
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
52
|
+
};
|
|
53
|
+
|
|
45
54
|
/**
|
|
46
55
|
* Options to use when adding a view to a {@link TabStack}.
|
|
47
56
|
*
|
|
@@ -49,7 +58,7 @@ declare type Accelerator = {
|
|
|
49
58
|
*/
|
|
50
59
|
declare type AddViewOptions = CreateViewTarget & {
|
|
51
60
|
options: ViewState;
|
|
52
|
-
targetView?:
|
|
61
|
+
targetView?: Identity_4;
|
|
53
62
|
};
|
|
54
63
|
|
|
55
64
|
/**
|
|
@@ -921,15 +930,15 @@ declare namespace ApplicationEvents {
|
|
|
921
930
|
*/
|
|
922
931
|
declare type ApplicationEventType = EventType_3;
|
|
923
932
|
|
|
924
|
-
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
925
|
-
|
|
926
933
|
/**
|
|
927
934
|
* @interface
|
|
928
935
|
*/
|
|
929
|
-
declare type
|
|
936
|
+
declare type ApplicationIdentity = {
|
|
930
937
|
uuid: string;
|
|
931
938
|
};
|
|
932
939
|
|
|
940
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
941
|
+
|
|
933
942
|
/**
|
|
934
943
|
* @interface
|
|
935
944
|
*/
|
|
@@ -1302,12 +1311,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1302
1311
|
*/
|
|
1303
1312
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1304
1313
|
|
|
1305
|
-
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1306
|
-
|
|
1307
1314
|
/**
|
|
1308
1315
|
* @interface
|
|
1309
1316
|
*/
|
|
1310
|
-
declare type
|
|
1317
|
+
declare type ApplicationState = {
|
|
1311
1318
|
/**
|
|
1312
1319
|
* True when the application is a Platform controller
|
|
1313
1320
|
*/
|
|
@@ -1339,12 +1346,10 @@ declare type ApplicationType = {
|
|
|
1339
1346
|
*/
|
|
1340
1347
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1341
1348
|
|
|
1342
|
-
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1343
|
-
|
|
1344
1349
|
/**
|
|
1345
1350
|
* @interface
|
|
1346
1351
|
*/
|
|
1347
|
-
declare type
|
|
1352
|
+
declare type ApplicationWindowInfo = {
|
|
1348
1353
|
childWindows: Array<WindowDetail>;
|
|
1349
1354
|
mainWindow: WindowDetail;
|
|
1350
1355
|
/**
|
|
@@ -1609,7 +1614,7 @@ declare class Base {
|
|
|
1609
1614
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
|
1610
1615
|
* on the context in which the devtools panel was opened.
|
|
1611
1616
|
*/
|
|
1612
|
-
get me(): Identity;
|
|
1617
|
+
get me(): OpenFin.Identity;
|
|
1613
1618
|
/* Excluded from this release type: isNodeEnvironment */
|
|
1614
1619
|
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1615
1620
|
/* Excluded from this release type: isBrowserEnvironment */
|
|
@@ -1829,11 +1834,12 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1829
1834
|
/**
|
|
1830
1835
|
* Array of views that will close.
|
|
1831
1836
|
*/
|
|
1832
|
-
viewsToClose:
|
|
1837
|
+
viewsToClose: Identity_4[];
|
|
1833
1838
|
};
|
|
1834
1839
|
|
|
1835
1840
|
/**
|
|
1836
1841
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1842
|
+
*
|
|
1837
1843
|
* @interface
|
|
1838
1844
|
*/
|
|
1839
1845
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1874,31 +1880,33 @@ declare type Bounds = {
|
|
|
1874
1880
|
* Generated after changes in a window's size and/or position.
|
|
1875
1881
|
* @interface
|
|
1876
1882
|
*/
|
|
1877
|
-
declare type BoundsChangedEvent =
|
|
1883
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
|
1878
1884
|
type: 'bounds-changed';
|
|
1879
1885
|
};
|
|
1880
1886
|
|
|
1881
|
-
|
|
1882
|
-
* A general bounds change event without event type.
|
|
1883
|
-
* @interface
|
|
1884
|
-
*/
|
|
1885
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1887
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1886
1888
|
changeType: 0 | 1 | 2;
|
|
1887
|
-
deferred: boolean;
|
|
1888
|
-
height: number;
|
|
1889
|
-
left: number;
|
|
1890
|
-
top: number;
|
|
1891
|
-
width: number;
|
|
1892
1889
|
};
|
|
1893
1890
|
|
|
1894
1891
|
/**
|
|
1895
1892
|
* Generated during changes to a window's size and/or position.
|
|
1896
1893
|
* @interface
|
|
1897
1894
|
*/
|
|
1898
|
-
declare type BoundsChangingEvent =
|
|
1895
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
|
1899
1896
|
type: 'bounds-changing';
|
|
1900
1897
|
};
|
|
1901
1898
|
|
|
1899
|
+
/**
|
|
1900
|
+
* An event that fires when a window's bounds are successfully changed.
|
|
1901
|
+
*
|
|
1902
|
+
* @interface
|
|
1903
|
+
*/
|
|
1904
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
1905
|
+
reason: 'self' | 'animation';
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1909
|
+
|
|
1902
1910
|
/**
|
|
1903
1911
|
* A rule prescribing content creation in the browser.
|
|
1904
1912
|
*
|
|
@@ -2980,7 +2988,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
2980
2988
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
2981
2989
|
* @interface
|
|
2982
2990
|
*/
|
|
2983
|
-
declare type ClientIdentity =
|
|
2991
|
+
declare type ClientIdentity = Identity_4 & {
|
|
2984
2992
|
/**
|
|
2985
2993
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
2986
2994
|
*/
|
|
@@ -3213,7 +3221,7 @@ declare type CloseViewOptions = {
|
|
|
3213
3221
|
/**
|
|
3214
3222
|
*View to be closed.
|
|
3215
3223
|
*/
|
|
3216
|
-
viewIdentity:
|
|
3224
|
+
viewIdentity: Identity_4;
|
|
3217
3225
|
};
|
|
3218
3226
|
|
|
3219
3227
|
/**
|
|
@@ -3223,7 +3231,7 @@ declare type CloseViewPayload = {
|
|
|
3223
3231
|
/**
|
|
3224
3232
|
*View to be closed.
|
|
3225
3233
|
*/
|
|
3226
|
-
view:
|
|
3234
|
+
view: Identity_4;
|
|
3227
3235
|
/**
|
|
3228
3236
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3229
3237
|
* visible layout.
|
|
@@ -3241,7 +3249,7 @@ declare interface CloseWindowPayload {
|
|
|
3241
3249
|
*
|
|
3242
3250
|
* Identity of the Window
|
|
3243
3251
|
*/
|
|
3244
|
-
windowId:
|
|
3252
|
+
windowId: Identity_4;
|
|
3245
3253
|
options: {
|
|
3246
3254
|
/**
|
|
3247
3255
|
* @defaultValue false
|
|
@@ -3359,7 +3367,7 @@ declare type ConstViewOptions = {
|
|
|
3359
3367
|
/**
|
|
3360
3368
|
* The identity of the window this view should be attached to.
|
|
3361
3369
|
*/
|
|
3362
|
-
target:
|
|
3370
|
+
target: Identity_4;
|
|
3363
3371
|
/**
|
|
3364
3372
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3365
3373
|
*/
|
|
@@ -3584,7 +3592,7 @@ declare type ConstWindowOptions = {
|
|
|
3584
3592
|
/**
|
|
3585
3593
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3586
3594
|
*/
|
|
3587
|
-
modalParentIdentity:
|
|
3595
|
+
modalParentIdentity: Identity_4;
|
|
3588
3596
|
/**
|
|
3589
3597
|
* The name of the window.
|
|
3590
3598
|
*/
|
|
@@ -3602,7 +3610,9 @@ declare type ConstWindowOptions = {
|
|
|
3602
3610
|
*/
|
|
3603
3611
|
preloadScripts: PreloadScript[];
|
|
3604
3612
|
/**
|
|
3605
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3613
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3614
|
+
* 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.
|
|
3615
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3606
3616
|
*/
|
|
3607
3617
|
processAffinity: string;
|
|
3608
3618
|
/**
|
|
@@ -4068,13 +4078,13 @@ declare type CreateViewPayload = {
|
|
|
4068
4078
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4069
4079
|
*/
|
|
4070
4080
|
target?: CreateViewTarget;
|
|
4071
|
-
targetView?:
|
|
4081
|
+
targetView?: Identity_4;
|
|
4072
4082
|
};
|
|
4073
4083
|
|
|
4074
4084
|
/**
|
|
4075
4085
|
* @interface
|
|
4076
4086
|
*/
|
|
4077
|
-
declare type CreateViewTarget = (
|
|
4087
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
|
4078
4088
|
/**
|
|
4079
4089
|
* If specified, view creation will not attach to a window and caller must
|
|
4080
4090
|
* insert the view into the layout explicitly
|
|
@@ -4520,7 +4530,7 @@ declare type EmitterAccessor = string[];
|
|
|
4520
4530
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4521
4531
|
#private;
|
|
4522
4532
|
private topic;
|
|
4523
|
-
protected identity: ApplicationIdentity;
|
|
4533
|
+
protected identity: OpenFin.ApplicationIdentity;
|
|
4524
4534
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4525
4535
|
eventNames: () => (string | symbol)[];
|
|
4526
4536
|
/* Excluded from this release type: emit */
|
|
@@ -4595,20 +4605,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4595
4605
|
|
|
4596
4606
|
/**
|
|
4597
4607
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4608
|
+
*
|
|
4598
4609
|
* @interface
|
|
4599
4610
|
*/
|
|
4600
4611
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4601
4612
|
type: 'end-user-bounds-changing';
|
|
4602
4613
|
};
|
|
4603
4614
|
|
|
4604
|
-
declare type Entity = OpenFin.ApplicationType;
|
|
4605
|
-
|
|
4606
|
-
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4607
|
-
|
|
4608
4615
|
/**
|
|
4609
4616
|
* @interface
|
|
4610
4617
|
*/
|
|
4611
|
-
declare type
|
|
4618
|
+
declare type EntityInfo = {
|
|
4612
4619
|
uuid: string;
|
|
4613
4620
|
name: string;
|
|
4614
4621
|
entityType: EntityType_4;
|
|
@@ -4758,7 +4765,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
4758
4765
|
*/
|
|
4759
4766
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
4760
4767
|
target: OpenFin.Identity;
|
|
4761
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
4768
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
|
4762
4769
|
|
|
4763
4770
|
/**
|
|
4764
4771
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
|
@@ -4957,7 +4964,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
4957
4964
|
* @interface
|
|
4958
4965
|
*/
|
|
4959
4966
|
declare type ExternalApplicationInfo = {
|
|
4960
|
-
parent:
|
|
4967
|
+
parent: Identity_4;
|
|
4961
4968
|
};
|
|
4962
4969
|
|
|
4963
4970
|
/**
|
|
@@ -5500,6 +5507,10 @@ declare type FileDownloadEvent = {
|
|
|
5500
5507
|
* The number of bytes of the item that have already been downloaded.
|
|
5501
5508
|
*/
|
|
5502
5509
|
downloadedBytes: number;
|
|
5510
|
+
/**
|
|
5511
|
+
* Unique identifier for the downloaded file.
|
|
5512
|
+
*/
|
|
5513
|
+
fileUuid: string;
|
|
5503
5514
|
} & NamedEvent;
|
|
5504
5515
|
|
|
5505
5516
|
/**
|
|
@@ -5751,7 +5762,7 @@ declare type FrameInfo = {
|
|
|
5751
5762
|
uuid: string;
|
|
5752
5763
|
url: string;
|
|
5753
5764
|
entityType: EntityType_4;
|
|
5754
|
-
parent:
|
|
5765
|
+
parent: Identity_4;
|
|
5755
5766
|
};
|
|
5756
5767
|
|
|
5757
5768
|
/**
|
|
@@ -5826,12 +5837,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5826
5837
|
entityType: string;
|
|
5827
5838
|
};
|
|
5828
5839
|
|
|
5829
|
-
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5830
|
-
|
|
5831
5840
|
/**
|
|
5832
5841
|
* @interface
|
|
5833
5842
|
*/
|
|
5834
|
-
declare type
|
|
5843
|
+
declare type GetLogRequestType = {
|
|
5835
5844
|
/**
|
|
5836
5845
|
* The name of the running application
|
|
5837
5846
|
*/
|
|
@@ -5851,7 +5860,7 @@ declare type GetWindowContextPayload = {
|
|
|
5851
5860
|
/**
|
|
5852
5861
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5853
5862
|
*/
|
|
5854
|
-
target:
|
|
5863
|
+
target: Identity_4;
|
|
5855
5864
|
};
|
|
5856
5865
|
|
|
5857
5866
|
/**
|
|
@@ -6117,8 +6126,6 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6117
6126
|
|
|
6118
6127
|
declare type Identity_3 = OpenFin.Identity;
|
|
6119
6128
|
|
|
6120
|
-
declare type Identity_4 = OpenFin.Identity;
|
|
6121
|
-
|
|
6122
6129
|
/**
|
|
6123
6130
|
* Unique identifier for a window, view or iframe.
|
|
6124
6131
|
*
|
|
@@ -6127,7 +6134,7 @@ declare type Identity_4 = OpenFin.Identity;
|
|
|
6127
6134
|
*
|
|
6128
6135
|
* @interface
|
|
6129
6136
|
*/
|
|
6130
|
-
declare type
|
|
6137
|
+
declare type Identity_4 = {
|
|
6131
6138
|
/**
|
|
6132
6139
|
* Universally unique identifier of the application that owns the component.
|
|
6133
6140
|
*/
|
|
@@ -6286,12 +6293,10 @@ declare type InstallationInfo = {
|
|
|
6286
6293
|
cachedManifest: any;
|
|
6287
6294
|
};
|
|
6288
6295
|
|
|
6289
|
-
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6290
|
-
|
|
6291
6296
|
/**
|
|
6292
6297
|
* @interface
|
|
6293
6298
|
*/
|
|
6294
|
-
declare type
|
|
6299
|
+
declare type InstalledApps = {
|
|
6295
6300
|
[key: string]: InstallationInfo;
|
|
6296
6301
|
};
|
|
6297
6302
|
|
|
@@ -7062,7 +7067,7 @@ declare class InteropBroker extends Base {
|
|
|
7062
7067
|
* @param _id the identity tryinc to connect
|
|
7063
7068
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7064
7069
|
*/
|
|
7065
|
-
isConnectionAuthorized(_id:
|
|
7070
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7066
7071
|
/**
|
|
7067
7072
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7068
7073
|
* Return false to prevent the action
|
|
@@ -7980,7 +7985,7 @@ declare class Layout extends Base {
|
|
|
7980
7985
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
7981
7986
|
* ```
|
|
7982
7987
|
*/
|
|
7983
|
-
replaceView: (viewToReplace:
|
|
7988
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
7984
7989
|
/**
|
|
7985
7990
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
7986
7991
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8035,7 +8040,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8035
8040
|
/**
|
|
8036
8041
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8037
8042
|
*/
|
|
8038
|
-
declare type LayoutDOMEvent =
|
|
8043
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
|
8039
8044
|
type: string;
|
|
8040
8045
|
topic: 'openfin-DOM-event';
|
|
8041
8046
|
tabSelector: string;
|
|
@@ -8096,7 +8101,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8096
8101
|
/**
|
|
8097
8102
|
* @interface
|
|
8098
8103
|
*/
|
|
8099
|
-
declare type LayoutIdentity =
|
|
8104
|
+
declare type LayoutIdentity = Identity_4 & {
|
|
8100
8105
|
/**
|
|
8101
8106
|
* The name of the layout in a given window.
|
|
8102
8107
|
*/
|
|
@@ -8205,7 +8210,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8205
8210
|
* @param identity
|
|
8206
8211
|
* @returns LayoutIdentity | undefined
|
|
8207
8212
|
*/
|
|
8208
|
-
resolveLayoutIdentity(identity?:
|
|
8213
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8209
8214
|
/**
|
|
8210
8215
|
* @experimental
|
|
8211
8216
|
*
|
|
@@ -8222,7 +8227,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8222
8227
|
/**
|
|
8223
8228
|
* @experimental
|
|
8224
8229
|
*/
|
|
8225
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8230
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
|
8226
8231
|
/**
|
|
8227
8232
|
* @experimental
|
|
8228
8233
|
*/
|
|
@@ -8526,12 +8531,10 @@ declare type Listener<T extends {
|
|
|
8526
8531
|
type: string;
|
|
8527
8532
|
}> = (payload: T) => void;
|
|
8528
8533
|
|
|
8529
|
-
declare type LogInfo = OpenFin.LogInfo;
|
|
8530
|
-
|
|
8531
8534
|
/**
|
|
8532
8535
|
* @interface
|
|
8533
8536
|
*/
|
|
8534
|
-
declare type
|
|
8537
|
+
declare type LogInfo = {
|
|
8535
8538
|
/**
|
|
8536
8539
|
* The filename of the log
|
|
8537
8540
|
*/
|
|
@@ -8546,8 +8549,6 @@ declare type LogInfo_2 = {
|
|
|
8546
8549
|
date: string;
|
|
8547
8550
|
};
|
|
8548
8551
|
|
|
8549
|
-
declare type LogLevel = OpenFin.LogLevel;
|
|
8550
|
-
|
|
8551
8552
|
/**
|
|
8552
8553
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8553
8554
|
*
|
|
@@ -8557,7 +8558,7 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8557
8558
|
* `error` and above<br>
|
|
8558
8559
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8559
8560
|
*/
|
|
8560
|
-
declare type
|
|
8561
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8561
8562
|
|
|
8562
8563
|
/**
|
|
8563
8564
|
* @interface
|
|
@@ -9367,13 +9368,13 @@ declare namespace OpenFin {
|
|
|
9367
9368
|
LayoutPosition,
|
|
9368
9369
|
WebContent,
|
|
9369
9370
|
PlatformProvider,
|
|
9370
|
-
|
|
9371
|
-
|
|
9371
|
+
ApplicationIdentity,
|
|
9372
|
+
Identity_4 as Identity,
|
|
9372
9373
|
ClientIdentity,
|
|
9373
9374
|
ClientInfo,
|
|
9374
9375
|
ClientIdentityMultiRuntime,
|
|
9375
9376
|
ClientConnectionPayload,
|
|
9376
|
-
|
|
9377
|
+
EntityInfo,
|
|
9377
9378
|
EntityType_4 as EntityType,
|
|
9378
9379
|
Bounds,
|
|
9379
9380
|
WindowBounds,
|
|
@@ -9507,7 +9508,7 @@ declare namespace OpenFin {
|
|
|
9507
9508
|
GpuInfo,
|
|
9508
9509
|
OSInfo,
|
|
9509
9510
|
HostSpecs,
|
|
9510
|
-
|
|
9511
|
+
PrinterInfo,
|
|
9511
9512
|
Dpi,
|
|
9512
9513
|
Margins,
|
|
9513
9514
|
PrintOptions,
|
|
@@ -9615,24 +9616,24 @@ declare namespace OpenFin {
|
|
|
9615
9616
|
BeforeUnloadUserDecision,
|
|
9616
9617
|
ViewStatuses,
|
|
9617
9618
|
CloseWindowPayload,
|
|
9618
|
-
|
|
9619
|
-
|
|
9619
|
+
ProxyInfo,
|
|
9620
|
+
ProxyConfig,
|
|
9620
9621
|
ProxySystemInfo,
|
|
9621
9622
|
ChannelAction_2 as ChannelAction,
|
|
9622
9623
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9623
9624
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9624
|
-
|
|
9625
|
-
|
|
9625
|
+
ApplicationState,
|
|
9626
|
+
InstalledApps,
|
|
9626
9627
|
InstallationInfo,
|
|
9627
|
-
|
|
9628
|
-
|
|
9628
|
+
GetLogRequestType,
|
|
9629
|
+
LogInfo,
|
|
9629
9630
|
SendApplicationLogResponse,
|
|
9630
|
-
|
|
9631
|
+
LogLevel,
|
|
9631
9632
|
PermissionState_2 as PermissionState,
|
|
9632
|
-
|
|
9633
|
+
RegistryInfo,
|
|
9633
9634
|
ApplicationType,
|
|
9634
9635
|
WindowInfo,
|
|
9635
|
-
|
|
9636
|
+
ApplicationWindowInfo,
|
|
9636
9637
|
WindowDetail,
|
|
9637
9638
|
LayoutPresetType,
|
|
9638
9639
|
LayoutIdentity,
|
|
@@ -11541,12 +11542,10 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11541
11542
|
presetType: LayoutPresetType;
|
|
11542
11543
|
};
|
|
11543
11544
|
|
|
11544
|
-
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11545
|
-
|
|
11546
11545
|
/**
|
|
11547
11546
|
* @interface
|
|
11548
11547
|
*/
|
|
11549
|
-
declare type
|
|
11548
|
+
declare type PrinterInfo = {
|
|
11550
11549
|
/**
|
|
11551
11550
|
* Printer Name
|
|
11552
11551
|
*/
|
|
@@ -11808,20 +11807,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
11808
11807
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
11809
11808
|
|
|
11810
11809
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
11810
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
11811
|
+
'destroy-application': ApplicationIdentityCall<{
|
|
11812
|
+
force: boolean;
|
|
11813
|
+
}, void>;
|
|
11814
|
+
'close-application': ApplicationIdentityCall<{
|
|
11815
|
+
force: boolean;
|
|
11816
|
+
}, void>;
|
|
11817
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
|
11818
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
11819
|
+
'get-application-manifest': {
|
|
11820
|
+
request: {
|
|
11821
|
+
manifestUrl?: string;
|
|
11822
|
+
uuid?: string;
|
|
11823
|
+
};
|
|
11824
|
+
response: OpenFin.Manifest;
|
|
11825
|
+
};
|
|
11826
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
11827
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
11828
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
11829
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
11830
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
11831
|
+
'register-user': ApplicationIdentityCall<{
|
|
11832
|
+
userName: string;
|
|
11833
|
+
appName: string;
|
|
11834
|
+
}, void>;
|
|
11835
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
11836
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
11837
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
|
11838
|
+
'run-application': ApplicationIdentityCall<{
|
|
11839
|
+
manifestUrl?: string | undefined;
|
|
11840
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
11841
|
+
}, void>;
|
|
11842
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
11843
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
11844
|
+
'set-jump-list': ApplicationIdentityCall<{
|
|
11845
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
11846
|
+
}, void>;
|
|
11847
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
|
11848
|
+
enabledIcon: string;
|
|
11849
|
+
}, void>;
|
|
11850
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
|
11851
|
+
data: OpenFin.ShortCutConfig;
|
|
11852
|
+
}, void>;
|
|
11853
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
11854
|
+
data: string;
|
|
11855
|
+
}, void>;
|
|
11856
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
11857
|
+
level: number;
|
|
11858
|
+
}, void>;
|
|
11859
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
|
11860
|
+
data: string;
|
|
11861
|
+
}, void>;
|
|
11862
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
11863
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
11864
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
11865
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
11866
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
11867
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
11868
|
+
'set-file-download-location': {
|
|
11869
|
+
request: OpenFin.Identity & {
|
|
11870
|
+
downloadLocation: string;
|
|
11871
|
+
};
|
|
11872
|
+
response: void;
|
|
11873
|
+
};
|
|
11874
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
11875
|
+
'show-tray-icon-popup-menu': {
|
|
11876
|
+
request: OpenFin.Identity & {
|
|
11877
|
+
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
11878
|
+
};
|
|
11879
|
+
response: OpenFin.MenuResult;
|
|
11880
|
+
};
|
|
11881
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
11882
|
+
'wrap-application': VoidCall;
|
|
11883
|
+
'wrap-application-sync': VoidCall;
|
|
11884
|
+
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
11885
|
+
'application-create': VoidCall;
|
|
11886
|
+
'start-application': VoidCall;
|
|
11887
|
+
'run-applications': ApiCall<{
|
|
11888
|
+
applications: Array<OpenFin.ManifestInfo>;
|
|
11889
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
11890
|
+
}, void>;
|
|
11891
|
+
'get-current-application': VoidCall;
|
|
11892
|
+
'get-current-application-sync': VoidCall;
|
|
11893
|
+
'application-start-from-manifest': VoidCall;
|
|
11894
|
+
'application-create-from-manifest': VoidCall;
|
|
11811
11895
|
'request-external-authorization': {
|
|
11812
11896
|
request: any;
|
|
11813
11897
|
response: void;
|
|
11814
11898
|
specialResponse: AuthorizationPayload;
|
|
11815
11899
|
};
|
|
11816
|
-
'
|
|
11817
|
-
request:
|
|
11818
|
-
response: OpenFin.Identity[];
|
|
11819
|
-
};
|
|
11820
|
-
'set-jump-list': {
|
|
11821
|
-
request: {
|
|
11822
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
11823
|
-
} & OpenFin.ApplicationIdentity;
|
|
11900
|
+
'request-authorization': {
|
|
11901
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
|
11824
11902
|
response: void;
|
|
11903
|
+
specialResponse: Payload;
|
|
11825
11904
|
};
|
|
11826
11905
|
'clipboard-read-formats': {
|
|
11827
11906
|
request: {
|
|
@@ -11833,6 +11912,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11833
11912
|
request: OpenFin.ReadImageClipboardRequest;
|
|
11834
11913
|
response: string;
|
|
11835
11914
|
};
|
|
11915
|
+
'clipboard-read-text': {
|
|
11916
|
+
request: {
|
|
11917
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
11918
|
+
};
|
|
11919
|
+
response: string;
|
|
11920
|
+
};
|
|
11921
|
+
'clipboard-read-html': {
|
|
11922
|
+
request: {
|
|
11923
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
11924
|
+
};
|
|
11925
|
+
response: string;
|
|
11926
|
+
};
|
|
11927
|
+
'clipboard-read-rtf': {
|
|
11928
|
+
request: {
|
|
11929
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
11930
|
+
};
|
|
11931
|
+
response: string;
|
|
11932
|
+
};
|
|
11836
11933
|
'clipboard-write-image': {
|
|
11837
11934
|
request: OpenFin.WriteImageClipboardRequest;
|
|
11838
11935
|
response: void;
|
|
@@ -11841,6 +11938,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11841
11938
|
request: OpenFin.WriteAnyRequestType;
|
|
11842
11939
|
response: void;
|
|
11843
11940
|
};
|
|
11941
|
+
'clipboard-write-text': {
|
|
11942
|
+
request: OpenFin.WriteClipboardRequest;
|
|
11943
|
+
response: void;
|
|
11944
|
+
};
|
|
11945
|
+
'clipboard-write-html': {
|
|
11946
|
+
request: OpenFin.WriteClipboardRequest;
|
|
11947
|
+
response: void;
|
|
11948
|
+
};
|
|
11949
|
+
'clipboard-write-rtf': {
|
|
11950
|
+
request: OpenFin.WriteClipboardRequest;
|
|
11951
|
+
response: void;
|
|
11952
|
+
};
|
|
11844
11953
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
11845
11954
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
11846
11955
|
uuid: string;
|
|
@@ -11866,13 +11975,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11866
11975
|
options: OpenFin.UpdatableViewOptions;
|
|
11867
11976
|
}>;
|
|
11868
11977
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
11978
|
+
'view-wrap-sync': VoidCall;
|
|
11979
|
+
'view-wrap': VoidCall;
|
|
11980
|
+
'view-get-current': VoidCall;
|
|
11981
|
+
'view-get-current-sync': VoidCall;
|
|
11982
|
+
'animate-window': IdentityCall<{
|
|
11983
|
+
transitions: OpenFin.Transition;
|
|
11984
|
+
options: OpenFin.TransitionOptions;
|
|
11985
|
+
}>;
|
|
11986
|
+
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
11987
|
+
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
11988
|
+
'center-window': IdentityCall;
|
|
11989
|
+
'blur-window': IdentityCall;
|
|
11990
|
+
'bring-window-to-front': IdentityCall;
|
|
11991
|
+
'hide-window': IdentityCall;
|
|
11992
|
+
'close-window': IdentityCall<{
|
|
11993
|
+
force: boolean;
|
|
11994
|
+
}>;
|
|
11995
|
+
'focused-webview-changed': IdentityCall;
|
|
11996
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
|
11869
11997
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
11870
|
-
'
|
|
11998
|
+
'disable-window-frame': IdentityCall;
|
|
11999
|
+
'enable-window-frame': IdentityCall;
|
|
12000
|
+
'flash-window': IdentityCall;
|
|
12001
|
+
'stop-flash-window': IdentityCall;
|
|
12002
|
+
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12003
|
+
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12004
|
+
'get-window-snapshot': IdentityCall<{
|
|
12005
|
+
area?: OpenFin.Rectangle;
|
|
12006
|
+
}, string>;
|
|
12007
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12008
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12009
|
+
'maximize-window': IdentityCall;
|
|
12010
|
+
'minimize-window': IdentityCall;
|
|
12011
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12012
|
+
deltaLeft: number;
|
|
12013
|
+
deltaTop: number;
|
|
12014
|
+
}>>;
|
|
12015
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12016
|
+
left: number;
|
|
12017
|
+
top: number;
|
|
12018
|
+
}>>;
|
|
12019
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12020
|
+
deltaWidth: number;
|
|
12021
|
+
deltaHeight: number;
|
|
12022
|
+
anchor: OpenFin.AnchorType;
|
|
12023
|
+
}>>;
|
|
12024
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12025
|
+
width: number;
|
|
12026
|
+
height: number;
|
|
12027
|
+
anchor: OpenFin.AnchorType;
|
|
12028
|
+
}>>;
|
|
12029
|
+
'restore-window': IdentityCall;
|
|
12030
|
+
'set-foreground-window': IdentityCall;
|
|
12031
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12032
|
+
'show-window': IdentityCall<{
|
|
12033
|
+
force: boolean;
|
|
12034
|
+
}>;
|
|
12035
|
+
'show-at-window': IdentityCall<{
|
|
12036
|
+
left: number;
|
|
12037
|
+
top: number;
|
|
12038
|
+
force: boolean;
|
|
12039
|
+
}>;
|
|
12040
|
+
'update-window-options': IdentityCall<{
|
|
12041
|
+
options: OpenFin.UpdatableWindowOptions;
|
|
12042
|
+
}>;
|
|
12043
|
+
'window-authenticate': IdentityCall<{
|
|
12044
|
+
userName: string;
|
|
12045
|
+
password: string;
|
|
12046
|
+
}>;
|
|
12047
|
+
'show-popup-menu': {
|
|
11871
12048
|
request: OpenFin.Identity & {
|
|
11872
|
-
options: OpenFin.
|
|
12049
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
11873
12050
|
};
|
|
11874
|
-
response:
|
|
12051
|
+
response: OpenFin.MenuResult;
|
|
11875
12052
|
};
|
|
12053
|
+
'close-popup-menu': IdentityCall;
|
|
12054
|
+
'dispatch-popup-result': IdentityCall<{
|
|
12055
|
+
data: any;
|
|
12056
|
+
}>;
|
|
11876
12057
|
'print-screenshot': {
|
|
11877
12058
|
request: OpenFin.Identity;
|
|
11878
12059
|
response: void;
|
|
@@ -11883,6 +12064,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11883
12064
|
};
|
|
11884
12065
|
response: void;
|
|
11885
12066
|
};
|
|
12067
|
+
'window-wrap': VoidCall;
|
|
12068
|
+
'window-wrap-sync': VoidCall;
|
|
12069
|
+
'create-window': VoidCall;
|
|
12070
|
+
'get-current-window': VoidCall;
|
|
12071
|
+
'get-current-window-sync': VoidCall;
|
|
12072
|
+
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12073
|
+
'external-application-wrap': VoidCall;
|
|
12074
|
+
'external-application-wrap-sync': VoidCall;
|
|
12075
|
+
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12076
|
+
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12077
|
+
'frame-wrap': VoidCall;
|
|
12078
|
+
'frame-wrap-sync': VoidCall;
|
|
12079
|
+
'frame-get-current': VoidCall;
|
|
12080
|
+
'frame-get-current-sync': VoidCall;
|
|
12081
|
+
'global-hotkey-register': {
|
|
12082
|
+
request: {
|
|
12083
|
+
hotkey: string;
|
|
12084
|
+
};
|
|
12085
|
+
response: void;
|
|
12086
|
+
};
|
|
12087
|
+
'global-hotkey-unregister': {
|
|
12088
|
+
request: {
|
|
12089
|
+
hotkey: string;
|
|
12090
|
+
};
|
|
12091
|
+
response: void;
|
|
12092
|
+
};
|
|
12093
|
+
'global-hotkey-unregister-all': {
|
|
12094
|
+
request: {};
|
|
12095
|
+
response: void;
|
|
12096
|
+
};
|
|
12097
|
+
'global-hotkey-is-registered': {
|
|
12098
|
+
request: {
|
|
12099
|
+
hotkey: string;
|
|
12100
|
+
};
|
|
12101
|
+
response: boolean;
|
|
12102
|
+
};
|
|
12103
|
+
'publish-message': {
|
|
12104
|
+
request: {
|
|
12105
|
+
topic: string;
|
|
12106
|
+
message: any;
|
|
12107
|
+
sourceWindowName: string;
|
|
12108
|
+
};
|
|
12109
|
+
response: void;
|
|
12110
|
+
};
|
|
12111
|
+
'send-message': {
|
|
12112
|
+
request: {
|
|
12113
|
+
destinationUuid: string;
|
|
12114
|
+
destinationWindowName: string | undefined;
|
|
12115
|
+
topic: string;
|
|
12116
|
+
message: any;
|
|
12117
|
+
sourceWindowName: string;
|
|
12118
|
+
};
|
|
12119
|
+
response: void;
|
|
12120
|
+
};
|
|
12121
|
+
'subscribe': {
|
|
12122
|
+
request: {
|
|
12123
|
+
sourceUuid: string;
|
|
12124
|
+
sourceWindowName: string;
|
|
12125
|
+
topic: string;
|
|
12126
|
+
destinationWindowName: string;
|
|
12127
|
+
messageKey?: any;
|
|
12128
|
+
};
|
|
12129
|
+
response: void;
|
|
12130
|
+
};
|
|
12131
|
+
'unsubscribe': {
|
|
12132
|
+
request: {
|
|
12133
|
+
sourceUuid: string;
|
|
12134
|
+
sourceWindowName: string;
|
|
12135
|
+
topic: string;
|
|
12136
|
+
destinationWindowName: string;
|
|
12137
|
+
};
|
|
12138
|
+
response: void;
|
|
12139
|
+
};
|
|
12140
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12141
|
+
'connect-to-channel': {
|
|
12142
|
+
request: any;
|
|
12143
|
+
response: OpenFin.RoutingInfo;
|
|
12144
|
+
};
|
|
12145
|
+
'create-channel': ApiCall<{
|
|
12146
|
+
channelName: string;
|
|
12147
|
+
}, OpenFin.ProviderIdentity>;
|
|
12148
|
+
'destroy-channel': ApiCall<{
|
|
12149
|
+
channelName: string;
|
|
12150
|
+
}, void>;
|
|
12151
|
+
'disconnect-from-channel': {
|
|
12152
|
+
request: {
|
|
12153
|
+
channelName: string;
|
|
12154
|
+
uuid: string;
|
|
12155
|
+
name: string;
|
|
12156
|
+
endpointId: string;
|
|
12157
|
+
};
|
|
12158
|
+
response: void;
|
|
12159
|
+
};
|
|
12160
|
+
'send-channel-message': {
|
|
12161
|
+
request: any;
|
|
12162
|
+
response: any;
|
|
12163
|
+
};
|
|
12164
|
+
'get-version': GetterCall<string>;
|
|
12165
|
+
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12166
|
+
'delete-cache-request': VoidCall;
|
|
12167
|
+
'exit-desktop': VoidCall;
|
|
12168
|
+
'fetch-manifest': ApiCall<{
|
|
12169
|
+
manifestUrl: string;
|
|
12170
|
+
}, any>;
|
|
12171
|
+
'flush-cookie-store': VoidCall;
|
|
12172
|
+
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12173
|
+
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12174
|
+
'get-command-line-arguments': GetterCall<string>;
|
|
12175
|
+
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12176
|
+
'start-crash-reporter': {
|
|
12177
|
+
request: OpenFin.CrashReporterOptions | {
|
|
12178
|
+
diagnosticMode: boolean;
|
|
12179
|
+
};
|
|
12180
|
+
response: OpenFin.CrashReporterState;
|
|
12181
|
+
};
|
|
12182
|
+
'get-unique-user-id': GetterCall<string>;
|
|
12183
|
+
'get-entity-info': {
|
|
12184
|
+
request: {
|
|
12185
|
+
uuid: string;
|
|
12186
|
+
name: string;
|
|
12187
|
+
};
|
|
12188
|
+
response: OpenFin.EntityInfo;
|
|
12189
|
+
};
|
|
12190
|
+
'get-environment-variable': {
|
|
12191
|
+
request: {
|
|
12192
|
+
environmentVariables: string;
|
|
12193
|
+
};
|
|
12194
|
+
response: string;
|
|
12195
|
+
};
|
|
12196
|
+
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12197
|
+
'is-app-certified': {
|
|
12198
|
+
request: {
|
|
12199
|
+
manifestUrl: string;
|
|
12200
|
+
};
|
|
12201
|
+
response: {
|
|
12202
|
+
action: string;
|
|
12203
|
+
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12204
|
+
};
|
|
12205
|
+
};
|
|
12206
|
+
'get-installed-runtimes': GetterCall<{
|
|
12207
|
+
action: string;
|
|
12208
|
+
runtimes: string[];
|
|
12209
|
+
}>;
|
|
12210
|
+
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12211
|
+
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12212
|
+
'get-machine-id': GetterCall<string>;
|
|
12213
|
+
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12214
|
+
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12215
|
+
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12216
|
+
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12217
|
+
'process-snapshot': GetterCall<Array<any>>;
|
|
12218
|
+
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12219
|
+
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12220
|
+
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12221
|
+
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12222
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12223
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12224
|
+
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12225
|
+
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12226
|
+
'write-to-log': ApiCall<{
|
|
12227
|
+
level: string;
|
|
12228
|
+
message: string;
|
|
12229
|
+
}, void>;
|
|
12230
|
+
'open-url-with-browser': ApiCall<{
|
|
12231
|
+
url: string;
|
|
12232
|
+
}, void>;
|
|
12233
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12234
|
+
'unregister-custom-protocol': ApiCall<{
|
|
12235
|
+
protocolName: string;
|
|
12236
|
+
}, void>;
|
|
12237
|
+
'get-custom-protocol-state': ApiCall<{
|
|
12238
|
+
protocolName: string;
|
|
12239
|
+
}, OpenFin.CustomProtocolState>;
|
|
12240
|
+
'release-external-process': ApiCall<{
|
|
12241
|
+
uuid: string;
|
|
12242
|
+
}, void>;
|
|
12243
|
+
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12244
|
+
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12245
|
+
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12246
|
+
'download-asset': {
|
|
12247
|
+
request: OpenFin.AppAssetInfo & {
|
|
12248
|
+
downloadId: string;
|
|
12249
|
+
};
|
|
12250
|
+
response: void;
|
|
12251
|
+
};
|
|
12252
|
+
'download-runtime': {
|
|
12253
|
+
request: OpenFin.RuntimeDownloadOptions & {
|
|
12254
|
+
downloadId: string;
|
|
12255
|
+
};
|
|
12256
|
+
response: void;
|
|
12257
|
+
};
|
|
12258
|
+
'download-preload-scripts': ApiCall<{
|
|
12259
|
+
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12260
|
+
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12261
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12262
|
+
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12263
|
+
'get-cookies': {
|
|
12264
|
+
request: OpenFin.CookieOption & {
|
|
12265
|
+
url: string;
|
|
12266
|
+
};
|
|
12267
|
+
response: Array<OpenFin.CookieInfo>;
|
|
12268
|
+
};
|
|
12269
|
+
'set-min-log-level': ApiCall<{
|
|
12270
|
+
level: OpenFin.LogLevel;
|
|
12271
|
+
}, void>;
|
|
12272
|
+
'resolve-uuid': ApiCall<{
|
|
12273
|
+
entityKey: string;
|
|
12274
|
+
}, OpenFin.ApplicationType>;
|
|
12275
|
+
'read-registry-value': ApiCall<{
|
|
12276
|
+
rootKey: string;
|
|
12277
|
+
subkey: string;
|
|
12278
|
+
value: string;
|
|
12279
|
+
}, OpenFin.RegistryInfo>;
|
|
12280
|
+
'register-external-connection': ApiCall<{
|
|
12281
|
+
uuid: string;
|
|
12282
|
+
}, OpenFin.ExternalConnection>;
|
|
12283
|
+
'get-service-configuration': ApiCall<{
|
|
12284
|
+
name: string;
|
|
12285
|
+
}, OpenFin.ServiceConfiguration>;
|
|
12286
|
+
'get-system-app-configuration': ApiCall<{
|
|
12287
|
+
name: string;
|
|
12288
|
+
}, any>;
|
|
12289
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
11886
12290
|
'launch-manifest': {
|
|
11887
12291
|
request: {
|
|
11888
12292
|
manifestUrl: string;
|
|
@@ -11894,17 +12298,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11894
12298
|
manifest: OpenFin.Manifest;
|
|
11895
12299
|
};
|
|
11896
12300
|
};
|
|
11897
|
-
'
|
|
12301
|
+
'query-permission-for-current-context': {
|
|
11898
12302
|
request: {
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
response: any;
|
|
11902
|
-
};
|
|
11903
|
-
'show-popup-menu': {
|
|
11904
|
-
request: OpenFin.Identity & {
|
|
11905
|
-
options: OpenFin.ShowPopupMenuOptions;
|
|
12303
|
+
apiName: string;
|
|
12304
|
+
identity: OpenFin.Identity;
|
|
11906
12305
|
};
|
|
11907
|
-
response: OpenFin.
|
|
12306
|
+
response: OpenFin.QueryPermissionResult;
|
|
11908
12307
|
};
|
|
11909
12308
|
'enable-native-window-integration-provider': {
|
|
11910
12309
|
request: {
|
|
@@ -11912,24 +12311,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11912
12311
|
};
|
|
11913
12312
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
11914
12313
|
};
|
|
12314
|
+
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12315
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12316
|
+
'system-update-process-logging-options': ApiCall<{
|
|
12317
|
+
options: OpenFin.ProcessLoggingOptions;
|
|
12318
|
+
}, void>;
|
|
12319
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12320
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12321
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12322
|
+
}, void>;
|
|
12323
|
+
'system-register-shutdown-handler': VoidCall;
|
|
11915
12324
|
'get-permissions': GetterCall<any>;
|
|
11916
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
11917
|
-
'set-file-download-location': {
|
|
11918
|
-
request: OpenFin.Identity & {
|
|
11919
|
-
downloadLocation: string;
|
|
11920
|
-
};
|
|
11921
|
-
response: void;
|
|
11922
|
-
};
|
|
11923
|
-
'get-file-download-location': {
|
|
11924
|
-
request: OpenFin.ApplicationIdentity;
|
|
11925
|
-
response: string;
|
|
11926
|
-
};
|
|
11927
|
-
'close-popup-menu': IdentityCall;
|
|
11928
12325
|
'fdc3-add-context-listener': VoidCall;
|
|
12326
|
+
'fdc3-add-intent-listener': VoidCall;
|
|
12327
|
+
'fdc3-raise-intent': VoidCall;
|
|
12328
|
+
'fdc3-find-intent': VoidCall;
|
|
12329
|
+
'fdc3-find-intents-by-context': VoidCall;
|
|
12330
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
|
12331
|
+
'fdc3-get-info': VoidCall;
|
|
12332
|
+
'fdc3-find-instances': VoidCall;
|
|
12333
|
+
'fdc3-get-app-metadata': VoidCall;
|
|
11929
12334
|
'fdc3-broadcast': VoidCall;
|
|
12335
|
+
'fdc3-open': VoidCall;
|
|
12336
|
+
'fdc3-get-or-create-channel': VoidCall;
|
|
11930
12337
|
'fdc3-get-system-channels': VoidCall;
|
|
11931
12338
|
'fdc3-join-channel': VoidCall;
|
|
12339
|
+
'fdc3-get-current-channel': VoidCall;
|
|
11932
12340
|
'fdc3-leave-current-channel': VoidCall;
|
|
12341
|
+
'interop-init': VoidCall;
|
|
11933
12342
|
'interop-connect-sync': VoidCall;
|
|
11934
12343
|
'interop-client-set-context': VoidCall;
|
|
11935
12344
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -11938,6 +12347,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11938
12347
|
'interop-client-remove-from-context-group': VoidCall;
|
|
11939
12348
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
11940
12349
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
12350
|
+
'interop-client-fire-intent': VoidCall;
|
|
12351
|
+
'interop-client-register-intent-handler': VoidCall;
|
|
12352
|
+
'interop-client-get-current-context': VoidCall;
|
|
12353
|
+
'interop-client-get-info-for-intent': VoidCall;
|
|
12354
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
12355
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
|
12356
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
11941
12357
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
11942
12358
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
11943
12359
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -11949,13 +12365,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11949
12365
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
11950
12366
|
'interop-broker-set-context': VoidCall;
|
|
11951
12367
|
'interop-broker-set-context-for-group': VoidCall;
|
|
11952
|
-
'
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
12368
|
+
'interop-broker-get-current-context': VoidCall;
|
|
12369
|
+
'interop-broker-set-intent-target': VoidCall;
|
|
12370
|
+
'interop-session-context-group-set-context': VoidCall;
|
|
12371
|
+
'interop-session-context-group-get-context': VoidCall;
|
|
12372
|
+
'interop-session-context-group-add-handler': VoidCall;
|
|
12373
|
+
'platform-wrap': VoidCall;
|
|
12374
|
+
'platform-wrap-sync': VoidCall;
|
|
12375
|
+
'platform-get-current': VoidCall;
|
|
12376
|
+
'platform-get-current-sync': VoidCall;
|
|
12377
|
+
'platform-start': VoidCall;
|
|
12378
|
+
'platform-start-from-manifest': VoidCall;
|
|
12379
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
12380
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
12381
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
12382
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
12383
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
12384
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
12385
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12386
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12387
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
12388
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
12389
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
12390
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
12391
|
+
'layout-wrap': VoidCall;
|
|
12392
|
+
'layout-wrap-sync': VoidCall;
|
|
12393
|
+
'layout-get-current': VoidCall;
|
|
12394
|
+
'layout-get-current-sync': VoidCall;
|
|
12395
|
+
'layout-init': VoidCall;
|
|
12396
|
+
'layout-get-config': VoidCall;
|
|
12397
|
+
'layout-get-views': VoidCall;
|
|
12398
|
+
'layout-replace': VoidCall;
|
|
12399
|
+
'layout-get-root-item': VoidCall;
|
|
12400
|
+
'layout-replace-view': VoidCall;
|
|
12401
|
+
'layout-apply-preset': VoidCall;
|
|
12402
|
+
'layout-controller-get-root': VoidCall;
|
|
12403
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
|
12404
|
+
'layout-controller-get-stack-views': VoidCall;
|
|
12405
|
+
'layout-controller-get-content': VoidCall;
|
|
12406
|
+
'layout-controller-get-parent': VoidCall;
|
|
12407
|
+
'layout-controller-is-root': VoidCall;
|
|
12408
|
+
'layout-controller-exists': VoidCall;
|
|
12409
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
|
12410
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
|
12411
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
|
12412
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
12413
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
|
12414
|
+
'snapshot-source-init': VoidCall;
|
|
12415
|
+
'snapshot-source-wrap-sync': VoidCall;
|
|
12416
|
+
'snapshot-source-wrap': VoidCall;
|
|
12417
|
+
'snapshot-source-ready': VoidCall;
|
|
12418
|
+
'snapshot-source-get-snapshot': VoidCall;
|
|
12419
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
|
12420
|
+
'capture-page': IdentityCall<{
|
|
12421
|
+
options?: OpenFin.CapturePageOptions;
|
|
12422
|
+
}, string>;
|
|
12423
|
+
'execute-javascript-in-window': IdentityCall<{
|
|
12424
|
+
code: string;
|
|
12425
|
+
}, unknown>;
|
|
12426
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
|
12427
|
+
'set-zoom-level': IdentityCall<{
|
|
12428
|
+
level: number;
|
|
12429
|
+
}, void>;
|
|
12430
|
+
'navigate-window': IdentityCall<{
|
|
12431
|
+
url: string;
|
|
12432
|
+
}, void>;
|
|
12433
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
|
12434
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
|
12435
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
|
12436
|
+
'reload-window': IdentityCall<{
|
|
12437
|
+
ignoreCache: boolean;
|
|
12438
|
+
}, void>;
|
|
12439
|
+
'print': IdentityCall<{
|
|
12440
|
+
options: OpenFin.PrintOptions;
|
|
12441
|
+
}, void>;
|
|
12442
|
+
'find-in-page': IdentityCall<{
|
|
12443
|
+
searchTerm: string;
|
|
12444
|
+
options?: OpenFin.FindInPageOptions;
|
|
12445
|
+
}, void>;
|
|
12446
|
+
'stop-find-in-page': IdentityCall<{
|
|
12447
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
12448
|
+
}, void>;
|
|
12449
|
+
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
12450
|
+
'focus-window': IdentityCall<{
|
|
12451
|
+
emitSynthFocused: boolean;
|
|
12452
|
+
}, void>;
|
|
12453
|
+
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
12454
|
+
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
12455
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
12456
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
|
12457
|
+
workerId: string;
|
|
12458
|
+
}, void>;
|
|
12459
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
|
12460
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
|
12461
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
|
11959
12462
|
'try-create-popup-window': {
|
|
11960
12463
|
request: OpenFin.Identity & {
|
|
11961
12464
|
options: OpenFin.PopupOptions;
|
|
@@ -11971,9 +12474,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11971
12474
|
};
|
|
11972
12475
|
response: OpenFin.PopupResult;
|
|
11973
12476
|
};
|
|
11974
|
-
'dispatch-popup-result': IdentityCall<{
|
|
11975
|
-
data: any;
|
|
11976
|
-
}>;
|
|
11977
12477
|
'render-overlay': {
|
|
11978
12478
|
request: {
|
|
11979
12479
|
bounds: OpenFin.Bounds;
|
|
@@ -11993,40 +12493,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11993
12493
|
};
|
|
11994
12494
|
response: void;
|
|
11995
12495
|
};
|
|
11996
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
11997
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11998
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11999
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12000
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12001
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12002
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12003
|
-
}, void>;
|
|
12004
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12005
|
-
deltaLeft: number;
|
|
12006
|
-
deltaTop: number;
|
|
12007
|
-
}>>;
|
|
12008
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12009
|
-
left: number;
|
|
12010
|
-
top: number;
|
|
12011
|
-
}>>;
|
|
12012
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12013
|
-
deltaWidth: number;
|
|
12014
|
-
deltaHeight: number;
|
|
12015
|
-
anchor: OpenFin.AnchorType;
|
|
12016
|
-
}>>;
|
|
12017
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12018
|
-
width: number;
|
|
12019
|
-
height: number;
|
|
12020
|
-
anchor: OpenFin.AnchorType;
|
|
12021
|
-
}>>;
|
|
12022
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12023
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12024
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12025
|
-
protocolName: string;
|
|
12026
|
-
}, void>;
|
|
12027
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12028
|
-
protocolName: string;
|
|
12029
|
-
}, OpenFin.CustomProtocolState>;
|
|
12030
12496
|
}
|
|
12031
12497
|
|
|
12032
12498
|
declare interface ProtocolMapBase {
|
|
@@ -12056,7 +12522,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12056
12522
|
* Identity of a channel provider.
|
|
12057
12523
|
* @interface
|
|
12058
12524
|
*/
|
|
12059
|
-
declare type ProviderIdentity_4 =
|
|
12525
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
|
12060
12526
|
/**
|
|
12061
12527
|
* Identifier of the channel.
|
|
12062
12528
|
*/
|
|
@@ -12067,12 +12533,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
|
12067
12533
|
channelName: string;
|
|
12068
12534
|
};
|
|
12069
12535
|
|
|
12070
|
-
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12071
|
-
|
|
12072
12536
|
/**
|
|
12073
12537
|
* @interface
|
|
12074
12538
|
*/
|
|
12075
|
-
declare type
|
|
12539
|
+
declare type ProxyConfig = {
|
|
12076
12540
|
/**
|
|
12077
12541
|
* The configured proxy address.
|
|
12078
12542
|
*/
|
|
@@ -12084,13 +12548,11 @@ declare type ProxyConfig_2 = {
|
|
|
12084
12548
|
type: string;
|
|
12085
12549
|
};
|
|
12086
12550
|
|
|
12087
|
-
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12088
|
-
|
|
12089
12551
|
/**
|
|
12090
12552
|
* @interface
|
|
12091
12553
|
*/
|
|
12092
|
-
declare type
|
|
12093
|
-
config:
|
|
12554
|
+
declare type ProxyInfo = {
|
|
12555
|
+
config: ProxyConfig;
|
|
12094
12556
|
system: ProxySystemInfo;
|
|
12095
12557
|
};
|
|
12096
12558
|
|
|
@@ -12196,12 +12658,10 @@ declare type RegisterUsageData = {
|
|
|
12196
12658
|
type: string;
|
|
12197
12659
|
};
|
|
12198
12660
|
|
|
12199
|
-
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12200
|
-
|
|
12201
12661
|
/**
|
|
12202
12662
|
* @interface
|
|
12203
12663
|
*/
|
|
12204
|
-
declare type
|
|
12664
|
+
declare type RegistryInfo = {
|
|
12205
12665
|
data: any;
|
|
12206
12666
|
rootKey: string;
|
|
12207
12667
|
subkey: string;
|
|
@@ -12222,6 +12682,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
|
12222
12682
|
token: string;
|
|
12223
12683
|
}
|
|
12224
12684
|
|
|
12685
|
+
/**
|
|
12686
|
+
* Generated when a View is removed from a layout.
|
|
12687
|
+
* @interface
|
|
12688
|
+
*/
|
|
12689
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
|
12690
|
+
type: 'removed-from-layout';
|
|
12691
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
12692
|
+
};
|
|
12693
|
+
|
|
12225
12694
|
/**
|
|
12226
12695
|
* @interface
|
|
12227
12696
|
*/
|
|
@@ -12250,14 +12719,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12250
12719
|
/**
|
|
12251
12720
|
* Identity of the window whose layout will be replaced.
|
|
12252
12721
|
*/
|
|
12253
|
-
target:
|
|
12722
|
+
target: Identity_4 | LayoutIdentity;
|
|
12254
12723
|
};
|
|
12255
12724
|
|
|
12256
12725
|
/**
|
|
12257
12726
|
* @interface
|
|
12258
12727
|
*/
|
|
12259
12728
|
declare type ReplaceViewOptions = {
|
|
12260
|
-
viewToReplace:
|
|
12729
|
+
viewToReplace: Identity_4;
|
|
12261
12730
|
newView: ViewState;
|
|
12262
12731
|
};
|
|
12263
12732
|
|
|
@@ -12266,7 +12735,7 @@ declare type ReplaceViewOptions = {
|
|
|
12266
12735
|
*/
|
|
12267
12736
|
declare type ReplaceViewPayload = {
|
|
12268
12737
|
opts: {
|
|
12269
|
-
viewToReplace:
|
|
12738
|
+
viewToReplace: Identity_4;
|
|
12270
12739
|
newView: Partial<ViewOptions>;
|
|
12271
12740
|
};
|
|
12272
12741
|
target: LayoutIdentity;
|
|
@@ -12632,7 +13101,7 @@ declare type SetWindowContextPayload = {
|
|
|
12632
13101
|
/**
|
|
12633
13102
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
12634
13103
|
*/
|
|
12635
|
-
target:
|
|
13104
|
+
target: Identity_4;
|
|
12636
13105
|
};
|
|
12637
13106
|
|
|
12638
13107
|
/**
|
|
@@ -13076,7 +13545,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13076
13545
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13077
13546
|
* ```
|
|
13078
13547
|
*/
|
|
13079
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13548
|
+
getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
|
|
13080
13549
|
/**
|
|
13081
13550
|
* Retrieves an array of data for all applications.
|
|
13082
13551
|
*
|
|
@@ -13085,7 +13554,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13085
13554
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13086
13555
|
* ```
|
|
13087
13556
|
*/
|
|
13088
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
13557
|
+
getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
|
|
13089
13558
|
/**
|
|
13090
13559
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13091
13560
|
*
|
|
@@ -13160,7 +13629,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13160
13629
|
* }
|
|
13161
13630
|
* ```
|
|
13162
13631
|
*/
|
|
13163
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
13632
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
|
|
13164
13633
|
/**
|
|
13165
13634
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13166
13635
|
*
|
|
@@ -13202,7 +13671,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13202
13671
|
* ```
|
|
13203
13672
|
*/
|
|
13204
13673
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13205
|
-
getInstalledApps(): Promise<InstalledApps>;
|
|
13674
|
+
getInstalledApps(): Promise<OpenFin.InstalledApps>;
|
|
13206
13675
|
/**
|
|
13207
13676
|
* Retrieves the contents of the log with the specified filename.
|
|
13208
13677
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13217,7 +13686,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13217
13686
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13218
13687
|
* ```
|
|
13219
13688
|
*/
|
|
13220
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
|
13689
|
+
getLog(options: OpenFin.GetLogRequestType): Promise<string>;
|
|
13221
13690
|
/**
|
|
13222
13691
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13223
13692
|
*
|
|
@@ -13235,7 +13704,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13235
13704
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13236
13705
|
* ```
|
|
13237
13706
|
*/
|
|
13238
|
-
getMinLogLevel(): Promise<LogLevel>;
|
|
13707
|
+
getMinLogLevel(): Promise<OpenFin.LogLevel>;
|
|
13239
13708
|
/**
|
|
13240
13709
|
* Retrieves an array containing information for each log file.
|
|
13241
13710
|
*
|
|
@@ -13244,7 +13713,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13244
13713
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
13245
13714
|
* ```
|
|
13246
13715
|
*/
|
|
13247
|
-
getLogList(): Promise<Array<LogInfo>>;
|
|
13716
|
+
getLogList(): Promise<Array<OpenFin.LogInfo>>;
|
|
13248
13717
|
/**
|
|
13249
13718
|
* Retrieves an object that contains data about the monitor setup of the
|
|
13250
13719
|
* computer that the runtime is running on.
|
|
@@ -13315,7 +13784,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13315
13784
|
* }
|
|
13316
13785
|
* ```
|
|
13317
13786
|
*/
|
|
13318
|
-
getProxySettings(): Promise<ProxyInfo>;
|
|
13787
|
+
getProxySettings(): Promise<OpenFin.ProxyInfo>;
|
|
13319
13788
|
/**
|
|
13320
13789
|
* Returns information about the running Runtime in an object.
|
|
13321
13790
|
*
|
|
@@ -13682,7 +14151,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13682
14151
|
* }
|
|
13683
14152
|
* ```
|
|
13684
14153
|
*/
|
|
13685
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
14154
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
|
|
13686
14155
|
/**
|
|
13687
14156
|
* Monitors a running process. A pid for the process must be included in options.
|
|
13688
14157
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -13699,7 +14168,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13699
14168
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
13700
14169
|
* ```
|
|
13701
14170
|
*/
|
|
13702
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
14171
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
|
|
13703
14172
|
/**
|
|
13704
14173
|
* Writes the passed message into both the log file and the console.
|
|
13705
14174
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -13833,7 +14302,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13833
14302
|
*
|
|
13834
14303
|
* @tutorial System.showDeveloperTools
|
|
13835
14304
|
*/
|
|
13836
|
-
showDeveloperTools(identity:
|
|
14305
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
|
13837
14306
|
/**
|
|
13838
14307
|
* Attempt to close an external process. The process will be terminated if it
|
|
13839
14308
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -13867,7 +14336,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13867
14336
|
* .catch(err => console.error(err));
|
|
13868
14337
|
* ```
|
|
13869
14338
|
*/
|
|
13870
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14339
|
+
updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
|
|
13871
14340
|
/**
|
|
13872
14341
|
* Downloads the given application asset.
|
|
13873
14342
|
*
|
|
@@ -13959,7 +14428,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13959
14428
|
* .catch(err => console.log(err));
|
|
13960
14429
|
* ```
|
|
13961
14430
|
*/
|
|
13962
|
-
getAllExternalApplications(): Promise<Array<
|
|
14431
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
|
13963
14432
|
/**
|
|
13964
14433
|
* Retrieves app asset information.
|
|
13965
14434
|
* @param options
|
|
@@ -13988,7 +14457,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13988
14457
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
13989
14458
|
* ```
|
|
13990
14459
|
*/
|
|
13991
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14460
|
+
setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
|
|
13992
14461
|
/**
|
|
13993
14462
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
13994
14463
|
* @param uuid The uuid of the running application
|
|
@@ -13998,7 +14467,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13998
14467
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
13999
14468
|
* ```
|
|
14000
14469
|
*/
|
|
14001
|
-
resolveUuid(uuid: string): Promise<
|
|
14470
|
+
resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
|
|
14002
14471
|
/**
|
|
14003
14472
|
* Retrieves an array of data for all external applications
|
|
14004
14473
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14006,7 +14475,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14006
14475
|
*
|
|
14007
14476
|
* @ignore
|
|
14008
14477
|
*/
|
|
14009
|
-
executeOnRemote(requestingIdentity:
|
|
14478
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
|
14010
14479
|
/**
|
|
14011
14480
|
* Reads the specifed value from the registry.
|
|
14012
14481
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14099,7 +14568,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14099
14568
|
* }
|
|
14100
14569
|
* ```
|
|
14101
14570
|
*/
|
|
14102
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
14571
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
|
|
14103
14572
|
/**
|
|
14104
14573
|
* This function call will register a unique id and produce a token.
|
|
14105
14574
|
* The token can be used to broker an external connection.
|
|
@@ -14314,7 +14783,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14314
14783
|
* });
|
|
14315
14784
|
* ```
|
|
14316
14785
|
*/
|
|
14317
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
|
14786
|
+
getPrinters(): Promise<OpenFin.PrinterInfo[]>;
|
|
14318
14787
|
/**
|
|
14319
14788
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
14320
14789
|
* @param options Process Logging updatable options.
|
|
@@ -14933,14 +15402,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
14933
15402
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
14934
15403
|
|
|
14935
15404
|
/**
|
|
14936
|
-
*
|
|
15405
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
|
15406
|
+
*
|
|
14937
15407
|
* @interface
|
|
14938
15408
|
*/
|
|
14939
|
-
declare type UserBoundsChangeEvent =
|
|
14940
|
-
height: number;
|
|
14941
|
-
left: number;
|
|
14942
|
-
top: number;
|
|
14943
|
-
width: number;
|
|
15409
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
|
14944
15410
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
14945
15411
|
};
|
|
14946
15412
|
|
|
@@ -15549,7 +16015,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
15549
16015
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
15550
16016
|
name: string;
|
|
15551
16017
|
url: string;
|
|
15552
|
-
target:
|
|
16018
|
+
target: Identity_4;
|
|
15553
16019
|
};
|
|
15554
16020
|
|
|
15555
16021
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
@@ -15578,6 +16044,8 @@ declare namespace ViewEvents {
|
|
|
15578
16044
|
BaseEvent_4 as BaseEvent,
|
|
15579
16045
|
BaseViewEvent,
|
|
15580
16046
|
TargetChangedEvent,
|
|
16047
|
+
AddedToLayoutEvent,
|
|
16048
|
+
RemovedFromLayoutEvent,
|
|
15581
16049
|
NonPropagatedViewEvent,
|
|
15582
16050
|
CreatedEvent,
|
|
15583
16051
|
DestroyedEvent,
|
|
@@ -15733,15 +16201,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
15733
16201
|
/**
|
|
15734
16202
|
* Identity of the Window.
|
|
15735
16203
|
*/
|
|
15736
|
-
windowId:
|
|
16204
|
+
windowId: Identity_4;
|
|
15737
16205
|
/**
|
|
15738
16206
|
* Identities of the Views that are preventing an unload
|
|
15739
16207
|
*/
|
|
15740
|
-
viewsPreventingUnload:
|
|
16208
|
+
viewsPreventingUnload: Identity_4[];
|
|
15741
16209
|
/**
|
|
15742
16210
|
* Identities of the Views that are not preventing an unload
|
|
15743
16211
|
*/
|
|
15744
|
-
viewsNotPreventingUnload:
|
|
16212
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
15745
16213
|
/**
|
|
15746
16214
|
* Source of the close action.
|
|
15747
16215
|
*/
|
|
@@ -15766,11 +16234,11 @@ declare interface ViewStatuses {
|
|
|
15766
16234
|
/**
|
|
15767
16235
|
* Identities of the Views that are preventing an unload.
|
|
15768
16236
|
*/
|
|
15769
|
-
viewsPreventingUnload:
|
|
16237
|
+
viewsPreventingUnload: Identity_4[];
|
|
15770
16238
|
/**
|
|
15771
16239
|
* Identities of the Views that are not preventing an unload.
|
|
15772
16240
|
*/
|
|
15773
|
-
viewsNotPreventingUnload:
|
|
16241
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
15774
16242
|
}
|
|
15775
16243
|
|
|
15776
16244
|
/**
|
|
@@ -16275,7 +16743,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
16275
16743
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
16276
16744
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
16277
16745
|
*/
|
|
16278
|
-
stopFindInPage(action:
|
|
16746
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
|
16279
16747
|
/**
|
|
16280
16748
|
* Returns an array with all system printers
|
|
16281
16749
|
* @deprecated use System.getPrinters instead
|
|
@@ -16868,11 +17336,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
16868
17336
|
* A general will-move or will-resize event without event type.
|
|
16869
17337
|
* @interface
|
|
16870
17338
|
*/
|
|
16871
|
-
declare type WillMoveOrResizeEvent =
|
|
16872
|
-
height: number;
|
|
16873
|
-
left: number;
|
|
16874
|
-
top: number;
|
|
16875
|
-
width: number;
|
|
17339
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
|
16876
17340
|
monitorScaleFactor: number;
|
|
16877
17341
|
};
|
|
16878
17342
|
|
|
@@ -18064,16 +18528,21 @@ declare namespace WindowEvents {
|
|
|
18064
18528
|
PreloadScriptInfoRunning,
|
|
18065
18529
|
PreloadScriptInfo,
|
|
18066
18530
|
PreloadScriptsStateChangeEvent,
|
|
18067
|
-
|
|
18531
|
+
BoundsEvent,
|
|
18068
18532
|
BoundsChangeEvent,
|
|
18069
18533
|
WillMoveOrResizeEvent,
|
|
18534
|
+
BoundsDidChangeEvent,
|
|
18535
|
+
BoundsChangedEvent,
|
|
18536
|
+
BoundsChangingEvent,
|
|
18537
|
+
DisabledMovementBoundsChangedEvent,
|
|
18538
|
+
DisabledMovementBoundsChangingEvent,
|
|
18539
|
+
UserBoundsChangeEvent,
|
|
18540
|
+
BeginUserBoundsChangingEvent,
|
|
18541
|
+
EndUserBoundsChangingEvent,
|
|
18070
18542
|
PerformanceReportEvent,
|
|
18071
18543
|
InputEvent_2 as InputEvent,
|
|
18072
18544
|
LayoutInitializedEvent,
|
|
18073
18545
|
LayoutReadyEvent,
|
|
18074
|
-
BeginUserBoundsChangingEvent,
|
|
18075
|
-
BoundsChangedEvent,
|
|
18076
|
-
BoundsChangingEvent,
|
|
18077
18546
|
CloseRequestedEvent,
|
|
18078
18547
|
WindowCloseRequestedEvent,
|
|
18079
18548
|
ContextChangedEvent,
|
|
@@ -18081,10 +18550,7 @@ declare namespace WindowEvents {
|
|
|
18081
18550
|
WindowClosedEvent,
|
|
18082
18551
|
ClosingEvent,
|
|
18083
18552
|
WindowClosingEvent,
|
|
18084
|
-
DisabledMovementBoundsChangedEvent,
|
|
18085
|
-
DisabledMovementBoundsChangingEvent,
|
|
18086
18553
|
EmbeddedEvent,
|
|
18087
|
-
EndUserBoundsChangingEvent,
|
|
18088
18554
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18089
18555
|
WindowHotkeyEvent,
|
|
18090
18556
|
InitializedEvent_2 as InitializedEvent,
|