@openfin/remote-adapter 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/remote-adapter-alpha.d.ts +126 -43
- package/out/remote-adapter-beta.d.ts +126 -43
- package/out/remote-adapter-public.d.ts +126 -43
- package/out/remote-adapter.d.ts +127 -44
- package/out/remote-adapter.js +6 -11
- package/package.json +1 -1
|
@@ -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 {
|
|
@@ -3632,13 +3670,13 @@ declare type ConstWindowOptions = {
|
|
|
3632
3670
|
/**
|
|
3633
3671
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
3634
3672
|
* In the lack of an allowlist, navigation to URLs that match a denied pattern would be prohibited.
|
|
3635
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
3673
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
3636
3674
|
*/
|
|
3637
3675
|
contentNavigation: ContentNavigation;
|
|
3638
3676
|
/**
|
|
3639
3677
|
* Restrict redirects to URLs that match an allowed pattern.
|
|
3640
3678
|
* In the lack of an allowlist, redirects to URLs that match a denied pattern would be prohibited.
|
|
3641
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
3679
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
3642
3680
|
*/
|
|
3643
3681
|
contentRedirect: Partial<ContentRedirect>;
|
|
3644
3682
|
/**
|
|
@@ -4183,7 +4221,7 @@ declare interface ContentItem extends EventEmitter_2 {
|
|
|
4183
4221
|
/**
|
|
4184
4222
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
4185
4223
|
* In the lack of an allowlist, navigation to URLs that match a denied pattern would be prohibited.
|
|
4186
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
4224
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
4187
4225
|
*
|
|
4188
4226
|
* @interface
|
|
4189
4227
|
*/
|
|
@@ -4192,7 +4230,7 @@ declare type ContentNavigation = NavigationRules;
|
|
|
4192
4230
|
/**
|
|
4193
4231
|
* Restrict redirects to URLs that match an allowed pattern.
|
|
4194
4232
|
* In the lack of an allowlist, redirects to URLs that match a denied pattern would be prohibited.
|
|
4195
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
4233
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
4196
4234
|
*
|
|
4197
4235
|
* @interface
|
|
4198
4236
|
*/
|
|
@@ -4594,7 +4632,7 @@ declare interface DesktopAgent_2 {
|
|
|
4594
4632
|
* Generated when the desktop icon is clicked while it's already running.
|
|
4595
4633
|
* @interface
|
|
4596
4634
|
*/
|
|
4597
|
-
declare type DesktopIconClickedEvent =
|
|
4635
|
+
declare type DesktopIconClickedEvent = BaseEvent_9 & {
|
|
4598
4636
|
type: 'desktop-icon-clicked';
|
|
4599
4637
|
};
|
|
4600
4638
|
|
|
@@ -4796,19 +4834,42 @@ declare type DisplayMetadata_3 = {
|
|
|
4796
4834
|
|
|
4797
4835
|
/**
|
|
4798
4836
|
* @interface
|
|
4799
|
-
*
|
|
4837
|
+
* Defines application settings that vary by the domain of the current context.
|
|
4838
|
+
*
|
|
4839
|
+
* @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
|
|
4840
|
+
* domain should be represented with a single rule.
|
|
4800
4841
|
*/
|
|
4801
4842
|
declare type DomainSettings = {
|
|
4843
|
+
/**
|
|
4844
|
+
* {@inheritDoc DomainSettingsRule}
|
|
4845
|
+
*/
|
|
4802
4846
|
rules: DomainSettingsRule[];
|
|
4803
4847
|
};
|
|
4804
4848
|
|
|
4805
4849
|
/**
|
|
4806
4850
|
* @interface
|
|
4851
|
+
*
|
|
4852
|
+
* Defines domain-conditional settings for an OpenFin application.
|
|
4807
4853
|
*/
|
|
4808
4854
|
declare type DomainSettingsRule = {
|
|
4855
|
+
/**
|
|
4856
|
+
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4857
|
+
* the domain(s) for which the rule applies.
|
|
4858
|
+
*/
|
|
4809
4859
|
match: string[];
|
|
4860
|
+
/**
|
|
4861
|
+
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4862
|
+
*/
|
|
4810
4863
|
options: {
|
|
4864
|
+
/**
|
|
4865
|
+
* {@inheritDoc FileDownloadSettings}
|
|
4866
|
+
*
|
|
4867
|
+
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
4868
|
+
*/
|
|
4811
4869
|
downloadSettings?: FileDownloadSettings;
|
|
4870
|
+
/**
|
|
4871
|
+
* {@inheritDoc ApiInjection}
|
|
4872
|
+
*/
|
|
4812
4873
|
api?: ApiInjection;
|
|
4813
4874
|
};
|
|
4814
4875
|
};
|
|
@@ -4847,9 +4908,20 @@ declare type DownloadPreloadOption = {
|
|
|
4847
4908
|
|
|
4848
4909
|
/**
|
|
4849
4910
|
* @interface
|
|
4911
|
+
*
|
|
4912
|
+
* A rule governing domain-conditional download behavior.
|
|
4850
4913
|
*/
|
|
4851
4914
|
declare type DownloadRule = {
|
|
4915
|
+
/**
|
|
4916
|
+
* {@inheritDoc FileDownloadBehaviorNames}
|
|
4917
|
+
*/
|
|
4852
4918
|
behavior: FileDownloadBehaviorNames;
|
|
4919
|
+
/**
|
|
4920
|
+
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4921
|
+
* the domain(s) for which the rule applies.
|
|
4922
|
+
*
|
|
4923
|
+
* @remarks The match is evaluated against the URL of the *download*.
|
|
4924
|
+
*/
|
|
4853
4925
|
match: string[];
|
|
4854
4926
|
};
|
|
4855
4927
|
|
|
@@ -5104,6 +5176,7 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
|
5104
5176
|
|
|
5105
5177
|
declare interface Environment {
|
|
5106
5178
|
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
|
5179
|
+
applyLayoutSnapshot(fin: OpenFin.Fin<OpenFin.EntityType>, layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.InitLayoutOptions): Promise<void>;
|
|
5107
5180
|
createLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.CreateLayoutOptions): Promise<void>;
|
|
5108
5181
|
destroyLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<void>;
|
|
5109
5182
|
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
|
@@ -5145,14 +5218,14 @@ declare type ErrorPlainObject = {
|
|
|
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 a {@link Platform}. Events are
|
|
5148
|
-
* discriminated by {@link
|
|
5221
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Platform` can be found
|
|
5149
5222
|
* under the {@link OpenFin.PlatformEvents} namespace.
|
|
5150
5223
|
*/
|
|
5151
5224
|
declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotAppliedEvent;
|
|
5152
5225
|
|
|
5153
5226
|
/**
|
|
5154
5227
|
* [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
|
|
5155
|
-
* discriminated by {@link
|
|
5228
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `System` can be found
|
|
5156
5229
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
5157
5230
|
* from which they propagate).
|
|
5158
5231
|
*/
|
|
@@ -5160,7 +5233,7 @@ declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>>
|
|
|
5160
5233
|
|
|
5161
5234
|
/**
|
|
5162
5235
|
* [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
|
|
5163
|
-
* discriminated by {@link
|
|
5236
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Channel` can be found
|
|
5164
5237
|
* under the {@link OpenFin.ChannelEvents} namespace.
|
|
5165
5238
|
*/
|
|
5166
5239
|
declare type Event_2 = {
|
|
@@ -5169,7 +5242,7 @@ declare type Event_2 = {
|
|
|
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 an {@link Application}. Events are
|
|
5172
|
-
* discriminated by {@link
|
|
5245
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Application` can be found
|
|
5173
5246
|
* under the {@link OpenFin.ApplicationEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
5174
5247
|
* from which they propagate).
|
|
5175
5248
|
*/
|
|
@@ -5177,7 +5250,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
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 a {@link View}. Events are
|
|
5180
|
-
* discriminated by {@link
|
|
5253
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `View` can be found
|
|
5181
5254
|
* under the {@link OpenFin.ViewEvents} namespace (except for {@link OpenFin.WebContentsEvents | those shared with other WebContents}).
|
|
5182
5255
|
*/
|
|
5183
5256
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
@@ -5194,21 +5267,21 @@ declare type Event_5<Topic extends string> = {
|
|
|
5194
5267
|
|
|
5195
5268
|
/**
|
|
5196
5269
|
* [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
|
|
5197
|
-
* discriminated by {@link
|
|
5270
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Window` can be found
|
|
5198
5271
|
* under the {@link OpenFin.WindowEvents} namespace (except for {@link OpenFin.WebContentsEvents | those shared with other WebContents}).
|
|
5199
5272
|
*/
|
|
5200
5273
|
declare type Event_6 = WindowSourcedEvent | WindowViewEvent | ViewEvents.PropagatedEvent<'window'>;
|
|
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 an {@link ExternalApplication}. Events are
|
|
5204
|
-
* discriminated by {@link
|
|
5277
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `ExternalApplication` can be found
|
|
5205
5278
|
* under the {@link OpenFin.ExternalApplicationEvents} namespace.
|
|
5206
5279
|
*/
|
|
5207
5280
|
declare type Event_7 = ConnectedEvent_3 | DisconnectedEvent_2;
|
|
5208
5281
|
|
|
5209
5282
|
/**
|
|
5210
5283
|
* [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
|
|
5211
|
-
* discriminated by {@link
|
|
5284
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `Frame` can be found
|
|
5212
5285
|
* under the {@link OpenFin.FrameEvents} namespace.
|
|
5213
5286
|
*/
|
|
5214
5287
|
declare type Event_8 = {
|
|
@@ -5217,13 +5290,10 @@ declare type Event_8 = {
|
|
|
5217
5290
|
|
|
5218
5291
|
/**
|
|
5219
5292
|
* [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
|
|
5220
|
-
* discriminated by {@link
|
|
5293
|
+
* discriminated by {@link BaseEvents.BaseEvent.type | their type}. Event payloads unique to `GlobalHotkey` can be found
|
|
5221
5294
|
* under the {@link OpenFin.GlobalHotkeyEvents} namespace.
|
|
5222
5295
|
*/
|
|
5223
|
-
declare type Event_9 =
|
|
5224
|
-
topic: 'global-hotkey';
|
|
5225
|
-
hotkey: 'string';
|
|
5226
|
-
} & (RegisteredEvent | UnregisteredEvent);
|
|
5296
|
+
declare type Event_9 = RegisteredEvent | UnregisteredEvent;
|
|
5227
5297
|
|
|
5228
5298
|
declare class EventAggregator extends EmitterMap {
|
|
5229
5299
|
dispatchEvent: (message: Message<any>) => boolean;
|
|
@@ -5545,6 +5615,9 @@ declare type FetchManifestPayload = {
|
|
|
5545
5615
|
manifestUrl: string;
|
|
5546
5616
|
};
|
|
5547
5617
|
|
|
5618
|
+
/**
|
|
5619
|
+
* Whether file downloads raise a user prompt.
|
|
5620
|
+
*/
|
|
5548
5621
|
declare type FileDownloadBehaviorNames = 'prompt' | 'no-prompt';
|
|
5549
5622
|
|
|
5550
5623
|
/**
|
|
@@ -5627,9 +5700,14 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
|
5627
5700
|
};
|
|
5628
5701
|
|
|
5629
5702
|
/**
|
|
5630
|
-
*
|
|
5703
|
+
* Domain-conditional rules for file downloads.
|
|
5704
|
+
*
|
|
5705
|
+
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
5631
5706
|
*/
|
|
5632
5707
|
declare type FileDownloadSettings = {
|
|
5708
|
+
/**
|
|
5709
|
+
* {@inheritDoc DownloadRule}
|
|
5710
|
+
*/
|
|
5633
5711
|
rules: DownloadRule[];
|
|
5634
5712
|
};
|
|
5635
5713
|
|
|
@@ -6066,6 +6144,7 @@ declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
|
|
6066
6144
|
|
|
6067
6145
|
declare namespace GlobalHotkeyEvents {
|
|
6068
6146
|
export {
|
|
6147
|
+
BaseEvent_8 as BaseEvent,
|
|
6069
6148
|
RegisteredEvent,
|
|
6070
6149
|
UnregisteredEvent,
|
|
6071
6150
|
Event_9 as Event,
|
|
@@ -6553,7 +6632,7 @@ declare type IdleEvent = IdleStateChangedEvent;
|
|
|
6553
6632
|
* A user returns from idle state when the computer is unlocked or keyboard/mouse activity has resumed.
|
|
6554
6633
|
* @interface
|
|
6555
6634
|
*/
|
|
6556
|
-
declare type IdleStateChangedEvent =
|
|
6635
|
+
declare type IdleStateChangedEvent = BaseEvent_9 & {
|
|
6557
6636
|
type: 'idle-state-changed';
|
|
6558
6637
|
elapsedTime: number;
|
|
6559
6638
|
isIdle: boolean;
|
|
@@ -6713,9 +6792,10 @@ declare type InitPlatformOptions = {
|
|
|
6713
6792
|
};
|
|
6714
6793
|
|
|
6715
6794
|
/**
|
|
6716
|
-
*
|
|
6717
|
-
*
|
|
6718
|
-
*
|
|
6795
|
+
* Injection setting for the `fin` API.
|
|
6796
|
+
*
|
|
6797
|
+
* * 'none': The `fin` API will be not available.
|
|
6798
|
+
* * 'global': The entire `fin` API will be available.
|
|
6719
6799
|
*/
|
|
6720
6800
|
declare type InjectionType = 'none' | 'global';
|
|
6721
6801
|
|
|
@@ -8604,16 +8684,17 @@ declare type LayoutIdentity = Identity_5 & {
|
|
|
8604
8684
|
};
|
|
8605
8685
|
|
|
8606
8686
|
/**
|
|
8607
|
-
* Generated
|
|
8608
|
-
*
|
|
8687
|
+
* Generated after a layout is created and all of its views have either finished or failed navigation
|
|
8688
|
+
* once per layout. Does not emit for layouts created using Layout.replace() API.
|
|
8609
8689
|
* @interface
|
|
8610
8690
|
*/
|
|
8611
8691
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
|
8612
8692
|
type: 'layout-initialized';
|
|
8613
8693
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8614
|
-
ofViews:
|
|
8694
|
+
ofViews: {
|
|
8695
|
+
identity: OpenFin.Identity;
|
|
8615
8696
|
entityType: 'view';
|
|
8616
|
-
}
|
|
8697
|
+
}[];
|
|
8617
8698
|
};
|
|
8618
8699
|
|
|
8619
8700
|
/**
|
|
@@ -8981,9 +9062,11 @@ declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
|
|
8981
9062
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
|
8982
9063
|
type: 'layout-ready';
|
|
8983
9064
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8984
|
-
views:
|
|
9065
|
+
views: {
|
|
9066
|
+
identity: OpenFin.Identity;
|
|
8985
9067
|
success: boolean;
|
|
8986
|
-
|
|
9068
|
+
error?: Error;
|
|
9069
|
+
}[];
|
|
8987
9070
|
};
|
|
8988
9071
|
|
|
8989
9072
|
/**
|
|
@@ -9359,7 +9442,7 @@ declare type MonitorInfo = {
|
|
|
9359
9442
|
* The available space of a monitor defines a rectangle that is not occupied by the taskbar
|
|
9360
9443
|
* @interface
|
|
9361
9444
|
*/
|
|
9362
|
-
declare type MonitorInfoChangedEvent =
|
|
9445
|
+
declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
9363
9446
|
type: 'monitor-info-changed';
|
|
9364
9447
|
};
|
|
9365
9448
|
|
|
@@ -9416,7 +9499,7 @@ declare type MutableViewOptions = {
|
|
|
9416
9499
|
/**
|
|
9417
9500
|
* Restrict navigation to URLs that match an allowed pattern.
|
|
9418
9501
|
* In the lack of an allowlist, navigation to URLs that match a denylisted pattern would be prohibited.
|
|
9419
|
-
* See [here](https://developer.chrome.com/extensions/
|
|
9502
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
|
9420
9503
|
*/
|
|
9421
9504
|
contentNavigation: ContentNavigation;
|
|
9422
9505
|
contentRedirect: ContentRedirect;
|
|
@@ -10098,7 +10181,7 @@ declare namespace OpenFin {
|
|
|
10098
10181
|
AppVersionCompleteEvent,
|
|
10099
10182
|
AppVersionRuntimeStatusEvent,
|
|
10100
10183
|
Events,
|
|
10101
|
-
|
|
10184
|
+
BaseEvent_10 as BaseEvent,
|
|
10102
10185
|
WebContentsEvent_2 as WebContentsEvent,
|
|
10103
10186
|
SystemEvent_2 as SystemEvent,
|
|
10104
10187
|
ApplicationEvent_2 as ApplicationEvent,
|
|
@@ -12556,7 +12639,7 @@ declare type RectangleByEdgePositions = {
|
|
|
12556
12639
|
* Generated when a hotkey has been registered with the operating system.
|
|
12557
12640
|
* @interface
|
|
12558
12641
|
*/
|
|
12559
|
-
declare type RegisteredEvent =
|
|
12642
|
+
declare type RegisteredEvent = BaseEvent_8 & {
|
|
12560
12643
|
type: 'registered';
|
|
12561
12644
|
};
|
|
12562
12645
|
|
|
@@ -12978,7 +13061,7 @@ declare type ServiceIdentifier = {
|
|
|
12978
13061
|
* Generated on changes to a user’s local computer session.
|
|
12979
13062
|
* @interface
|
|
12980
13063
|
*/
|
|
12981
|
-
declare type SessionChangedEvent =
|
|
13064
|
+
declare type SessionChangedEvent = BaseEvent_9 & {
|
|
12982
13065
|
type: 'session-changed';
|
|
12983
13066
|
reason: 'lock' | 'unlock' | 'remote-connect' | 'remote-disconnect' | 'unknown';
|
|
12984
13067
|
};
|
|
@@ -14912,7 +14995,7 @@ declare namespace SystemEvents {
|
|
|
14912
14995
|
export {
|
|
14913
14996
|
NotRequested,
|
|
14914
14997
|
ExcludeRequested,
|
|
14915
|
-
|
|
14998
|
+
BaseEvent_9 as BaseEvent,
|
|
14916
14999
|
IdleStateChangedEvent,
|
|
14917
15000
|
IdleEvent,
|
|
14918
15001
|
MonitorInfoChangedEvent,
|
|
@@ -15390,7 +15473,7 @@ declare interface TypedEventEmitter<Event extends {
|
|
|
15390
15473
|
* Generated when a hotkey has been unregistered with the operating system.
|
|
15391
15474
|
* @interface
|
|
15392
15475
|
*/
|
|
15393
|
-
declare type UnregisteredEvent =
|
|
15476
|
+
declare type UnregisteredEvent = BaseEvent_8 & {
|
|
15394
15477
|
type: 'unregistered';
|
|
15395
15478
|
};
|
|
15396
15479
|
|