@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.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
|
/**
|
|
@@ -927,15 +936,15 @@ declare namespace ApplicationEvents {
|
|
|
927
936
|
*/
|
|
928
937
|
declare type ApplicationEventType = EventType_3;
|
|
929
938
|
|
|
930
|
-
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
931
|
-
|
|
932
939
|
/**
|
|
933
940
|
* @interface
|
|
934
941
|
*/
|
|
935
|
-
declare type
|
|
942
|
+
declare type ApplicationIdentity = {
|
|
936
943
|
uuid: string;
|
|
937
944
|
};
|
|
938
945
|
|
|
946
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
947
|
+
|
|
939
948
|
/**
|
|
940
949
|
* @interface
|
|
941
950
|
*/
|
|
@@ -1308,12 +1317,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1308
1317
|
*/
|
|
1309
1318
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1310
1319
|
|
|
1311
|
-
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1312
|
-
|
|
1313
1320
|
/**
|
|
1314
1321
|
* @interface
|
|
1315
1322
|
*/
|
|
1316
|
-
declare type
|
|
1323
|
+
declare type ApplicationState = {
|
|
1317
1324
|
/**
|
|
1318
1325
|
* True when the application is a Platform controller
|
|
1319
1326
|
*/
|
|
@@ -1345,12 +1352,10 @@ declare type ApplicationType = {
|
|
|
1345
1352
|
*/
|
|
1346
1353
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1347
1354
|
|
|
1348
|
-
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1349
|
-
|
|
1350
1355
|
/**
|
|
1351
1356
|
* @interface
|
|
1352
1357
|
*/
|
|
1353
|
-
declare type
|
|
1358
|
+
declare type ApplicationWindowInfo = {
|
|
1354
1359
|
childWindows: Array<WindowDetail>;
|
|
1355
1360
|
mainWindow: WindowDetail;
|
|
1356
1361
|
/**
|
|
@@ -1629,7 +1634,7 @@ declare class Base {
|
|
|
1629
1634
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
|
1630
1635
|
* on the context in which the devtools panel was opened.
|
|
1631
1636
|
*/
|
|
1632
|
-
get me(): Identity;
|
|
1637
|
+
get me(): OpenFin.Identity;
|
|
1633
1638
|
/**
|
|
1634
1639
|
* @internal
|
|
1635
1640
|
* @deprecated
|
|
@@ -1861,11 +1866,12 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1861
1866
|
/**
|
|
1862
1867
|
* Array of views that will close.
|
|
1863
1868
|
*/
|
|
1864
|
-
viewsToClose:
|
|
1869
|
+
viewsToClose: Identity_4[];
|
|
1865
1870
|
};
|
|
1866
1871
|
|
|
1867
1872
|
/**
|
|
1868
1873
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1874
|
+
*
|
|
1869
1875
|
* @interface
|
|
1870
1876
|
*/
|
|
1871
1877
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1906,31 +1912,33 @@ declare type Bounds = {
|
|
|
1906
1912
|
* Generated after changes in a window's size and/or position.
|
|
1907
1913
|
* @interface
|
|
1908
1914
|
*/
|
|
1909
|
-
declare type BoundsChangedEvent =
|
|
1915
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
|
1910
1916
|
type: 'bounds-changed';
|
|
1911
1917
|
};
|
|
1912
1918
|
|
|
1913
|
-
|
|
1914
|
-
* A general bounds change event without event type.
|
|
1915
|
-
* @interface
|
|
1916
|
-
*/
|
|
1917
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1919
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1918
1920
|
changeType: 0 | 1 | 2;
|
|
1919
|
-
deferred: boolean;
|
|
1920
|
-
height: number;
|
|
1921
|
-
left: number;
|
|
1922
|
-
top: number;
|
|
1923
|
-
width: number;
|
|
1924
1921
|
};
|
|
1925
1922
|
|
|
1926
1923
|
/**
|
|
1927
1924
|
* Generated during changes to a window's size and/or position.
|
|
1928
1925
|
* @interface
|
|
1929
1926
|
*/
|
|
1930
|
-
declare type BoundsChangingEvent =
|
|
1927
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
|
1931
1928
|
type: 'bounds-changing';
|
|
1932
1929
|
};
|
|
1933
1930
|
|
|
1931
|
+
/**
|
|
1932
|
+
* An event that fires when a window's bounds are successfully changed.
|
|
1933
|
+
*
|
|
1934
|
+
* @interface
|
|
1935
|
+
*/
|
|
1936
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
1937
|
+
reason: 'self' | 'animation';
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1941
|
+
|
|
1934
1942
|
/**
|
|
1935
1943
|
* A rule prescribing content creation in the browser.
|
|
1936
1944
|
*
|
|
@@ -3036,7 +3044,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
3036
3044
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
3037
3045
|
* @interface
|
|
3038
3046
|
*/
|
|
3039
|
-
declare type ClientIdentity =
|
|
3047
|
+
declare type ClientIdentity = Identity_4 & {
|
|
3040
3048
|
/**
|
|
3041
3049
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
3042
3050
|
*/
|
|
@@ -3269,7 +3277,7 @@ declare type CloseViewOptions = {
|
|
|
3269
3277
|
/**
|
|
3270
3278
|
*View to be closed.
|
|
3271
3279
|
*/
|
|
3272
|
-
viewIdentity:
|
|
3280
|
+
viewIdentity: Identity_4;
|
|
3273
3281
|
};
|
|
3274
3282
|
|
|
3275
3283
|
/**
|
|
@@ -3279,7 +3287,7 @@ declare type CloseViewPayload = {
|
|
|
3279
3287
|
/**
|
|
3280
3288
|
*View to be closed.
|
|
3281
3289
|
*/
|
|
3282
|
-
view:
|
|
3290
|
+
view: Identity_4;
|
|
3283
3291
|
/**
|
|
3284
3292
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3285
3293
|
* visible layout.
|
|
@@ -3297,7 +3305,7 @@ declare interface CloseWindowPayload {
|
|
|
3297
3305
|
*
|
|
3298
3306
|
* Identity of the Window
|
|
3299
3307
|
*/
|
|
3300
|
-
windowId:
|
|
3308
|
+
windowId: Identity_4;
|
|
3301
3309
|
options: {
|
|
3302
3310
|
/**
|
|
3303
3311
|
* @defaultValue false
|
|
@@ -3418,7 +3426,7 @@ declare type ConstViewOptions = {
|
|
|
3418
3426
|
/**
|
|
3419
3427
|
* The identity of the window this view should be attached to.
|
|
3420
3428
|
*/
|
|
3421
|
-
target:
|
|
3429
|
+
target: Identity_4;
|
|
3422
3430
|
/**
|
|
3423
3431
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3424
3432
|
*/
|
|
@@ -3643,7 +3651,7 @@ declare type ConstWindowOptions = {
|
|
|
3643
3651
|
/**
|
|
3644
3652
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3645
3653
|
*/
|
|
3646
|
-
modalParentIdentity:
|
|
3654
|
+
modalParentIdentity: Identity_4;
|
|
3647
3655
|
/**
|
|
3648
3656
|
* The name of the window.
|
|
3649
3657
|
*/
|
|
@@ -3661,7 +3669,9 @@ declare type ConstWindowOptions = {
|
|
|
3661
3669
|
*/
|
|
3662
3670
|
preloadScripts: PreloadScript[];
|
|
3663
3671
|
/**
|
|
3664
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3672
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3673
|
+
* 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.
|
|
3674
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3665
3675
|
*/
|
|
3666
3676
|
processAffinity: string;
|
|
3667
3677
|
/**
|
|
@@ -4127,13 +4137,13 @@ declare type CreateViewPayload = {
|
|
|
4127
4137
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4128
4138
|
*/
|
|
4129
4139
|
target?: CreateViewTarget;
|
|
4130
|
-
targetView?:
|
|
4140
|
+
targetView?: Identity_4;
|
|
4131
4141
|
};
|
|
4132
4142
|
|
|
4133
4143
|
/**
|
|
4134
4144
|
* @interface
|
|
4135
4145
|
*/
|
|
4136
|
-
declare type CreateViewTarget = (
|
|
4146
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
|
4137
4147
|
/**
|
|
4138
4148
|
* If specified, view creation will not attach to a window and caller must
|
|
4139
4149
|
* insert the view into the layout explicitly
|
|
@@ -4579,7 +4589,7 @@ declare type EmitterAccessor = string[];
|
|
|
4579
4589
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4580
4590
|
#private;
|
|
4581
4591
|
private topic;
|
|
4582
|
-
protected identity: ApplicationIdentity;
|
|
4592
|
+
protected identity: OpenFin.ApplicationIdentity;
|
|
4583
4593
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4584
4594
|
eventNames: () => (string | symbol)[];
|
|
4585
4595
|
/**
|
|
@@ -4659,20 +4669,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4659
4669
|
|
|
4660
4670
|
/**
|
|
4661
4671
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4672
|
+
*
|
|
4662
4673
|
* @interface
|
|
4663
4674
|
*/
|
|
4664
4675
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4665
4676
|
type: 'end-user-bounds-changing';
|
|
4666
4677
|
};
|
|
4667
4678
|
|
|
4668
|
-
declare type Entity = OpenFin.ApplicationType;
|
|
4669
|
-
|
|
4670
|
-
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4671
|
-
|
|
4672
4679
|
/**
|
|
4673
4680
|
* @interface
|
|
4674
4681
|
*/
|
|
4675
|
-
declare type
|
|
4682
|
+
declare type EntityInfo = {
|
|
4676
4683
|
uuid: string;
|
|
4677
4684
|
name: string;
|
|
4678
4685
|
entityType: EntityType_4;
|
|
@@ -4822,7 +4829,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
4822
4829
|
*/
|
|
4823
4830
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
4824
4831
|
target: OpenFin.Identity;
|
|
4825
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
4832
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
|
4826
4833
|
|
|
4827
4834
|
/**
|
|
4828
4835
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
|
@@ -5042,7 +5049,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
5042
5049
|
* @interface
|
|
5043
5050
|
*/
|
|
5044
5051
|
declare type ExternalApplicationInfo = {
|
|
5045
|
-
parent:
|
|
5052
|
+
parent: Identity_4;
|
|
5046
5053
|
};
|
|
5047
5054
|
|
|
5048
5055
|
/**
|
|
@@ -5585,6 +5592,10 @@ declare type FileDownloadEvent = {
|
|
|
5585
5592
|
* The number of bytes of the item that have already been downloaded.
|
|
5586
5593
|
*/
|
|
5587
5594
|
downloadedBytes: number;
|
|
5595
|
+
/**
|
|
5596
|
+
* Unique identifier for the downloaded file.
|
|
5597
|
+
*/
|
|
5598
|
+
fileUuid: string;
|
|
5588
5599
|
} & NamedEvent;
|
|
5589
5600
|
|
|
5590
5601
|
/**
|
|
@@ -5839,7 +5850,7 @@ declare type FrameInfo = {
|
|
|
5839
5850
|
uuid: string;
|
|
5840
5851
|
url: string;
|
|
5841
5852
|
entityType: EntityType_4;
|
|
5842
|
-
parent:
|
|
5853
|
+
parent: Identity_4;
|
|
5843
5854
|
};
|
|
5844
5855
|
|
|
5845
5856
|
/**
|
|
@@ -5914,12 +5925,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5914
5925
|
entityType: string;
|
|
5915
5926
|
};
|
|
5916
5927
|
|
|
5917
|
-
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5918
|
-
|
|
5919
5928
|
/**
|
|
5920
5929
|
* @interface
|
|
5921
5930
|
*/
|
|
5922
|
-
declare type
|
|
5931
|
+
declare type GetLogRequestType = {
|
|
5923
5932
|
/**
|
|
5924
5933
|
* The name of the running application
|
|
5925
5934
|
*/
|
|
@@ -5939,7 +5948,7 @@ declare type GetWindowContextPayload = {
|
|
|
5939
5948
|
/**
|
|
5940
5949
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5941
5950
|
*/
|
|
5942
|
-
target:
|
|
5951
|
+
target: Identity_4;
|
|
5943
5952
|
};
|
|
5944
5953
|
|
|
5945
5954
|
/**
|
|
@@ -6208,8 +6217,6 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6208
6217
|
|
|
6209
6218
|
declare type Identity_3 = OpenFin.Identity;
|
|
6210
6219
|
|
|
6211
|
-
declare type Identity_4 = OpenFin.Identity;
|
|
6212
|
-
|
|
6213
6220
|
/**
|
|
6214
6221
|
* Unique identifier for a window, view or iframe.
|
|
6215
6222
|
*
|
|
@@ -6218,7 +6225,7 @@ declare type Identity_4 = OpenFin.Identity;
|
|
|
6218
6225
|
*
|
|
6219
6226
|
* @interface
|
|
6220
6227
|
*/
|
|
6221
|
-
declare type
|
|
6228
|
+
declare type Identity_4 = {
|
|
6222
6229
|
/**
|
|
6223
6230
|
* Universally unique identifier of the application that owns the component.
|
|
6224
6231
|
*/
|
|
@@ -6380,12 +6387,10 @@ declare type InstallationInfo = {
|
|
|
6380
6387
|
cachedManifest: any;
|
|
6381
6388
|
};
|
|
6382
6389
|
|
|
6383
|
-
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6384
|
-
|
|
6385
6390
|
/**
|
|
6386
6391
|
* @interface
|
|
6387
6392
|
*/
|
|
6388
|
-
declare type
|
|
6393
|
+
declare type InstalledApps = {
|
|
6389
6394
|
[key: string]: InstallationInfo;
|
|
6390
6395
|
};
|
|
6391
6396
|
|
|
@@ -7171,7 +7176,7 @@ declare class InteropBroker extends Base {
|
|
|
7171
7176
|
* @param _id the identity tryinc to connect
|
|
7172
7177
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7173
7178
|
*/
|
|
7174
|
-
isConnectionAuthorized(_id:
|
|
7179
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7175
7180
|
/**
|
|
7176
7181
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7177
7182
|
* Return false to prevent the action
|
|
@@ -8103,7 +8108,7 @@ declare class Layout extends Base {
|
|
|
8103
8108
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
8104
8109
|
* ```
|
|
8105
8110
|
*/
|
|
8106
|
-
replaceView: (viewToReplace:
|
|
8111
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
8107
8112
|
/**
|
|
8108
8113
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
8109
8114
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8158,7 +8163,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8158
8163
|
/**
|
|
8159
8164
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8160
8165
|
*/
|
|
8161
|
-
declare type LayoutDOMEvent =
|
|
8166
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
|
8162
8167
|
type: string;
|
|
8163
8168
|
topic: 'openfin-DOM-event';
|
|
8164
8169
|
tabSelector: string;
|
|
@@ -8219,7 +8224,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8219
8224
|
/**
|
|
8220
8225
|
* @interface
|
|
8221
8226
|
*/
|
|
8222
|
-
declare type LayoutIdentity =
|
|
8227
|
+
declare type LayoutIdentity = Identity_4 & {
|
|
8223
8228
|
/**
|
|
8224
8229
|
* The name of the layout in a given window.
|
|
8225
8230
|
*/
|
|
@@ -8328,7 +8333,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8328
8333
|
* @param identity
|
|
8329
8334
|
* @returns LayoutIdentity | undefined
|
|
8330
8335
|
*/
|
|
8331
|
-
resolveLayoutIdentity(identity?:
|
|
8336
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8332
8337
|
/**
|
|
8333
8338
|
* @experimental
|
|
8334
8339
|
*
|
|
@@ -8345,7 +8350,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8345
8350
|
/**
|
|
8346
8351
|
* @experimental
|
|
8347
8352
|
*/
|
|
8348
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8353
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
|
8349
8354
|
/**
|
|
8350
8355
|
* @experimental
|
|
8351
8356
|
*/
|
|
@@ -8819,12 +8824,10 @@ declare type Listener<T extends {
|
|
|
8819
8824
|
type: string;
|
|
8820
8825
|
}> = (payload: T) => void;
|
|
8821
8826
|
|
|
8822
|
-
declare type LogInfo = OpenFin.LogInfo;
|
|
8823
|
-
|
|
8824
8827
|
/**
|
|
8825
8828
|
* @interface
|
|
8826
8829
|
*/
|
|
8827
|
-
declare type
|
|
8830
|
+
declare type LogInfo = {
|
|
8828
8831
|
/**
|
|
8829
8832
|
* The filename of the log
|
|
8830
8833
|
*/
|
|
@@ -8839,8 +8842,6 @@ declare type LogInfo_2 = {
|
|
|
8839
8842
|
date: string;
|
|
8840
8843
|
};
|
|
8841
8844
|
|
|
8842
|
-
declare type LogLevel = OpenFin.LogLevel;
|
|
8843
|
-
|
|
8844
8845
|
/**
|
|
8845
8846
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8846
8847
|
*
|
|
@@ -8850,7 +8851,7 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8850
8851
|
* `error` and above<br>
|
|
8851
8852
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8852
8853
|
*/
|
|
8853
|
-
declare type
|
|
8854
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8854
8855
|
|
|
8855
8856
|
/**
|
|
8856
8857
|
* @interface
|
|
@@ -9682,13 +9683,13 @@ declare namespace OpenFin {
|
|
|
9682
9683
|
LayoutPosition,
|
|
9683
9684
|
WebContent,
|
|
9684
9685
|
PlatformProvider,
|
|
9685
|
-
|
|
9686
|
-
|
|
9686
|
+
ApplicationIdentity,
|
|
9687
|
+
Identity_4 as Identity,
|
|
9687
9688
|
ClientIdentity,
|
|
9688
9689
|
ClientInfo,
|
|
9689
9690
|
ClientIdentityMultiRuntime,
|
|
9690
9691
|
ClientConnectionPayload,
|
|
9691
|
-
|
|
9692
|
+
EntityInfo,
|
|
9692
9693
|
EntityType_4 as EntityType,
|
|
9693
9694
|
Bounds,
|
|
9694
9695
|
WindowBounds,
|
|
@@ -9822,7 +9823,7 @@ declare namespace OpenFin {
|
|
|
9822
9823
|
GpuInfo,
|
|
9823
9824
|
OSInfo,
|
|
9824
9825
|
HostSpecs,
|
|
9825
|
-
|
|
9826
|
+
PrinterInfo,
|
|
9826
9827
|
Dpi,
|
|
9827
9828
|
Margins,
|
|
9828
9829
|
PrintOptions,
|
|
@@ -9930,24 +9931,24 @@ declare namespace OpenFin {
|
|
|
9930
9931
|
BeforeUnloadUserDecision,
|
|
9931
9932
|
ViewStatuses,
|
|
9932
9933
|
CloseWindowPayload,
|
|
9933
|
-
|
|
9934
|
-
|
|
9934
|
+
ProxyInfo,
|
|
9935
|
+
ProxyConfig,
|
|
9935
9936
|
ProxySystemInfo,
|
|
9936
9937
|
ChannelAction_2 as ChannelAction,
|
|
9937
9938
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9938
9939
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9939
|
-
|
|
9940
|
-
|
|
9940
|
+
ApplicationState,
|
|
9941
|
+
InstalledApps,
|
|
9941
9942
|
InstallationInfo,
|
|
9942
|
-
|
|
9943
|
-
|
|
9943
|
+
GetLogRequestType,
|
|
9944
|
+
LogInfo,
|
|
9944
9945
|
SendApplicationLogResponse,
|
|
9945
|
-
|
|
9946
|
+
LogLevel,
|
|
9946
9947
|
PermissionState_2 as PermissionState,
|
|
9947
|
-
|
|
9948
|
+
RegistryInfo,
|
|
9948
9949
|
ApplicationType,
|
|
9949
9950
|
WindowInfo,
|
|
9950
|
-
|
|
9951
|
+
ApplicationWindowInfo,
|
|
9951
9952
|
WindowDetail,
|
|
9952
9953
|
LayoutPresetType,
|
|
9953
9954
|
LayoutIdentity,
|
|
@@ -11934,12 +11935,10 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11934
11935
|
presetType: LayoutPresetType;
|
|
11935
11936
|
};
|
|
11936
11937
|
|
|
11937
|
-
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11938
|
-
|
|
11939
11938
|
/**
|
|
11940
11939
|
* @interface
|
|
11941
11940
|
*/
|
|
11942
|
-
declare type
|
|
11941
|
+
declare type PrinterInfo = {
|
|
11943
11942
|
/**
|
|
11944
11943
|
* Printer Name
|
|
11945
11944
|
*/
|
|
@@ -12201,20 +12200,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
12201
12200
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
12202
12201
|
|
|
12203
12202
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
12203
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
12204
|
+
'destroy-application': ApplicationIdentityCall<{
|
|
12205
|
+
force: boolean;
|
|
12206
|
+
}, void>;
|
|
12207
|
+
'close-application': ApplicationIdentityCall<{
|
|
12208
|
+
force: boolean;
|
|
12209
|
+
}, void>;
|
|
12210
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
|
12211
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
12212
|
+
'get-application-manifest': {
|
|
12213
|
+
request: {
|
|
12214
|
+
manifestUrl?: string;
|
|
12215
|
+
uuid?: string;
|
|
12216
|
+
};
|
|
12217
|
+
response: OpenFin.Manifest;
|
|
12218
|
+
};
|
|
12219
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
12220
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
12221
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
12222
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
12223
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
12224
|
+
'register-user': ApplicationIdentityCall<{
|
|
12225
|
+
userName: string;
|
|
12226
|
+
appName: string;
|
|
12227
|
+
}, void>;
|
|
12228
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
12229
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
12230
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
|
12231
|
+
'run-application': ApplicationIdentityCall<{
|
|
12232
|
+
manifestUrl?: string | undefined;
|
|
12233
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
12234
|
+
}, void>;
|
|
12235
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
12236
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
12237
|
+
'set-jump-list': ApplicationIdentityCall<{
|
|
12238
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
12239
|
+
}, void>;
|
|
12240
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
|
12241
|
+
enabledIcon: string;
|
|
12242
|
+
}, void>;
|
|
12243
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
|
12244
|
+
data: OpenFin.ShortCutConfig;
|
|
12245
|
+
}, void>;
|
|
12246
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
12247
|
+
data: string;
|
|
12248
|
+
}, void>;
|
|
12249
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
12250
|
+
level: number;
|
|
12251
|
+
}, void>;
|
|
12252
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
|
12253
|
+
data: string;
|
|
12254
|
+
}, void>;
|
|
12255
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
12256
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
12257
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
12258
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
12259
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
12260
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
12261
|
+
'set-file-download-location': {
|
|
12262
|
+
request: OpenFin.Identity & {
|
|
12263
|
+
downloadLocation: string;
|
|
12264
|
+
};
|
|
12265
|
+
response: void;
|
|
12266
|
+
};
|
|
12267
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
12268
|
+
'show-tray-icon-popup-menu': {
|
|
12269
|
+
request: OpenFin.Identity & {
|
|
12270
|
+
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
12271
|
+
};
|
|
12272
|
+
response: OpenFin.MenuResult;
|
|
12273
|
+
};
|
|
12274
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12275
|
+
'wrap-application': VoidCall;
|
|
12276
|
+
'wrap-application-sync': VoidCall;
|
|
12277
|
+
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
12278
|
+
'application-create': VoidCall;
|
|
12279
|
+
'start-application': VoidCall;
|
|
12280
|
+
'run-applications': ApiCall<{
|
|
12281
|
+
applications: Array<OpenFin.ManifestInfo>;
|
|
12282
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
12283
|
+
}, void>;
|
|
12284
|
+
'get-current-application': VoidCall;
|
|
12285
|
+
'get-current-application-sync': VoidCall;
|
|
12286
|
+
'application-start-from-manifest': VoidCall;
|
|
12287
|
+
'application-create-from-manifest': VoidCall;
|
|
12204
12288
|
'request-external-authorization': {
|
|
12205
12289
|
request: any;
|
|
12206
12290
|
response: void;
|
|
12207
12291
|
specialResponse: AuthorizationPayload;
|
|
12208
12292
|
};
|
|
12209
|
-
'
|
|
12210
|
-
request:
|
|
12211
|
-
response: OpenFin.Identity[];
|
|
12212
|
-
};
|
|
12213
|
-
'set-jump-list': {
|
|
12214
|
-
request: {
|
|
12215
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
12216
|
-
} & OpenFin.ApplicationIdentity;
|
|
12293
|
+
'request-authorization': {
|
|
12294
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
|
12217
12295
|
response: void;
|
|
12296
|
+
specialResponse: Payload;
|
|
12218
12297
|
};
|
|
12219
12298
|
'clipboard-read-formats': {
|
|
12220
12299
|
request: {
|
|
@@ -12226,6 +12305,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12226
12305
|
request: OpenFin.ReadImageClipboardRequest;
|
|
12227
12306
|
response: string;
|
|
12228
12307
|
};
|
|
12308
|
+
'clipboard-read-text': {
|
|
12309
|
+
request: {
|
|
12310
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12311
|
+
};
|
|
12312
|
+
response: string;
|
|
12313
|
+
};
|
|
12314
|
+
'clipboard-read-html': {
|
|
12315
|
+
request: {
|
|
12316
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12317
|
+
};
|
|
12318
|
+
response: string;
|
|
12319
|
+
};
|
|
12320
|
+
'clipboard-read-rtf': {
|
|
12321
|
+
request: {
|
|
12322
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12323
|
+
};
|
|
12324
|
+
response: string;
|
|
12325
|
+
};
|
|
12229
12326
|
'clipboard-write-image': {
|
|
12230
12327
|
request: OpenFin.WriteImageClipboardRequest;
|
|
12231
12328
|
response: void;
|
|
@@ -12234,6 +12331,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12234
12331
|
request: OpenFin.WriteAnyRequestType;
|
|
12235
12332
|
response: void;
|
|
12236
12333
|
};
|
|
12334
|
+
'clipboard-write-text': {
|
|
12335
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12336
|
+
response: void;
|
|
12337
|
+
};
|
|
12338
|
+
'clipboard-write-html': {
|
|
12339
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12340
|
+
response: void;
|
|
12341
|
+
};
|
|
12342
|
+
'clipboard-write-rtf': {
|
|
12343
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12344
|
+
response: void;
|
|
12345
|
+
};
|
|
12237
12346
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
12238
12347
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
12239
12348
|
uuid: string;
|
|
@@ -12259,13 +12368,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12259
12368
|
options: OpenFin.UpdatableViewOptions;
|
|
12260
12369
|
}>;
|
|
12261
12370
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
12371
|
+
'view-wrap-sync': VoidCall;
|
|
12372
|
+
'view-wrap': VoidCall;
|
|
12373
|
+
'view-get-current': VoidCall;
|
|
12374
|
+
'view-get-current-sync': VoidCall;
|
|
12375
|
+
'animate-window': IdentityCall<{
|
|
12376
|
+
transitions: OpenFin.Transition;
|
|
12377
|
+
options: OpenFin.TransitionOptions;
|
|
12378
|
+
}>;
|
|
12379
|
+
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12380
|
+
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
12381
|
+
'center-window': IdentityCall;
|
|
12382
|
+
'blur-window': IdentityCall;
|
|
12383
|
+
'bring-window-to-front': IdentityCall;
|
|
12384
|
+
'hide-window': IdentityCall;
|
|
12385
|
+
'close-window': IdentityCall<{
|
|
12386
|
+
force: boolean;
|
|
12387
|
+
}>;
|
|
12388
|
+
'focused-webview-changed': IdentityCall;
|
|
12389
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
|
12262
12390
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
12263
|
-
'
|
|
12391
|
+
'disable-window-frame': IdentityCall;
|
|
12392
|
+
'enable-window-frame': IdentityCall;
|
|
12393
|
+
'flash-window': IdentityCall;
|
|
12394
|
+
'stop-flash-window': IdentityCall;
|
|
12395
|
+
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12396
|
+
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12397
|
+
'get-window-snapshot': IdentityCall<{
|
|
12398
|
+
area?: OpenFin.Rectangle;
|
|
12399
|
+
}, string>;
|
|
12400
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12401
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12402
|
+
'maximize-window': IdentityCall;
|
|
12403
|
+
'minimize-window': IdentityCall;
|
|
12404
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12405
|
+
deltaLeft: number;
|
|
12406
|
+
deltaTop: number;
|
|
12407
|
+
}>>;
|
|
12408
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12409
|
+
left: number;
|
|
12410
|
+
top: number;
|
|
12411
|
+
}>>;
|
|
12412
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12413
|
+
deltaWidth: number;
|
|
12414
|
+
deltaHeight: number;
|
|
12415
|
+
anchor: OpenFin.AnchorType;
|
|
12416
|
+
}>>;
|
|
12417
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12418
|
+
width: number;
|
|
12419
|
+
height: number;
|
|
12420
|
+
anchor: OpenFin.AnchorType;
|
|
12421
|
+
}>>;
|
|
12422
|
+
'restore-window': IdentityCall;
|
|
12423
|
+
'set-foreground-window': IdentityCall;
|
|
12424
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12425
|
+
'show-window': IdentityCall<{
|
|
12426
|
+
force: boolean;
|
|
12427
|
+
}>;
|
|
12428
|
+
'show-at-window': IdentityCall<{
|
|
12429
|
+
left: number;
|
|
12430
|
+
top: number;
|
|
12431
|
+
force: boolean;
|
|
12432
|
+
}>;
|
|
12433
|
+
'update-window-options': IdentityCall<{
|
|
12434
|
+
options: OpenFin.UpdatableWindowOptions;
|
|
12435
|
+
}>;
|
|
12436
|
+
'window-authenticate': IdentityCall<{
|
|
12437
|
+
userName: string;
|
|
12438
|
+
password: string;
|
|
12439
|
+
}>;
|
|
12440
|
+
'show-popup-menu': {
|
|
12264
12441
|
request: OpenFin.Identity & {
|
|
12265
|
-
options: OpenFin.
|
|
12442
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
12266
12443
|
};
|
|
12267
|
-
response:
|
|
12444
|
+
response: OpenFin.MenuResult;
|
|
12268
12445
|
};
|
|
12446
|
+
'close-popup-menu': IdentityCall;
|
|
12447
|
+
'dispatch-popup-result': IdentityCall<{
|
|
12448
|
+
data: any;
|
|
12449
|
+
}>;
|
|
12269
12450
|
'print-screenshot': {
|
|
12270
12451
|
request: OpenFin.Identity;
|
|
12271
12452
|
response: void;
|
|
@@ -12276,6 +12457,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12276
12457
|
};
|
|
12277
12458
|
response: void;
|
|
12278
12459
|
};
|
|
12460
|
+
'window-wrap': VoidCall;
|
|
12461
|
+
'window-wrap-sync': VoidCall;
|
|
12462
|
+
'create-window': VoidCall;
|
|
12463
|
+
'get-current-window': VoidCall;
|
|
12464
|
+
'get-current-window-sync': VoidCall;
|
|
12465
|
+
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12466
|
+
'external-application-wrap': VoidCall;
|
|
12467
|
+
'external-application-wrap-sync': VoidCall;
|
|
12468
|
+
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12469
|
+
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12470
|
+
'frame-wrap': VoidCall;
|
|
12471
|
+
'frame-wrap-sync': VoidCall;
|
|
12472
|
+
'frame-get-current': VoidCall;
|
|
12473
|
+
'frame-get-current-sync': VoidCall;
|
|
12474
|
+
'global-hotkey-register': {
|
|
12475
|
+
request: {
|
|
12476
|
+
hotkey: string;
|
|
12477
|
+
};
|
|
12478
|
+
response: void;
|
|
12479
|
+
};
|
|
12480
|
+
'global-hotkey-unregister': {
|
|
12481
|
+
request: {
|
|
12482
|
+
hotkey: string;
|
|
12483
|
+
};
|
|
12484
|
+
response: void;
|
|
12485
|
+
};
|
|
12486
|
+
'global-hotkey-unregister-all': {
|
|
12487
|
+
request: {};
|
|
12488
|
+
response: void;
|
|
12489
|
+
};
|
|
12490
|
+
'global-hotkey-is-registered': {
|
|
12491
|
+
request: {
|
|
12492
|
+
hotkey: string;
|
|
12493
|
+
};
|
|
12494
|
+
response: boolean;
|
|
12495
|
+
};
|
|
12496
|
+
'publish-message': {
|
|
12497
|
+
request: {
|
|
12498
|
+
topic: string;
|
|
12499
|
+
message: any;
|
|
12500
|
+
sourceWindowName: string;
|
|
12501
|
+
};
|
|
12502
|
+
response: void;
|
|
12503
|
+
};
|
|
12504
|
+
'send-message': {
|
|
12505
|
+
request: {
|
|
12506
|
+
destinationUuid: string;
|
|
12507
|
+
destinationWindowName: string | undefined;
|
|
12508
|
+
topic: string;
|
|
12509
|
+
message: any;
|
|
12510
|
+
sourceWindowName: string;
|
|
12511
|
+
};
|
|
12512
|
+
response: void;
|
|
12513
|
+
};
|
|
12514
|
+
'subscribe': {
|
|
12515
|
+
request: {
|
|
12516
|
+
sourceUuid: string;
|
|
12517
|
+
sourceWindowName: string;
|
|
12518
|
+
topic: string;
|
|
12519
|
+
destinationWindowName: string;
|
|
12520
|
+
messageKey?: any;
|
|
12521
|
+
};
|
|
12522
|
+
response: void;
|
|
12523
|
+
};
|
|
12524
|
+
'unsubscribe': {
|
|
12525
|
+
request: {
|
|
12526
|
+
sourceUuid: string;
|
|
12527
|
+
sourceWindowName: string;
|
|
12528
|
+
topic: string;
|
|
12529
|
+
destinationWindowName: string;
|
|
12530
|
+
};
|
|
12531
|
+
response: void;
|
|
12532
|
+
};
|
|
12533
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12534
|
+
'connect-to-channel': {
|
|
12535
|
+
request: any;
|
|
12536
|
+
response: OpenFin.RoutingInfo;
|
|
12537
|
+
};
|
|
12538
|
+
'create-channel': ApiCall<{
|
|
12539
|
+
channelName: string;
|
|
12540
|
+
}, OpenFin.ProviderIdentity>;
|
|
12541
|
+
'destroy-channel': ApiCall<{
|
|
12542
|
+
channelName: string;
|
|
12543
|
+
}, void>;
|
|
12544
|
+
'disconnect-from-channel': {
|
|
12545
|
+
request: {
|
|
12546
|
+
channelName: string;
|
|
12547
|
+
uuid: string;
|
|
12548
|
+
name: string;
|
|
12549
|
+
endpointId: string;
|
|
12550
|
+
};
|
|
12551
|
+
response: void;
|
|
12552
|
+
};
|
|
12553
|
+
'send-channel-message': {
|
|
12554
|
+
request: any;
|
|
12555
|
+
response: any;
|
|
12556
|
+
};
|
|
12557
|
+
'get-version': GetterCall<string>;
|
|
12558
|
+
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12559
|
+
'delete-cache-request': VoidCall;
|
|
12560
|
+
'exit-desktop': VoidCall;
|
|
12561
|
+
'fetch-manifest': ApiCall<{
|
|
12562
|
+
manifestUrl: string;
|
|
12563
|
+
}, any>;
|
|
12564
|
+
'flush-cookie-store': VoidCall;
|
|
12565
|
+
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12566
|
+
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12567
|
+
'get-command-line-arguments': GetterCall<string>;
|
|
12568
|
+
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12569
|
+
'start-crash-reporter': {
|
|
12570
|
+
request: OpenFin.CrashReporterOptions | {
|
|
12571
|
+
diagnosticMode: boolean;
|
|
12572
|
+
};
|
|
12573
|
+
response: OpenFin.CrashReporterState;
|
|
12574
|
+
};
|
|
12575
|
+
'get-unique-user-id': GetterCall<string>;
|
|
12576
|
+
'get-entity-info': {
|
|
12577
|
+
request: {
|
|
12578
|
+
uuid: string;
|
|
12579
|
+
name: string;
|
|
12580
|
+
};
|
|
12581
|
+
response: OpenFin.EntityInfo;
|
|
12582
|
+
};
|
|
12583
|
+
'get-environment-variable': {
|
|
12584
|
+
request: {
|
|
12585
|
+
environmentVariables: string;
|
|
12586
|
+
};
|
|
12587
|
+
response: string;
|
|
12588
|
+
};
|
|
12589
|
+
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12590
|
+
'is-app-certified': {
|
|
12591
|
+
request: {
|
|
12592
|
+
manifestUrl: string;
|
|
12593
|
+
};
|
|
12594
|
+
response: {
|
|
12595
|
+
action: string;
|
|
12596
|
+
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12597
|
+
};
|
|
12598
|
+
};
|
|
12599
|
+
'get-installed-runtimes': GetterCall<{
|
|
12600
|
+
action: string;
|
|
12601
|
+
runtimes: string[];
|
|
12602
|
+
}>;
|
|
12603
|
+
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12604
|
+
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12605
|
+
'get-machine-id': GetterCall<string>;
|
|
12606
|
+
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12607
|
+
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12608
|
+
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12609
|
+
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12610
|
+
'process-snapshot': GetterCall<Array<any>>;
|
|
12611
|
+
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12612
|
+
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12613
|
+
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12614
|
+
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12615
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12616
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12617
|
+
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12618
|
+
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12619
|
+
'write-to-log': ApiCall<{
|
|
12620
|
+
level: string;
|
|
12621
|
+
message: string;
|
|
12622
|
+
}, void>;
|
|
12623
|
+
'open-url-with-browser': ApiCall<{
|
|
12624
|
+
url: string;
|
|
12625
|
+
}, void>;
|
|
12626
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12627
|
+
'unregister-custom-protocol': ApiCall<{
|
|
12628
|
+
protocolName: string;
|
|
12629
|
+
}, void>;
|
|
12630
|
+
'get-custom-protocol-state': ApiCall<{
|
|
12631
|
+
protocolName: string;
|
|
12632
|
+
}, OpenFin.CustomProtocolState>;
|
|
12633
|
+
'release-external-process': ApiCall<{
|
|
12634
|
+
uuid: string;
|
|
12635
|
+
}, void>;
|
|
12636
|
+
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12637
|
+
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12638
|
+
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12639
|
+
'download-asset': {
|
|
12640
|
+
request: OpenFin.AppAssetInfo & {
|
|
12641
|
+
downloadId: string;
|
|
12642
|
+
};
|
|
12643
|
+
response: void;
|
|
12644
|
+
};
|
|
12645
|
+
'download-runtime': {
|
|
12646
|
+
request: OpenFin.RuntimeDownloadOptions & {
|
|
12647
|
+
downloadId: string;
|
|
12648
|
+
};
|
|
12649
|
+
response: void;
|
|
12650
|
+
};
|
|
12651
|
+
'download-preload-scripts': ApiCall<{
|
|
12652
|
+
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12653
|
+
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12654
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12655
|
+
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12656
|
+
'get-cookies': {
|
|
12657
|
+
request: OpenFin.CookieOption & {
|
|
12658
|
+
url: string;
|
|
12659
|
+
};
|
|
12660
|
+
response: Array<OpenFin.CookieInfo>;
|
|
12661
|
+
};
|
|
12662
|
+
'set-min-log-level': ApiCall<{
|
|
12663
|
+
level: OpenFin.LogLevel;
|
|
12664
|
+
}, void>;
|
|
12665
|
+
'resolve-uuid': ApiCall<{
|
|
12666
|
+
entityKey: string;
|
|
12667
|
+
}, OpenFin.ApplicationType>;
|
|
12668
|
+
'read-registry-value': ApiCall<{
|
|
12669
|
+
rootKey: string;
|
|
12670
|
+
subkey: string;
|
|
12671
|
+
value: string;
|
|
12672
|
+
}, OpenFin.RegistryInfo>;
|
|
12673
|
+
'register-external-connection': ApiCall<{
|
|
12674
|
+
uuid: string;
|
|
12675
|
+
}, OpenFin.ExternalConnection>;
|
|
12676
|
+
'get-service-configuration': ApiCall<{
|
|
12677
|
+
name: string;
|
|
12678
|
+
}, OpenFin.ServiceConfiguration>;
|
|
12679
|
+
'get-system-app-configuration': ApiCall<{
|
|
12680
|
+
name: string;
|
|
12681
|
+
}, any>;
|
|
12682
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
12279
12683
|
'launch-manifest': {
|
|
12280
12684
|
request: {
|
|
12281
12685
|
manifestUrl: string;
|
|
@@ -12287,17 +12691,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12287
12691
|
manifest: OpenFin.Manifest;
|
|
12288
12692
|
};
|
|
12289
12693
|
};
|
|
12290
|
-
'
|
|
12694
|
+
'query-permission-for-current-context': {
|
|
12291
12695
|
request: {
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
response: any;
|
|
12295
|
-
};
|
|
12296
|
-
'show-popup-menu': {
|
|
12297
|
-
request: OpenFin.Identity & {
|
|
12298
|
-
options: OpenFin.ShowPopupMenuOptions;
|
|
12696
|
+
apiName: string;
|
|
12697
|
+
identity: OpenFin.Identity;
|
|
12299
12698
|
};
|
|
12300
|
-
response: OpenFin.
|
|
12699
|
+
response: OpenFin.QueryPermissionResult;
|
|
12301
12700
|
};
|
|
12302
12701
|
'enable-native-window-integration-provider': {
|
|
12303
12702
|
request: {
|
|
@@ -12305,24 +12704,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12305
12704
|
};
|
|
12306
12705
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
12307
12706
|
};
|
|
12707
|
+
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12708
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12709
|
+
'system-update-process-logging-options': ApiCall<{
|
|
12710
|
+
options: OpenFin.ProcessLoggingOptions;
|
|
12711
|
+
}, void>;
|
|
12712
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12713
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12714
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12715
|
+
}, void>;
|
|
12716
|
+
'system-register-shutdown-handler': VoidCall;
|
|
12308
12717
|
'get-permissions': GetterCall<any>;
|
|
12309
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12310
|
-
'set-file-download-location': {
|
|
12311
|
-
request: OpenFin.Identity & {
|
|
12312
|
-
downloadLocation: string;
|
|
12313
|
-
};
|
|
12314
|
-
response: void;
|
|
12315
|
-
};
|
|
12316
|
-
'get-file-download-location': {
|
|
12317
|
-
request: OpenFin.ApplicationIdentity;
|
|
12318
|
-
response: string;
|
|
12319
|
-
};
|
|
12320
|
-
'close-popup-menu': IdentityCall;
|
|
12321
12718
|
'fdc3-add-context-listener': VoidCall;
|
|
12719
|
+
'fdc3-add-intent-listener': VoidCall;
|
|
12720
|
+
'fdc3-raise-intent': VoidCall;
|
|
12721
|
+
'fdc3-find-intent': VoidCall;
|
|
12722
|
+
'fdc3-find-intents-by-context': VoidCall;
|
|
12723
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
|
12724
|
+
'fdc3-get-info': VoidCall;
|
|
12725
|
+
'fdc3-find-instances': VoidCall;
|
|
12726
|
+
'fdc3-get-app-metadata': VoidCall;
|
|
12322
12727
|
'fdc3-broadcast': VoidCall;
|
|
12728
|
+
'fdc3-open': VoidCall;
|
|
12729
|
+
'fdc3-get-or-create-channel': VoidCall;
|
|
12323
12730
|
'fdc3-get-system-channels': VoidCall;
|
|
12324
12731
|
'fdc3-join-channel': VoidCall;
|
|
12732
|
+
'fdc3-get-current-channel': VoidCall;
|
|
12325
12733
|
'fdc3-leave-current-channel': VoidCall;
|
|
12734
|
+
'interop-init': VoidCall;
|
|
12326
12735
|
'interop-connect-sync': VoidCall;
|
|
12327
12736
|
'interop-client-set-context': VoidCall;
|
|
12328
12737
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -12331,6 +12740,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12331
12740
|
'interop-client-remove-from-context-group': VoidCall;
|
|
12332
12741
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
12333
12742
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
12743
|
+
'interop-client-fire-intent': VoidCall;
|
|
12744
|
+
'interop-client-register-intent-handler': VoidCall;
|
|
12745
|
+
'interop-client-get-current-context': VoidCall;
|
|
12746
|
+
'interop-client-get-info-for-intent': VoidCall;
|
|
12747
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
12748
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
|
12749
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
12334
12750
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
12335
12751
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
12336
12752
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -12342,13 +12758,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12342
12758
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
12343
12759
|
'interop-broker-set-context': VoidCall;
|
|
12344
12760
|
'interop-broker-set-context-for-group': VoidCall;
|
|
12345
|
-
'
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12761
|
+
'interop-broker-get-current-context': VoidCall;
|
|
12762
|
+
'interop-broker-set-intent-target': VoidCall;
|
|
12763
|
+
'interop-session-context-group-set-context': VoidCall;
|
|
12764
|
+
'interop-session-context-group-get-context': VoidCall;
|
|
12765
|
+
'interop-session-context-group-add-handler': VoidCall;
|
|
12766
|
+
'platform-wrap': VoidCall;
|
|
12767
|
+
'platform-wrap-sync': VoidCall;
|
|
12768
|
+
'platform-get-current': VoidCall;
|
|
12769
|
+
'platform-get-current-sync': VoidCall;
|
|
12770
|
+
'platform-start': VoidCall;
|
|
12771
|
+
'platform-start-from-manifest': VoidCall;
|
|
12772
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
12773
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
12774
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
12775
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
12776
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
12777
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
12778
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12779
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12780
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
12781
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
12782
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
12783
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
12784
|
+
'layout-wrap': VoidCall;
|
|
12785
|
+
'layout-wrap-sync': VoidCall;
|
|
12786
|
+
'layout-get-current': VoidCall;
|
|
12787
|
+
'layout-get-current-sync': VoidCall;
|
|
12788
|
+
'layout-init': VoidCall;
|
|
12789
|
+
'layout-get-config': VoidCall;
|
|
12790
|
+
'layout-get-views': VoidCall;
|
|
12791
|
+
'layout-replace': VoidCall;
|
|
12792
|
+
'layout-get-root-item': VoidCall;
|
|
12793
|
+
'layout-replace-view': VoidCall;
|
|
12794
|
+
'layout-apply-preset': VoidCall;
|
|
12795
|
+
'layout-controller-get-root': VoidCall;
|
|
12796
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
|
12797
|
+
'layout-controller-get-stack-views': VoidCall;
|
|
12798
|
+
'layout-controller-get-content': VoidCall;
|
|
12799
|
+
'layout-controller-get-parent': VoidCall;
|
|
12800
|
+
'layout-controller-is-root': VoidCall;
|
|
12801
|
+
'layout-controller-exists': VoidCall;
|
|
12802
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
|
12803
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
|
12804
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
|
12805
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
12806
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
|
12807
|
+
'snapshot-source-init': VoidCall;
|
|
12808
|
+
'snapshot-source-wrap-sync': VoidCall;
|
|
12809
|
+
'snapshot-source-wrap': VoidCall;
|
|
12810
|
+
'snapshot-source-ready': VoidCall;
|
|
12811
|
+
'snapshot-source-get-snapshot': VoidCall;
|
|
12812
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
|
12813
|
+
'capture-page': IdentityCall<{
|
|
12814
|
+
options?: OpenFin.CapturePageOptions;
|
|
12815
|
+
}, string>;
|
|
12816
|
+
'execute-javascript-in-window': IdentityCall<{
|
|
12817
|
+
code: string;
|
|
12818
|
+
}, unknown>;
|
|
12819
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
|
12820
|
+
'set-zoom-level': IdentityCall<{
|
|
12821
|
+
level: number;
|
|
12822
|
+
}, void>;
|
|
12823
|
+
'navigate-window': IdentityCall<{
|
|
12824
|
+
url: string;
|
|
12825
|
+
}, void>;
|
|
12826
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
|
12827
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
|
12828
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
|
12829
|
+
'reload-window': IdentityCall<{
|
|
12830
|
+
ignoreCache: boolean;
|
|
12831
|
+
}, void>;
|
|
12832
|
+
'print': IdentityCall<{
|
|
12833
|
+
options: OpenFin.PrintOptions;
|
|
12834
|
+
}, void>;
|
|
12835
|
+
'find-in-page': IdentityCall<{
|
|
12836
|
+
searchTerm: string;
|
|
12837
|
+
options?: OpenFin.FindInPageOptions;
|
|
12838
|
+
}, void>;
|
|
12839
|
+
'stop-find-in-page': IdentityCall<{
|
|
12840
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
12841
|
+
}, void>;
|
|
12842
|
+
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
12843
|
+
'focus-window': IdentityCall<{
|
|
12844
|
+
emitSynthFocused: boolean;
|
|
12845
|
+
}, void>;
|
|
12846
|
+
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
12847
|
+
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
12848
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
12849
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
|
12850
|
+
workerId: string;
|
|
12851
|
+
}, void>;
|
|
12852
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
|
12853
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
|
12854
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
|
12352
12855
|
'try-create-popup-window': {
|
|
12353
12856
|
request: OpenFin.Identity & {
|
|
12354
12857
|
options: OpenFin.PopupOptions;
|
|
@@ -12364,9 +12867,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12364
12867
|
};
|
|
12365
12868
|
response: OpenFin.PopupResult;
|
|
12366
12869
|
};
|
|
12367
|
-
'dispatch-popup-result': IdentityCall<{
|
|
12368
|
-
data: any;
|
|
12369
|
-
}>;
|
|
12370
12870
|
'render-overlay': {
|
|
12371
12871
|
request: {
|
|
12372
12872
|
bounds: OpenFin.Bounds;
|
|
@@ -12386,40 +12886,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12386
12886
|
};
|
|
12387
12887
|
response: void;
|
|
12388
12888
|
};
|
|
12389
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12390
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12391
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12392
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12393
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12394
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12395
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12396
|
-
}, void>;
|
|
12397
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12398
|
-
deltaLeft: number;
|
|
12399
|
-
deltaTop: number;
|
|
12400
|
-
}>>;
|
|
12401
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12402
|
-
left: number;
|
|
12403
|
-
top: number;
|
|
12404
|
-
}>>;
|
|
12405
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12406
|
-
deltaWidth: number;
|
|
12407
|
-
deltaHeight: number;
|
|
12408
|
-
anchor: OpenFin.AnchorType;
|
|
12409
|
-
}>>;
|
|
12410
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12411
|
-
width: number;
|
|
12412
|
-
height: number;
|
|
12413
|
-
anchor: OpenFin.AnchorType;
|
|
12414
|
-
}>>;
|
|
12415
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12416
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12417
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12418
|
-
protocolName: string;
|
|
12419
|
-
}, void>;
|
|
12420
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12421
|
-
protocolName: string;
|
|
12422
|
-
}, OpenFin.CustomProtocolState>;
|
|
12423
12889
|
}
|
|
12424
12890
|
|
|
12425
12891
|
declare interface ProtocolMapBase {
|
|
@@ -12449,7 +12915,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12449
12915
|
* Identity of a channel provider.
|
|
12450
12916
|
* @interface
|
|
12451
12917
|
*/
|
|
12452
|
-
declare type ProviderIdentity_4 =
|
|
12918
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
|
12453
12919
|
/**
|
|
12454
12920
|
* Identifier of the channel.
|
|
12455
12921
|
*/
|
|
@@ -12460,12 +12926,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
|
12460
12926
|
channelName: string;
|
|
12461
12927
|
};
|
|
12462
12928
|
|
|
12463
|
-
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12464
|
-
|
|
12465
12929
|
/**
|
|
12466
12930
|
* @interface
|
|
12467
12931
|
*/
|
|
12468
|
-
declare type
|
|
12932
|
+
declare type ProxyConfig = {
|
|
12469
12933
|
/**
|
|
12470
12934
|
* The configured proxy address.
|
|
12471
12935
|
*/
|
|
@@ -12477,13 +12941,11 @@ declare type ProxyConfig_2 = {
|
|
|
12477
12941
|
type: string;
|
|
12478
12942
|
};
|
|
12479
12943
|
|
|
12480
|
-
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12481
|
-
|
|
12482
12944
|
/**
|
|
12483
12945
|
* @interface
|
|
12484
12946
|
*/
|
|
12485
|
-
declare type
|
|
12486
|
-
config:
|
|
12947
|
+
declare type ProxyInfo = {
|
|
12948
|
+
config: ProxyConfig;
|
|
12487
12949
|
system: ProxySystemInfo;
|
|
12488
12950
|
};
|
|
12489
12951
|
|
|
@@ -12589,12 +13051,10 @@ declare type RegisterUsageData = {
|
|
|
12589
13051
|
type: string;
|
|
12590
13052
|
};
|
|
12591
13053
|
|
|
12592
|
-
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12593
|
-
|
|
12594
13054
|
/**
|
|
12595
13055
|
* @interface
|
|
12596
13056
|
*/
|
|
12597
|
-
declare type
|
|
13057
|
+
declare type RegistryInfo = {
|
|
12598
13058
|
data: any;
|
|
12599
13059
|
rootKey: string;
|
|
12600
13060
|
subkey: string;
|
|
@@ -12615,6 +13075,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
|
12615
13075
|
token: string;
|
|
12616
13076
|
}
|
|
12617
13077
|
|
|
13078
|
+
/**
|
|
13079
|
+
* Generated when a View is removed from a layout.
|
|
13080
|
+
* @interface
|
|
13081
|
+
*/
|
|
13082
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
|
13083
|
+
type: 'removed-from-layout';
|
|
13084
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
13085
|
+
};
|
|
13086
|
+
|
|
12618
13087
|
/**
|
|
12619
13088
|
* @interface
|
|
12620
13089
|
*/
|
|
@@ -12643,14 +13112,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12643
13112
|
/**
|
|
12644
13113
|
* Identity of the window whose layout will be replaced.
|
|
12645
13114
|
*/
|
|
12646
|
-
target:
|
|
13115
|
+
target: Identity_4 | LayoutIdentity;
|
|
12647
13116
|
};
|
|
12648
13117
|
|
|
12649
13118
|
/**
|
|
12650
13119
|
* @interface
|
|
12651
13120
|
*/
|
|
12652
13121
|
declare type ReplaceViewOptions = {
|
|
12653
|
-
viewToReplace:
|
|
13122
|
+
viewToReplace: Identity_4;
|
|
12654
13123
|
newView: ViewState;
|
|
12655
13124
|
};
|
|
12656
13125
|
|
|
@@ -12659,7 +13128,7 @@ declare type ReplaceViewOptions = {
|
|
|
12659
13128
|
*/
|
|
12660
13129
|
declare type ReplaceViewPayload = {
|
|
12661
13130
|
opts: {
|
|
12662
|
-
viewToReplace:
|
|
13131
|
+
viewToReplace: Identity_4;
|
|
12663
13132
|
newView: Partial<ViewOptions>;
|
|
12664
13133
|
};
|
|
12665
13134
|
target: LayoutIdentity;
|
|
@@ -13025,7 +13494,7 @@ declare type SetWindowContextPayload = {
|
|
|
13025
13494
|
/**
|
|
13026
13495
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
13027
13496
|
*/
|
|
13028
|
-
target:
|
|
13497
|
+
target: Identity_4;
|
|
13029
13498
|
};
|
|
13030
13499
|
|
|
13031
13500
|
/**
|
|
@@ -13475,7 +13944,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13475
13944
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13476
13945
|
* ```
|
|
13477
13946
|
*/
|
|
13478
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13947
|
+
getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
|
|
13479
13948
|
/**
|
|
13480
13949
|
* Retrieves an array of data for all applications.
|
|
13481
13950
|
*
|
|
@@ -13484,7 +13953,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13484
13953
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13485
13954
|
* ```
|
|
13486
13955
|
*/
|
|
13487
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
13956
|
+
getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
|
|
13488
13957
|
/**
|
|
13489
13958
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13490
13959
|
*
|
|
@@ -13559,7 +14028,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13559
14028
|
* }
|
|
13560
14029
|
* ```
|
|
13561
14030
|
*/
|
|
13562
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
14031
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
|
|
13563
14032
|
/**
|
|
13564
14033
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13565
14034
|
*
|
|
@@ -13601,7 +14070,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13601
14070
|
* ```
|
|
13602
14071
|
*/
|
|
13603
14072
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13604
|
-
getInstalledApps(): Promise<InstalledApps>;
|
|
14073
|
+
getInstalledApps(): Promise<OpenFin.InstalledApps>;
|
|
13605
14074
|
/**
|
|
13606
14075
|
* Retrieves the contents of the log with the specified filename.
|
|
13607
14076
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13616,7 +14085,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13616
14085
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13617
14086
|
* ```
|
|
13618
14087
|
*/
|
|
13619
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
|
14088
|
+
getLog(options: OpenFin.GetLogRequestType): Promise<string>;
|
|
13620
14089
|
/**
|
|
13621
14090
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13622
14091
|
*
|
|
@@ -13634,7 +14103,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13634
14103
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13635
14104
|
* ```
|
|
13636
14105
|
*/
|
|
13637
|
-
getMinLogLevel(): Promise<LogLevel>;
|
|
14106
|
+
getMinLogLevel(): Promise<OpenFin.LogLevel>;
|
|
13638
14107
|
/**
|
|
13639
14108
|
* Retrieves an array containing information for each log file.
|
|
13640
14109
|
*
|
|
@@ -13643,7 +14112,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13643
14112
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
13644
14113
|
* ```
|
|
13645
14114
|
*/
|
|
13646
|
-
getLogList(): Promise<Array<LogInfo>>;
|
|
14115
|
+
getLogList(): Promise<Array<OpenFin.LogInfo>>;
|
|
13647
14116
|
/**
|
|
13648
14117
|
* Retrieves an object that contains data about the monitor setup of the
|
|
13649
14118
|
* computer that the runtime is running on.
|
|
@@ -13714,7 +14183,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13714
14183
|
* }
|
|
13715
14184
|
* ```
|
|
13716
14185
|
*/
|
|
13717
|
-
getProxySettings(): Promise<ProxyInfo>;
|
|
14186
|
+
getProxySettings(): Promise<OpenFin.ProxyInfo>;
|
|
13718
14187
|
/**
|
|
13719
14188
|
* Returns information about the running Runtime in an object.
|
|
13720
14189
|
*
|
|
@@ -14081,7 +14550,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14081
14550
|
* }
|
|
14082
14551
|
* ```
|
|
14083
14552
|
*/
|
|
14084
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
14553
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
|
|
14085
14554
|
/**
|
|
14086
14555
|
* Monitors a running process. A pid for the process must be included in options.
|
|
14087
14556
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14098,7 +14567,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14098
14567
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
14099
14568
|
* ```
|
|
14100
14569
|
*/
|
|
14101
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
14570
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
|
|
14102
14571
|
/**
|
|
14103
14572
|
* Writes the passed message into both the log file and the console.
|
|
14104
14573
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -14232,7 +14701,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14232
14701
|
*
|
|
14233
14702
|
* @tutorial System.showDeveloperTools
|
|
14234
14703
|
*/
|
|
14235
|
-
showDeveloperTools(identity:
|
|
14704
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
|
14236
14705
|
/**
|
|
14237
14706
|
* Attempt to close an external process. The process will be terminated if it
|
|
14238
14707
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -14266,7 +14735,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14266
14735
|
* .catch(err => console.error(err));
|
|
14267
14736
|
* ```
|
|
14268
14737
|
*/
|
|
14269
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14738
|
+
updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
|
|
14270
14739
|
/**
|
|
14271
14740
|
* Downloads the given application asset.
|
|
14272
14741
|
*
|
|
@@ -14358,7 +14827,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14358
14827
|
* .catch(err => console.log(err));
|
|
14359
14828
|
* ```
|
|
14360
14829
|
*/
|
|
14361
|
-
getAllExternalApplications(): Promise<Array<
|
|
14830
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
|
14362
14831
|
/**
|
|
14363
14832
|
* Retrieves app asset information.
|
|
14364
14833
|
* @param options
|
|
@@ -14387,7 +14856,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14387
14856
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
14388
14857
|
* ```
|
|
14389
14858
|
*/
|
|
14390
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14859
|
+
setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
|
|
14391
14860
|
/**
|
|
14392
14861
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
14393
14862
|
* @param uuid The uuid of the running application
|
|
@@ -14397,7 +14866,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14397
14866
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
14398
14867
|
* ```
|
|
14399
14868
|
*/
|
|
14400
|
-
resolveUuid(uuid: string): Promise<
|
|
14869
|
+
resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
|
|
14401
14870
|
/**
|
|
14402
14871
|
* Retrieves an array of data for all external applications
|
|
14403
14872
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14405,7 +14874,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14405
14874
|
*
|
|
14406
14875
|
* @ignore
|
|
14407
14876
|
*/
|
|
14408
|
-
executeOnRemote(requestingIdentity:
|
|
14877
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
|
14409
14878
|
/**
|
|
14410
14879
|
* Reads the specifed value from the registry.
|
|
14411
14880
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14498,7 +14967,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14498
14967
|
* }
|
|
14499
14968
|
* ```
|
|
14500
14969
|
*/
|
|
14501
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
14970
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
|
|
14502
14971
|
/**
|
|
14503
14972
|
* This function call will register a unique id and produce a token.
|
|
14504
14973
|
* The token can be used to broker an external connection.
|
|
@@ -14713,7 +15182,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14713
15182
|
* });
|
|
14714
15183
|
* ```
|
|
14715
15184
|
*/
|
|
14716
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
|
15185
|
+
getPrinters(): Promise<OpenFin.PrinterInfo[]>;
|
|
14717
15186
|
/**
|
|
14718
15187
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
14719
15188
|
* @param options Process Logging updatable options.
|
|
@@ -15339,14 +15808,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15339
15808
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15340
15809
|
|
|
15341
15810
|
/**
|
|
15342
|
-
*
|
|
15811
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
|
15812
|
+
*
|
|
15343
15813
|
* @interface
|
|
15344
15814
|
*/
|
|
15345
|
-
declare type UserBoundsChangeEvent =
|
|
15346
|
-
height: number;
|
|
15347
|
-
left: number;
|
|
15348
|
-
top: number;
|
|
15349
|
-
width: number;
|
|
15815
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
|
15350
15816
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
15351
15817
|
};
|
|
15352
15818
|
|
|
@@ -15992,7 +16458,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
15992
16458
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
15993
16459
|
name: string;
|
|
15994
16460
|
url: string;
|
|
15995
|
-
target:
|
|
16461
|
+
target: Identity_4;
|
|
15996
16462
|
};
|
|
15997
16463
|
|
|
15998
16464
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
@@ -16021,6 +16487,8 @@ declare namespace ViewEvents {
|
|
|
16021
16487
|
BaseEvent_4 as BaseEvent,
|
|
16022
16488
|
BaseViewEvent,
|
|
16023
16489
|
TargetChangedEvent,
|
|
16490
|
+
AddedToLayoutEvent,
|
|
16491
|
+
RemovedFromLayoutEvent,
|
|
16024
16492
|
NonPropagatedViewEvent,
|
|
16025
16493
|
CreatedEvent,
|
|
16026
16494
|
DestroyedEvent,
|
|
@@ -16176,15 +16644,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
16176
16644
|
/**
|
|
16177
16645
|
* Identity of the Window.
|
|
16178
16646
|
*/
|
|
16179
|
-
windowId:
|
|
16647
|
+
windowId: Identity_4;
|
|
16180
16648
|
/**
|
|
16181
16649
|
* Identities of the Views that are preventing an unload
|
|
16182
16650
|
*/
|
|
16183
|
-
viewsPreventingUnload:
|
|
16651
|
+
viewsPreventingUnload: Identity_4[];
|
|
16184
16652
|
/**
|
|
16185
16653
|
* Identities of the Views that are not preventing an unload
|
|
16186
16654
|
*/
|
|
16187
|
-
viewsNotPreventingUnload:
|
|
16655
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
16188
16656
|
/**
|
|
16189
16657
|
* Source of the close action.
|
|
16190
16658
|
*/
|
|
@@ -16209,11 +16677,11 @@ declare interface ViewStatuses {
|
|
|
16209
16677
|
/**
|
|
16210
16678
|
* Identities of the Views that are preventing an unload.
|
|
16211
16679
|
*/
|
|
16212
|
-
viewsPreventingUnload:
|
|
16680
|
+
viewsPreventingUnload: Identity_4[];
|
|
16213
16681
|
/**
|
|
16214
16682
|
* Identities of the Views that are not preventing an unload.
|
|
16215
16683
|
*/
|
|
16216
|
-
viewsNotPreventingUnload:
|
|
16684
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
16217
16685
|
}
|
|
16218
16686
|
|
|
16219
16687
|
/**
|
|
@@ -16718,7 +17186,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
16718
17186
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
16719
17187
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
16720
17188
|
*/
|
|
16721
|
-
stopFindInPage(action:
|
|
17189
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
|
16722
17190
|
/**
|
|
16723
17191
|
* Returns an array with all system printers
|
|
16724
17192
|
* @deprecated use System.getPrinters instead
|
|
@@ -17311,11 +17779,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
17311
17779
|
* A general will-move or will-resize event without event type.
|
|
17312
17780
|
* @interface
|
|
17313
17781
|
*/
|
|
17314
|
-
declare type WillMoveOrResizeEvent =
|
|
17315
|
-
height: number;
|
|
17316
|
-
left: number;
|
|
17317
|
-
top: number;
|
|
17318
|
-
width: number;
|
|
17782
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
|
17319
17783
|
monitorScaleFactor: number;
|
|
17320
17784
|
};
|
|
17321
17785
|
|
|
@@ -18510,16 +18974,21 @@ declare namespace WindowEvents {
|
|
|
18510
18974
|
PreloadScriptInfoRunning,
|
|
18511
18975
|
PreloadScriptInfo,
|
|
18512
18976
|
PreloadScriptsStateChangeEvent,
|
|
18513
|
-
|
|
18977
|
+
BoundsEvent,
|
|
18514
18978
|
BoundsChangeEvent,
|
|
18515
18979
|
WillMoveOrResizeEvent,
|
|
18980
|
+
BoundsDidChangeEvent,
|
|
18981
|
+
BoundsChangedEvent,
|
|
18982
|
+
BoundsChangingEvent,
|
|
18983
|
+
DisabledMovementBoundsChangedEvent,
|
|
18984
|
+
DisabledMovementBoundsChangingEvent,
|
|
18985
|
+
UserBoundsChangeEvent,
|
|
18986
|
+
BeginUserBoundsChangingEvent,
|
|
18987
|
+
EndUserBoundsChangingEvent,
|
|
18516
18988
|
PerformanceReportEvent,
|
|
18517
18989
|
InputEvent_2 as InputEvent,
|
|
18518
18990
|
LayoutInitializedEvent,
|
|
18519
18991
|
LayoutReadyEvent,
|
|
18520
|
-
BeginUserBoundsChangingEvent,
|
|
18521
|
-
BoundsChangedEvent,
|
|
18522
|
-
BoundsChangingEvent,
|
|
18523
18992
|
CloseRequestedEvent,
|
|
18524
18993
|
WindowCloseRequestedEvent,
|
|
18525
18994
|
ContextChangedEvent,
|
|
@@ -18527,10 +18996,7 @@ declare namespace WindowEvents {
|
|
|
18527
18996
|
WindowClosedEvent,
|
|
18528
18997
|
ClosingEvent,
|
|
18529
18998
|
WindowClosingEvent,
|
|
18530
|
-
DisabledMovementBoundsChangedEvent,
|
|
18531
|
-
DisabledMovementBoundsChangingEvent,
|
|
18532
18999
|
EmbeddedEvent,
|
|
18533
|
-
EndUserBoundsChangingEvent,
|
|
18534
19000
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18535
19001
|
WindowHotkeyEvent,
|
|
18536
19002
|
InitializedEvent_2 as InitializedEvent,
|