@openfin/fdc3-api 38.82.64 → 38.82.66
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 +659 -213
- package/out/fdc3-api-beta.d.ts +659 -213
- package/out/fdc3-api-public.d.ts +659 -213
- package/out/fdc3-api.d.ts +659 -213
- package/out/fdc3-api.js +39 -7
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
|
58
58
|
*/
|
|
59
59
|
declare type AddViewOptions = CreateViewTarget & {
|
|
60
60
|
options: ViewState;
|
|
61
|
-
targetView?:
|
|
61
|
+
targetView?: Identity_4;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -930,15 +930,15 @@ declare namespace ApplicationEvents {
|
|
|
930
930
|
*/
|
|
931
931
|
declare type ApplicationEventType = EventType_3;
|
|
932
932
|
|
|
933
|
-
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
934
|
-
|
|
935
933
|
/**
|
|
936
934
|
* @interface
|
|
937
935
|
*/
|
|
938
|
-
declare type
|
|
936
|
+
declare type ApplicationIdentity = {
|
|
939
937
|
uuid: string;
|
|
940
938
|
};
|
|
941
939
|
|
|
940
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
941
|
+
|
|
942
942
|
/**
|
|
943
943
|
* @interface
|
|
944
944
|
*/
|
|
@@ -1311,12 +1311,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1311
1311
|
*/
|
|
1312
1312
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1313
1313
|
|
|
1314
|
-
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1315
|
-
|
|
1316
1314
|
/**
|
|
1317
1315
|
* @interface
|
|
1318
1316
|
*/
|
|
1319
|
-
declare type
|
|
1317
|
+
declare type ApplicationState = {
|
|
1320
1318
|
/**
|
|
1321
1319
|
* True when the application is a Platform controller
|
|
1322
1320
|
*/
|
|
@@ -1348,12 +1346,10 @@ declare type ApplicationType = {
|
|
|
1348
1346
|
*/
|
|
1349
1347
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1350
1348
|
|
|
1351
|
-
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1352
|
-
|
|
1353
1349
|
/**
|
|
1354
1350
|
* @interface
|
|
1355
1351
|
*/
|
|
1356
|
-
declare type
|
|
1352
|
+
declare type ApplicationWindowInfo = {
|
|
1357
1353
|
childWindows: Array<WindowDetail>;
|
|
1358
1354
|
mainWindow: WindowDetail;
|
|
1359
1355
|
/**
|
|
@@ -1618,7 +1614,7 @@ declare class Base {
|
|
|
1618
1614
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
|
1619
1615
|
* on the context in which the devtools panel was opened.
|
|
1620
1616
|
*/
|
|
1621
|
-
get me(): Identity;
|
|
1617
|
+
get me(): OpenFin.Identity;
|
|
1622
1618
|
/* Excluded from this release type: isNodeEnvironment */
|
|
1623
1619
|
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1624
1620
|
/* Excluded from this release type: isBrowserEnvironment */
|
|
@@ -1838,11 +1834,12 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1838
1834
|
/**
|
|
1839
1835
|
* Array of views that will close.
|
|
1840
1836
|
*/
|
|
1841
|
-
viewsToClose:
|
|
1837
|
+
viewsToClose: Identity_4[];
|
|
1842
1838
|
};
|
|
1843
1839
|
|
|
1844
1840
|
/**
|
|
1845
1841
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1842
|
+
*
|
|
1846
1843
|
* @interface
|
|
1847
1844
|
*/
|
|
1848
1845
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1883,31 +1880,33 @@ declare type Bounds = {
|
|
|
1883
1880
|
* Generated after changes in a window's size and/or position.
|
|
1884
1881
|
* @interface
|
|
1885
1882
|
*/
|
|
1886
|
-
declare type BoundsChangedEvent =
|
|
1883
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
|
1887
1884
|
type: 'bounds-changed';
|
|
1888
1885
|
};
|
|
1889
1886
|
|
|
1890
|
-
|
|
1891
|
-
* A general bounds change event without event type.
|
|
1892
|
-
* @interface
|
|
1893
|
-
*/
|
|
1894
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1887
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1895
1888
|
changeType: 0 | 1 | 2;
|
|
1896
|
-
deferred: boolean;
|
|
1897
|
-
height: number;
|
|
1898
|
-
left: number;
|
|
1899
|
-
top: number;
|
|
1900
|
-
width: number;
|
|
1901
1889
|
};
|
|
1902
1890
|
|
|
1903
1891
|
/**
|
|
1904
1892
|
* Generated during changes to a window's size and/or position.
|
|
1905
1893
|
* @interface
|
|
1906
1894
|
*/
|
|
1907
|
-
declare type BoundsChangingEvent =
|
|
1895
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
|
1908
1896
|
type: 'bounds-changing';
|
|
1909
1897
|
};
|
|
1910
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
|
+
|
|
1911
1910
|
/**
|
|
1912
1911
|
* A rule prescribing content creation in the browser.
|
|
1913
1912
|
*
|
|
@@ -2989,7 +2988,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
2989
2988
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
2990
2989
|
* @interface
|
|
2991
2990
|
*/
|
|
2992
|
-
declare type ClientIdentity =
|
|
2991
|
+
declare type ClientIdentity = Identity_4 & {
|
|
2993
2992
|
/**
|
|
2994
2993
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
2995
2994
|
*/
|
|
@@ -3222,7 +3221,7 @@ declare type CloseViewOptions = {
|
|
|
3222
3221
|
/**
|
|
3223
3222
|
*View to be closed.
|
|
3224
3223
|
*/
|
|
3225
|
-
viewIdentity:
|
|
3224
|
+
viewIdentity: Identity_4;
|
|
3226
3225
|
};
|
|
3227
3226
|
|
|
3228
3227
|
/**
|
|
@@ -3232,7 +3231,7 @@ declare type CloseViewPayload = {
|
|
|
3232
3231
|
/**
|
|
3233
3232
|
*View to be closed.
|
|
3234
3233
|
*/
|
|
3235
|
-
view:
|
|
3234
|
+
view: Identity_4;
|
|
3236
3235
|
/**
|
|
3237
3236
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3238
3237
|
* visible layout.
|
|
@@ -3250,7 +3249,7 @@ declare interface CloseWindowPayload {
|
|
|
3250
3249
|
*
|
|
3251
3250
|
* Identity of the Window
|
|
3252
3251
|
*/
|
|
3253
|
-
windowId:
|
|
3252
|
+
windowId: Identity_4;
|
|
3254
3253
|
options: {
|
|
3255
3254
|
/**
|
|
3256
3255
|
* @defaultValue false
|
|
@@ -3368,7 +3367,7 @@ declare type ConstViewOptions = {
|
|
|
3368
3367
|
/**
|
|
3369
3368
|
* The identity of the window this view should be attached to.
|
|
3370
3369
|
*/
|
|
3371
|
-
target:
|
|
3370
|
+
target: Identity_4;
|
|
3372
3371
|
/**
|
|
3373
3372
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3374
3373
|
*/
|
|
@@ -3593,7 +3592,7 @@ declare type ConstWindowOptions = {
|
|
|
3593
3592
|
/**
|
|
3594
3593
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3595
3594
|
*/
|
|
3596
|
-
modalParentIdentity:
|
|
3595
|
+
modalParentIdentity: Identity_4;
|
|
3597
3596
|
/**
|
|
3598
3597
|
* The name of the window.
|
|
3599
3598
|
*/
|
|
@@ -3611,7 +3610,9 @@ declare type ConstWindowOptions = {
|
|
|
3611
3610
|
*/
|
|
3612
3611
|
preloadScripts: PreloadScript[];
|
|
3613
3612
|
/**
|
|
3614
|
-
* 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.
|
|
3615
3616
|
*/
|
|
3616
3617
|
processAffinity: string;
|
|
3617
3618
|
/**
|
|
@@ -4077,13 +4078,13 @@ declare type CreateViewPayload = {
|
|
|
4077
4078
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4078
4079
|
*/
|
|
4079
4080
|
target?: CreateViewTarget;
|
|
4080
|
-
targetView?:
|
|
4081
|
+
targetView?: Identity_4;
|
|
4081
4082
|
};
|
|
4082
4083
|
|
|
4083
4084
|
/**
|
|
4084
4085
|
* @interface
|
|
4085
4086
|
*/
|
|
4086
|
-
declare type CreateViewTarget = (
|
|
4087
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
|
4087
4088
|
/**
|
|
4088
4089
|
* If specified, view creation will not attach to a window and caller must
|
|
4089
4090
|
* insert the view into the layout explicitly
|
|
@@ -4529,7 +4530,7 @@ declare type EmitterAccessor = string[];
|
|
|
4529
4530
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4530
4531
|
#private;
|
|
4531
4532
|
private topic;
|
|
4532
|
-
protected identity: ApplicationIdentity;
|
|
4533
|
+
protected identity: OpenFin.ApplicationIdentity;
|
|
4533
4534
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4534
4535
|
eventNames: () => (string | symbol)[];
|
|
4535
4536
|
/* Excluded from this release type: emit */
|
|
@@ -4604,20 +4605,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4604
4605
|
|
|
4605
4606
|
/**
|
|
4606
4607
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4608
|
+
*
|
|
4607
4609
|
* @interface
|
|
4608
4610
|
*/
|
|
4609
4611
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4610
4612
|
type: 'end-user-bounds-changing';
|
|
4611
4613
|
};
|
|
4612
4614
|
|
|
4613
|
-
declare type Entity = OpenFin.ApplicationType;
|
|
4614
|
-
|
|
4615
|
-
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4616
|
-
|
|
4617
4615
|
/**
|
|
4618
4616
|
* @interface
|
|
4619
4617
|
*/
|
|
4620
|
-
declare type
|
|
4618
|
+
declare type EntityInfo = {
|
|
4621
4619
|
uuid: string;
|
|
4622
4620
|
name: string;
|
|
4623
4621
|
entityType: EntityType_4;
|
|
@@ -4966,7 +4964,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
4966
4964
|
* @interface
|
|
4967
4965
|
*/
|
|
4968
4966
|
declare type ExternalApplicationInfo = {
|
|
4969
|
-
parent:
|
|
4967
|
+
parent: Identity_4;
|
|
4970
4968
|
};
|
|
4971
4969
|
|
|
4972
4970
|
/**
|
|
@@ -5509,6 +5507,10 @@ declare type FileDownloadEvent = {
|
|
|
5509
5507
|
* The number of bytes of the item that have already been downloaded.
|
|
5510
5508
|
*/
|
|
5511
5509
|
downloadedBytes: number;
|
|
5510
|
+
/**
|
|
5511
|
+
* Unique identifier for the downloaded file.
|
|
5512
|
+
*/
|
|
5513
|
+
fileUuid: string;
|
|
5512
5514
|
} & NamedEvent;
|
|
5513
5515
|
|
|
5514
5516
|
/**
|
|
@@ -5760,7 +5762,7 @@ declare type FrameInfo = {
|
|
|
5760
5762
|
uuid: string;
|
|
5761
5763
|
url: string;
|
|
5762
5764
|
entityType: EntityType_4;
|
|
5763
|
-
parent:
|
|
5765
|
+
parent: Identity_4;
|
|
5764
5766
|
};
|
|
5765
5767
|
|
|
5766
5768
|
/**
|
|
@@ -5835,12 +5837,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5835
5837
|
entityType: string;
|
|
5836
5838
|
};
|
|
5837
5839
|
|
|
5838
|
-
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5839
|
-
|
|
5840
5840
|
/**
|
|
5841
5841
|
* @interface
|
|
5842
5842
|
*/
|
|
5843
|
-
declare type
|
|
5843
|
+
declare type GetLogRequestType = {
|
|
5844
5844
|
/**
|
|
5845
5845
|
* The name of the running application
|
|
5846
5846
|
*/
|
|
@@ -5860,7 +5860,7 @@ declare type GetWindowContextPayload = {
|
|
|
5860
5860
|
/**
|
|
5861
5861
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5862
5862
|
*/
|
|
5863
|
-
target:
|
|
5863
|
+
target: Identity_4;
|
|
5864
5864
|
};
|
|
5865
5865
|
|
|
5866
5866
|
/**
|
|
@@ -6126,8 +6126,6 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6126
6126
|
|
|
6127
6127
|
declare type Identity_3 = OpenFin.Identity;
|
|
6128
6128
|
|
|
6129
|
-
declare type Identity_4 = OpenFin.Identity;
|
|
6130
|
-
|
|
6131
6129
|
/**
|
|
6132
6130
|
* Unique identifier for a window, view or iframe.
|
|
6133
6131
|
*
|
|
@@ -6136,7 +6134,7 @@ declare type Identity_4 = OpenFin.Identity;
|
|
|
6136
6134
|
*
|
|
6137
6135
|
* @interface
|
|
6138
6136
|
*/
|
|
6139
|
-
declare type
|
|
6137
|
+
declare type Identity_4 = {
|
|
6140
6138
|
/**
|
|
6141
6139
|
* Universally unique identifier of the application that owns the component.
|
|
6142
6140
|
*/
|
|
@@ -6295,12 +6293,10 @@ declare type InstallationInfo = {
|
|
|
6295
6293
|
cachedManifest: any;
|
|
6296
6294
|
};
|
|
6297
6295
|
|
|
6298
|
-
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6299
|
-
|
|
6300
6296
|
/**
|
|
6301
6297
|
* @interface
|
|
6302
6298
|
*/
|
|
6303
|
-
declare type
|
|
6299
|
+
declare type InstalledApps = {
|
|
6304
6300
|
[key: string]: InstallationInfo;
|
|
6305
6301
|
};
|
|
6306
6302
|
|
|
@@ -7071,7 +7067,7 @@ declare class InteropBroker extends Base {
|
|
|
7071
7067
|
* @param _id the identity tryinc to connect
|
|
7072
7068
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7073
7069
|
*/
|
|
7074
|
-
isConnectionAuthorized(_id:
|
|
7070
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7075
7071
|
/**
|
|
7076
7072
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7077
7073
|
* Return false to prevent the action
|
|
@@ -7989,7 +7985,7 @@ declare class Layout extends Base {
|
|
|
7989
7985
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
7990
7986
|
* ```
|
|
7991
7987
|
*/
|
|
7992
|
-
replaceView: (viewToReplace:
|
|
7988
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
7993
7989
|
/**
|
|
7994
7990
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
7995
7991
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8044,7 +8040,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8044
8040
|
/**
|
|
8045
8041
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8046
8042
|
*/
|
|
8047
|
-
declare type LayoutDOMEvent =
|
|
8043
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
|
8048
8044
|
type: string;
|
|
8049
8045
|
topic: 'openfin-DOM-event';
|
|
8050
8046
|
tabSelector: string;
|
|
@@ -8105,7 +8101,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8105
8101
|
/**
|
|
8106
8102
|
* @interface
|
|
8107
8103
|
*/
|
|
8108
|
-
declare type LayoutIdentity =
|
|
8104
|
+
declare type LayoutIdentity = Identity_4 & {
|
|
8109
8105
|
/**
|
|
8110
8106
|
* The name of the layout in a given window.
|
|
8111
8107
|
*/
|
|
@@ -8214,7 +8210,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8214
8210
|
* @param identity
|
|
8215
8211
|
* @returns LayoutIdentity | undefined
|
|
8216
8212
|
*/
|
|
8217
|
-
resolveLayoutIdentity(identity?:
|
|
8213
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8218
8214
|
/**
|
|
8219
8215
|
* @experimental
|
|
8220
8216
|
*
|
|
@@ -8231,7 +8227,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8231
8227
|
/**
|
|
8232
8228
|
* @experimental
|
|
8233
8229
|
*/
|
|
8234
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8230
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
|
8235
8231
|
/**
|
|
8236
8232
|
* @experimental
|
|
8237
8233
|
*/
|
|
@@ -8535,12 +8531,10 @@ declare type Listener<T extends {
|
|
|
8535
8531
|
type: string;
|
|
8536
8532
|
}> = (payload: T) => void;
|
|
8537
8533
|
|
|
8538
|
-
declare type LogInfo = OpenFin.LogInfo;
|
|
8539
|
-
|
|
8540
8534
|
/**
|
|
8541
8535
|
* @interface
|
|
8542
8536
|
*/
|
|
8543
|
-
declare type
|
|
8537
|
+
declare type LogInfo = {
|
|
8544
8538
|
/**
|
|
8545
8539
|
* The filename of the log
|
|
8546
8540
|
*/
|
|
@@ -8555,8 +8549,6 @@ declare type LogInfo_2 = {
|
|
|
8555
8549
|
date: string;
|
|
8556
8550
|
};
|
|
8557
8551
|
|
|
8558
|
-
declare type LogLevel = OpenFin.LogLevel;
|
|
8559
|
-
|
|
8560
8552
|
/**
|
|
8561
8553
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8562
8554
|
*
|
|
@@ -8566,7 +8558,7 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8566
8558
|
* `error` and above<br>
|
|
8567
8559
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8568
8560
|
*/
|
|
8569
|
-
declare type
|
|
8561
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8570
8562
|
|
|
8571
8563
|
/**
|
|
8572
8564
|
* @interface
|
|
@@ -9376,13 +9368,13 @@ declare namespace OpenFin {
|
|
|
9376
9368
|
LayoutPosition,
|
|
9377
9369
|
WebContent,
|
|
9378
9370
|
PlatformProvider,
|
|
9379
|
-
|
|
9380
|
-
|
|
9371
|
+
ApplicationIdentity,
|
|
9372
|
+
Identity_4 as Identity,
|
|
9381
9373
|
ClientIdentity,
|
|
9382
9374
|
ClientInfo,
|
|
9383
9375
|
ClientIdentityMultiRuntime,
|
|
9384
9376
|
ClientConnectionPayload,
|
|
9385
|
-
|
|
9377
|
+
EntityInfo,
|
|
9386
9378
|
EntityType_4 as EntityType,
|
|
9387
9379
|
Bounds,
|
|
9388
9380
|
WindowBounds,
|
|
@@ -9516,7 +9508,7 @@ declare namespace OpenFin {
|
|
|
9516
9508
|
GpuInfo,
|
|
9517
9509
|
OSInfo,
|
|
9518
9510
|
HostSpecs,
|
|
9519
|
-
|
|
9511
|
+
PrinterInfo,
|
|
9520
9512
|
Dpi,
|
|
9521
9513
|
Margins,
|
|
9522
9514
|
PrintOptions,
|
|
@@ -9624,24 +9616,24 @@ declare namespace OpenFin {
|
|
|
9624
9616
|
BeforeUnloadUserDecision,
|
|
9625
9617
|
ViewStatuses,
|
|
9626
9618
|
CloseWindowPayload,
|
|
9627
|
-
|
|
9628
|
-
|
|
9619
|
+
ProxyInfo,
|
|
9620
|
+
ProxyConfig,
|
|
9629
9621
|
ProxySystemInfo,
|
|
9630
9622
|
ChannelAction_2 as ChannelAction,
|
|
9631
9623
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9632
9624
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9633
|
-
|
|
9634
|
-
|
|
9625
|
+
ApplicationState,
|
|
9626
|
+
InstalledApps,
|
|
9635
9627
|
InstallationInfo,
|
|
9636
|
-
|
|
9637
|
-
|
|
9628
|
+
GetLogRequestType,
|
|
9629
|
+
LogInfo,
|
|
9638
9630
|
SendApplicationLogResponse,
|
|
9639
|
-
|
|
9631
|
+
LogLevel,
|
|
9640
9632
|
PermissionState_2 as PermissionState,
|
|
9641
|
-
|
|
9633
|
+
RegistryInfo,
|
|
9642
9634
|
ApplicationType,
|
|
9643
9635
|
WindowInfo,
|
|
9644
|
-
|
|
9636
|
+
ApplicationWindowInfo,
|
|
9645
9637
|
WindowDetail,
|
|
9646
9638
|
LayoutPresetType,
|
|
9647
9639
|
LayoutIdentity,
|
|
@@ -11550,12 +11542,10 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11550
11542
|
presetType: LayoutPresetType;
|
|
11551
11543
|
};
|
|
11552
11544
|
|
|
11553
|
-
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11554
|
-
|
|
11555
11545
|
/**
|
|
11556
11546
|
* @interface
|
|
11557
11547
|
*/
|
|
11558
|
-
declare type
|
|
11548
|
+
declare type PrinterInfo = {
|
|
11559
11549
|
/**
|
|
11560
11550
|
* Printer Name
|
|
11561
11551
|
*/
|
|
@@ -11817,20 +11807,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
11817
11807
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
11818
11808
|
|
|
11819
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;
|
|
11820
11895
|
'request-external-authorization': {
|
|
11821
11896
|
request: any;
|
|
11822
11897
|
response: void;
|
|
11823
11898
|
specialResponse: AuthorizationPayload;
|
|
11824
11899
|
};
|
|
11825
|
-
'
|
|
11826
|
-
request:
|
|
11827
|
-
response: OpenFin.Identity[];
|
|
11828
|
-
};
|
|
11829
|
-
'set-jump-list': {
|
|
11830
|
-
request: {
|
|
11831
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
11832
|
-
} & OpenFin.ApplicationIdentity;
|
|
11900
|
+
'request-authorization': {
|
|
11901
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
|
11833
11902
|
response: void;
|
|
11903
|
+
specialResponse: Payload;
|
|
11834
11904
|
};
|
|
11835
11905
|
'clipboard-read-formats': {
|
|
11836
11906
|
request: {
|
|
@@ -11842,6 +11912,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11842
11912
|
request: OpenFin.ReadImageClipboardRequest;
|
|
11843
11913
|
response: string;
|
|
11844
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
|
+
};
|
|
11845
11933
|
'clipboard-write-image': {
|
|
11846
11934
|
request: OpenFin.WriteImageClipboardRequest;
|
|
11847
11935
|
response: void;
|
|
@@ -11850,6 +11938,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11850
11938
|
request: OpenFin.WriteAnyRequestType;
|
|
11851
11939
|
response: void;
|
|
11852
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
|
+
};
|
|
11853
11953
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
11854
11954
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
11855
11955
|
uuid: string;
|
|
@@ -11875,13 +11975,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11875
11975
|
options: OpenFin.UpdatableViewOptions;
|
|
11876
11976
|
}>;
|
|
11877
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>;
|
|
11878
11997
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
11879
|
-
'
|
|
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': {
|
|
11880
12048
|
request: OpenFin.Identity & {
|
|
11881
|
-
options: OpenFin.
|
|
12049
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
11882
12050
|
};
|
|
11883
|
-
response:
|
|
12051
|
+
response: OpenFin.MenuResult;
|
|
11884
12052
|
};
|
|
12053
|
+
'close-popup-menu': IdentityCall;
|
|
12054
|
+
'dispatch-popup-result': IdentityCall<{
|
|
12055
|
+
data: any;
|
|
12056
|
+
}>;
|
|
11885
12057
|
'print-screenshot': {
|
|
11886
12058
|
request: OpenFin.Identity;
|
|
11887
12059
|
response: void;
|
|
@@ -11892,6 +12064,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11892
12064
|
};
|
|
11893
12065
|
response: void;
|
|
11894
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[]>;
|
|
11895
12290
|
'launch-manifest': {
|
|
11896
12291
|
request: {
|
|
11897
12292
|
manifestUrl: string;
|
|
@@ -11903,17 +12298,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11903
12298
|
manifest: OpenFin.Manifest;
|
|
11904
12299
|
};
|
|
11905
12300
|
};
|
|
11906
|
-
'
|
|
12301
|
+
'query-permission-for-current-context': {
|
|
11907
12302
|
request: {
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
response: any;
|
|
11911
|
-
};
|
|
11912
|
-
'show-popup-menu': {
|
|
11913
|
-
request: OpenFin.Identity & {
|
|
11914
|
-
options: OpenFin.ShowPopupMenuOptions;
|
|
12303
|
+
apiName: string;
|
|
12304
|
+
identity: OpenFin.Identity;
|
|
11915
12305
|
};
|
|
11916
|
-
response: OpenFin.
|
|
12306
|
+
response: OpenFin.QueryPermissionResult;
|
|
11917
12307
|
};
|
|
11918
12308
|
'enable-native-window-integration-provider': {
|
|
11919
12309
|
request: {
|
|
@@ -11921,24 +12311,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11921
12311
|
};
|
|
11922
12312
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
11923
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;
|
|
11924
12324
|
'get-permissions': GetterCall<any>;
|
|
11925
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
11926
|
-
'set-file-download-location': {
|
|
11927
|
-
request: OpenFin.Identity & {
|
|
11928
|
-
downloadLocation: string;
|
|
11929
|
-
};
|
|
11930
|
-
response: void;
|
|
11931
|
-
};
|
|
11932
|
-
'get-file-download-location': {
|
|
11933
|
-
request: OpenFin.ApplicationIdentity;
|
|
11934
|
-
response: string;
|
|
11935
|
-
};
|
|
11936
|
-
'close-popup-menu': IdentityCall;
|
|
11937
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;
|
|
11938
12334
|
'fdc3-broadcast': VoidCall;
|
|
12335
|
+
'fdc3-open': VoidCall;
|
|
12336
|
+
'fdc3-get-or-create-channel': VoidCall;
|
|
11939
12337
|
'fdc3-get-system-channels': VoidCall;
|
|
11940
12338
|
'fdc3-join-channel': VoidCall;
|
|
12339
|
+
'fdc3-get-current-channel': VoidCall;
|
|
11941
12340
|
'fdc3-leave-current-channel': VoidCall;
|
|
12341
|
+
'interop-init': VoidCall;
|
|
11942
12342
|
'interop-connect-sync': VoidCall;
|
|
11943
12343
|
'interop-client-set-context': VoidCall;
|
|
11944
12344
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -11947,6 +12347,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11947
12347
|
'interop-client-remove-from-context-group': VoidCall;
|
|
11948
12348
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
11949
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;
|
|
11950
12357
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
11951
12358
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
11952
12359
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -11958,13 +12365,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11958
12365
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
11959
12366
|
'interop-broker-set-context': VoidCall;
|
|
11960
12367
|
'interop-broker-set-context-for-group': VoidCall;
|
|
11961
|
-
'
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
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>;
|
|
11968
12462
|
'try-create-popup-window': {
|
|
11969
12463
|
request: OpenFin.Identity & {
|
|
11970
12464
|
options: OpenFin.PopupOptions;
|
|
@@ -11980,9 +12474,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11980
12474
|
};
|
|
11981
12475
|
response: OpenFin.PopupResult;
|
|
11982
12476
|
};
|
|
11983
|
-
'dispatch-popup-result': IdentityCall<{
|
|
11984
|
-
data: any;
|
|
11985
|
-
}>;
|
|
11986
12477
|
'render-overlay': {
|
|
11987
12478
|
request: {
|
|
11988
12479
|
bounds: OpenFin.Bounds;
|
|
@@ -12002,40 +12493,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12002
12493
|
};
|
|
12003
12494
|
response: void;
|
|
12004
12495
|
};
|
|
12005
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12006
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12007
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12008
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12009
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12010
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12011
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12012
|
-
}, void>;
|
|
12013
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12014
|
-
deltaLeft: number;
|
|
12015
|
-
deltaTop: number;
|
|
12016
|
-
}>>;
|
|
12017
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12018
|
-
left: number;
|
|
12019
|
-
top: number;
|
|
12020
|
-
}>>;
|
|
12021
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12022
|
-
deltaWidth: number;
|
|
12023
|
-
deltaHeight: number;
|
|
12024
|
-
anchor: OpenFin.AnchorType;
|
|
12025
|
-
}>>;
|
|
12026
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12027
|
-
width: number;
|
|
12028
|
-
height: number;
|
|
12029
|
-
anchor: OpenFin.AnchorType;
|
|
12030
|
-
}>>;
|
|
12031
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12032
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12033
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12034
|
-
protocolName: string;
|
|
12035
|
-
}, void>;
|
|
12036
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12037
|
-
protocolName: string;
|
|
12038
|
-
}, OpenFin.CustomProtocolState>;
|
|
12039
12496
|
}
|
|
12040
12497
|
|
|
12041
12498
|
declare interface ProtocolMapBase {
|
|
@@ -12065,7 +12522,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12065
12522
|
* Identity of a channel provider.
|
|
12066
12523
|
* @interface
|
|
12067
12524
|
*/
|
|
12068
|
-
declare type ProviderIdentity_4 =
|
|
12525
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
|
12069
12526
|
/**
|
|
12070
12527
|
* Identifier of the channel.
|
|
12071
12528
|
*/
|
|
@@ -12076,12 +12533,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
|
12076
12533
|
channelName: string;
|
|
12077
12534
|
};
|
|
12078
12535
|
|
|
12079
|
-
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12080
|
-
|
|
12081
12536
|
/**
|
|
12082
12537
|
* @interface
|
|
12083
12538
|
*/
|
|
12084
|
-
declare type
|
|
12539
|
+
declare type ProxyConfig = {
|
|
12085
12540
|
/**
|
|
12086
12541
|
* The configured proxy address.
|
|
12087
12542
|
*/
|
|
@@ -12093,13 +12548,11 @@ declare type ProxyConfig_2 = {
|
|
|
12093
12548
|
type: string;
|
|
12094
12549
|
};
|
|
12095
12550
|
|
|
12096
|
-
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12097
|
-
|
|
12098
12551
|
/**
|
|
12099
12552
|
* @interface
|
|
12100
12553
|
*/
|
|
12101
|
-
declare type
|
|
12102
|
-
config:
|
|
12554
|
+
declare type ProxyInfo = {
|
|
12555
|
+
config: ProxyConfig;
|
|
12103
12556
|
system: ProxySystemInfo;
|
|
12104
12557
|
};
|
|
12105
12558
|
|
|
@@ -12205,12 +12658,10 @@ declare type RegisterUsageData = {
|
|
|
12205
12658
|
type: string;
|
|
12206
12659
|
};
|
|
12207
12660
|
|
|
12208
|
-
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12209
|
-
|
|
12210
12661
|
/**
|
|
12211
12662
|
* @interface
|
|
12212
12663
|
*/
|
|
12213
|
-
declare type
|
|
12664
|
+
declare type RegistryInfo = {
|
|
12214
12665
|
data: any;
|
|
12215
12666
|
rootKey: string;
|
|
12216
12667
|
subkey: string;
|
|
@@ -12268,14 +12719,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12268
12719
|
/**
|
|
12269
12720
|
* Identity of the window whose layout will be replaced.
|
|
12270
12721
|
*/
|
|
12271
|
-
target:
|
|
12722
|
+
target: Identity_4 | LayoutIdentity;
|
|
12272
12723
|
};
|
|
12273
12724
|
|
|
12274
12725
|
/**
|
|
12275
12726
|
* @interface
|
|
12276
12727
|
*/
|
|
12277
12728
|
declare type ReplaceViewOptions = {
|
|
12278
|
-
viewToReplace:
|
|
12729
|
+
viewToReplace: Identity_4;
|
|
12279
12730
|
newView: ViewState;
|
|
12280
12731
|
};
|
|
12281
12732
|
|
|
@@ -12284,7 +12735,7 @@ declare type ReplaceViewOptions = {
|
|
|
12284
12735
|
*/
|
|
12285
12736
|
declare type ReplaceViewPayload = {
|
|
12286
12737
|
opts: {
|
|
12287
|
-
viewToReplace:
|
|
12738
|
+
viewToReplace: Identity_4;
|
|
12288
12739
|
newView: Partial<ViewOptions>;
|
|
12289
12740
|
};
|
|
12290
12741
|
target: LayoutIdentity;
|
|
@@ -12650,7 +13101,7 @@ declare type SetWindowContextPayload = {
|
|
|
12650
13101
|
/**
|
|
12651
13102
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
12652
13103
|
*/
|
|
12653
|
-
target:
|
|
13104
|
+
target: Identity_4;
|
|
12654
13105
|
};
|
|
12655
13106
|
|
|
12656
13107
|
/**
|
|
@@ -13094,7 +13545,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13094
13545
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13095
13546
|
* ```
|
|
13096
13547
|
*/
|
|
13097
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13548
|
+
getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
|
|
13098
13549
|
/**
|
|
13099
13550
|
* Retrieves an array of data for all applications.
|
|
13100
13551
|
*
|
|
@@ -13103,7 +13554,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13103
13554
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13104
13555
|
* ```
|
|
13105
13556
|
*/
|
|
13106
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
13557
|
+
getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
|
|
13107
13558
|
/**
|
|
13108
13559
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13109
13560
|
*
|
|
@@ -13178,7 +13629,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13178
13629
|
* }
|
|
13179
13630
|
* ```
|
|
13180
13631
|
*/
|
|
13181
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
13632
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
|
|
13182
13633
|
/**
|
|
13183
13634
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13184
13635
|
*
|
|
@@ -13220,7 +13671,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13220
13671
|
* ```
|
|
13221
13672
|
*/
|
|
13222
13673
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13223
|
-
getInstalledApps(): Promise<InstalledApps>;
|
|
13674
|
+
getInstalledApps(): Promise<OpenFin.InstalledApps>;
|
|
13224
13675
|
/**
|
|
13225
13676
|
* Retrieves the contents of the log with the specified filename.
|
|
13226
13677
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13235,7 +13686,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13235
13686
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13236
13687
|
* ```
|
|
13237
13688
|
*/
|
|
13238
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
|
13689
|
+
getLog(options: OpenFin.GetLogRequestType): Promise<string>;
|
|
13239
13690
|
/**
|
|
13240
13691
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13241
13692
|
*
|
|
@@ -13253,7 +13704,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13253
13704
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13254
13705
|
* ```
|
|
13255
13706
|
*/
|
|
13256
|
-
getMinLogLevel(): Promise<LogLevel>;
|
|
13707
|
+
getMinLogLevel(): Promise<OpenFin.LogLevel>;
|
|
13257
13708
|
/**
|
|
13258
13709
|
* Retrieves an array containing information for each log file.
|
|
13259
13710
|
*
|
|
@@ -13262,7 +13713,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13262
13713
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
13263
13714
|
* ```
|
|
13264
13715
|
*/
|
|
13265
|
-
getLogList(): Promise<Array<LogInfo>>;
|
|
13716
|
+
getLogList(): Promise<Array<OpenFin.LogInfo>>;
|
|
13266
13717
|
/**
|
|
13267
13718
|
* Retrieves an object that contains data about the monitor setup of the
|
|
13268
13719
|
* computer that the runtime is running on.
|
|
@@ -13333,7 +13784,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13333
13784
|
* }
|
|
13334
13785
|
* ```
|
|
13335
13786
|
*/
|
|
13336
|
-
getProxySettings(): Promise<ProxyInfo>;
|
|
13787
|
+
getProxySettings(): Promise<OpenFin.ProxyInfo>;
|
|
13337
13788
|
/**
|
|
13338
13789
|
* Returns information about the running Runtime in an object.
|
|
13339
13790
|
*
|
|
@@ -13700,7 +14151,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13700
14151
|
* }
|
|
13701
14152
|
* ```
|
|
13702
14153
|
*/
|
|
13703
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
14154
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
|
|
13704
14155
|
/**
|
|
13705
14156
|
* Monitors a running process. A pid for the process must be included in options.
|
|
13706
14157
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -13717,7 +14168,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13717
14168
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
13718
14169
|
* ```
|
|
13719
14170
|
*/
|
|
13720
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
14171
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
|
|
13721
14172
|
/**
|
|
13722
14173
|
* Writes the passed message into both the log file and the console.
|
|
13723
14174
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -13851,7 +14302,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13851
14302
|
*
|
|
13852
14303
|
* @tutorial System.showDeveloperTools
|
|
13853
14304
|
*/
|
|
13854
|
-
showDeveloperTools(identity:
|
|
14305
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
|
13855
14306
|
/**
|
|
13856
14307
|
* Attempt to close an external process. The process will be terminated if it
|
|
13857
14308
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -13885,7 +14336,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13885
14336
|
* .catch(err => console.error(err));
|
|
13886
14337
|
* ```
|
|
13887
14338
|
*/
|
|
13888
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14339
|
+
updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
|
|
13889
14340
|
/**
|
|
13890
14341
|
* Downloads the given application asset.
|
|
13891
14342
|
*
|
|
@@ -13977,7 +14428,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13977
14428
|
* .catch(err => console.log(err));
|
|
13978
14429
|
* ```
|
|
13979
14430
|
*/
|
|
13980
|
-
getAllExternalApplications(): Promise<Array<
|
|
14431
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
|
13981
14432
|
/**
|
|
13982
14433
|
* Retrieves app asset information.
|
|
13983
14434
|
* @param options
|
|
@@ -14006,7 +14457,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14006
14457
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
14007
14458
|
* ```
|
|
14008
14459
|
*/
|
|
14009
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14460
|
+
setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
|
|
14010
14461
|
/**
|
|
14011
14462
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
14012
14463
|
* @param uuid The uuid of the running application
|
|
@@ -14016,7 +14467,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14016
14467
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
14017
14468
|
* ```
|
|
14018
14469
|
*/
|
|
14019
|
-
resolveUuid(uuid: string): Promise<
|
|
14470
|
+
resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
|
|
14020
14471
|
/**
|
|
14021
14472
|
* Retrieves an array of data for all external applications
|
|
14022
14473
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14024,7 +14475,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14024
14475
|
*
|
|
14025
14476
|
* @ignore
|
|
14026
14477
|
*/
|
|
14027
|
-
executeOnRemote(requestingIdentity:
|
|
14478
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
|
14028
14479
|
/**
|
|
14029
14480
|
* Reads the specifed value from the registry.
|
|
14030
14481
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14117,7 +14568,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14117
14568
|
* }
|
|
14118
14569
|
* ```
|
|
14119
14570
|
*/
|
|
14120
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
14571
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
|
|
14121
14572
|
/**
|
|
14122
14573
|
* This function call will register a unique id and produce a token.
|
|
14123
14574
|
* The token can be used to broker an external connection.
|
|
@@ -14332,7 +14783,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14332
14783
|
* });
|
|
14333
14784
|
* ```
|
|
14334
14785
|
*/
|
|
14335
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
|
14786
|
+
getPrinters(): Promise<OpenFin.PrinterInfo[]>;
|
|
14336
14787
|
/**
|
|
14337
14788
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
14338
14789
|
* @param options Process Logging updatable options.
|
|
@@ -14951,14 +15402,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
14951
15402
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
14952
15403
|
|
|
14953
15404
|
/**
|
|
14954
|
-
*
|
|
15405
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
|
15406
|
+
*
|
|
14955
15407
|
* @interface
|
|
14956
15408
|
*/
|
|
14957
|
-
declare type UserBoundsChangeEvent =
|
|
14958
|
-
height: number;
|
|
14959
|
-
left: number;
|
|
14960
|
-
top: number;
|
|
14961
|
-
width: number;
|
|
15409
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
|
14962
15410
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
14963
15411
|
};
|
|
14964
15412
|
|
|
@@ -15567,7 +16015,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
15567
16015
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
15568
16016
|
name: string;
|
|
15569
16017
|
url: string;
|
|
15570
|
-
target:
|
|
16018
|
+
target: Identity_4;
|
|
15571
16019
|
};
|
|
15572
16020
|
|
|
15573
16021
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
@@ -15753,15 +16201,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
15753
16201
|
/**
|
|
15754
16202
|
* Identity of the Window.
|
|
15755
16203
|
*/
|
|
15756
|
-
windowId:
|
|
16204
|
+
windowId: Identity_4;
|
|
15757
16205
|
/**
|
|
15758
16206
|
* Identities of the Views that are preventing an unload
|
|
15759
16207
|
*/
|
|
15760
|
-
viewsPreventingUnload:
|
|
16208
|
+
viewsPreventingUnload: Identity_4[];
|
|
15761
16209
|
/**
|
|
15762
16210
|
* Identities of the Views that are not preventing an unload
|
|
15763
16211
|
*/
|
|
15764
|
-
viewsNotPreventingUnload:
|
|
16212
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
15765
16213
|
/**
|
|
15766
16214
|
* Source of the close action.
|
|
15767
16215
|
*/
|
|
@@ -15786,11 +16234,11 @@ declare interface ViewStatuses {
|
|
|
15786
16234
|
/**
|
|
15787
16235
|
* Identities of the Views that are preventing an unload.
|
|
15788
16236
|
*/
|
|
15789
|
-
viewsPreventingUnload:
|
|
16237
|
+
viewsPreventingUnload: Identity_4[];
|
|
15790
16238
|
/**
|
|
15791
16239
|
* Identities of the Views that are not preventing an unload.
|
|
15792
16240
|
*/
|
|
15793
|
-
viewsNotPreventingUnload:
|
|
16241
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
15794
16242
|
}
|
|
15795
16243
|
|
|
15796
16244
|
/**
|
|
@@ -16295,7 +16743,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
16295
16743
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
16296
16744
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
16297
16745
|
*/
|
|
16298
|
-
stopFindInPage(action:
|
|
16746
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
|
16299
16747
|
/**
|
|
16300
16748
|
* Returns an array with all system printers
|
|
16301
16749
|
* @deprecated use System.getPrinters instead
|
|
@@ -16888,11 +17336,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
16888
17336
|
* A general will-move or will-resize event without event type.
|
|
16889
17337
|
* @interface
|
|
16890
17338
|
*/
|
|
16891
|
-
declare type WillMoveOrResizeEvent =
|
|
16892
|
-
height: number;
|
|
16893
|
-
left: number;
|
|
16894
|
-
top: number;
|
|
16895
|
-
width: number;
|
|
17339
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
|
16896
17340
|
monitorScaleFactor: number;
|
|
16897
17341
|
};
|
|
16898
17342
|
|
|
@@ -18084,16 +18528,21 @@ declare namespace WindowEvents {
|
|
|
18084
18528
|
PreloadScriptInfoRunning,
|
|
18085
18529
|
PreloadScriptInfo,
|
|
18086
18530
|
PreloadScriptsStateChangeEvent,
|
|
18087
|
-
|
|
18531
|
+
BoundsEvent,
|
|
18088
18532
|
BoundsChangeEvent,
|
|
18089
18533
|
WillMoveOrResizeEvent,
|
|
18534
|
+
BoundsDidChangeEvent,
|
|
18535
|
+
BoundsChangedEvent,
|
|
18536
|
+
BoundsChangingEvent,
|
|
18537
|
+
DisabledMovementBoundsChangedEvent,
|
|
18538
|
+
DisabledMovementBoundsChangingEvent,
|
|
18539
|
+
UserBoundsChangeEvent,
|
|
18540
|
+
BeginUserBoundsChangingEvent,
|
|
18541
|
+
EndUserBoundsChangingEvent,
|
|
18090
18542
|
PerformanceReportEvent,
|
|
18091
18543
|
InputEvent_2 as InputEvent,
|
|
18092
18544
|
LayoutInitializedEvent,
|
|
18093
18545
|
LayoutReadyEvent,
|
|
18094
|
-
BeginUserBoundsChangingEvent,
|
|
18095
|
-
BoundsChangedEvent,
|
|
18096
|
-
BoundsChangingEvent,
|
|
18097
18546
|
CloseRequestedEvent,
|
|
18098
18547
|
WindowCloseRequestedEvent,
|
|
18099
18548
|
ContextChangedEvent,
|
|
@@ -18101,10 +18550,7 @@ declare namespace WindowEvents {
|
|
|
18101
18550
|
WindowClosedEvent,
|
|
18102
18551
|
ClosingEvent,
|
|
18103
18552
|
WindowClosingEvent,
|
|
18104
|
-
DisabledMovementBoundsChangedEvent,
|
|
18105
|
-
DisabledMovementBoundsChangingEvent,
|
|
18106
18553
|
EmbeddedEvent,
|
|
18107
|
-
EndUserBoundsChangingEvent,
|
|
18108
18554
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18109
18555
|
WindowHotkeyEvent,
|
|
18110
18556
|
InitializedEvent_2 as InitializedEvent,
|