@openfin/core 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/mock-alpha.d.ts +126 -43
- package/out/mock-beta.d.ts +126 -43
- package/out/mock-public.d.ts +126 -43
- package/out/mock.d.ts +127 -44
- package/out/mock.js +17 -15
- package/package.json +1 -1
package/out/mock-alpha.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_2.Fin<OpenFin_2.EntityType>, wire: Transport, options: OpenFin_2.InitLayoutOptions): Promise<OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>>;
|
5155
|
+
applyLayoutSnapshot(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, options: OpenFin_2.InitLayoutOptions): Promise<void>;
|
5083
5156
|
createLayout(layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, options: OpenFin_2.CreateLayoutOptions): Promise<void>;
|
5084
5157
|
destroyLayout(layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, layoutIdentity: OpenFin_2.LayoutIdentity): Promise<void>;
|
5085
5158
|
resolveLayout(layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, layoutIdentity: OpenFin_2.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;
|
@@ -5521,6 +5591,9 @@ declare type FetchManifestPayload = {
|
|
5521
5591
|
manifestUrl: string;
|
5522
5592
|
};
|
5523
5593
|
|
5594
|
+
/**
|
5595
|
+
* Whether file downloads raise a user prompt.
|
5596
|
+
*/
|
5524
5597
|
declare type FileDownloadBehaviorNames = 'prompt' | 'no-prompt';
|
5525
5598
|
|
5526
5599
|
/**
|
@@ -5603,9 +5676,14 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
5603
5676
|
};
|
5604
5677
|
|
5605
5678
|
/**
|
5606
|
-
*
|
5679
|
+
* Domain-conditional rules for file downloads.
|
5680
|
+
*
|
5681
|
+
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
5607
5682
|
*/
|
5608
5683
|
declare type FileDownloadSettings = {
|
5684
|
+
/**
|
5685
|
+
* {@inheritDoc DownloadRule}
|
5686
|
+
*/
|
5609
5687
|
rules: DownloadRule[];
|
5610
5688
|
};
|
5611
5689
|
|
@@ -6044,6 +6122,7 @@ declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
|
6044
6122
|
|
6045
6123
|
declare namespace GlobalHotkeyEvents {
|
6046
6124
|
export {
|
6125
|
+
BaseEvent_8 as BaseEvent,
|
6047
6126
|
RegisteredEvent,
|
6048
6127
|
UnregisteredEvent,
|
6049
6128
|
Event_9 as Event,
|
@@ -6531,7 +6610,7 @@ declare type IdleEvent = IdleStateChangedEvent;
|
|
6531
6610
|
* A user returns from idle state when the computer is unlocked or keyboard/mouse activity has resumed.
|
6532
6611
|
* @interface
|
6533
6612
|
*/
|
6534
|
-
declare type IdleStateChangedEvent =
|
6613
|
+
declare type IdleStateChangedEvent = BaseEvent_9 & {
|
6535
6614
|
type: 'idle-state-changed';
|
6536
6615
|
elapsedTime: number;
|
6537
6616
|
isIdle: boolean;
|
@@ -6670,9 +6749,10 @@ declare type InitPlatformOptions = {
|
|
6670
6749
|
};
|
6671
6750
|
|
6672
6751
|
/**
|
6673
|
-
*
|
6674
|
-
*
|
6675
|
-
*
|
6752
|
+
* Injection setting for the `fin` API.
|
6753
|
+
*
|
6754
|
+
* * 'none': The `fin` API will be not available.
|
6755
|
+
* * 'global': The entire `fin` API will be available.
|
6676
6756
|
*/
|
6677
6757
|
declare type InjectionType = 'none' | 'global';
|
6678
6758
|
|
@@ -8561,16 +8641,17 @@ declare type LayoutIdentity = Identity_5 & {
|
|
8561
8641
|
};
|
8562
8642
|
|
8563
8643
|
/**
|
8564
|
-
* Generated
|
8565
|
-
*
|
8644
|
+
* Generated after a layout is created and all of its views have either finished or failed navigation
|
8645
|
+
* once per layout. Does not emit for layouts created using Layout.replace() API.
|
8566
8646
|
* @interface
|
8567
8647
|
*/
|
8568
8648
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
8569
8649
|
type: 'layout-initialized';
|
8570
8650
|
layoutIdentity: OpenFin_2.LayoutIdentity;
|
8571
|
-
ofViews:
|
8651
|
+
ofViews: {
|
8652
|
+
identity: OpenFin_2.Identity;
|
8572
8653
|
entityType: 'view';
|
8573
|
-
}
|
8654
|
+
}[];
|
8574
8655
|
};
|
8575
8656
|
|
8576
8657
|
/**
|
@@ -8938,9 +9019,11 @@ declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
|
8938
9019
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
8939
9020
|
type: 'layout-ready';
|
8940
9021
|
layoutIdentity: OpenFin_2.LayoutIdentity;
|
8941
|
-
views:
|
9022
|
+
views: {
|
9023
|
+
identity: OpenFin_2.Identity;
|
8942
9024
|
success: boolean;
|
8943
|
-
|
9025
|
+
error?: Error;
|
9026
|
+
}[];
|
8944
9027
|
};
|
8945
9028
|
|
8946
9029
|
/**
|
@@ -9316,7 +9399,7 @@ declare type MonitorInfo = {
|
|
9316
9399
|
* The available space of a monitor defines a rectangle that is not occupied by the taskbar
|
9317
9400
|
* @interface
|
9318
9401
|
*/
|
9319
|
-
declare type MonitorInfoChangedEvent =
|
9402
|
+
declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
9320
9403
|
type: 'monitor-info-changed';
|
9321
9404
|
};
|
9322
9405
|
|
@@ -9373,7 +9456,7 @@ declare type MutableViewOptions = {
|
|
9373
9456
|
/**
|
9374
9457
|
* Restrict navigation to URLs that match an allowed pattern.
|
9375
9458
|
* In the lack of an allowlist, navigation to URLs that match a denylisted pattern would be prohibited.
|
9376
|
-
* See [here](https://developer.chrome.com/extensions/
|
9459
|
+
* See [here](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) for more details.
|
9377
9460
|
*/
|
9378
9461
|
contentNavigation: ContentNavigation;
|
9379
9462
|
contentRedirect: ContentRedirect;
|
@@ -10055,7 +10138,7 @@ declare namespace OpenFin_2 {
|
|
10055
10138
|
AppVersionCompleteEvent,
|
10056
10139
|
AppVersionRuntimeStatusEvent,
|
10057
10140
|
Events,
|
10058
|
-
|
10141
|
+
BaseEvent_10 as BaseEvent,
|
10059
10142
|
WebContentsEvent_2 as WebContentsEvent,
|
10060
10143
|
SystemEvent_2 as SystemEvent,
|
10061
10144
|
ApplicationEvent_2 as ApplicationEvent,
|
@@ -12514,7 +12597,7 @@ declare type RectangleByEdgePositions = {
|
|
12514
12597
|
* Generated when a hotkey has been registered with the operating system.
|
12515
12598
|
* @interface
|
12516
12599
|
*/
|
12517
|
-
declare type RegisteredEvent =
|
12600
|
+
declare type RegisteredEvent = BaseEvent_8 & {
|
12518
12601
|
type: 'registered';
|
12519
12602
|
};
|
12520
12603
|
|
@@ -12936,7 +13019,7 @@ declare type ServiceIdentifier = {
|
|
12936
13019
|
* Generated on changes to a user’s local computer session.
|
12937
13020
|
* @interface
|
12938
13021
|
*/
|
12939
|
-
declare type SessionChangedEvent =
|
13022
|
+
declare type SessionChangedEvent = BaseEvent_9 & {
|
12940
13023
|
type: 'session-changed';
|
12941
13024
|
reason: 'lock' | 'unlock' | 'remote-connect' | 'remote-disconnect' | 'unknown';
|
12942
13025
|
};
|
@@ -14870,7 +14953,7 @@ declare namespace SystemEvents {
|
|
14870
14953
|
export {
|
14871
14954
|
NotRequested,
|
14872
14955
|
ExcludeRequested,
|
14873
|
-
|
14956
|
+
BaseEvent_9 as BaseEvent,
|
14874
14957
|
IdleStateChangedEvent,
|
14875
14958
|
IdleEvent,
|
14876
14959
|
MonitorInfoChangedEvent,
|
@@ -15348,7 +15431,7 @@ declare interface TypedEventEmitter<Event extends {
|
|
15348
15431
|
* Generated when a hotkey has been unregistered with the operating system.
|
15349
15432
|
* @interface
|
15350
15433
|
*/
|
15351
|
-
declare type UnregisteredEvent =
|
15434
|
+
declare type UnregisteredEvent = BaseEvent_8 & {
|
15352
15435
|
type: 'unregistered';
|
15353
15436
|
};
|
15354
15437
|
|