@openfin/fdc3-api 36.79.5 → 36.79.10
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 +126 -43
- package/out/fdc3-api-beta.d.ts +126 -43
- package/out/fdc3-api-public.d.ts +126 -43
- package/out/fdc3-api.d.ts +127 -44
- package/package.json +1 -1
package/out/fdc3-api.d.ts
CHANGED
|
@@ -97,7 +97,10 @@ declare type Api = {
|
|
|
97
97
|
enableDeprecatedSharedName?: boolean;
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Configure injection of the `fin` API in this context.
|
|
101
|
+
*
|
|
102
|
+
* * 'none': The `fin` API will be not available in this context.
|
|
103
|
+
* * 'global': The entire `fin` API will be available in this context.
|
|
101
104
|
*/
|
|
102
105
|
fin?: InjectionType;
|
|
103
106
|
};
|
|
@@ -113,8 +116,18 @@ declare type ApiClient<T extends Record<any, any>> = {
|
|
|
113
116
|
|
|
114
117
|
/**
|
|
115
118
|
* @interface
|
|
119
|
+
*
|
|
120
|
+
* Rules for domain-conditional `fin` API injection.
|
|
116
121
|
*/
|
|
117
122
|
declare type ApiInjection = {
|
|
123
|
+
/**
|
|
124
|
+
* Injection setting for the `fin` API for contexts on a matched domain.
|
|
125
|
+
*
|
|
126
|
+
* * 'none': The `fin` API will be not available.
|
|
127
|
+
* * 'global': The entire `fin` API will be available.
|
|
128
|
+
*
|
|
129
|
+
* @defaultValue 'global'
|
|
130
|
+
*/
|
|
118
131
|
fin: InjectionType;
|
|
119
132
|
};
|
|
120
133
|
|
|
@@ -864,7 +877,7 @@ declare type ApplicationConnectedEvent = ConnectedEvent_2;
|
|
|
864
877
|
* Generated when an application is created.
|
|
865
878
|
* @interface
|
|
866
879
|
*/
|
|
867
|
-
declare type ApplicationCreatedEvent =
|
|
880
|
+
declare type ApplicationCreatedEvent = BaseEvent_9 & BaseEvents.IdentityEvent & {
|
|
868
881
|
type: 'application-created';
|
|
869
882
|
};
|
|
870
883
|
|
|
@@ -1732,7 +1745,7 @@ declare type BaseConfig = {
|
|
|
1732
1745
|
*/
|
|
1733
1746
|
declare type BaseContentCreationRule = {
|
|
1734
1747
|
/**
|
|
1735
|
-
* List of [match patterns](https://developer.chrome.com/extensions/
|
|
1748
|
+
* List of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) that indicate the specified
|
|
1736
1749
|
* behavior should be used
|
|
1737
1750
|
*/
|
|
1738
1751
|
match: MatchPattern[];
|
|
@@ -1745,13 +1758,30 @@ declare type BaseContentCreationRule = {
|
|
|
1745
1758
|
/**
|
|
1746
1759
|
* A base OpenFin event. All OpenFin event payloads extend this type.
|
|
1747
1760
|
*
|
|
1761
|
+
* OpenFin events are jointly discriminated by their {@link topic} and {@link type} keys. Within each
|
|
1762
|
+
* `topic`, the `type` key is unique.
|
|
1763
|
+
*
|
|
1748
1764
|
* @interface
|
|
1749
1765
|
*/
|
|
1750
1766
|
declare type BaseEvent = {
|
|
1767
|
+
/**
|
|
1768
|
+
* The "kebab-case" classname of the {@link OpenFin.Events emitter} that raised the event.
|
|
1769
|
+
*
|
|
1770
|
+
* @remarks {@link OpenFin.Frame} is represented as `iframe`.
|
|
1771
|
+
*/
|
|
1751
1772
|
topic: string;
|
|
1773
|
+
/**
|
|
1774
|
+
* The type of event that was raised. Equal to the typename of the event payload in "kebab case".
|
|
1775
|
+
*
|
|
1776
|
+
* @remarks Guaranteed to be unique within each {@link topic}, but can be repeated
|
|
1777
|
+
* between topics (e.g. {@link OpenFin.WebContentsEvents.CrashedEvent WebContentsEvents.CrashedEvent} and
|
|
1778
|
+
* {@link OpenFin.ApplicationEvents.CrashedEvent ApplicationEvents.CrashedEvent}).
|
|
1779
|
+
*/
|
|
1752
1780
|
type: string;
|
|
1753
1781
|
};
|
|
1754
1782
|
|
|
1783
|
+
declare type BaseEvent_10 = Events.BaseEvents.BaseEvent;
|
|
1784
|
+
|
|
1755
1785
|
/**
|
|
1756
1786
|
* A base Channel event.
|
|
1757
1787
|
* @interface
|
|
@@ -1804,14 +1834,22 @@ declare type BaseEvent_7 = NamedEvent & {
|
|
|
1804
1834
|
};
|
|
1805
1835
|
|
|
1806
1836
|
/**
|
|
1807
|
-
* Base type for events emitting on the `
|
|
1837
|
+
* Base type for events emitting on the `global-hotkey` topic.
|
|
1838
|
+
*
|
|
1808
1839
|
* @interface
|
|
1809
1840
|
*/
|
|
1810
1841
|
declare type BaseEvent_8 = BaseEvents.BaseEvent & {
|
|
1811
|
-
topic: '
|
|
1842
|
+
topic: 'global-hotkey';
|
|
1843
|
+
hotkey: string;
|
|
1812
1844
|
};
|
|
1813
1845
|
|
|
1814
|
-
|
|
1846
|
+
/**
|
|
1847
|
+
* Base type for events emitting on the `system` topic
|
|
1848
|
+
* @interface
|
|
1849
|
+
*/
|
|
1850
|
+
declare type BaseEvent_9 = BaseEvents.BaseEvent & {
|
|
1851
|
+
topic: 'system';
|
|
1852
|
+
};
|
|
1815
1853
|
|
|
1816
1854
|
declare namespace BaseEvents {
|
|
1817
1855
|
export {
|
|
@@ -3651,13 +3689,13 @@ declare type ConstWindowOptions = {
|
|
|
3651
3689
|
/**
|
|
3652
3690
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
3653
3691
|
* In the lack of an allowlist, navigation to URLs that match a denied pattern would be prohibited.
|
|
3654
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
3692
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
3655
3693
|
*/
|
|
3656
3694
|
contentNavigation: ContentNavigation;
|
|
3657
3695
|
/**
|
|
3658
3696
|
* Restrict redirects to URLs that match an allowed pattern.
|
|
3659
3697
|
* In the lack of an allowlist, redirects to URLs that match a denied pattern would be prohibited.
|
|
3660
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
3698
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
3661
3699
|
*/
|
|
3662
3700
|
contentRedirect: Partial<ContentRedirect>;
|
|
3663
3701
|
/**
|
|
@@ -4202,7 +4240,7 @@ declare interface ContentItem extends EventEmitter_2 {
|
|
|
4202
4240
|
/**
|
|
4203
4241
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
4204
4242
|
* In the lack of an allowlist, navigation to URLs that match a denied pattern would be prohibited.
|
|
4205
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
4243
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
4206
4244
|
*
|
|
4207
4245
|
* @interface
|
|
4208
4246
|
*/
|
|
@@ -4211,7 +4249,7 @@ declare type ContentNavigation = NavigationRules;
|
|
|
4211
4249
|
/**
|
|
4212
4250
|
* Restrict redirects to URLs that match an allowed pattern.
|
|
4213
4251
|
* In the lack of an allowlist, redirects to URLs that match a denied pattern would be prohibited.
|
|
4214
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
4252
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
4215
4253
|
*
|
|
4216
4254
|
* @interface
|
|
4217
4255
|
*/
|
|
@@ -4613,7 +4651,7 @@ declare interface DesktopAgent_2 {
|
|
|
4613
4651
|
* Generated when the desktop icon is clicked while it's already running.
|
|
4614
4652
|
* @interface
|
|
4615
4653
|
*/
|
|
4616
|
-
declare type DesktopIconClickedEvent =
|
|
4654
|
+
declare type DesktopIconClickedEvent = BaseEvent_9 & {
|
|
4617
4655
|
type: 'desktop-icon-clicked';
|
|
4618
4656
|
};
|
|
4619
4657
|
|
|
@@ -4815,19 +4853,42 @@ declare type DisplayMetadata_3 = {
|
|
|
4815
4853
|
|
|
4816
4854
|
/**
|
|
4817
4855
|
* @interface
|
|
4818
|
-
*
|
|
4856
|
+
* Defines application settings that vary by the domain of the current context.
|
|
4857
|
+
*
|
|
4858
|
+
* @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
|
|
4859
|
+
* domain should be represented with a single rule.
|
|
4819
4860
|
*/
|
|
4820
4861
|
declare type DomainSettings = {
|
|
4862
|
+
/**
|
|
4863
|
+
* {@inheritDoc DomainSettingsRule}
|
|
4864
|
+
*/
|
|
4821
4865
|
rules: DomainSettingsRule[];
|
|
4822
4866
|
};
|
|
4823
4867
|
|
|
4824
4868
|
/**
|
|
4825
4869
|
* @interface
|
|
4870
|
+
*
|
|
4871
|
+
* Defines domain-conditional settings for an OpenFin application.
|
|
4826
4872
|
*/
|
|
4827
4873
|
declare type DomainSettingsRule = {
|
|
4874
|
+
/**
|
|
4875
|
+
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4876
|
+
* the domain(s) for which the rule applies.
|
|
4877
|
+
*/
|
|
4828
4878
|
match: string[];
|
|
4879
|
+
/**
|
|
4880
|
+
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4881
|
+
*/
|
|
4829
4882
|
options: {
|
|
4883
|
+
/**
|
|
4884
|
+
* {@inheritDoc FileDownloadSettings}
|
|
4885
|
+
*
|
|
4886
|
+
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
4887
|
+
*/
|
|
4830
4888
|
downloadSettings?: FileDownloadSettings;
|
|
4889
|
+
/**
|
|
4890
|
+
* {@inheritDoc ApiInjection}
|
|
4891
|
+
*/
|
|
4831
4892
|
api?: ApiInjection;
|
|
4832
4893
|
};
|
|
4833
4894
|
};
|
|
@@ -4866,9 +4927,20 @@ declare type DownloadPreloadOption = {
|
|
|
4866
4927
|
|
|
4867
4928
|
/**
|
|
4868
4929
|
* @interface
|
|
4930
|
+
*
|
|
4931
|
+
* A rule governing domain-conditional download behavior.
|
|
4869
4932
|
*/
|
|
4870
4933
|
declare type DownloadRule = {
|
|
4934
|
+
/**
|
|
4935
|
+
* {@inheritDoc FileDownloadBehaviorNames}
|
|
4936
|
+
*/
|
|
4871
4937
|
behavior: FileDownloadBehaviorNames;
|
|
4938
|
+
/**
|
|
4939
|
+
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4940
|
+
* the domain(s) for which the rule applies.
|
|
4941
|
+
*
|
|
4942
|
+
* @remarks The match is evaluated against the URL of the *download*.
|
|
4943
|
+
*/
|
|
4872
4944
|
match: string[];
|
|
4873
4945
|
};
|
|
4874
4946
|
|
|
@@ -5128,6 +5200,7 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
|
5128
5200
|
|
|
5129
5201
|
declare interface Environment {
|
|
5130
5202
|
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
|
5203
|
+
applyLayoutSnapshot(fin: OpenFin.Fin<OpenFin.EntityType>, layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.InitLayoutOptions): Promise<void>;
|
|
5131
5204
|
createLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.CreateLayoutOptions): Promise<void>;
|
|
5132
5205
|
destroyLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<void>;
|
|
5133
5206
|
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
|
@@ -5169,14 +5242,14 @@ declare type ErrorPlainObject = {
|
|
|
5169
5242
|
|
|
5170
5243
|
/**
|
|
5171
5244
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link Platform}. Events are
|
|
5172
|
-
* discriminated by {@link
|
|
5245
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Platform` can be found
|
|
5173
5246
|
* under the {@link OpenFin.PlatformEvents} namespace.
|
|
5174
5247
|
*/
|
|
5175
5248
|
declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotAppliedEvent;
|
|
5176
5249
|
|
|
5177
5250
|
/**
|
|
5178
5251
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link System}. Events are
|
|
5179
|
-
* discriminated by {@link
|
|
5252
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `System` can be found
|
|
5180
5253
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
5181
5254
|
* from which they propagate).
|
|
5182
5255
|
*/
|
|
@@ -5184,7 +5257,7 @@ declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>>
|
|
|
5184
5257
|
|
|
5185
5258
|
/**
|
|
5186
5259
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link Channel}. Events are
|
|
5187
|
-
* discriminated by {@link
|
|
5260
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Channel` can be found
|
|
5188
5261
|
* under the {@link OpenFin.ChannelEvents} namespace.
|
|
5189
5262
|
*/
|
|
5190
5263
|
declare type Event_2 = {
|
|
@@ -5193,7 +5266,7 @@ declare type Event_2 = {
|
|
|
5193
5266
|
|
|
5194
5267
|
/**
|
|
5195
5268
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by an {@link Application}. Events are
|
|
5196
|
-
* discriminated by {@link
|
|
5269
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Application` can be found
|
|
5197
5270
|
* under the {@link OpenFin.ApplicationEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
5198
5271
|
* from which they propagate).
|
|
5199
5272
|
*/
|
|
@@ -5201,7 +5274,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
5201
5274
|
|
|
5202
5275
|
/**
|
|
5203
5276
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link View}. Events are
|
|
5204
|
-
* discriminated by {@link
|
|
5277
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `View` can be found
|
|
5205
5278
|
* under the {@link OpenFin.ViewEvents} namespace (except for {@link OpenFin.WebContentsEvents | those shared with other WebContents}).
|
|
5206
5279
|
*/
|
|
5207
5280
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
@@ -5218,21 +5291,21 @@ declare type Event_5<Topic extends string> = {
|
|
|
5218
5291
|
|
|
5219
5292
|
/**
|
|
5220
5293
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link Window}. Events are
|
|
5221
|
-
* discriminated by {@link
|
|
5294
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Window` can be found
|
|
5222
5295
|
* under the {@link OpenFin.WindowEvents} namespace (except for {@link OpenFin.WebContentsEvents | those shared with other WebContents}).
|
|
5223
5296
|
*/
|
|
5224
5297
|
declare type Event_6 = WindowSourcedEvent | WindowViewEvent | ViewEvents.PropagatedEvent<'window'>;
|
|
5225
5298
|
|
|
5226
5299
|
/**
|
|
5227
5300
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by an {@link ExternalApplication}. Events are
|
|
5228
|
-
* discriminated by {@link
|
|
5301
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `ExternalApplication` can be found
|
|
5229
5302
|
* under the {@link OpenFin.ExternalApplicationEvents} namespace.
|
|
5230
5303
|
*/
|
|
5231
5304
|
declare type Event_7 = ConnectedEvent_3 | DisconnectedEvent_2;
|
|
5232
5305
|
|
|
5233
5306
|
/**
|
|
5234
5307
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link _Frame}. Events are
|
|
5235
|
-
* discriminated by {@link
|
|
5308
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Frame` can be found
|
|
5236
5309
|
* under the {@link OpenFin.FrameEvents} namespace.
|
|
5237
5310
|
*/
|
|
5238
5311
|
declare type Event_8 = {
|
|
@@ -5241,13 +5314,10 @@ declare type Event_8 = {
|
|
|
5241
5314
|
|
|
5242
5315
|
/**
|
|
5243
5316
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by {@link GlobalHotkey}. Events are
|
|
5244
|
-
* discriminated by {@link
|
|
5317
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `GlobalHotkey` can be found
|
|
5245
5318
|
* under the {@link OpenFin.GlobalHotkeyEvents} namespace.
|
|
5246
5319
|
*/
|
|
5247
|
-
declare type Event_9 =
|
|
5248
|
-
topic: 'global-hotkey';
|
|
5249
|
-
hotkey: 'string';
|
|
5250
|
-
} & (RegisteredEvent | UnregisteredEvent);
|
|
5320
|
+
declare type Event_9 = RegisteredEvent | UnregisteredEvent;
|
|
5251
5321
|
|
|
5252
5322
|
declare class EventAggregator extends EmitterMap {
|
|
5253
5323
|
dispatchEvent: (message: Message<any>) => boolean;
|
|
@@ -5926,6 +5996,9 @@ declare type FetchManifestPayload = {
|
|
|
5926
5996
|
manifestUrl: string;
|
|
5927
5997
|
};
|
|
5928
5998
|
|
|
5999
|
+
/**
|
|
6000
|
+
* Whether file downloads raise a user prompt.
|
|
6001
|
+
*/
|
|
5929
6002
|
declare type FileDownloadBehaviorNames = 'prompt' | 'no-prompt';
|
|
5930
6003
|
|
|
5931
6004
|
/**
|
|
@@ -6008,9 +6081,14 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
|
6008
6081
|
};
|
|
6009
6082
|
|
|
6010
6083
|
/**
|
|
6011
|
-
*
|
|
6084
|
+
* Domain-conditional rules for file downloads.
|
|
6085
|
+
*
|
|
6086
|
+
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
6012
6087
|
*/
|
|
6013
6088
|
declare type FileDownloadSettings = {
|
|
6089
|
+
/**
|
|
6090
|
+
* {@inheritDoc DownloadRule}
|
|
6091
|
+
*/
|
|
6014
6092
|
rules: DownloadRule[];
|
|
6015
6093
|
};
|
|
6016
6094
|
|
|
@@ -6453,6 +6531,7 @@ declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
|
|
6453
6531
|
|
|
6454
6532
|
declare namespace GlobalHotkeyEvents {
|
|
6455
6533
|
export {
|
|
6534
|
+
BaseEvent_8 as BaseEvent,
|
|
6456
6535
|
RegisteredEvent,
|
|
6457
6536
|
UnregisteredEvent,
|
|
6458
6537
|
Event_9 as Event,
|
|
@@ -6943,7 +7022,7 @@ declare type IdleEvent = IdleStateChangedEvent;
|
|
|
6943
7022
|
* A user returns from idle state when the computer is unlocked or keyboard/mouse activity has resumed.
|
|
6944
7023
|
* @interface
|
|
6945
7024
|
*/
|
|
6946
|
-
declare type IdleStateChangedEvent =
|
|
7025
|
+
declare type IdleStateChangedEvent = BaseEvent_9 & {
|
|
6947
7026
|
type: 'idle-state-changed';
|
|
6948
7027
|
elapsedTime: number;
|
|
6949
7028
|
isIdle: boolean;
|
|
@@ -7082,9 +7161,10 @@ declare type InitPlatformOptions = {
|
|
|
7082
7161
|
};
|
|
7083
7162
|
|
|
7084
7163
|
/**
|
|
7085
|
-
*
|
|
7086
|
-
*
|
|
7087
|
-
*
|
|
7164
|
+
* Injection setting for the `fin` API.
|
|
7165
|
+
*
|
|
7166
|
+
* * 'none': The `fin` API will be not available.
|
|
7167
|
+
* * 'global': The entire `fin` API will be available.
|
|
7088
7168
|
*/
|
|
7089
7169
|
declare type InjectionType = 'none' | 'global';
|
|
7090
7170
|
|
|
@@ -9002,16 +9082,17 @@ declare type LayoutIdentity = Identity_5 & {
|
|
|
9002
9082
|
};
|
|
9003
9083
|
|
|
9004
9084
|
/**
|
|
9005
|
-
* Generated
|
|
9006
|
-
*
|
|
9085
|
+
* Generated after a layout is created and all of its views have either finished or failed navigation
|
|
9086
|
+
* once per layout. Does not emit for layouts created using Layout.replace() API.
|
|
9007
9087
|
* @interface
|
|
9008
9088
|
*/
|
|
9009
9089
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
|
9010
9090
|
type: 'layout-initialized';
|
|
9011
9091
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
9012
|
-
ofViews:
|
|
9092
|
+
ofViews: {
|
|
9093
|
+
identity: OpenFin.Identity;
|
|
9013
9094
|
entityType: 'view';
|
|
9014
|
-
}
|
|
9095
|
+
}[];
|
|
9015
9096
|
};
|
|
9016
9097
|
|
|
9017
9098
|
/**
|
|
@@ -9549,9 +9630,11 @@ declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
|
|
9549
9630
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
|
9550
9631
|
type: 'layout-ready';
|
|
9551
9632
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
9552
|
-
views:
|
|
9633
|
+
views: {
|
|
9634
|
+
identity: OpenFin.Identity;
|
|
9553
9635
|
success: boolean;
|
|
9554
|
-
|
|
9636
|
+
error?: Error;
|
|
9637
|
+
}[];
|
|
9555
9638
|
};
|
|
9556
9639
|
|
|
9557
9640
|
/**
|
|
@@ -9927,7 +10010,7 @@ declare type MonitorInfo = {
|
|
|
9927
10010
|
* The available space of a monitor defines a rectangle that is not occupied by the taskbar
|
|
9928
10011
|
* @interface
|
|
9929
10012
|
*/
|
|
9930
|
-
declare type MonitorInfoChangedEvent =
|
|
10013
|
+
declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
9931
10014
|
type: 'monitor-info-changed';
|
|
9932
10015
|
};
|
|
9933
10016
|
|
|
@@ -9984,7 +10067,7 @@ declare type MutableViewOptions = {
|
|
|
9984
10067
|
/**
|
|
9985
10068
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
9986
10069
|
* In the lack of an allowlist, navigation to URLs that match a denylisted pattern would be prohibited.
|
|
9987
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
10070
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
9988
10071
|
*/
|
|
9989
10072
|
contentNavigation: ContentNavigation;
|
|
9990
10073
|
contentRedirect: ContentRedirect;
|
|
@@ -10688,7 +10771,7 @@ declare namespace OpenFin {
|
|
|
10688
10771
|
AppVersionCompleteEvent,
|
|
10689
10772
|
AppVersionRuntimeStatusEvent,
|
|
10690
10773
|
Events,
|
|
10691
|
-
|
|
10774
|
+
BaseEvent_10 as BaseEvent,
|
|
10692
10775
|
WebContentsEvent_2 as WebContentsEvent,
|
|
10693
10776
|
SystemEvent_2 as SystemEvent,
|
|
10694
10777
|
ApplicationEvent_2 as ApplicationEvent,
|
|
@@ -13224,7 +13307,7 @@ declare type RectangleByEdgePositions = {
|
|
|
13224
13307
|
* Generated when a hotkey has been registered with the operating system.
|
|
13225
13308
|
* @interface
|
|
13226
13309
|
*/
|
|
13227
|
-
declare type RegisteredEvent =
|
|
13310
|
+
declare type RegisteredEvent = BaseEvent_8 & {
|
|
13228
13311
|
type: 'registered';
|
|
13229
13312
|
};
|
|
13230
13313
|
|
|
@@ -13646,7 +13729,7 @@ declare type ServiceIdentifier = {
|
|
|
13646
13729
|
* Generated on changes to a user’s local computer session.
|
|
13647
13730
|
* @interface
|
|
13648
13731
|
*/
|
|
13649
|
-
declare type SessionChangedEvent =
|
|
13732
|
+
declare type SessionChangedEvent = BaseEvent_9 & {
|
|
13650
13733
|
type: 'session-changed';
|
|
13651
13734
|
reason: 'lock' | 'unlock' | 'remote-connect' | 'remote-disconnect' | 'unknown';
|
|
13652
13735
|
};
|
|
@@ -15586,7 +15669,7 @@ declare namespace SystemEvents {
|
|
|
15586
15669
|
export {
|
|
15587
15670
|
NotRequested,
|
|
15588
15671
|
ExcludeRequested,
|
|
15589
|
-
|
|
15672
|
+
BaseEvent_9 as BaseEvent,
|
|
15590
15673
|
IdleStateChangedEvent,
|
|
15591
15674
|
IdleEvent,
|
|
15592
15675
|
MonitorInfoChangedEvent,
|
|
@@ -15672,7 +15755,7 @@ declare type SystemProcessInfo = {
|
|
|
15672
15755
|
* Generated when system shutdown or log off.
|
|
15673
15756
|
* @internal
|
|
15674
15757
|
*/
|
|
15675
|
-
declare type SystemShutdownEvent =
|
|
15758
|
+
declare type SystemShutdownEvent = BaseEvent_9 & {
|
|
15676
15759
|
type: 'system-shutdown';
|
|
15677
15760
|
};
|
|
15678
15761
|
|
|
@@ -16071,7 +16154,7 @@ declare interface TypedEventEmitter<Event extends {
|
|
|
16071
16154
|
* Generated when a hotkey has been unregistered with the operating system.
|
|
16072
16155
|
* @interface
|
|
16073
16156
|
*/
|
|
16074
|
-
declare type UnregisteredEvent =
|
|
16157
|
+
declare type UnregisteredEvent = BaseEvent_8 & {
|
|
16075
16158
|
type: 'unregistered';
|
|
16076
16159
|
};
|
|
16077
16160
|
|