@openfin/fdc3-api 39.82.12 → 39.83.1
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 +160 -55
- package/out/fdc3-api-beta.d.ts +160 -55
- package/out/fdc3-api-public.d.ts +160 -55
- package/out/fdc3-api.d.ts +160 -55
- package/package.json +1 -1
package/out/fdc3-api.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ declare type ApiInjection = DomainApiSettings;
|
|
|
99
99
|
* Generated when a new Platform's API becomes responsive.
|
|
100
100
|
* @interface
|
|
101
101
|
*/
|
|
102
|
-
declare type ApiReadyEvent = BaseEvent & {
|
|
102
|
+
declare type ApiReadyEvent = BaseEvents.BaseEvent & {
|
|
103
103
|
topic: 'application';
|
|
104
104
|
type: 'platform-api-ready';
|
|
105
105
|
};
|
|
@@ -917,7 +917,7 @@ declare namespace ApplicationEvents {
|
|
|
917
917
|
PropagatedApplicationEvent,
|
|
918
918
|
PropagatedEventType_3 as PropagatedEventType,
|
|
919
919
|
PropagatedApplicationEventType,
|
|
920
|
-
|
|
920
|
+
Payload_5 as Payload,
|
|
921
921
|
ByType_3 as ByType
|
|
922
922
|
}
|
|
923
923
|
}
|
|
@@ -1736,7 +1736,7 @@ declare type BaseEvent_10 = Events.BaseEvents.BaseEvent;
|
|
|
1736
1736
|
* A base Channel event.
|
|
1737
1737
|
* @interface
|
|
1738
1738
|
*/
|
|
1739
|
-
declare type BaseEvent_2 = NamedEvent & {
|
|
1739
|
+
declare type BaseEvent_2 = BaseEvents.NamedEvent & {
|
|
1740
1740
|
channelName: string;
|
|
1741
1741
|
channelId: string;
|
|
1742
1742
|
};
|
|
@@ -1806,6 +1806,7 @@ declare namespace BaseEvents {
|
|
|
1806
1806
|
NotCloseRequested,
|
|
1807
1807
|
PropagatedEventType,
|
|
1808
1808
|
PropagatedEvent,
|
|
1809
|
+
Payload_2 as Payload,
|
|
1809
1810
|
EventHandler,
|
|
1810
1811
|
BaseEvent,
|
|
1811
1812
|
IdentityEvent,
|
|
@@ -1946,7 +1947,7 @@ declare type BrowserContentCreationRule = BaseContentCreationRule & {
|
|
|
1946
1947
|
*
|
|
1947
1948
|
* @typeParam Type String key specifying the event to extract
|
|
1948
1949
|
*/
|
|
1949
|
-
declare type ByType<Type extends EventType> =
|
|
1950
|
+
declare type ByType<Type extends EventType> = Payload_3<Type>;
|
|
1950
1951
|
|
|
1951
1952
|
/**
|
|
1952
1953
|
* Extracts a single event type matching the given key from the Window {@link Event} union.
|
|
@@ -1955,7 +1956,7 @@ declare type ByType<Type extends EventType> = Payload_2<Type>;
|
|
|
1955
1956
|
*
|
|
1956
1957
|
* @typeParam Type String key specifying the event to extract
|
|
1957
1958
|
*/
|
|
1958
|
-
declare type ByType_2<Type extends EventType_2> =
|
|
1959
|
+
declare type ByType_2<Type extends EventType_2> = Payload_4<Type>;
|
|
1959
1960
|
|
|
1960
1961
|
/**
|
|
1961
1962
|
* Extracts a single event type matching the given key from the Application {@link Event} union.
|
|
@@ -1964,7 +1965,7 @@ declare type ByType_2<Type extends EventType_2> = Payload_3<Type>;
|
|
|
1964
1965
|
*
|
|
1965
1966
|
* @typeParam Type String key specifying the event to extract
|
|
1966
1967
|
*/
|
|
1967
|
-
declare type ByType_3<Type extends EventType_3> =
|
|
1968
|
+
declare type ByType_3<Type extends EventType_3> = Payload_5<Type>;
|
|
1968
1969
|
|
|
1969
1970
|
/**
|
|
1970
1971
|
* Extracts a single event type matching the given key from the ExternalApplication {@link Event} union.
|
|
@@ -1973,7 +1974,7 @@ declare type ByType_3<Type extends EventType_3> = Payload_4<Type>;
|
|
|
1973
1974
|
*
|
|
1974
1975
|
* @typeParam Type String key specifying the event to extract
|
|
1975
1976
|
*/
|
|
1976
|
-
declare type ByType_4<Type extends EventType_4> =
|
|
1977
|
+
declare type ByType_4<Type extends EventType_4> = Payload_6<Type>;
|
|
1977
1978
|
|
|
1978
1979
|
/**
|
|
1979
1980
|
* Extracts a single event type matching the given key from the Frame {@link Event} union.
|
|
@@ -1982,7 +1983,7 @@ declare type ByType_4<Type extends EventType_4> = Payload_5<Type>;
|
|
|
1982
1983
|
*
|
|
1983
1984
|
* @typeParam Type String key specifying the event to extract
|
|
1984
1985
|
*/
|
|
1985
|
-
declare type ByType_5<Type extends EventType_5> =
|
|
1986
|
+
declare type ByType_5<Type extends EventType_5> = Payload_7<Type>;
|
|
1986
1987
|
|
|
1987
1988
|
/**
|
|
1988
1989
|
* Extracts a single event type matching the given key from the GlobalHotkey {@link Event} union.
|
|
@@ -1991,7 +1992,7 @@ declare type ByType_5<Type extends EventType_5> = Payload_6<Type>;
|
|
|
1991
1992
|
*
|
|
1992
1993
|
* @typeParam Type String key specifying the event to extract
|
|
1993
1994
|
*/
|
|
1994
|
-
declare type ByType_6<Type extends EventType_6> =
|
|
1995
|
+
declare type ByType_6<Type extends EventType_6> = Payload_8<Type>;
|
|
1995
1996
|
|
|
1996
1997
|
/**
|
|
1997
1998
|
* Extracts a single event type matching the given key from the Platform {@link Event} union.
|
|
@@ -2000,7 +2001,7 @@ declare type ByType_6<Type extends EventType_6> = Payload_7<Type>;
|
|
|
2000
2001
|
*
|
|
2001
2002
|
* @typeParam Type String key specifying the event to extract
|
|
2002
2003
|
*/
|
|
2003
|
-
declare type ByType_7<Type extends EventType_7> =
|
|
2004
|
+
declare type ByType_7<Type extends EventType_7> = Payload_9<Type>;
|
|
2004
2005
|
|
|
2005
2006
|
/**
|
|
2006
2007
|
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
@@ -2009,7 +2010,7 @@ declare type ByType_7<Type extends EventType_7> = Payload_8<Type>;
|
|
|
2009
2010
|
*
|
|
2010
2011
|
* @typeParam Type String key specifying the event to extract
|
|
2011
2012
|
*/
|
|
2012
|
-
declare type ByType_8<Type extends EventType_8> =
|
|
2013
|
+
declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
|
|
2013
2014
|
|
|
2014
2015
|
/**
|
|
2015
2016
|
* Extracts a single event type matching the given key from the Layout DOM {@link Event} union.
|
|
@@ -2018,7 +2019,7 @@ declare type ByType_8<Type extends EventType_8> = Payload_9<Type>;
|
|
|
2018
2019
|
*
|
|
2019
2020
|
* @typeParam Type String key specifying the event to extract
|
|
2020
2021
|
*/
|
|
2021
|
-
declare type ByType_9<Type extends EventType_9> =
|
|
2022
|
+
declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
|
|
2022
2023
|
|
|
2023
2024
|
/**
|
|
2024
2025
|
* Configuration for page capture.
|
|
@@ -3757,6 +3758,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3757
3758
|
|
|
3758
3759
|
/**
|
|
3759
3760
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3761
|
+
* @interface
|
|
3760
3762
|
*/
|
|
3761
3763
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3762
3764
|
type: 'content-blocked';
|
|
@@ -4413,6 +4415,10 @@ declare type DomainSettingsRule = {
|
|
|
4413
4415
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4414
4416
|
*/
|
|
4415
4417
|
options: PerDomainSettings;
|
|
4418
|
+
/**
|
|
4419
|
+
* Options to use when comparing URIs to the `match` patterns.
|
|
4420
|
+
*/
|
|
4421
|
+
matchOptions?: RuleMatchOptions;
|
|
4416
4422
|
};
|
|
4417
4423
|
|
|
4418
4424
|
/**
|
|
@@ -4862,9 +4868,7 @@ declare class EventAggregator extends EmitterMap {
|
|
|
4862
4868
|
* @remarks Selects the correct type for the event
|
|
4863
4869
|
* payload from the provided union based on the provided string literal type.
|
|
4864
4870
|
*/
|
|
4865
|
-
declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload:
|
|
4866
|
-
type: EventType;
|
|
4867
|
-
}>, ...args: any[]) => void;
|
|
4871
|
+
declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload: Payload_2<EmitterEvent, EventType>, ...args: any[]) => void;
|
|
4868
4872
|
|
|
4869
4873
|
declare namespace Events {
|
|
4870
4874
|
export {
|
|
@@ -5021,7 +5025,7 @@ declare namespace ExternalApplicationEvents {
|
|
|
5021
5025
|
ExternalApplicationEvent,
|
|
5022
5026
|
EventType_4 as EventType,
|
|
5023
5027
|
ExternalApplicationEventType,
|
|
5024
|
-
|
|
5028
|
+
Payload_6 as Payload,
|
|
5025
5029
|
ByType_4 as ByType
|
|
5026
5030
|
}
|
|
5027
5031
|
}
|
|
@@ -5821,7 +5825,7 @@ declare namespace FrameEvents {
|
|
|
5821
5825
|
FrameEvent,
|
|
5822
5826
|
EventType_5 as EventType,
|
|
5823
5827
|
FrameEventType,
|
|
5824
|
-
|
|
5828
|
+
Payload_7 as Payload,
|
|
5825
5829
|
ByType_5 as ByType
|
|
5826
5830
|
}
|
|
5827
5831
|
}
|
|
@@ -6064,7 +6068,7 @@ declare namespace GlobalHotkeyEvents {
|
|
|
6064
6068
|
GlobalHotkeyEvent,
|
|
6065
6069
|
EventType_6 as EventType,
|
|
6066
6070
|
GlobalHotkeyEventType,
|
|
6067
|
-
|
|
6071
|
+
Payload_8 as Payload,
|
|
6068
6072
|
ByType_6 as ByType
|
|
6069
6073
|
}
|
|
6070
6074
|
}
|
|
@@ -8176,7 +8180,7 @@ declare namespace LayoutDOMEvents {
|
|
|
8176
8180
|
LayoutStateChangedEvent,
|
|
8177
8181
|
Event_12 as Event,
|
|
8178
8182
|
EventType_9 as EventType,
|
|
8179
|
-
|
|
8183
|
+
Payload_11 as Payload,
|
|
8180
8184
|
ByType_9 as ByType
|
|
8181
8185
|
}
|
|
8182
8186
|
}
|
|
@@ -9545,10 +9549,42 @@ declare type NavigationRules = {
|
|
|
9545
9549
|
allowlist?: string[];
|
|
9546
9550
|
/** Forbidden URLs for navigation. */
|
|
9547
9551
|
denylist?: string[];
|
|
9552
|
+
/**
|
|
9553
|
+
* Options to use when comparing URIs to the `allowlist` and `denylist` patterns.
|
|
9554
|
+
*/
|
|
9555
|
+
matchOptions?: RuleMatchOptions;
|
|
9548
9556
|
};
|
|
9549
9557
|
|
|
9550
9558
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9551
9559
|
|
|
9560
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9561
|
+
address: string;
|
|
9562
|
+
netmask: string;
|
|
9563
|
+
mac: string;
|
|
9564
|
+
internal: boolean;
|
|
9565
|
+
cidr: string | null;
|
|
9566
|
+
}
|
|
9567
|
+
|
|
9568
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9569
|
+
|
|
9570
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9571
|
+
family: 'IPv4';
|
|
9572
|
+
scopeid?: undefined;
|
|
9573
|
+
}
|
|
9574
|
+
|
|
9575
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9576
|
+
family: 'IPv6';
|
|
9577
|
+
scopeid: number;
|
|
9578
|
+
}
|
|
9579
|
+
|
|
9580
|
+
declare interface NodeUserInfo {
|
|
9581
|
+
username: string;
|
|
9582
|
+
uid: number;
|
|
9583
|
+
gid: number;
|
|
9584
|
+
shell: string | null;
|
|
9585
|
+
homedir: string;
|
|
9586
|
+
}
|
|
9587
|
+
|
|
9552
9588
|
/**
|
|
9553
9589
|
* @interface
|
|
9554
9590
|
*/
|
|
@@ -9704,6 +9740,7 @@ declare namespace OpenFin {
|
|
|
9704
9740
|
Api,
|
|
9705
9741
|
ApiSettings,
|
|
9706
9742
|
InjectionType,
|
|
9743
|
+
RuleMatchOptions,
|
|
9707
9744
|
NavigationRules,
|
|
9708
9745
|
ContentNavigation,
|
|
9709
9746
|
ContentRedirect,
|
|
@@ -9787,6 +9824,7 @@ declare namespace OpenFin {
|
|
|
9787
9824
|
Time,
|
|
9788
9825
|
CpuInfo,
|
|
9789
9826
|
GpuInfo,
|
|
9827
|
+
OSInfo,
|
|
9790
9828
|
HostSpecs,
|
|
9791
9829
|
PrinterInfo_2 as PrinterInfo,
|
|
9792
9830
|
Dpi,
|
|
@@ -9994,6 +10032,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9994
10032
|
diff: OpenFin.WindowOptionDiff;
|
|
9995
10033
|
};
|
|
9996
10034
|
|
|
10035
|
+
/**
|
|
10036
|
+
* @interface
|
|
10037
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
10038
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
10039
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
10040
|
+
*/
|
|
10041
|
+
declare type OSInfo = {
|
|
10042
|
+
platform: string;
|
|
10043
|
+
release: string;
|
|
10044
|
+
version: string;
|
|
10045
|
+
/**
|
|
10046
|
+
* Throws if a user has no username or homedir.
|
|
10047
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
10048
|
+
*/
|
|
10049
|
+
userInfo: NodeUserInfo;
|
|
10050
|
+
hostname: string;
|
|
10051
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
10052
|
+
};
|
|
10053
|
+
|
|
9997
10054
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9998
10055
|
|
|
9999
10056
|
/**
|
|
@@ -10022,86 +10079,110 @@ declare type Payload<Success extends boolean = boolean, Data = any> = {
|
|
|
10022
10079
|
error?: Success extends false ? ErrorPlainObject | undefined : never;
|
|
10023
10080
|
};
|
|
10024
10081
|
|
|
10082
|
+
/**
|
|
10083
|
+
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
10084
|
+
*
|
|
10085
|
+
* @see {@link ByType}
|
|
10086
|
+
*
|
|
10087
|
+
* @typeParam Type String key specifying the event to extract
|
|
10088
|
+
*/
|
|
10089
|
+
declare type Payload_10<Type extends EventType_8> = BaseEvents.Payload<Event_11, Type>;
|
|
10090
|
+
|
|
10025
10091
|
/**
|
|
10026
10092
|
* Extracts a single event type matching the given key from the Layout DOM {@link Event} union.
|
|
10027
10093
|
*
|
|
10028
10094
|
* @typeParam Type String key specifying the event to extract
|
|
10029
10095
|
*/
|
|
10030
|
-
declare type
|
|
10096
|
+
declare type Payload_11<Type extends EventType_9> = Extract<Event_12, {
|
|
10031
10097
|
type: Type;
|
|
10032
10098
|
}>;
|
|
10033
10099
|
|
|
10100
|
+
/**
|
|
10101
|
+
* Extracts a single event type matching the given type key from the provided EmitterEvent union.
|
|
10102
|
+
*
|
|
10103
|
+
* @remarks Each event emitter namespace defines its own reduction of this type that fixes the Event parameter to
|
|
10104
|
+
* the appropriate payload union for that namespace.
|
|
10105
|
+
*
|
|
10106
|
+
* @typeParam Event Union of payloads for events on the given emitter
|
|
10107
|
+
* @see {@link ByType}
|
|
10108
|
+
*
|
|
10109
|
+
* @typeParam Type String key specifying the event to extract from the union
|
|
10110
|
+
*
|
|
10111
|
+
* @see {@link OpenFin.Events.ApplicationEvents.Payload}
|
|
10112
|
+
* @see {@link OpenFin.Events.ExternalApplicationEvents.Payload}
|
|
10113
|
+
* @see {@link OpenFin.Events.FrameEvents.Payload}
|
|
10114
|
+
* @see {@link OpenFin.Events.GlobalHotkeyEvents.Payload}
|
|
10115
|
+
* @see {@link OpenFin.Events.PlatformEvents.Payload}
|
|
10116
|
+
* @see {@link OpenFin.Events.SystemEvents.Payload}
|
|
10117
|
+
* @see {@link OpenFin.Events.ViewEvents.Payload}
|
|
10118
|
+
* @see {@link OpenFin.Events.WindowEvents.Payload}
|
|
10119
|
+
*/
|
|
10120
|
+
declare type Payload_2<Event extends BaseEvent, EventType extends string> = Extract<Event, {
|
|
10121
|
+
type: EventType;
|
|
10122
|
+
}>;
|
|
10123
|
+
|
|
10034
10124
|
/**
|
|
10035
10125
|
* Extracts a single event type matching the given key from the View {@link Event} union.
|
|
10036
10126
|
*
|
|
10127
|
+
* @see {@link ByType}
|
|
10128
|
+
*
|
|
10037
10129
|
* @typeParam Type String key specifying the event to extract
|
|
10038
10130
|
*/
|
|
10039
|
-
declare type
|
|
10040
|
-
type: Type;
|
|
10041
|
-
}>;
|
|
10131
|
+
declare type Payload_3<Type extends EventType> = BaseEvents.Payload<Event_4, Type>;
|
|
10042
10132
|
|
|
10043
10133
|
/**
|
|
10044
10134
|
* Extracts a single event type matching the given key from the Window {@link Event} union.
|
|
10045
10135
|
*
|
|
10136
|
+
* @see {@link ByType}
|
|
10137
|
+
*
|
|
10046
10138
|
* @typeParam Type String key specifying the event to extract
|
|
10047
10139
|
*/
|
|
10048
|
-
declare type
|
|
10049
|
-
type: Type;
|
|
10050
|
-
}>;
|
|
10140
|
+
declare type Payload_4<Type extends EventType_2> = BaseEvents.Payload<Event_6, Type>;
|
|
10051
10141
|
|
|
10052
10142
|
/**
|
|
10053
10143
|
* Extracts a single event type matching the given key from the Application {@link Event} union.
|
|
10054
10144
|
*
|
|
10145
|
+
* @see {@link ByType}
|
|
10146
|
+
*
|
|
10055
10147
|
* @typeParam Type String key specifying the event to extract
|
|
10056
10148
|
*/
|
|
10057
|
-
declare type
|
|
10058
|
-
type: Type;
|
|
10059
|
-
}>;
|
|
10149
|
+
declare type Payload_5<Type extends EventType_3> = BaseEvents.Payload<Event_3, Type>;
|
|
10060
10150
|
|
|
10061
10151
|
/**
|
|
10062
10152
|
* Extracts a single event type matching the given key from the ExternalApplication {@link Event} union.
|
|
10063
10153
|
*
|
|
10154
|
+
* @see {@link ByType}
|
|
10155
|
+
*
|
|
10064
10156
|
* @typeParam Type String key specifying the event to extract
|
|
10065
10157
|
*/
|
|
10066
|
-
declare type
|
|
10067
|
-
type: Type;
|
|
10068
|
-
}>;
|
|
10158
|
+
declare type Payload_6<Type extends EventType_4> = BaseEvents.Payload<Event_7, Type>;
|
|
10069
10159
|
|
|
10070
10160
|
/**
|
|
10071
10161
|
* Extracts a single event type matching the given key from the Frame {@link Event} union.
|
|
10072
10162
|
*
|
|
10163
|
+
* @see {@link ByType}
|
|
10164
|
+
*
|
|
10073
10165
|
* @typeParam Type String key specifying the event to extract
|
|
10074
10166
|
*/
|
|
10075
|
-
declare type
|
|
10076
|
-
type: Type;
|
|
10077
|
-
}>;
|
|
10167
|
+
declare type Payload_7<Type extends EventType_5> = BaseEvents.Payload<Event_8, Type>;
|
|
10078
10168
|
|
|
10079
10169
|
/**
|
|
10080
10170
|
* Extracts a single event type matching the given key from the GlobalHotkey {@link Event} union.
|
|
10081
10171
|
*
|
|
10172
|
+
* @see {@link ByType}
|
|
10173
|
+
*
|
|
10082
10174
|
* @typeParam Type String key specifying the event to extract
|
|
10083
10175
|
*/
|
|
10084
|
-
declare type
|
|
10085
|
-
type: Type;
|
|
10086
|
-
}>;
|
|
10176
|
+
declare type Payload_8<Type extends EventType_6> = BaseEvents.Payload<Event_9, Type>;
|
|
10087
10177
|
|
|
10088
10178
|
/**
|
|
10089
10179
|
* Extracts a single event type matching the given key from the Platform {@link Event} union.
|
|
10090
10180
|
*
|
|
10091
|
-
* @
|
|
10092
|
-
*/
|
|
10093
|
-
declare type Payload_8<Type extends EventType_7> = Extract<Event_10, {
|
|
10094
|
-
type: Type;
|
|
10095
|
-
}>;
|
|
10096
|
-
|
|
10097
|
-
/**
|
|
10098
|
-
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
10181
|
+
* @see {@link ByType}
|
|
10099
10182
|
*
|
|
10100
10183
|
* @typeParam Type String key specifying the event to extract
|
|
10101
10184
|
*/
|
|
10102
|
-
declare type Payload_9<Type extends
|
|
10103
|
-
type: Type;
|
|
10104
|
-
}>;
|
|
10185
|
+
declare type Payload_9<Type extends EventType_7> = BaseEvents.Payload<Event_10, Type>;
|
|
10105
10186
|
|
|
10106
10187
|
/**
|
|
10107
10188
|
* @interface
|
|
@@ -10826,7 +10907,7 @@ declare namespace PlatformEvents {
|
|
|
10826
10907
|
PlatformEvent,
|
|
10827
10908
|
EventType_7 as EventType,
|
|
10828
10909
|
PlatformEventType,
|
|
10829
|
-
|
|
10910
|
+
Payload_9 as Payload,
|
|
10830
10911
|
ByType_7 as ByType
|
|
10831
10912
|
}
|
|
10832
10913
|
}
|
|
@@ -12309,6 +12390,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12309
12390
|
};
|
|
12310
12391
|
response: void;
|
|
12311
12392
|
};
|
|
12393
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12394
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12312
12395
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12313
12396
|
'system-register-shutdown-handler': VoidCall;
|
|
12314
12397
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -12702,6 +12785,17 @@ declare interface RTCProtocolOffer extends ProtocolPacketBase {
|
|
|
12702
12785
|
};
|
|
12703
12786
|
}
|
|
12704
12787
|
|
|
12788
|
+
/**
|
|
12789
|
+
* Controls the behavior of the navigation URI pattern matching algorithm.
|
|
12790
|
+
*/
|
|
12791
|
+
declare type RuleMatchOptions = {
|
|
12792
|
+
/**
|
|
12793
|
+
* Matches all schemes rather than just http and https when a wild card is specified. For example, `'*://*.site.com'` will
|
|
12794
|
+
* only match urls which begin with `'http:'` or `'https:'` unless this setting is `true`.
|
|
12795
|
+
*/
|
|
12796
|
+
matchAllSchemes?: boolean;
|
|
12797
|
+
};
|
|
12798
|
+
|
|
12705
12799
|
declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
|
|
12706
12800
|
|
|
12707
12801
|
/**
|
|
@@ -13154,7 +13248,7 @@ declare type Snapshot = {
|
|
|
13154
13248
|
* _Note_ - In the case of using a custom provider, if a window has a layout property but does not call _Layout.init_ this event may not fire.
|
|
13155
13249
|
* @interface
|
|
13156
13250
|
*/
|
|
13157
|
-
declare type SnapshotAppliedEvent = BaseEvent & {
|
|
13251
|
+
declare type SnapshotAppliedEvent = BaseEvents.BaseEvent & {
|
|
13158
13252
|
topic: 'application';
|
|
13159
13253
|
type: 'platform-snapshot-applied';
|
|
13160
13254
|
};
|
|
@@ -13644,7 +13738,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13644
13738
|
*/
|
|
13645
13739
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13646
13740
|
/**
|
|
13647
|
-
* Retrieves system information.
|
|
13741
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13742
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13648
13743
|
*
|
|
13649
13744
|
* @example
|
|
13650
13745
|
* ```js
|
|
@@ -13652,6 +13747,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13652
13747
|
* ```
|
|
13653
13748
|
*/
|
|
13654
13749
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13750
|
+
/**
|
|
13751
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13752
|
+
*
|
|
13753
|
+
* @example
|
|
13754
|
+
* ```js
|
|
13755
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13756
|
+
* ```
|
|
13757
|
+
*/
|
|
13758
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13655
13759
|
/**
|
|
13656
13760
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13657
13761
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14765,7 +14869,7 @@ declare namespace SystemEvents {
|
|
|
14765
14869
|
SystemEvent,
|
|
14766
14870
|
EventType_8 as EventType,
|
|
14767
14871
|
SystemEventType,
|
|
14768
|
-
|
|
14872
|
+
Payload_10 as Payload,
|
|
14769
14873
|
ByType_8 as ByType
|
|
14770
14874
|
}
|
|
14771
14875
|
}
|
|
@@ -14779,6 +14883,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14779
14883
|
* @interface
|
|
14780
14884
|
*/
|
|
14781
14885
|
declare type SystemPermissions = {
|
|
14886
|
+
getOSInfo: boolean;
|
|
14782
14887
|
getAllExternalWindows: boolean;
|
|
14783
14888
|
launchExternalProcess: boolean | {
|
|
14784
14889
|
enabled: boolean;
|
|
@@ -15936,7 +16041,7 @@ declare namespace ViewEvents {
|
|
|
15936
16041
|
PropagatedViewEvent,
|
|
15937
16042
|
PropagatedEventType_2 as PropagatedEventType,
|
|
15938
16043
|
PropagatedViewEventType,
|
|
15939
|
-
|
|
16044
|
+
Payload_3 as Payload,
|
|
15940
16045
|
ByType
|
|
15941
16046
|
}
|
|
15942
16047
|
}
|
|
@@ -18460,7 +18565,7 @@ declare namespace WindowEvents {
|
|
|
18460
18565
|
PropagatedEvent_3 as PropagatedEvent,
|
|
18461
18566
|
PropagatedWindowEvent,
|
|
18462
18567
|
PropagatedWindowEventType,
|
|
18463
|
-
|
|
18568
|
+
Payload_4 as Payload,
|
|
18464
18569
|
ByType_2 as ByType
|
|
18465
18570
|
}
|
|
18466
18571
|
}
|