@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-beta.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
|
|
|
@@ -858,7 +871,7 @@ declare type ApplicationConnectedEvent = ConnectedEvent_2;
|
|
|
858
871
|
* Generated when an application is created.
|
|
859
872
|
* @interface
|
|
860
873
|
*/
|
|
861
|
-
declare type ApplicationCreatedEvent =
|
|
874
|
+
declare type ApplicationCreatedEvent = BaseEvent_9 & BaseEvents.IdentityEvent & {
|
|
862
875
|
type: 'application-created';
|
|
863
876
|
};
|
|
864
877
|
|
|
@@ -1712,7 +1725,7 @@ declare type BaseConfig = {
|
|
|
1712
1725
|
*/
|
|
1713
1726
|
declare type BaseContentCreationRule = {
|
|
1714
1727
|
/**
|
|
1715
|
-
* List of [match patterns](https://developer.chrome.com/extensions/
|
|
1728
|
+
* List of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) that indicate the specified
|
|
1716
1729
|
* behavior should be used
|
|
1717
1730
|
*/
|
|
1718
1731
|
match: MatchPattern[];
|
|
@@ -1725,13 +1738,30 @@ declare type BaseContentCreationRule = {
|
|
|
1725
1738
|
/**
|
|
1726
1739
|
* A base OpenFin event. All OpenFin event payloads extend this type.
|
|
1727
1740
|
*
|
|
1741
|
+
* OpenFin events are jointly discriminated by their {@link topic} and {@link type} keys. Within each
|
|
1742
|
+
* `topic`, the `type` key is unique.
|
|
1743
|
+
*
|
|
1728
1744
|
* @interface
|
|
1729
1745
|
*/
|
|
1730
1746
|
declare type BaseEvent = {
|
|
1747
|
+
/**
|
|
1748
|
+
* The "kebab-case" classname of the {@link OpenFin.Events emitter} that raised the event.
|
|
1749
|
+
*
|
|
1750
|
+
* @remarks {@link OpenFin.Frame} is represented as `iframe`.
|
|
1751
|
+
*/
|
|
1731
1752
|
topic: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* The type of event that was raised. Equal to the typename of the event payload in "kebab case".
|
|
1755
|
+
*
|
|
1756
|
+
* @remarks Guaranteed to be unique within each {@link topic}, but can be repeated
|
|
1757
|
+
* between topics (e.g. {@link OpenFin.WebContentsEvents.CrashedEvent WebContentsEvents.CrashedEvent} and
|
|
1758
|
+
* {@link OpenFin.ApplicationEvents.CrashedEvent ApplicationEvents.CrashedEvent}).
|
|
1759
|
+
*/
|
|
1732
1760
|
type: string;
|
|
1733
1761
|
};
|
|
1734
1762
|
|
|
1763
|
+
declare type BaseEvent_10 = Events.BaseEvents.BaseEvent;
|
|
1764
|
+
|
|
1735
1765
|
/**
|
|
1736
1766
|
* A base Channel event.
|
|
1737
1767
|
* @interface
|
|
@@ -1784,14 +1814,22 @@ declare type BaseEvent_7 = NamedEvent & {
|
|
|
1784
1814
|
};
|
|
1785
1815
|
|
|
1786
1816
|
/**
|
|
1787
|
-
* Base type for events emitting on the `
|
|
1817
|
+
* Base type for events emitting on the `global-hotkey` topic.
|
|
1818
|
+
*
|
|
1788
1819
|
* @interface
|
|
1789
1820
|
*/
|
|
1790
1821
|
declare type BaseEvent_8 = BaseEvents.BaseEvent & {
|
|
1791
|
-
topic: '
|
|
1822
|
+
topic: 'global-hotkey';
|
|
1823
|
+
hotkey: string;
|
|
1792
1824
|
};
|
|
1793
1825
|
|
|
1794
|
-
|
|
1826
|
+
/**
|
|
1827
|
+
* Base type for events emitting on the `system` topic
|
|
1828
|
+
* @interface
|
|
1829
|
+
*/
|
|
1830
|
+
declare type BaseEvent_9 = BaseEvents.BaseEvent & {
|
|
1831
|
+
topic: 'system';
|
|
1832
|
+
};
|
|
1795
1833
|
|
|
1796
1834
|
declare namespace BaseEvents {
|
|
1797
1835
|
export {
|
|
@@ -3608,13 +3646,13 @@ declare type ConstWindowOptions = {
|
|
|
3608
3646
|
/**
|
|
3609
3647
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
3610
3648
|
* In the lack of an allowlist, navigation to URLs that match a denied pattern would be prohibited.
|
|
3611
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
3649
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
3612
3650
|
*/
|
|
3613
3651
|
contentNavigation: ContentNavigation;
|
|
3614
3652
|
/**
|
|
3615
3653
|
* Restrict redirects to URLs that match an allowed pattern.
|
|
3616
3654
|
* In the lack of an allowlist, redirects to URLs that match a denied pattern would be prohibited.
|
|
3617
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
3655
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
3618
3656
|
*/
|
|
3619
3657
|
contentRedirect: Partial<ContentRedirect>;
|
|
3620
3658
|
/**
|
|
@@ -4159,7 +4197,7 @@ declare interface ContentItem extends EventEmitter_2 {
|
|
|
4159
4197
|
/**
|
|
4160
4198
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
4161
4199
|
* In the lack of an allowlist, navigation to URLs that match a denied pattern would be prohibited.
|
|
4162
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
4200
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
4163
4201
|
*
|
|
4164
4202
|
* @interface
|
|
4165
4203
|
*/
|
|
@@ -4168,7 +4206,7 @@ declare type ContentNavigation = NavigationRules;
|
|
|
4168
4206
|
/**
|
|
4169
4207
|
* Restrict redirects to URLs that match an allowed pattern.
|
|
4170
4208
|
* In the lack of an allowlist, redirects to URLs that match a denied pattern would be prohibited.
|
|
4171
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
4209
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
4172
4210
|
*
|
|
4173
4211
|
* @interface
|
|
4174
4212
|
*/
|
|
@@ -4570,7 +4608,7 @@ declare interface DesktopAgent_2 {
|
|
|
4570
4608
|
* Generated when the desktop icon is clicked while it's already running.
|
|
4571
4609
|
* @interface
|
|
4572
4610
|
*/
|
|
4573
|
-
declare type DesktopIconClickedEvent =
|
|
4611
|
+
declare type DesktopIconClickedEvent = BaseEvent_9 & {
|
|
4574
4612
|
type: 'desktop-icon-clicked';
|
|
4575
4613
|
};
|
|
4576
4614
|
|
|
@@ -4772,19 +4810,42 @@ declare type DisplayMetadata_3 = {
|
|
|
4772
4810
|
|
|
4773
4811
|
/**
|
|
4774
4812
|
* @interface
|
|
4775
|
-
*
|
|
4813
|
+
* Defines application settings that vary by the domain of the current context.
|
|
4814
|
+
*
|
|
4815
|
+
* @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
|
|
4816
|
+
* domain should be represented with a single rule.
|
|
4776
4817
|
*/
|
|
4777
4818
|
declare type DomainSettings = {
|
|
4819
|
+
/**
|
|
4820
|
+
* {@inheritDoc DomainSettingsRule}
|
|
4821
|
+
*/
|
|
4778
4822
|
rules: DomainSettingsRule[];
|
|
4779
4823
|
};
|
|
4780
4824
|
|
|
4781
4825
|
/**
|
|
4782
4826
|
* @interface
|
|
4827
|
+
*
|
|
4828
|
+
* Defines domain-conditional settings for an OpenFin application.
|
|
4783
4829
|
*/
|
|
4784
4830
|
declare type DomainSettingsRule = {
|
|
4831
|
+
/**
|
|
4832
|
+
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4833
|
+
* the domain(s) for which the rule applies.
|
|
4834
|
+
*/
|
|
4785
4835
|
match: string[];
|
|
4836
|
+
/**
|
|
4837
|
+
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4838
|
+
*/
|
|
4786
4839
|
options: {
|
|
4840
|
+
/**
|
|
4841
|
+
* {@inheritDoc FileDownloadSettings}
|
|
4842
|
+
*
|
|
4843
|
+
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
4844
|
+
*/
|
|
4787
4845
|
downloadSettings?: FileDownloadSettings;
|
|
4846
|
+
/**
|
|
4847
|
+
* {@inheritDoc ApiInjection}
|
|
4848
|
+
*/
|
|
4788
4849
|
api?: ApiInjection;
|
|
4789
4850
|
};
|
|
4790
4851
|
};
|
|
@@ -4823,9 +4884,20 @@ declare type DownloadPreloadOption = {
|
|
|
4823
4884
|
|
|
4824
4885
|
/**
|
|
4825
4886
|
* @interface
|
|
4887
|
+
*
|
|
4888
|
+
* A rule governing domain-conditional download behavior.
|
|
4826
4889
|
*/
|
|
4827
4890
|
declare type DownloadRule = {
|
|
4891
|
+
/**
|
|
4892
|
+
* {@inheritDoc FileDownloadBehaviorNames}
|
|
4893
|
+
*/
|
|
4828
4894
|
behavior: FileDownloadBehaviorNames;
|
|
4895
|
+
/**
|
|
4896
|
+
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4897
|
+
* the domain(s) for which the rule applies.
|
|
4898
|
+
*
|
|
4899
|
+
* @remarks The match is evaluated against the URL of the *download*.
|
|
4900
|
+
*/
|
|
4829
4901
|
match: string[];
|
|
4830
4902
|
};
|
|
4831
4903
|
|
|
@@ -5080,6 +5152,7 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
|
5080
5152
|
|
|
5081
5153
|
declare interface Environment {
|
|
5082
5154
|
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
|
5155
|
+
applyLayoutSnapshot(fin: OpenFin.Fin<OpenFin.EntityType>, layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.InitLayoutOptions): Promise<void>;
|
|
5083
5156
|
createLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.CreateLayoutOptions): Promise<void>;
|
|
5084
5157
|
destroyLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<void>;
|
|
5085
5158
|
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
|
@@ -5121,14 +5194,14 @@ declare type ErrorPlainObject = {
|
|
|
5121
5194
|
|
|
5122
5195
|
/**
|
|
5123
5196
|
* [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
|
|
5124
|
-
* discriminated by {@link
|
|
5197
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Platform` can be found
|
|
5125
5198
|
* under the {@link OpenFin.PlatformEvents} namespace.
|
|
5126
5199
|
*/
|
|
5127
5200
|
declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotAppliedEvent;
|
|
5128
5201
|
|
|
5129
5202
|
/**
|
|
5130
5203
|
* [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
|
|
5131
|
-
* discriminated by {@link
|
|
5204
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `System` can be found
|
|
5132
5205
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
5133
5206
|
* from which they propagate).
|
|
5134
5207
|
*/
|
|
@@ -5136,7 +5209,7 @@ declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>>
|
|
|
5136
5209
|
|
|
5137
5210
|
/**
|
|
5138
5211
|
* [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
|
|
5139
|
-
* discriminated by {@link
|
|
5212
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Channel` can be found
|
|
5140
5213
|
* under the {@link OpenFin.ChannelEvents} namespace.
|
|
5141
5214
|
*/
|
|
5142
5215
|
declare type Event_2 = {
|
|
@@ -5145,7 +5218,7 @@ declare type Event_2 = {
|
|
|
5145
5218
|
|
|
5146
5219
|
/**
|
|
5147
5220
|
* [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
|
|
5148
|
-
* discriminated by {@link
|
|
5221
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Application` can be found
|
|
5149
5222
|
* under the {@link OpenFin.ApplicationEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
5150
5223
|
* from which they propagate).
|
|
5151
5224
|
*/
|
|
@@ -5153,7 +5226,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
5153
5226
|
|
|
5154
5227
|
/**
|
|
5155
5228
|
* [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
|
|
5156
|
-
* discriminated by {@link
|
|
5229
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `View` can be found
|
|
5157
5230
|
* under the {@link OpenFin.ViewEvents} namespace (except for {@link OpenFin.WebContentsEvents | those shared with other WebContents}).
|
|
5158
5231
|
*/
|
|
5159
5232
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
@@ -5170,21 +5243,21 @@ declare type Event_5<Topic extends string> = {
|
|
|
5170
5243
|
|
|
5171
5244
|
/**
|
|
5172
5245
|
* [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
|
|
5173
|
-
* discriminated by {@link
|
|
5246
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Window` can be found
|
|
5174
5247
|
* under the {@link OpenFin.WindowEvents} namespace (except for {@link OpenFin.WebContentsEvents | those shared with other WebContents}).
|
|
5175
5248
|
*/
|
|
5176
5249
|
declare type Event_6 = WindowSourcedEvent | WindowViewEvent | ViewEvents.PropagatedEvent<'window'>;
|
|
5177
5250
|
|
|
5178
5251
|
/**
|
|
5179
5252
|
* [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
|
|
5180
|
-
* discriminated by {@link
|
|
5253
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `ExternalApplication` can be found
|
|
5181
5254
|
* under the {@link OpenFin.ExternalApplicationEvents} namespace.
|
|
5182
5255
|
*/
|
|
5183
5256
|
declare type Event_7 = ConnectedEvent_3 | DisconnectedEvent_2;
|
|
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 _Frame}. Events are
|
|
5187
|
-
* discriminated by {@link
|
|
5260
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Frame` can be found
|
|
5188
5261
|
* under the {@link OpenFin.FrameEvents} namespace.
|
|
5189
5262
|
*/
|
|
5190
5263
|
declare type Event_8 = {
|
|
@@ -5193,13 +5266,10 @@ declare type Event_8 = {
|
|
|
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 {@link GlobalHotkey}. Events are
|
|
5196
|
-
* discriminated by {@link
|
|
5269
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `GlobalHotkey` can be found
|
|
5197
5270
|
* under the {@link OpenFin.GlobalHotkeyEvents} namespace.
|
|
5198
5271
|
*/
|
|
5199
|
-
declare type Event_9 =
|
|
5200
|
-
topic: 'global-hotkey';
|
|
5201
|
-
hotkey: 'string';
|
|
5202
|
-
} & (RegisteredEvent | UnregisteredEvent);
|
|
5272
|
+
declare type Event_9 = RegisteredEvent | UnregisteredEvent;
|
|
5203
5273
|
|
|
5204
5274
|
declare class EventAggregator extends EmitterMap {
|
|
5205
5275
|
dispatchEvent: (message: Message<any>) => boolean;
|
|
@@ -5857,6 +5927,9 @@ declare type FetchManifestPayload = {
|
|
|
5857
5927
|
manifestUrl: string;
|
|
5858
5928
|
};
|
|
5859
5929
|
|
|
5930
|
+
/**
|
|
5931
|
+
* Whether file downloads raise a user prompt.
|
|
5932
|
+
*/
|
|
5860
5933
|
declare type FileDownloadBehaviorNames = 'prompt' | 'no-prompt';
|
|
5861
5934
|
|
|
5862
5935
|
/**
|
|
@@ -5939,9 +6012,14 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
|
5939
6012
|
};
|
|
5940
6013
|
|
|
5941
6014
|
/**
|
|
5942
|
-
*
|
|
6015
|
+
* Domain-conditional rules for file downloads.
|
|
6016
|
+
*
|
|
6017
|
+
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
5943
6018
|
*/
|
|
5944
6019
|
declare type FileDownloadSettings = {
|
|
6020
|
+
/**
|
|
6021
|
+
* {@inheritDoc DownloadRule}
|
|
6022
|
+
*/
|
|
5945
6023
|
rules: DownloadRule[];
|
|
5946
6024
|
};
|
|
5947
6025
|
|
|
@@ -6378,6 +6456,7 @@ declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
|
|
6378
6456
|
|
|
6379
6457
|
declare namespace GlobalHotkeyEvents {
|
|
6380
6458
|
export {
|
|
6459
|
+
BaseEvent_8 as BaseEvent,
|
|
6381
6460
|
RegisteredEvent,
|
|
6382
6461
|
UnregisteredEvent,
|
|
6383
6462
|
Event_9 as Event,
|
|
@@ -6865,7 +6944,7 @@ declare type IdleEvent = IdleStateChangedEvent;
|
|
|
6865
6944
|
* A user returns from idle state when the computer is unlocked or keyboard/mouse activity has resumed.
|
|
6866
6945
|
* @interface
|
|
6867
6946
|
*/
|
|
6868
|
-
declare type IdleStateChangedEvent =
|
|
6947
|
+
declare type IdleStateChangedEvent = BaseEvent_9 & {
|
|
6869
6948
|
type: 'idle-state-changed';
|
|
6870
6949
|
elapsedTime: number;
|
|
6871
6950
|
isIdle: boolean;
|
|
@@ -7004,9 +7083,10 @@ declare type InitPlatformOptions = {
|
|
|
7004
7083
|
};
|
|
7005
7084
|
|
|
7006
7085
|
/**
|
|
7007
|
-
*
|
|
7008
|
-
*
|
|
7009
|
-
*
|
|
7086
|
+
* Injection setting for the `fin` API.
|
|
7087
|
+
*
|
|
7088
|
+
* * 'none': The `fin` API will be not available.
|
|
7089
|
+
* * 'global': The entire `fin` API will be available.
|
|
7010
7090
|
*/
|
|
7011
7091
|
declare type InjectionType = 'none' | 'global';
|
|
7012
7092
|
|
|
@@ -8895,16 +8975,17 @@ declare type LayoutIdentity = Identity_5 & {
|
|
|
8895
8975
|
};
|
|
8896
8976
|
|
|
8897
8977
|
/**
|
|
8898
|
-
* Generated
|
|
8899
|
-
*
|
|
8978
|
+
* Generated after a layout is created and all of its views have either finished or failed navigation
|
|
8979
|
+
* once per layout. Does not emit for layouts created using Layout.replace() API.
|
|
8900
8980
|
* @interface
|
|
8901
8981
|
*/
|
|
8902
8982
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
|
8903
8983
|
type: 'layout-initialized';
|
|
8904
8984
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8905
|
-
ofViews:
|
|
8985
|
+
ofViews: {
|
|
8986
|
+
identity: OpenFin.Identity;
|
|
8906
8987
|
entityType: 'view';
|
|
8907
|
-
}
|
|
8988
|
+
}[];
|
|
8908
8989
|
};
|
|
8909
8990
|
|
|
8910
8991
|
/**
|
|
@@ -9272,9 +9353,11 @@ declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
|
|
9272
9353
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
|
9273
9354
|
type: 'layout-ready';
|
|
9274
9355
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
9275
|
-
views:
|
|
9356
|
+
views: {
|
|
9357
|
+
identity: OpenFin.Identity;
|
|
9276
9358
|
success: boolean;
|
|
9277
|
-
|
|
9359
|
+
error?: Error;
|
|
9360
|
+
}[];
|
|
9278
9361
|
};
|
|
9279
9362
|
|
|
9280
9363
|
/**
|
|
@@ -9650,7 +9733,7 @@ declare type MonitorInfo = {
|
|
|
9650
9733
|
* The available space of a monitor defines a rectangle that is not occupied by the taskbar
|
|
9651
9734
|
* @interface
|
|
9652
9735
|
*/
|
|
9653
|
-
declare type MonitorInfoChangedEvent =
|
|
9736
|
+
declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
9654
9737
|
type: 'monitor-info-changed';
|
|
9655
9738
|
};
|
|
9656
9739
|
|
|
@@ -9707,7 +9790,7 @@ declare type MutableViewOptions = {
|
|
|
9707
9790
|
/**
|
|
9708
9791
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
9709
9792
|
* In the lack of an allowlist, navigation to URLs that match a denylisted pattern would be prohibited.
|
|
9710
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
9793
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
9711
9794
|
*/
|
|
9712
9795
|
contentNavigation: ContentNavigation;
|
|
9713
9796
|
contentRedirect: ContentRedirect;
|
|
@@ -10389,7 +10472,7 @@ declare namespace OpenFin {
|
|
|
10389
10472
|
AppVersionCompleteEvent,
|
|
10390
10473
|
AppVersionRuntimeStatusEvent,
|
|
10391
10474
|
Events,
|
|
10392
|
-
|
|
10475
|
+
BaseEvent_10 as BaseEvent,
|
|
10393
10476
|
WebContentsEvent_2 as WebContentsEvent,
|
|
10394
10477
|
SystemEvent_2 as SystemEvent,
|
|
10395
10478
|
ApplicationEvent_2 as ApplicationEvent,
|
|
@@ -12847,7 +12930,7 @@ declare type RectangleByEdgePositions = {
|
|
|
12847
12930
|
* Generated when a hotkey has been registered with the operating system.
|
|
12848
12931
|
* @interface
|
|
12849
12932
|
*/
|
|
12850
|
-
declare type RegisteredEvent =
|
|
12933
|
+
declare type RegisteredEvent = BaseEvent_8 & {
|
|
12851
12934
|
type: 'registered';
|
|
12852
12935
|
};
|
|
12853
12936
|
|
|
@@ -13269,7 +13352,7 @@ declare type ServiceIdentifier = {
|
|
|
13269
13352
|
* Generated on changes to a user’s local computer session.
|
|
13270
13353
|
* @interface
|
|
13271
13354
|
*/
|
|
13272
|
-
declare type SessionChangedEvent =
|
|
13355
|
+
declare type SessionChangedEvent = BaseEvent_9 & {
|
|
13273
13356
|
type: 'session-changed';
|
|
13274
13357
|
reason: 'lock' | 'unlock' | 'remote-connect' | 'remote-disconnect' | 'unknown';
|
|
13275
13358
|
};
|
|
@@ -15203,7 +15286,7 @@ declare namespace SystemEvents {
|
|
|
15203
15286
|
export {
|
|
15204
15287
|
NotRequested,
|
|
15205
15288
|
ExcludeRequested,
|
|
15206
|
-
|
|
15289
|
+
BaseEvent_9 as BaseEvent,
|
|
15207
15290
|
IdleStateChangedEvent,
|
|
15208
15291
|
IdleEvent,
|
|
15209
15292
|
MonitorInfoChangedEvent,
|
|
@@ -15681,7 +15764,7 @@ declare interface TypedEventEmitter<Event extends {
|
|
|
15681
15764
|
* Generated when a hotkey has been unregistered with the operating system.
|
|
15682
15765
|
* @interface
|
|
15683
15766
|
*/
|
|
15684
|
-
declare type UnregisteredEvent =
|
|
15767
|
+
declare type UnregisteredEvent = BaseEvent_8 & {
|
|
15685
15768
|
type: 'unregistered';
|
|
15686
15769
|
};
|
|
15687
15770
|
|