@openfin/core 38.82.64 → 38.82.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/mock-alpha.d.ts +659 -213
- package/out/mock-beta.d.ts +659 -213
- package/out/mock-public.d.ts +659 -213
- package/out/mock.d.ts +659 -213
- package/out/mock.js +95 -25
- package/package.json +1 -1
package/out/mock-beta.d.ts
CHANGED
@@ -61,7 +61,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
61
61
|
*/
|
62
62
|
declare type AddViewOptions = CreateViewTarget & {
|
63
63
|
options: ViewState;
|
64
|
-
targetView?:
|
64
|
+
targetView?: Identity_4;
|
65
65
|
};
|
66
66
|
|
67
67
|
/**
|
@@ -933,15 +933,15 @@ declare namespace ApplicationEvents {
|
|
933
933
|
*/
|
934
934
|
declare type ApplicationEventType = EventType_3;
|
935
935
|
|
936
|
-
declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
|
937
|
-
|
938
936
|
/**
|
939
937
|
* @interface
|
940
938
|
*/
|
941
|
-
declare type
|
939
|
+
declare type ApplicationIdentity = {
|
942
940
|
uuid: string;
|
943
941
|
};
|
944
942
|
|
943
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
|
944
|
+
|
945
945
|
/**
|
946
946
|
* @interface
|
947
947
|
*/
|
@@ -1314,12 +1314,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
1314
1314
|
*/
|
1315
1315
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
1316
1316
|
|
1317
|
-
declare type ApplicationState = OpenFin_2.ApplicationState;
|
1318
|
-
|
1319
1317
|
/**
|
1320
1318
|
* @interface
|
1321
1319
|
*/
|
1322
|
-
declare type
|
1320
|
+
declare type ApplicationState = {
|
1323
1321
|
/**
|
1324
1322
|
* True when the application is a Platform controller
|
1325
1323
|
*/
|
@@ -1351,12 +1349,10 @@ declare type ApplicationType = {
|
|
1351
1349
|
*/
|
1352
1350
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
1353
1351
|
|
1354
|
-
declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
|
1355
|
-
|
1356
1352
|
/**
|
1357
1353
|
* @interface
|
1358
1354
|
*/
|
1359
|
-
declare type
|
1355
|
+
declare type ApplicationWindowInfo = {
|
1360
1356
|
childWindows: Array<WindowDetail>;
|
1361
1357
|
mainWindow: WindowDetail;
|
1362
1358
|
/**
|
@@ -1621,7 +1617,7 @@ declare class Base {
|
|
1621
1617
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
1622
1618
|
* on the context in which the devtools panel was opened.
|
1623
1619
|
*/
|
1624
|
-
get me(): Identity;
|
1620
|
+
get me(): OpenFin_2.Identity;
|
1625
1621
|
/* Excluded from this release type: isNodeEnvironment */
|
1626
1622
|
/* Excluded from this release type: isOpenFinEnvironment */
|
1627
1623
|
/* Excluded from this release type: isBrowserEnvironment */
|
@@ -1841,11 +1837,12 @@ declare type BeforeUnloadUserDecision = {
|
|
1841
1837
|
/**
|
1842
1838
|
* Array of views that will close.
|
1843
1839
|
*/
|
1844
|
-
viewsToClose:
|
1840
|
+
viewsToClose: Identity_4[];
|
1845
1841
|
};
|
1846
1842
|
|
1847
1843
|
/**
|
1848
1844
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
1845
|
+
*
|
1849
1846
|
* @interface
|
1850
1847
|
*/
|
1851
1848
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
@@ -1886,31 +1883,33 @@ declare type Bounds = {
|
|
1886
1883
|
* Generated after changes in a window's size and/or position.
|
1887
1884
|
* @interface
|
1888
1885
|
*/
|
1889
|
-
declare type BoundsChangedEvent =
|
1886
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
1890
1887
|
type: 'bounds-changed';
|
1891
1888
|
};
|
1892
1889
|
|
1893
|
-
|
1894
|
-
* A general bounds change event without event type.
|
1895
|
-
* @interface
|
1896
|
-
*/
|
1897
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
1890
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
1898
1891
|
changeType: 0 | 1 | 2;
|
1899
|
-
deferred: boolean;
|
1900
|
-
height: number;
|
1901
|
-
left: number;
|
1902
|
-
top: number;
|
1903
|
-
width: number;
|
1904
1892
|
};
|
1905
1893
|
|
1906
1894
|
/**
|
1907
1895
|
* Generated during changes to a window's size and/or position.
|
1908
1896
|
* @interface
|
1909
1897
|
*/
|
1910
|
-
declare type BoundsChangingEvent =
|
1898
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
1911
1899
|
type: 'bounds-changing';
|
1912
1900
|
};
|
1913
1901
|
|
1902
|
+
/**
|
1903
|
+
* An event that fires when a window's bounds are successfully changed.
|
1904
|
+
*
|
1905
|
+
* @interface
|
1906
|
+
*/
|
1907
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
1908
|
+
reason: 'self' | 'animation';
|
1909
|
+
};
|
1910
|
+
|
1911
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
|
1912
|
+
|
1914
1913
|
/**
|
1915
1914
|
* A rule prescribing content creation in the browser.
|
1916
1915
|
*
|
@@ -2992,7 +2991,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
2992
2991
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
2993
2992
|
* @interface
|
2994
2993
|
*/
|
2995
|
-
declare type ClientIdentity =
|
2994
|
+
declare type ClientIdentity = Identity_4 & {
|
2996
2995
|
/**
|
2997
2996
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
2998
2997
|
*/
|
@@ -3225,7 +3224,7 @@ declare type CloseViewOptions = {
|
|
3225
3224
|
/**
|
3226
3225
|
*View to be closed.
|
3227
3226
|
*/
|
3228
|
-
viewIdentity:
|
3227
|
+
viewIdentity: Identity_4;
|
3229
3228
|
};
|
3230
3229
|
|
3231
3230
|
/**
|
@@ -3235,7 +3234,7 @@ declare type CloseViewPayload = {
|
|
3235
3234
|
/**
|
3236
3235
|
*View to be closed.
|
3237
3236
|
*/
|
3238
|
-
view:
|
3237
|
+
view: Identity_4;
|
3239
3238
|
/**
|
3240
3239
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
3241
3240
|
* visible layout.
|
@@ -3253,7 +3252,7 @@ declare interface CloseWindowPayload {
|
|
3253
3252
|
*
|
3254
3253
|
* Identity of the Window
|
3255
3254
|
*/
|
3256
|
-
windowId:
|
3255
|
+
windowId: Identity_4;
|
3257
3256
|
options: {
|
3258
3257
|
/**
|
3259
3258
|
* @defaultValue false
|
@@ -3371,7 +3370,7 @@ declare type ConstViewOptions = {
|
|
3371
3370
|
/**
|
3372
3371
|
* The identity of the window this view should be attached to.
|
3373
3372
|
*/
|
3374
|
-
target:
|
3373
|
+
target: Identity_4;
|
3375
3374
|
/**
|
3376
3375
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3377
3376
|
*/
|
@@ -3596,7 +3595,7 @@ declare type ConstWindowOptions = {
|
|
3596
3595
|
/**
|
3597
3596
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
3598
3597
|
*/
|
3599
|
-
modalParentIdentity:
|
3598
|
+
modalParentIdentity: Identity_4;
|
3600
3599
|
/**
|
3601
3600
|
* The name of the window.
|
3602
3601
|
*/
|
@@ -3614,7 +3613,9 @@ declare type ConstWindowOptions = {
|
|
3614
3613
|
*/
|
3615
3614
|
preloadScripts: PreloadScript[];
|
3616
3615
|
/**
|
3617
|
-
* String tag that attempts to group like-tagged renderers together.
|
3616
|
+
* String tag that attempts to group like-tagged renderers together.
|
3617
|
+
* 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.
|
3618
|
+
* @remarks Will only be used if pages are on the same origin.
|
3618
3619
|
*/
|
3619
3620
|
processAffinity: string;
|
3620
3621
|
/**
|
@@ -4080,13 +4081,13 @@ declare type CreateViewPayload = {
|
|
4080
4081
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4081
4082
|
*/
|
4082
4083
|
target?: CreateViewTarget;
|
4083
|
-
targetView?:
|
4084
|
+
targetView?: Identity_4;
|
4084
4085
|
};
|
4085
4086
|
|
4086
4087
|
/**
|
4087
4088
|
* @interface
|
4088
4089
|
*/
|
4089
|
-
declare type CreateViewTarget = (
|
4090
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4090
4091
|
/**
|
4091
4092
|
* If specified, view creation will not attach to a window and caller must
|
4092
4093
|
* insert the view into the layout explicitly
|
@@ -4532,7 +4533,7 @@ declare type EmitterAccessor = string[];
|
|
4532
4533
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4533
4534
|
#private;
|
4534
4535
|
private topic;
|
4535
|
-
protected identity: ApplicationIdentity;
|
4536
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4536
4537
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4537
4538
|
eventNames: () => (string | symbol)[];
|
4538
4539
|
/* Excluded from this release type: emit */
|
@@ -4607,20 +4608,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4607
4608
|
|
4608
4609
|
/**
|
4609
4610
|
* Generated at the end of a user-driven change to a window's size or position.
|
4611
|
+
*
|
4610
4612
|
* @interface
|
4611
4613
|
*/
|
4612
4614
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4613
4615
|
type: 'end-user-bounds-changing';
|
4614
4616
|
};
|
4615
4617
|
|
4616
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4617
|
-
|
4618
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4619
|
-
|
4620
4618
|
/**
|
4621
4619
|
* @interface
|
4622
4620
|
*/
|
4623
|
-
declare type
|
4621
|
+
declare type EntityInfo = {
|
4624
4622
|
uuid: string;
|
4625
4623
|
name: string;
|
4626
4624
|
entityType: EntityType_4;
|
@@ -4969,7 +4967,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
4969
4967
|
* @interface
|
4970
4968
|
*/
|
4971
4969
|
declare type ExternalApplicationInfo = {
|
4972
|
-
parent:
|
4970
|
+
parent: Identity_4;
|
4973
4971
|
};
|
4974
4972
|
|
4975
4973
|
/**
|
@@ -5165,6 +5163,10 @@ declare type FileDownloadEvent = {
|
|
5165
5163
|
* The number of bytes of the item that have already been downloaded.
|
5166
5164
|
*/
|
5167
5165
|
downloadedBytes: number;
|
5166
|
+
/**
|
5167
|
+
* Unique identifier for the downloaded file.
|
5168
|
+
*/
|
5169
|
+
fileUuid: string;
|
5168
5170
|
} & NamedEvent;
|
5169
5171
|
|
5170
5172
|
/**
|
@@ -5418,7 +5420,7 @@ declare type FrameInfo = {
|
|
5418
5420
|
uuid: string;
|
5419
5421
|
url: string;
|
5420
5422
|
entityType: EntityType_4;
|
5421
|
-
parent:
|
5423
|
+
parent: Identity_4;
|
5422
5424
|
};
|
5423
5425
|
|
5424
5426
|
/**
|
@@ -5493,12 +5495,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5493
5495
|
entityType: string;
|
5494
5496
|
};
|
5495
5497
|
|
5496
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5497
|
-
|
5498
5498
|
/**
|
5499
5499
|
* @interface
|
5500
5500
|
*/
|
5501
|
-
declare type
|
5501
|
+
declare type GetLogRequestType = {
|
5502
5502
|
/**
|
5503
5503
|
* The name of the running application
|
5504
5504
|
*/
|
@@ -5518,7 +5518,7 @@ declare type GetWindowContextPayload = {
|
|
5518
5518
|
/**
|
5519
5519
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5520
5520
|
*/
|
5521
|
-
target:
|
5521
|
+
target: Identity_4;
|
5522
5522
|
};
|
5523
5523
|
|
5524
5524
|
/**
|
@@ -5784,8 +5784,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5784
5784
|
|
5785
5785
|
declare type Identity_3 = OpenFin_2.Identity;
|
5786
5786
|
|
5787
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5788
|
-
|
5789
5787
|
/**
|
5790
5788
|
* Unique identifier for a window, view or iframe.
|
5791
5789
|
*
|
@@ -5794,7 +5792,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5794
5792
|
*
|
5795
5793
|
* @interface
|
5796
5794
|
*/
|
5797
|
-
declare type
|
5795
|
+
declare type Identity_4 = {
|
5798
5796
|
/**
|
5799
5797
|
* Universally unique identifier of the application that owns the component.
|
5800
5798
|
*/
|
@@ -5953,12 +5951,10 @@ declare type InstallationInfo = {
|
|
5953
5951
|
cachedManifest: any;
|
5954
5952
|
};
|
5955
5953
|
|
5956
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
5957
|
-
|
5958
5954
|
/**
|
5959
5955
|
* @interface
|
5960
5956
|
*/
|
5961
|
-
declare type
|
5957
|
+
declare type InstalledApps = {
|
5962
5958
|
[key: string]: InstallationInfo;
|
5963
5959
|
};
|
5964
5960
|
|
@@ -6729,7 +6725,7 @@ declare class InteropBroker extends Base {
|
|
6729
6725
|
* @param _id the identity tryinc to connect
|
6730
6726
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6731
6727
|
*/
|
6732
|
-
isConnectionAuthorized(_id:
|
6728
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6733
6729
|
/**
|
6734
6730
|
* Called before every action to check if this entity should be allowed to take the action.
|
6735
6731
|
* Return false to prevent the action
|
@@ -7647,7 +7643,7 @@ declare class Layout extends Base {
|
|
7647
7643
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7648
7644
|
* ```
|
7649
7645
|
*/
|
7650
|
-
replaceView: (viewToReplace:
|
7646
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7651
7647
|
/**
|
7652
7648
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7653
7649
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7702,7 +7698,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7702
7698
|
/**
|
7703
7699
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7704
7700
|
*/
|
7705
|
-
declare type LayoutDOMEvent =
|
7701
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7706
7702
|
type: string;
|
7707
7703
|
topic: 'openfin-DOM-event';
|
7708
7704
|
tabSelector: string;
|
@@ -7763,7 +7759,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7763
7759
|
/**
|
7764
7760
|
* @interface
|
7765
7761
|
*/
|
7766
|
-
declare type LayoutIdentity =
|
7762
|
+
declare type LayoutIdentity = Identity_4 & {
|
7767
7763
|
/**
|
7768
7764
|
* The name of the layout in a given window.
|
7769
7765
|
*/
|
@@ -7872,7 +7868,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7872
7868
|
* @param identity
|
7873
7869
|
* @returns LayoutIdentity | undefined
|
7874
7870
|
*/
|
7875
|
-
resolveLayoutIdentity(identity?:
|
7871
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7876
7872
|
/**
|
7877
7873
|
* @experimental
|
7878
7874
|
*
|
@@ -7889,7 +7885,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7889
7885
|
/**
|
7890
7886
|
* @experimental
|
7891
7887
|
*/
|
7892
|
-
getLayoutIdentityForView(viewIdentity:
|
7888
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
7893
7889
|
/**
|
7894
7890
|
* @experimental
|
7895
7891
|
*/
|
@@ -8193,12 +8189,10 @@ declare type Listener<T extends {
|
|
8193
8189
|
type: string;
|
8194
8190
|
}> = (payload: T) => void;
|
8195
8191
|
|
8196
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8197
|
-
|
8198
8192
|
/**
|
8199
8193
|
* @interface
|
8200
8194
|
*/
|
8201
|
-
declare type
|
8195
|
+
declare type LogInfo = {
|
8202
8196
|
/**
|
8203
8197
|
* The filename of the log
|
8204
8198
|
*/
|
@@ -8213,8 +8207,6 @@ declare type LogInfo_2 = {
|
|
8213
8207
|
date: string;
|
8214
8208
|
};
|
8215
8209
|
|
8216
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8217
|
-
|
8218
8210
|
/**
|
8219
8211
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8220
8212
|
*
|
@@ -8224,7 +8216,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8224
8216
|
* `error` and above<br>
|
8225
8217
|
* `fatal`: fatal only, indicates a crash is imminent
|
8226
8218
|
*/
|
8227
|
-
declare type
|
8219
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8228
8220
|
|
8229
8221
|
/**
|
8230
8222
|
* @interface
|
@@ -9034,13 +9026,13 @@ declare namespace OpenFin_2 {
|
|
9034
9026
|
LayoutPosition,
|
9035
9027
|
WebContent,
|
9036
9028
|
PlatformProvider,
|
9037
|
-
|
9038
|
-
|
9029
|
+
ApplicationIdentity,
|
9030
|
+
Identity_4 as Identity,
|
9039
9031
|
ClientIdentity,
|
9040
9032
|
ClientInfo,
|
9041
9033
|
ClientIdentityMultiRuntime,
|
9042
9034
|
ClientConnectionPayload,
|
9043
|
-
|
9035
|
+
EntityInfo,
|
9044
9036
|
EntityType_4 as EntityType,
|
9045
9037
|
Bounds,
|
9046
9038
|
WindowBounds,
|
@@ -9174,7 +9166,7 @@ declare namespace OpenFin_2 {
|
|
9174
9166
|
GpuInfo,
|
9175
9167
|
OSInfo,
|
9176
9168
|
HostSpecs,
|
9177
|
-
|
9169
|
+
PrinterInfo,
|
9178
9170
|
Dpi,
|
9179
9171
|
Margins,
|
9180
9172
|
PrintOptions,
|
@@ -9282,24 +9274,24 @@ declare namespace OpenFin_2 {
|
|
9282
9274
|
BeforeUnloadUserDecision,
|
9283
9275
|
ViewStatuses,
|
9284
9276
|
CloseWindowPayload,
|
9285
|
-
|
9286
|
-
|
9277
|
+
ProxyInfo,
|
9278
|
+
ProxyConfig,
|
9287
9279
|
ProxySystemInfo,
|
9288
9280
|
ChannelAction_2 as ChannelAction,
|
9289
9281
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9290
9282
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9291
|
-
|
9292
|
-
|
9283
|
+
ApplicationState,
|
9284
|
+
InstalledApps,
|
9293
9285
|
InstallationInfo,
|
9294
|
-
|
9295
|
-
|
9286
|
+
GetLogRequestType,
|
9287
|
+
LogInfo,
|
9296
9288
|
SendApplicationLogResponse,
|
9297
|
-
|
9289
|
+
LogLevel,
|
9298
9290
|
PermissionState_2 as PermissionState,
|
9299
|
-
|
9291
|
+
RegistryInfo,
|
9300
9292
|
ApplicationType,
|
9301
9293
|
WindowInfo,
|
9302
|
-
|
9294
|
+
ApplicationWindowInfo,
|
9303
9295
|
WindowDetail,
|
9304
9296
|
LayoutPresetType,
|
9305
9297
|
LayoutIdentity,
|
@@ -11210,12 +11202,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11210
11202
|
presetType: LayoutPresetType;
|
11211
11203
|
};
|
11212
11204
|
|
11213
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11214
|
-
|
11215
11205
|
/**
|
11216
11206
|
* @interface
|
11217
11207
|
*/
|
11218
|
-
declare type
|
11208
|
+
declare type PrinterInfo = {
|
11219
11209
|
/**
|
11220
11210
|
* Printer Name
|
11221
11211
|
*/
|
@@ -11477,20 +11467,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11477
11467
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11478
11468
|
|
11479
11469
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11470
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11471
|
+
'destroy-application': ApplicationIdentityCall<{
|
11472
|
+
force: boolean;
|
11473
|
+
}, void>;
|
11474
|
+
'close-application': ApplicationIdentityCall<{
|
11475
|
+
force: boolean;
|
11476
|
+
}, void>;
|
11477
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11478
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11479
|
+
'get-application-manifest': {
|
11480
|
+
request: {
|
11481
|
+
manifestUrl?: string;
|
11482
|
+
uuid?: string;
|
11483
|
+
};
|
11484
|
+
response: OpenFin_2.Manifest;
|
11485
|
+
};
|
11486
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11487
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11488
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11489
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11490
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11491
|
+
'register-user': ApplicationIdentityCall<{
|
11492
|
+
userName: string;
|
11493
|
+
appName: string;
|
11494
|
+
}, void>;
|
11495
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11496
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11497
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11498
|
+
'run-application': ApplicationIdentityCall<{
|
11499
|
+
manifestUrl?: string | undefined;
|
11500
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11501
|
+
}, void>;
|
11502
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11503
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11504
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11505
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11506
|
+
}, void>;
|
11507
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11508
|
+
enabledIcon: string;
|
11509
|
+
}, void>;
|
11510
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11511
|
+
data: OpenFin_2.ShortCutConfig;
|
11512
|
+
}, void>;
|
11513
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11514
|
+
data: string;
|
11515
|
+
}, void>;
|
11516
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11517
|
+
level: number;
|
11518
|
+
}, void>;
|
11519
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11520
|
+
data: string;
|
11521
|
+
}, void>;
|
11522
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11523
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11524
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11525
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11526
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11527
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11528
|
+
'set-file-download-location': {
|
11529
|
+
request: OpenFin_2.Identity & {
|
11530
|
+
downloadLocation: string;
|
11531
|
+
};
|
11532
|
+
response: void;
|
11533
|
+
};
|
11534
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11535
|
+
'show-tray-icon-popup-menu': {
|
11536
|
+
request: OpenFin_2.Identity & {
|
11537
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11538
|
+
};
|
11539
|
+
response: OpenFin_2.MenuResult;
|
11540
|
+
};
|
11541
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11542
|
+
'wrap-application': VoidCall;
|
11543
|
+
'wrap-application-sync': VoidCall;
|
11544
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11545
|
+
'application-create': VoidCall;
|
11546
|
+
'start-application': VoidCall;
|
11547
|
+
'run-applications': ApiCall<{
|
11548
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11549
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11550
|
+
}, void>;
|
11551
|
+
'get-current-application': VoidCall;
|
11552
|
+
'get-current-application-sync': VoidCall;
|
11553
|
+
'application-start-from-manifest': VoidCall;
|
11554
|
+
'application-create-from-manifest': VoidCall;
|
11480
11555
|
'request-external-authorization': {
|
11481
11556
|
request: any;
|
11482
11557
|
response: void;
|
11483
11558
|
specialResponse: AuthorizationPayload;
|
11484
11559
|
};
|
11485
|
-
'
|
11486
|
-
request:
|
11487
|
-
response: OpenFin_2.Identity[];
|
11488
|
-
};
|
11489
|
-
'set-jump-list': {
|
11490
|
-
request: {
|
11491
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11492
|
-
} & OpenFin_2.ApplicationIdentity;
|
11560
|
+
'request-authorization': {
|
11561
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11493
11562
|
response: void;
|
11563
|
+
specialResponse: Payload;
|
11494
11564
|
};
|
11495
11565
|
'clipboard-read-formats': {
|
11496
11566
|
request: {
|
@@ -11502,6 +11572,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11502
11572
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11503
11573
|
response: string;
|
11504
11574
|
};
|
11575
|
+
'clipboard-read-text': {
|
11576
|
+
request: {
|
11577
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11578
|
+
};
|
11579
|
+
response: string;
|
11580
|
+
};
|
11581
|
+
'clipboard-read-html': {
|
11582
|
+
request: {
|
11583
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11584
|
+
};
|
11585
|
+
response: string;
|
11586
|
+
};
|
11587
|
+
'clipboard-read-rtf': {
|
11588
|
+
request: {
|
11589
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11590
|
+
};
|
11591
|
+
response: string;
|
11592
|
+
};
|
11505
11593
|
'clipboard-write-image': {
|
11506
11594
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11507
11595
|
response: void;
|
@@ -11510,6 +11598,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11510
11598
|
request: OpenFin_2.WriteAnyRequestType;
|
11511
11599
|
response: void;
|
11512
11600
|
};
|
11601
|
+
'clipboard-write-text': {
|
11602
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11603
|
+
response: void;
|
11604
|
+
};
|
11605
|
+
'clipboard-write-html': {
|
11606
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11607
|
+
response: void;
|
11608
|
+
};
|
11609
|
+
'clipboard-write-rtf': {
|
11610
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11611
|
+
response: void;
|
11612
|
+
};
|
11513
11613
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11514
11614
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11515
11615
|
uuid: string;
|
@@ -11535,13 +11635,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11535
11635
|
options: OpenFin_2.UpdatableViewOptions;
|
11536
11636
|
}>;
|
11537
11637
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
11638
|
+
'view-wrap-sync': VoidCall;
|
11639
|
+
'view-wrap': VoidCall;
|
11640
|
+
'view-get-current': VoidCall;
|
11641
|
+
'view-get-current-sync': VoidCall;
|
11642
|
+
'animate-window': IdentityCall<{
|
11643
|
+
transitions: OpenFin_2.Transition;
|
11644
|
+
options: OpenFin_2.TransitionOptions;
|
11645
|
+
}>;
|
11646
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
11647
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
11648
|
+
'center-window': IdentityCall;
|
11649
|
+
'blur-window': IdentityCall;
|
11650
|
+
'bring-window-to-front': IdentityCall;
|
11651
|
+
'hide-window': IdentityCall;
|
11652
|
+
'close-window': IdentityCall<{
|
11653
|
+
force: boolean;
|
11654
|
+
}>;
|
11655
|
+
'focused-webview-changed': IdentityCall;
|
11656
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11538
11657
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11539
|
-
'
|
11658
|
+
'disable-window-frame': IdentityCall;
|
11659
|
+
'enable-window-frame': IdentityCall;
|
11660
|
+
'flash-window': IdentityCall;
|
11661
|
+
'stop-flash-window': IdentityCall;
|
11662
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
11663
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
11664
|
+
'get-window-snapshot': IdentityCall<{
|
11665
|
+
area?: OpenFin_2.Rectangle;
|
11666
|
+
}, string>;
|
11667
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
11668
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
11669
|
+
'maximize-window': IdentityCall;
|
11670
|
+
'minimize-window': IdentityCall;
|
11671
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11672
|
+
deltaLeft: number;
|
11673
|
+
deltaTop: number;
|
11674
|
+
}>>;
|
11675
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
11676
|
+
left: number;
|
11677
|
+
top: number;
|
11678
|
+
}>>;
|
11679
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11680
|
+
deltaWidth: number;
|
11681
|
+
deltaHeight: number;
|
11682
|
+
anchor: OpenFin_2.AnchorType;
|
11683
|
+
}>>;
|
11684
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
11685
|
+
width: number;
|
11686
|
+
height: number;
|
11687
|
+
anchor: OpenFin_2.AnchorType;
|
11688
|
+
}>>;
|
11689
|
+
'restore-window': IdentityCall;
|
11690
|
+
'set-foreground-window': IdentityCall;
|
11691
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11692
|
+
'show-window': IdentityCall<{
|
11693
|
+
force: boolean;
|
11694
|
+
}>;
|
11695
|
+
'show-at-window': IdentityCall<{
|
11696
|
+
left: number;
|
11697
|
+
top: number;
|
11698
|
+
force: boolean;
|
11699
|
+
}>;
|
11700
|
+
'update-window-options': IdentityCall<{
|
11701
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
11702
|
+
}>;
|
11703
|
+
'window-authenticate': IdentityCall<{
|
11704
|
+
userName: string;
|
11705
|
+
password: string;
|
11706
|
+
}>;
|
11707
|
+
'show-popup-menu': {
|
11540
11708
|
request: OpenFin_2.Identity & {
|
11541
|
-
options: OpenFin_2.
|
11709
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11542
11710
|
};
|
11543
|
-
response:
|
11711
|
+
response: OpenFin_2.MenuResult;
|
11544
11712
|
};
|
11713
|
+
'close-popup-menu': IdentityCall;
|
11714
|
+
'dispatch-popup-result': IdentityCall<{
|
11715
|
+
data: any;
|
11716
|
+
}>;
|
11545
11717
|
'print-screenshot': {
|
11546
11718
|
request: OpenFin_2.Identity;
|
11547
11719
|
response: void;
|
@@ -11552,6 +11724,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11552
11724
|
};
|
11553
11725
|
response: void;
|
11554
11726
|
};
|
11727
|
+
'window-wrap': VoidCall;
|
11728
|
+
'window-wrap-sync': VoidCall;
|
11729
|
+
'create-window': VoidCall;
|
11730
|
+
'get-current-window': VoidCall;
|
11731
|
+
'get-current-window-sync': VoidCall;
|
11732
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
11733
|
+
'external-application-wrap': VoidCall;
|
11734
|
+
'external-application-wrap-sync': VoidCall;
|
11735
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11736
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11737
|
+
'frame-wrap': VoidCall;
|
11738
|
+
'frame-wrap-sync': VoidCall;
|
11739
|
+
'frame-get-current': VoidCall;
|
11740
|
+
'frame-get-current-sync': VoidCall;
|
11741
|
+
'global-hotkey-register': {
|
11742
|
+
request: {
|
11743
|
+
hotkey: string;
|
11744
|
+
};
|
11745
|
+
response: void;
|
11746
|
+
};
|
11747
|
+
'global-hotkey-unregister': {
|
11748
|
+
request: {
|
11749
|
+
hotkey: string;
|
11750
|
+
};
|
11751
|
+
response: void;
|
11752
|
+
};
|
11753
|
+
'global-hotkey-unregister-all': {
|
11754
|
+
request: {};
|
11755
|
+
response: void;
|
11756
|
+
};
|
11757
|
+
'global-hotkey-is-registered': {
|
11758
|
+
request: {
|
11759
|
+
hotkey: string;
|
11760
|
+
};
|
11761
|
+
response: boolean;
|
11762
|
+
};
|
11763
|
+
'publish-message': {
|
11764
|
+
request: {
|
11765
|
+
topic: string;
|
11766
|
+
message: any;
|
11767
|
+
sourceWindowName: string;
|
11768
|
+
};
|
11769
|
+
response: void;
|
11770
|
+
};
|
11771
|
+
'send-message': {
|
11772
|
+
request: {
|
11773
|
+
destinationUuid: string;
|
11774
|
+
destinationWindowName: string | undefined;
|
11775
|
+
topic: string;
|
11776
|
+
message: any;
|
11777
|
+
sourceWindowName: string;
|
11778
|
+
};
|
11779
|
+
response: void;
|
11780
|
+
};
|
11781
|
+
'subscribe': {
|
11782
|
+
request: {
|
11783
|
+
sourceUuid: string;
|
11784
|
+
sourceWindowName: string;
|
11785
|
+
topic: string;
|
11786
|
+
destinationWindowName: string;
|
11787
|
+
messageKey?: any;
|
11788
|
+
};
|
11789
|
+
response: void;
|
11790
|
+
};
|
11791
|
+
'unsubscribe': {
|
11792
|
+
request: {
|
11793
|
+
sourceUuid: string;
|
11794
|
+
sourceWindowName: string;
|
11795
|
+
topic: string;
|
11796
|
+
destinationWindowName: string;
|
11797
|
+
};
|
11798
|
+
response: void;
|
11799
|
+
};
|
11800
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11801
|
+
'connect-to-channel': {
|
11802
|
+
request: any;
|
11803
|
+
response: OpenFin_2.RoutingInfo;
|
11804
|
+
};
|
11805
|
+
'create-channel': ApiCall<{
|
11806
|
+
channelName: string;
|
11807
|
+
}, OpenFin_2.ProviderIdentity>;
|
11808
|
+
'destroy-channel': ApiCall<{
|
11809
|
+
channelName: string;
|
11810
|
+
}, void>;
|
11811
|
+
'disconnect-from-channel': {
|
11812
|
+
request: {
|
11813
|
+
channelName: string;
|
11814
|
+
uuid: string;
|
11815
|
+
name: string;
|
11816
|
+
endpointId: string;
|
11817
|
+
};
|
11818
|
+
response: void;
|
11819
|
+
};
|
11820
|
+
'send-channel-message': {
|
11821
|
+
request: any;
|
11822
|
+
response: any;
|
11823
|
+
};
|
11824
|
+
'get-version': GetterCall<string>;
|
11825
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
11826
|
+
'delete-cache-request': VoidCall;
|
11827
|
+
'exit-desktop': VoidCall;
|
11828
|
+
'fetch-manifest': ApiCall<{
|
11829
|
+
manifestUrl: string;
|
11830
|
+
}, any>;
|
11831
|
+
'flush-cookie-store': VoidCall;
|
11832
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
11833
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
11834
|
+
'get-command-line-arguments': GetterCall<string>;
|
11835
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
11836
|
+
'start-crash-reporter': {
|
11837
|
+
request: OpenFin_2.CrashReporterOptions | {
|
11838
|
+
diagnosticMode: boolean;
|
11839
|
+
};
|
11840
|
+
response: OpenFin_2.CrashReporterState;
|
11841
|
+
};
|
11842
|
+
'get-unique-user-id': GetterCall<string>;
|
11843
|
+
'get-entity-info': {
|
11844
|
+
request: {
|
11845
|
+
uuid: string;
|
11846
|
+
name: string;
|
11847
|
+
};
|
11848
|
+
response: OpenFin_2.EntityInfo;
|
11849
|
+
};
|
11850
|
+
'get-environment-variable': {
|
11851
|
+
request: {
|
11852
|
+
environmentVariables: string;
|
11853
|
+
};
|
11854
|
+
response: string;
|
11855
|
+
};
|
11856
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
11857
|
+
'is-app-certified': {
|
11858
|
+
request: {
|
11859
|
+
manifestUrl: string;
|
11860
|
+
};
|
11861
|
+
response: {
|
11862
|
+
action: string;
|
11863
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
11864
|
+
};
|
11865
|
+
};
|
11866
|
+
'get-installed-runtimes': GetterCall<{
|
11867
|
+
action: string;
|
11868
|
+
runtimes: string[];
|
11869
|
+
}>;
|
11870
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
11871
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
11872
|
+
'get-machine-id': GetterCall<string>;
|
11873
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
11874
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
11875
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
11876
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
11877
|
+
'process-snapshot': GetterCall<Array<any>>;
|
11878
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
11879
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
11880
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
11881
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
11882
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11883
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11884
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
11885
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
11886
|
+
'write-to-log': ApiCall<{
|
11887
|
+
level: string;
|
11888
|
+
message: string;
|
11889
|
+
}, void>;
|
11890
|
+
'open-url-with-browser': ApiCall<{
|
11891
|
+
url: string;
|
11892
|
+
}, void>;
|
11893
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11894
|
+
'unregister-custom-protocol': ApiCall<{
|
11895
|
+
protocolName: string;
|
11896
|
+
}, void>;
|
11897
|
+
'get-custom-protocol-state': ApiCall<{
|
11898
|
+
protocolName: string;
|
11899
|
+
}, OpenFin_2.CustomProtocolState>;
|
11900
|
+
'release-external-process': ApiCall<{
|
11901
|
+
uuid: string;
|
11902
|
+
}, void>;
|
11903
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
11904
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
11905
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
11906
|
+
'download-asset': {
|
11907
|
+
request: OpenFin_2.AppAssetInfo & {
|
11908
|
+
downloadId: string;
|
11909
|
+
};
|
11910
|
+
response: void;
|
11911
|
+
};
|
11912
|
+
'download-runtime': {
|
11913
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
11914
|
+
downloadId: string;
|
11915
|
+
};
|
11916
|
+
response: void;
|
11917
|
+
};
|
11918
|
+
'download-preload-scripts': ApiCall<{
|
11919
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
11920
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
11921
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
11922
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
11923
|
+
'get-cookies': {
|
11924
|
+
request: OpenFin_2.CookieOption & {
|
11925
|
+
url: string;
|
11926
|
+
};
|
11927
|
+
response: Array<OpenFin_2.CookieInfo>;
|
11928
|
+
};
|
11929
|
+
'set-min-log-level': ApiCall<{
|
11930
|
+
level: OpenFin_2.LogLevel;
|
11931
|
+
}, void>;
|
11932
|
+
'resolve-uuid': ApiCall<{
|
11933
|
+
entityKey: string;
|
11934
|
+
}, OpenFin_2.ApplicationType>;
|
11935
|
+
'read-registry-value': ApiCall<{
|
11936
|
+
rootKey: string;
|
11937
|
+
subkey: string;
|
11938
|
+
value: string;
|
11939
|
+
}, OpenFin_2.RegistryInfo>;
|
11940
|
+
'register-external-connection': ApiCall<{
|
11941
|
+
uuid: string;
|
11942
|
+
}, OpenFin_2.ExternalConnection>;
|
11943
|
+
'get-service-configuration': ApiCall<{
|
11944
|
+
name: string;
|
11945
|
+
}, OpenFin_2.ServiceConfiguration>;
|
11946
|
+
'get-system-app-configuration': ApiCall<{
|
11947
|
+
name: string;
|
11948
|
+
}, any>;
|
11949
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11555
11950
|
'launch-manifest': {
|
11556
11951
|
request: {
|
11557
11952
|
manifestUrl: string;
|
@@ -11563,17 +11958,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11563
11958
|
manifest: OpenFin_2.Manifest;
|
11564
11959
|
};
|
11565
11960
|
};
|
11566
|
-
'
|
11961
|
+
'query-permission-for-current-context': {
|
11567
11962
|
request: {
|
11568
|
-
|
11569
|
-
|
11570
|
-
response: any;
|
11571
|
-
};
|
11572
|
-
'show-popup-menu': {
|
11573
|
-
request: OpenFin_2.Identity & {
|
11574
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
11963
|
+
apiName: string;
|
11964
|
+
identity: OpenFin_2.Identity;
|
11575
11965
|
};
|
11576
|
-
response: OpenFin_2.
|
11966
|
+
response: OpenFin_2.QueryPermissionResult;
|
11577
11967
|
};
|
11578
11968
|
'enable-native-window-integration-provider': {
|
11579
11969
|
request: {
|
@@ -11581,24 +11971,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11581
11971
|
};
|
11582
11972
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11583
11973
|
};
|
11974
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
11975
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11976
|
+
'system-update-process-logging-options': ApiCall<{
|
11977
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
11978
|
+
}, void>;
|
11979
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
11980
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
11981
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
11982
|
+
}, void>;
|
11983
|
+
'system-register-shutdown-handler': VoidCall;
|
11584
11984
|
'get-permissions': GetterCall<any>;
|
11585
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11586
|
-
'set-file-download-location': {
|
11587
|
-
request: OpenFin_2.Identity & {
|
11588
|
-
downloadLocation: string;
|
11589
|
-
};
|
11590
|
-
response: void;
|
11591
|
-
};
|
11592
|
-
'get-file-download-location': {
|
11593
|
-
request: OpenFin_2.ApplicationIdentity;
|
11594
|
-
response: string;
|
11595
|
-
};
|
11596
|
-
'close-popup-menu': IdentityCall;
|
11597
11985
|
'fdc3-add-context-listener': VoidCall;
|
11986
|
+
'fdc3-add-intent-listener': VoidCall;
|
11987
|
+
'fdc3-raise-intent': VoidCall;
|
11988
|
+
'fdc3-find-intent': VoidCall;
|
11989
|
+
'fdc3-find-intents-by-context': VoidCall;
|
11990
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
11991
|
+
'fdc3-get-info': VoidCall;
|
11992
|
+
'fdc3-find-instances': VoidCall;
|
11993
|
+
'fdc3-get-app-metadata': VoidCall;
|
11598
11994
|
'fdc3-broadcast': VoidCall;
|
11995
|
+
'fdc3-open': VoidCall;
|
11996
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11599
11997
|
'fdc3-get-system-channels': VoidCall;
|
11600
11998
|
'fdc3-join-channel': VoidCall;
|
11999
|
+
'fdc3-get-current-channel': VoidCall;
|
11601
12000
|
'fdc3-leave-current-channel': VoidCall;
|
12001
|
+
'interop-init': VoidCall;
|
11602
12002
|
'interop-connect-sync': VoidCall;
|
11603
12003
|
'interop-client-set-context': VoidCall;
|
11604
12004
|
'interop-client-add-context-handler': VoidCall;
|
@@ -11607,6 +12007,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11607
12007
|
'interop-client-remove-from-context-group': VoidCall;
|
11608
12008
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
11609
12009
|
'interop-client-get-info-for-context-group': VoidCall;
|
12010
|
+
'interop-client-fire-intent': VoidCall;
|
12011
|
+
'interop-client-register-intent-handler': VoidCall;
|
12012
|
+
'interop-client-get-current-context': VoidCall;
|
12013
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12014
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12015
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12016
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
11610
12017
|
'interop-broker-add-client-to-context-group': VoidCall;
|
11611
12018
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
11612
12019
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -11618,13 +12025,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11618
12025
|
'interop-broker-remove-from-context-group': VoidCall;
|
11619
12026
|
'interop-broker-set-context': VoidCall;
|
11620
12027
|
'interop-broker-set-context-for-group': VoidCall;
|
11621
|
-
'
|
11622
|
-
|
11623
|
-
|
11624
|
-
|
11625
|
-
|
11626
|
-
|
11627
|
-
|
12028
|
+
'interop-broker-get-current-context': VoidCall;
|
12029
|
+
'interop-broker-set-intent-target': VoidCall;
|
12030
|
+
'interop-session-context-group-set-context': VoidCall;
|
12031
|
+
'interop-session-context-group-get-context': VoidCall;
|
12032
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12033
|
+
'platform-wrap': VoidCall;
|
12034
|
+
'platform-wrap-sync': VoidCall;
|
12035
|
+
'platform-get-current': VoidCall;
|
12036
|
+
'platform-get-current-sync': VoidCall;
|
12037
|
+
'platform-start': VoidCall;
|
12038
|
+
'platform-start-from-manifest': VoidCall;
|
12039
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12040
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12041
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12042
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12043
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12044
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12045
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12046
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12047
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12048
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12049
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12050
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12051
|
+
'layout-wrap': VoidCall;
|
12052
|
+
'layout-wrap-sync': VoidCall;
|
12053
|
+
'layout-get-current': VoidCall;
|
12054
|
+
'layout-get-current-sync': VoidCall;
|
12055
|
+
'layout-init': VoidCall;
|
12056
|
+
'layout-get-config': VoidCall;
|
12057
|
+
'layout-get-views': VoidCall;
|
12058
|
+
'layout-replace': VoidCall;
|
12059
|
+
'layout-get-root-item': VoidCall;
|
12060
|
+
'layout-replace-view': VoidCall;
|
12061
|
+
'layout-apply-preset': VoidCall;
|
12062
|
+
'layout-controller-get-root': VoidCall;
|
12063
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12064
|
+
'layout-controller-get-stack-views': VoidCall;
|
12065
|
+
'layout-controller-get-content': VoidCall;
|
12066
|
+
'layout-controller-get-parent': VoidCall;
|
12067
|
+
'layout-controller-is-root': VoidCall;
|
12068
|
+
'layout-controller-exists': VoidCall;
|
12069
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12070
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12071
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12072
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12073
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12074
|
+
'snapshot-source-init': VoidCall;
|
12075
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12076
|
+
'snapshot-source-wrap': VoidCall;
|
12077
|
+
'snapshot-source-ready': VoidCall;
|
12078
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12079
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12080
|
+
'capture-page': IdentityCall<{
|
12081
|
+
options?: OpenFin_2.CapturePageOptions;
|
12082
|
+
}, string>;
|
12083
|
+
'execute-javascript-in-window': IdentityCall<{
|
12084
|
+
code: string;
|
12085
|
+
}, unknown>;
|
12086
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12087
|
+
'set-zoom-level': IdentityCall<{
|
12088
|
+
level: number;
|
12089
|
+
}, void>;
|
12090
|
+
'navigate-window': IdentityCall<{
|
12091
|
+
url: string;
|
12092
|
+
}, void>;
|
12093
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12094
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12095
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12096
|
+
'reload-window': IdentityCall<{
|
12097
|
+
ignoreCache: boolean;
|
12098
|
+
}, void>;
|
12099
|
+
'print': IdentityCall<{
|
12100
|
+
options: OpenFin_2.PrintOptions;
|
12101
|
+
}, void>;
|
12102
|
+
'find-in-page': IdentityCall<{
|
12103
|
+
searchTerm: string;
|
12104
|
+
options?: OpenFin_2.FindInPageOptions;
|
12105
|
+
}, void>;
|
12106
|
+
'stop-find-in-page': IdentityCall<{
|
12107
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12108
|
+
}, void>;
|
12109
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12110
|
+
'focus-window': IdentityCall<{
|
12111
|
+
emitSynthFocused: boolean;
|
12112
|
+
}, void>;
|
12113
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12114
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12115
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12116
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12117
|
+
workerId: string;
|
12118
|
+
}, void>;
|
12119
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12120
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12121
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
11628
12122
|
'try-create-popup-window': {
|
11629
12123
|
request: OpenFin_2.Identity & {
|
11630
12124
|
options: OpenFin_2.PopupOptions;
|
@@ -11640,9 +12134,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11640
12134
|
};
|
11641
12135
|
response: OpenFin_2.PopupResult;
|
11642
12136
|
};
|
11643
|
-
'dispatch-popup-result': IdentityCall<{
|
11644
|
-
data: any;
|
11645
|
-
}>;
|
11646
12137
|
'render-overlay': {
|
11647
12138
|
request: {
|
11648
12139
|
bounds: OpenFin_2.Bounds;
|
@@ -11662,40 +12153,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11662
12153
|
};
|
11663
12154
|
response: void;
|
11664
12155
|
};
|
11665
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11666
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11667
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11668
|
-
'system-register-shutdown-handler': VoidCall;
|
11669
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
11670
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
11671
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
11672
|
-
}, void>;
|
11673
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11674
|
-
deltaLeft: number;
|
11675
|
-
deltaTop: number;
|
11676
|
-
}>>;
|
11677
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
11678
|
-
left: number;
|
11679
|
-
top: number;
|
11680
|
-
}>>;
|
11681
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11682
|
-
deltaWidth: number;
|
11683
|
-
deltaHeight: number;
|
11684
|
-
anchor: OpenFin_2.AnchorType;
|
11685
|
-
}>>;
|
11686
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
11687
|
-
width: number;
|
11688
|
-
height: number;
|
11689
|
-
anchor: OpenFin_2.AnchorType;
|
11690
|
-
}>>;
|
11691
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11692
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11693
|
-
'unregister-custom-protocol': ApiCall<{
|
11694
|
-
protocolName: string;
|
11695
|
-
}, void>;
|
11696
|
-
'get-custom-protocol-state': ApiCall<{
|
11697
|
-
protocolName: string;
|
11698
|
-
}, OpenFin_2.CustomProtocolState>;
|
11699
12156
|
}
|
11700
12157
|
|
11701
12158
|
declare interface ProtocolMapBase {
|
@@ -11725,7 +12182,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
11725
12182
|
* Identity of a channel provider.
|
11726
12183
|
* @interface
|
11727
12184
|
*/
|
11728
|
-
declare type ProviderIdentity_4 =
|
12185
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
11729
12186
|
/**
|
11730
12187
|
* Identifier of the channel.
|
11731
12188
|
*/
|
@@ -11736,12 +12193,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
11736
12193
|
channelName: string;
|
11737
12194
|
};
|
11738
12195
|
|
11739
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
11740
|
-
|
11741
12196
|
/**
|
11742
12197
|
* @interface
|
11743
12198
|
*/
|
11744
|
-
declare type
|
12199
|
+
declare type ProxyConfig = {
|
11745
12200
|
/**
|
11746
12201
|
* The configured proxy address.
|
11747
12202
|
*/
|
@@ -11753,13 +12208,11 @@ declare type ProxyConfig_2 = {
|
|
11753
12208
|
type: string;
|
11754
12209
|
};
|
11755
12210
|
|
11756
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
11757
|
-
|
11758
12211
|
/**
|
11759
12212
|
* @interface
|
11760
12213
|
*/
|
11761
|
-
declare type
|
11762
|
-
config:
|
12214
|
+
declare type ProxyInfo = {
|
12215
|
+
config: ProxyConfig;
|
11763
12216
|
system: ProxySystemInfo;
|
11764
12217
|
};
|
11765
12218
|
|
@@ -11865,12 +12318,10 @@ declare type RegisterUsageData = {
|
|
11865
12318
|
type: string;
|
11866
12319
|
};
|
11867
12320
|
|
11868
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
11869
|
-
|
11870
12321
|
/**
|
11871
12322
|
* @interface
|
11872
12323
|
*/
|
11873
|
-
declare type
|
12324
|
+
declare type RegistryInfo = {
|
11874
12325
|
data: any;
|
11875
12326
|
rootKey: string;
|
11876
12327
|
subkey: string;
|
@@ -11928,14 +12379,14 @@ declare type ReplaceLayoutPayload = {
|
|
11928
12379
|
/**
|
11929
12380
|
* Identity of the window whose layout will be replaced.
|
11930
12381
|
*/
|
11931
|
-
target:
|
12382
|
+
target: Identity_4 | LayoutIdentity;
|
11932
12383
|
};
|
11933
12384
|
|
11934
12385
|
/**
|
11935
12386
|
* @interface
|
11936
12387
|
*/
|
11937
12388
|
declare type ReplaceViewOptions = {
|
11938
|
-
viewToReplace:
|
12389
|
+
viewToReplace: Identity_4;
|
11939
12390
|
newView: ViewState;
|
11940
12391
|
};
|
11941
12392
|
|
@@ -11944,7 +12395,7 @@ declare type ReplaceViewOptions = {
|
|
11944
12395
|
*/
|
11945
12396
|
declare type ReplaceViewPayload = {
|
11946
12397
|
opts: {
|
11947
|
-
viewToReplace:
|
12398
|
+
viewToReplace: Identity_4;
|
11948
12399
|
newView: Partial<ViewOptions>;
|
11949
12400
|
};
|
11950
12401
|
target: LayoutIdentity;
|
@@ -12310,7 +12761,7 @@ declare type SetWindowContextPayload = {
|
|
12310
12761
|
/**
|
12311
12762
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12312
12763
|
*/
|
12313
|
-
target:
|
12764
|
+
target: Identity_4;
|
12314
12765
|
};
|
12315
12766
|
|
12316
12767
|
/**
|
@@ -12754,7 +13205,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12754
13205
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
12755
13206
|
* ```
|
12756
13207
|
*/
|
12757
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13208
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
12758
13209
|
/**
|
12759
13210
|
* Retrieves an array of data for all applications.
|
12760
13211
|
*
|
@@ -12763,7 +13214,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12763
13214
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
12764
13215
|
* ```
|
12765
13216
|
*/
|
12766
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13217
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
12767
13218
|
/**
|
12768
13219
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
12769
13220
|
*
|
@@ -12838,7 +13289,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12838
13289
|
* }
|
12839
13290
|
* ```
|
12840
13291
|
*/
|
12841
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13292
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
12842
13293
|
/**
|
12843
13294
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
12844
13295
|
*
|
@@ -12880,7 +13331,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12880
13331
|
* ```
|
12881
13332
|
*/
|
12882
13333
|
getInstalledRuntimes(): Promise<string[]>;
|
12883
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13334
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
12884
13335
|
/**
|
12885
13336
|
* Retrieves the contents of the log with the specified filename.
|
12886
13337
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -12895,7 +13346,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12895
13346
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
12896
13347
|
* ```
|
12897
13348
|
*/
|
12898
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13349
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
12899
13350
|
/**
|
12900
13351
|
* Returns a unique identifier (UUID) provided by the machine.
|
12901
13352
|
*
|
@@ -12913,7 +13364,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12913
13364
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
12914
13365
|
* ```
|
12915
13366
|
*/
|
12916
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13367
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
12917
13368
|
/**
|
12918
13369
|
* Retrieves an array containing information for each log file.
|
12919
13370
|
*
|
@@ -12922,7 +13373,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12922
13373
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
12923
13374
|
* ```
|
12924
13375
|
*/
|
12925
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13376
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
12926
13377
|
/**
|
12927
13378
|
* Retrieves an object that contains data about the monitor setup of the
|
12928
13379
|
* computer that the runtime is running on.
|
@@ -12993,7 +13444,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12993
13444
|
* }
|
12994
13445
|
* ```
|
12995
13446
|
*/
|
12996
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13447
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
12997
13448
|
/**
|
12998
13449
|
* Returns information about the running Runtime in an object.
|
12999
13450
|
*
|
@@ -13360,7 +13811,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13360
13811
|
* }
|
13361
13812
|
* ```
|
13362
13813
|
*/
|
13363
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
13814
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13364
13815
|
/**
|
13365
13816
|
* Monitors a running process. A pid for the process must be included in options.
|
13366
13817
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13377,7 +13828,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13377
13828
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13378
13829
|
* ```
|
13379
13830
|
*/
|
13380
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
13831
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13381
13832
|
/**
|
13382
13833
|
* Writes the passed message into both the log file and the console.
|
13383
13834
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13511,7 +13962,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13511
13962
|
*
|
13512
13963
|
* @tutorial System.showDeveloperTools
|
13513
13964
|
*/
|
13514
|
-
showDeveloperTools(identity:
|
13965
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13515
13966
|
/**
|
13516
13967
|
* Attempt to close an external process. The process will be terminated if it
|
13517
13968
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13545,7 +13996,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13545
13996
|
* .catch(err => console.error(err));
|
13546
13997
|
* ```
|
13547
13998
|
*/
|
13548
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
13999
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13549
14000
|
/**
|
13550
14001
|
* Downloads the given application asset.
|
13551
14002
|
*
|
@@ -13637,7 +14088,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13637
14088
|
* .catch(err => console.log(err));
|
13638
14089
|
* ```
|
13639
14090
|
*/
|
13640
|
-
getAllExternalApplications(): Promise<Array<
|
14091
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
13641
14092
|
/**
|
13642
14093
|
* Retrieves app asset information.
|
13643
14094
|
* @param options
|
@@ -13666,7 +14117,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13666
14117
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
13667
14118
|
* ```
|
13668
14119
|
*/
|
13669
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14120
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
13670
14121
|
/**
|
13671
14122
|
* Retrieves the UUID of the computer on which the runtime is installed
|
13672
14123
|
* @param uuid The uuid of the running application
|
@@ -13676,7 +14127,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13676
14127
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
13677
14128
|
* ```
|
13678
14129
|
*/
|
13679
|
-
resolveUuid(uuid: string): Promise<
|
14130
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
13680
14131
|
/**
|
13681
14132
|
* Retrieves an array of data for all external applications
|
13682
14133
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -13684,7 +14135,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13684
14135
|
*
|
13685
14136
|
* @ignore
|
13686
14137
|
*/
|
13687
|
-
executeOnRemote(requestingIdentity:
|
14138
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
13688
14139
|
/**
|
13689
14140
|
* Reads the specifed value from the registry.
|
13690
14141
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -13777,7 +14228,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13777
14228
|
* }
|
13778
14229
|
* ```
|
13779
14230
|
*/
|
13780
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14231
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
13781
14232
|
/**
|
13782
14233
|
* This function call will register a unique id and produce a token.
|
13783
14234
|
* The token can be used to broker an external connection.
|
@@ -13992,7 +14443,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13992
14443
|
* });
|
13993
14444
|
* ```
|
13994
14445
|
*/
|
13995
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14446
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
13996
14447
|
/**
|
13997
14448
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
13998
14449
|
* @param options Process Logging updatable options.
|
@@ -14611,14 +15062,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
14611
15062
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
14612
15063
|
|
14613
15064
|
/**
|
14614
|
-
*
|
15065
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15066
|
+
*
|
14615
15067
|
* @interface
|
14616
15068
|
*/
|
14617
|
-
declare type UserBoundsChangeEvent =
|
14618
|
-
height: number;
|
14619
|
-
left: number;
|
14620
|
-
top: number;
|
14621
|
-
width: number;
|
15069
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
14622
15070
|
windowState: 'minimized' | 'normal' | 'maximized';
|
14623
15071
|
};
|
14624
15072
|
|
@@ -15121,7 +15569,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15121
15569
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15122
15570
|
name: string;
|
15123
15571
|
url: string;
|
15124
|
-
target:
|
15572
|
+
target: Identity_4;
|
15125
15573
|
};
|
15126
15574
|
|
15127
15575
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15307,15 +15755,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15307
15755
|
/**
|
15308
15756
|
* Identity of the Window.
|
15309
15757
|
*/
|
15310
|
-
windowId:
|
15758
|
+
windowId: Identity_4;
|
15311
15759
|
/**
|
15312
15760
|
* Identities of the Views that are preventing an unload
|
15313
15761
|
*/
|
15314
|
-
viewsPreventingUnload:
|
15762
|
+
viewsPreventingUnload: Identity_4[];
|
15315
15763
|
/**
|
15316
15764
|
* Identities of the Views that are not preventing an unload
|
15317
15765
|
*/
|
15318
|
-
viewsNotPreventingUnload:
|
15766
|
+
viewsNotPreventingUnload: Identity_4[];
|
15319
15767
|
/**
|
15320
15768
|
* Source of the close action.
|
15321
15769
|
*/
|
@@ -15340,11 +15788,11 @@ declare interface ViewStatuses {
|
|
15340
15788
|
/**
|
15341
15789
|
* Identities of the Views that are preventing an unload.
|
15342
15790
|
*/
|
15343
|
-
viewsPreventingUnload:
|
15791
|
+
viewsPreventingUnload: Identity_4[];
|
15344
15792
|
/**
|
15345
15793
|
* Identities of the Views that are not preventing an unload.
|
15346
15794
|
*/
|
15347
|
-
viewsNotPreventingUnload:
|
15795
|
+
viewsNotPreventingUnload: Identity_4[];
|
15348
15796
|
}
|
15349
15797
|
|
15350
15798
|
/**
|
@@ -15849,7 +16297,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15849
16297
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15850
16298
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
15851
16299
|
*/
|
15852
|
-
stopFindInPage(action:
|
16300
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
15853
16301
|
/**
|
15854
16302
|
* Returns an array with all system printers
|
15855
16303
|
* @deprecated use System.getPrinters instead
|
@@ -16442,11 +16890,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16442
16890
|
* A general will-move or will-resize event without event type.
|
16443
16891
|
* @interface
|
16444
16892
|
*/
|
16445
|
-
declare type WillMoveOrResizeEvent =
|
16446
|
-
height: number;
|
16447
|
-
left: number;
|
16448
|
-
top: number;
|
16449
|
-
width: number;
|
16893
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16450
16894
|
monitorScaleFactor: number;
|
16451
16895
|
};
|
16452
16896
|
|
@@ -17638,16 +18082,21 @@ declare namespace WindowEvents {
|
|
17638
18082
|
PreloadScriptInfoRunning,
|
17639
18083
|
PreloadScriptInfo,
|
17640
18084
|
PreloadScriptsStateChangeEvent,
|
17641
|
-
|
18085
|
+
BoundsEvent,
|
17642
18086
|
BoundsChangeEvent,
|
17643
18087
|
WillMoveOrResizeEvent,
|
18088
|
+
BoundsDidChangeEvent,
|
18089
|
+
BoundsChangedEvent,
|
18090
|
+
BoundsChangingEvent,
|
18091
|
+
DisabledMovementBoundsChangedEvent,
|
18092
|
+
DisabledMovementBoundsChangingEvent,
|
18093
|
+
UserBoundsChangeEvent,
|
18094
|
+
BeginUserBoundsChangingEvent,
|
18095
|
+
EndUserBoundsChangingEvent,
|
17644
18096
|
PerformanceReportEvent,
|
17645
18097
|
InputEvent_2 as InputEvent,
|
17646
18098
|
LayoutInitializedEvent,
|
17647
18099
|
LayoutReadyEvent,
|
17648
|
-
BeginUserBoundsChangingEvent,
|
17649
|
-
BoundsChangedEvent,
|
17650
|
-
BoundsChangingEvent,
|
17651
18100
|
CloseRequestedEvent,
|
17652
18101
|
WindowCloseRequestedEvent,
|
17653
18102
|
ContextChangedEvent,
|
@@ -17655,10 +18104,7 @@ declare namespace WindowEvents {
|
|
17655
18104
|
WindowClosedEvent,
|
17656
18105
|
ClosingEvent,
|
17657
18106
|
WindowClosingEvent,
|
17658
|
-
DisabledMovementBoundsChangedEvent,
|
17659
|
-
DisabledMovementBoundsChangingEvent,
|
17660
18107
|
EmbeddedEvent,
|
17661
|
-
EndUserBoundsChangingEvent,
|
17662
18108
|
HotkeyEvent_2 as HotkeyEvent,
|
17663
18109
|
WindowHotkeyEvent,
|
17664
18110
|
InitializedEvent_2 as InitializedEvent,
|