@openfin/fdc3-api 39.82.13 → 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 +140 -55
- package/out/fdc3-api-beta.d.ts +140 -55
- package/out/fdc3-api-public.d.ts +140 -55
- package/out/fdc3-api.d.ts +140 -55
- package/package.json +1 -1
package/out/fdc3-api-alpha.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
|
};
|
|
@@ -911,7 +911,7 @@ declare namespace ApplicationEvents {
|
|
|
911
911
|
PropagatedApplicationEvent,
|
|
912
912
|
PropagatedEventType_3 as PropagatedEventType,
|
|
913
913
|
PropagatedApplicationEventType,
|
|
914
|
-
|
|
914
|
+
Payload_5 as Payload,
|
|
915
915
|
ByType_3 as ByType
|
|
916
916
|
}
|
|
917
917
|
}
|
|
@@ -1704,7 +1704,7 @@ declare type BaseEvent_10 = Events.BaseEvents.BaseEvent;
|
|
|
1704
1704
|
* A base Channel event.
|
|
1705
1705
|
* @interface
|
|
1706
1706
|
*/
|
|
1707
|
-
declare type BaseEvent_2 = NamedEvent & {
|
|
1707
|
+
declare type BaseEvent_2 = BaseEvents.NamedEvent & {
|
|
1708
1708
|
channelName: string;
|
|
1709
1709
|
channelId: string;
|
|
1710
1710
|
};
|
|
@@ -1774,6 +1774,7 @@ declare namespace BaseEvents {
|
|
|
1774
1774
|
NotCloseRequested,
|
|
1775
1775
|
PropagatedEventType,
|
|
1776
1776
|
PropagatedEvent,
|
|
1777
|
+
Payload_2 as Payload,
|
|
1777
1778
|
EventHandler,
|
|
1778
1779
|
BaseEvent,
|
|
1779
1780
|
IdentityEvent,
|
|
@@ -1914,7 +1915,7 @@ declare type BrowserContentCreationRule = BaseContentCreationRule & {
|
|
|
1914
1915
|
*
|
|
1915
1916
|
* @typeParam Type String key specifying the event to extract
|
|
1916
1917
|
*/
|
|
1917
|
-
declare type ByType<Type extends EventType> =
|
|
1918
|
+
declare type ByType<Type extends EventType> = Payload_3<Type>;
|
|
1918
1919
|
|
|
1919
1920
|
/**
|
|
1920
1921
|
* Extracts a single event type matching the given key from the Window {@link Event} union.
|
|
@@ -1923,7 +1924,7 @@ declare type ByType<Type extends EventType> = Payload_2<Type>;
|
|
|
1923
1924
|
*
|
|
1924
1925
|
* @typeParam Type String key specifying the event to extract
|
|
1925
1926
|
*/
|
|
1926
|
-
declare type ByType_2<Type extends EventType_2> =
|
|
1927
|
+
declare type ByType_2<Type extends EventType_2> = Payload_4<Type>;
|
|
1927
1928
|
|
|
1928
1929
|
/**
|
|
1929
1930
|
* Extracts a single event type matching the given key from the Application {@link Event} union.
|
|
@@ -1932,7 +1933,7 @@ declare type ByType_2<Type extends EventType_2> = Payload_3<Type>;
|
|
|
1932
1933
|
*
|
|
1933
1934
|
* @typeParam Type String key specifying the event to extract
|
|
1934
1935
|
*/
|
|
1935
|
-
declare type ByType_3<Type extends EventType_3> =
|
|
1936
|
+
declare type ByType_3<Type extends EventType_3> = Payload_5<Type>;
|
|
1936
1937
|
|
|
1937
1938
|
/**
|
|
1938
1939
|
* Extracts a single event type matching the given key from the ExternalApplication {@link Event} union.
|
|
@@ -1941,7 +1942,7 @@ declare type ByType_3<Type extends EventType_3> = Payload_4<Type>;
|
|
|
1941
1942
|
*
|
|
1942
1943
|
* @typeParam Type String key specifying the event to extract
|
|
1943
1944
|
*/
|
|
1944
|
-
declare type ByType_4<Type extends EventType_4> =
|
|
1945
|
+
declare type ByType_4<Type extends EventType_4> = Payload_6<Type>;
|
|
1945
1946
|
|
|
1946
1947
|
/**
|
|
1947
1948
|
* Extracts a single event type matching the given key from the Frame {@link Event} union.
|
|
@@ -1950,7 +1951,7 @@ declare type ByType_4<Type extends EventType_4> = Payload_5<Type>;
|
|
|
1950
1951
|
*
|
|
1951
1952
|
* @typeParam Type String key specifying the event to extract
|
|
1952
1953
|
*/
|
|
1953
|
-
declare type ByType_5<Type extends EventType_5> =
|
|
1954
|
+
declare type ByType_5<Type extends EventType_5> = Payload_7<Type>;
|
|
1954
1955
|
|
|
1955
1956
|
/**
|
|
1956
1957
|
* Extracts a single event type matching the given key from the GlobalHotkey {@link Event} union.
|
|
@@ -1959,7 +1960,7 @@ declare type ByType_5<Type extends EventType_5> = Payload_6<Type>;
|
|
|
1959
1960
|
*
|
|
1960
1961
|
* @typeParam Type String key specifying the event to extract
|
|
1961
1962
|
*/
|
|
1962
|
-
declare type ByType_6<Type extends EventType_6> =
|
|
1963
|
+
declare type ByType_6<Type extends EventType_6> = Payload_8<Type>;
|
|
1963
1964
|
|
|
1964
1965
|
/**
|
|
1965
1966
|
* Extracts a single event type matching the given key from the Platform {@link Event} union.
|
|
@@ -1968,7 +1969,7 @@ declare type ByType_6<Type extends EventType_6> = Payload_7<Type>;
|
|
|
1968
1969
|
*
|
|
1969
1970
|
* @typeParam Type String key specifying the event to extract
|
|
1970
1971
|
*/
|
|
1971
|
-
declare type ByType_7<Type extends EventType_7> =
|
|
1972
|
+
declare type ByType_7<Type extends EventType_7> = Payload_9<Type>;
|
|
1972
1973
|
|
|
1973
1974
|
/**
|
|
1974
1975
|
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
@@ -1977,7 +1978,7 @@ declare type ByType_7<Type extends EventType_7> = Payload_8<Type>;
|
|
|
1977
1978
|
*
|
|
1978
1979
|
* @typeParam Type String key specifying the event to extract
|
|
1979
1980
|
*/
|
|
1980
|
-
declare type ByType_8<Type extends EventType_8> =
|
|
1981
|
+
declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
|
|
1981
1982
|
|
|
1982
1983
|
/**
|
|
1983
1984
|
* Extracts a single event type matching the given key from the Layout DOM {@link Event} union.
|
|
@@ -1986,7 +1987,7 @@ declare type ByType_8<Type extends EventType_8> = Payload_9<Type>;
|
|
|
1986
1987
|
*
|
|
1987
1988
|
* @typeParam Type String key specifying the event to extract
|
|
1988
1989
|
*/
|
|
1989
|
-
declare type ByType_9<Type extends EventType_9> =
|
|
1990
|
+
declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
|
|
1990
1991
|
|
|
1991
1992
|
/**
|
|
1992
1993
|
* Configuration for page capture.
|
|
@@ -3698,6 +3699,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3698
3699
|
|
|
3699
3700
|
/**
|
|
3700
3701
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3702
|
+
* @interface
|
|
3701
3703
|
*/
|
|
3702
3704
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3703
3705
|
type: 'content-blocked';
|
|
@@ -4802,9 +4804,7 @@ declare class EventAggregator extends EmitterMap {
|
|
|
4802
4804
|
* @remarks Selects the correct type for the event
|
|
4803
4805
|
* payload from the provided union based on the provided string literal type.
|
|
4804
4806
|
*/
|
|
4805
|
-
declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload:
|
|
4806
|
-
type: EventType;
|
|
4807
|
-
}>, ...args: any[]) => void;
|
|
4807
|
+
declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload: Payload_2<EmitterEvent, EventType>, ...args: any[]) => void;
|
|
4808
4808
|
|
|
4809
4809
|
declare namespace Events {
|
|
4810
4810
|
export {
|
|
@@ -4940,7 +4940,7 @@ declare namespace ExternalApplicationEvents {
|
|
|
4940
4940
|
ExternalApplicationEvent,
|
|
4941
4941
|
EventType_4 as EventType,
|
|
4942
4942
|
ExternalApplicationEventType,
|
|
4943
|
-
|
|
4943
|
+
Payload_6 as Payload,
|
|
4944
4944
|
ByType_4 as ByType
|
|
4945
4945
|
}
|
|
4946
4946
|
}
|
|
@@ -5737,7 +5737,7 @@ declare namespace FrameEvents {
|
|
|
5737
5737
|
FrameEvent,
|
|
5738
5738
|
EventType_5 as EventType,
|
|
5739
5739
|
FrameEventType,
|
|
5740
|
-
|
|
5740
|
+
Payload_7 as Payload,
|
|
5741
5741
|
ByType_5 as ByType
|
|
5742
5742
|
}
|
|
5743
5743
|
}
|
|
@@ -5977,7 +5977,7 @@ declare namespace GlobalHotkeyEvents {
|
|
|
5977
5977
|
GlobalHotkeyEvent,
|
|
5978
5978
|
EventType_6 as EventType,
|
|
5979
5979
|
GlobalHotkeyEventType,
|
|
5980
|
-
|
|
5980
|
+
Payload_8 as Payload,
|
|
5981
5981
|
ByType_6 as ByType
|
|
5982
5982
|
}
|
|
5983
5983
|
}
|
|
@@ -8057,7 +8057,7 @@ declare namespace LayoutDOMEvents {
|
|
|
8057
8057
|
LayoutStateChangedEvent,
|
|
8058
8058
|
Event_12 as Event,
|
|
8059
8059
|
EventType_9 as EventType,
|
|
8060
|
-
|
|
8060
|
+
Payload_11 as Payload,
|
|
8061
8061
|
ByType_9 as ByType
|
|
8062
8062
|
}
|
|
8063
8063
|
}
|
|
@@ -9252,6 +9252,34 @@ declare type NavigationRules = {
|
|
|
9252
9252
|
|
|
9253
9253
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9254
9254
|
|
|
9255
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9256
|
+
address: string;
|
|
9257
|
+
netmask: string;
|
|
9258
|
+
mac: string;
|
|
9259
|
+
internal: boolean;
|
|
9260
|
+
cidr: string | null;
|
|
9261
|
+
}
|
|
9262
|
+
|
|
9263
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9264
|
+
|
|
9265
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9266
|
+
family: 'IPv4';
|
|
9267
|
+
scopeid?: undefined;
|
|
9268
|
+
}
|
|
9269
|
+
|
|
9270
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9271
|
+
family: 'IPv6';
|
|
9272
|
+
scopeid: number;
|
|
9273
|
+
}
|
|
9274
|
+
|
|
9275
|
+
declare interface NodeUserInfo {
|
|
9276
|
+
username: string;
|
|
9277
|
+
uid: number;
|
|
9278
|
+
gid: number;
|
|
9279
|
+
shell: string | null;
|
|
9280
|
+
homedir: string;
|
|
9281
|
+
}
|
|
9282
|
+
|
|
9255
9283
|
/**
|
|
9256
9284
|
* @interface
|
|
9257
9285
|
*/
|
|
@@ -9481,6 +9509,7 @@ declare namespace OpenFin {
|
|
|
9481
9509
|
Time,
|
|
9482
9510
|
CpuInfo,
|
|
9483
9511
|
GpuInfo,
|
|
9512
|
+
OSInfo,
|
|
9484
9513
|
HostSpecs,
|
|
9485
9514
|
PrinterInfo_2 as PrinterInfo,
|
|
9486
9515
|
Dpi,
|
|
@@ -9688,6 +9717,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9688
9717
|
diff: OpenFin.WindowOptionDiff;
|
|
9689
9718
|
};
|
|
9690
9719
|
|
|
9720
|
+
/**
|
|
9721
|
+
* @interface
|
|
9722
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
9723
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9724
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9725
|
+
*/
|
|
9726
|
+
declare type OSInfo = {
|
|
9727
|
+
platform: string;
|
|
9728
|
+
release: string;
|
|
9729
|
+
version: string;
|
|
9730
|
+
/**
|
|
9731
|
+
* Throws if a user has no username or homedir.
|
|
9732
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9733
|
+
*/
|
|
9734
|
+
userInfo: NodeUserInfo;
|
|
9735
|
+
hostname: string;
|
|
9736
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9737
|
+
};
|
|
9738
|
+
|
|
9691
9739
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9692
9740
|
|
|
9693
9741
|
/**
|
|
@@ -9716,86 +9764,110 @@ declare type Payload<Success extends boolean = boolean, Data = any> = {
|
|
|
9716
9764
|
error?: Success extends false ? ErrorPlainObject | undefined : never;
|
|
9717
9765
|
};
|
|
9718
9766
|
|
|
9767
|
+
/**
|
|
9768
|
+
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
9769
|
+
*
|
|
9770
|
+
* @see {@link ByType}
|
|
9771
|
+
*
|
|
9772
|
+
* @typeParam Type String key specifying the event to extract
|
|
9773
|
+
*/
|
|
9774
|
+
declare type Payload_10<Type extends EventType_8> = BaseEvents.Payload<Event_11, Type>;
|
|
9775
|
+
|
|
9719
9776
|
/**
|
|
9720
9777
|
* Extracts a single event type matching the given key from the Layout DOM {@link Event} union.
|
|
9721
9778
|
*
|
|
9722
9779
|
* @typeParam Type String key specifying the event to extract
|
|
9723
9780
|
*/
|
|
9724
|
-
declare type
|
|
9781
|
+
declare type Payload_11<Type extends EventType_9> = Extract<Event_12, {
|
|
9725
9782
|
type: Type;
|
|
9726
9783
|
}>;
|
|
9727
9784
|
|
|
9785
|
+
/**
|
|
9786
|
+
* Extracts a single event type matching the given type key from the provided EmitterEvent union.
|
|
9787
|
+
*
|
|
9788
|
+
* @remarks Each event emitter namespace defines its own reduction of this type that fixes the Event parameter to
|
|
9789
|
+
* the appropriate payload union for that namespace.
|
|
9790
|
+
*
|
|
9791
|
+
* @typeParam Event Union of payloads for events on the given emitter
|
|
9792
|
+
* @see {@link ByType}
|
|
9793
|
+
*
|
|
9794
|
+
* @typeParam Type String key specifying the event to extract from the union
|
|
9795
|
+
*
|
|
9796
|
+
* @see {@link OpenFin.Events.ApplicationEvents.Payload}
|
|
9797
|
+
* @see {@link OpenFin.Events.ExternalApplicationEvents.Payload}
|
|
9798
|
+
* @see {@link OpenFin.Events.FrameEvents.Payload}
|
|
9799
|
+
* @see {@link OpenFin.Events.GlobalHotkeyEvents.Payload}
|
|
9800
|
+
* @see {@link OpenFin.Events.PlatformEvents.Payload}
|
|
9801
|
+
* @see {@link OpenFin.Events.SystemEvents.Payload}
|
|
9802
|
+
* @see {@link OpenFin.Events.ViewEvents.Payload}
|
|
9803
|
+
* @see {@link OpenFin.Events.WindowEvents.Payload}
|
|
9804
|
+
*/
|
|
9805
|
+
declare type Payload_2<Event extends BaseEvent, EventType extends string> = Extract<Event, {
|
|
9806
|
+
type: EventType;
|
|
9807
|
+
}>;
|
|
9808
|
+
|
|
9728
9809
|
/**
|
|
9729
9810
|
* Extracts a single event type matching the given key from the View {@link Event} union.
|
|
9730
9811
|
*
|
|
9812
|
+
* @see {@link ByType}
|
|
9813
|
+
*
|
|
9731
9814
|
* @typeParam Type String key specifying the event to extract
|
|
9732
9815
|
*/
|
|
9733
|
-
declare type
|
|
9734
|
-
type: Type;
|
|
9735
|
-
}>;
|
|
9816
|
+
declare type Payload_3<Type extends EventType> = BaseEvents.Payload<Event_4, Type>;
|
|
9736
9817
|
|
|
9737
9818
|
/**
|
|
9738
9819
|
* Extracts a single event type matching the given key from the Window {@link Event} union.
|
|
9739
9820
|
*
|
|
9821
|
+
* @see {@link ByType}
|
|
9822
|
+
*
|
|
9740
9823
|
* @typeParam Type String key specifying the event to extract
|
|
9741
9824
|
*/
|
|
9742
|
-
declare type
|
|
9743
|
-
type: Type;
|
|
9744
|
-
}>;
|
|
9825
|
+
declare type Payload_4<Type extends EventType_2> = BaseEvents.Payload<Event_6, Type>;
|
|
9745
9826
|
|
|
9746
9827
|
/**
|
|
9747
9828
|
* Extracts a single event type matching the given key from the Application {@link Event} union.
|
|
9748
9829
|
*
|
|
9830
|
+
* @see {@link ByType}
|
|
9831
|
+
*
|
|
9749
9832
|
* @typeParam Type String key specifying the event to extract
|
|
9750
9833
|
*/
|
|
9751
|
-
declare type
|
|
9752
|
-
type: Type;
|
|
9753
|
-
}>;
|
|
9834
|
+
declare type Payload_5<Type extends EventType_3> = BaseEvents.Payload<Event_3, Type>;
|
|
9754
9835
|
|
|
9755
9836
|
/**
|
|
9756
9837
|
* Extracts a single event type matching the given key from the ExternalApplication {@link Event} union.
|
|
9757
9838
|
*
|
|
9839
|
+
* @see {@link ByType}
|
|
9840
|
+
*
|
|
9758
9841
|
* @typeParam Type String key specifying the event to extract
|
|
9759
9842
|
*/
|
|
9760
|
-
declare type
|
|
9761
|
-
type: Type;
|
|
9762
|
-
}>;
|
|
9843
|
+
declare type Payload_6<Type extends EventType_4> = BaseEvents.Payload<Event_7, Type>;
|
|
9763
9844
|
|
|
9764
9845
|
/**
|
|
9765
9846
|
* Extracts a single event type matching the given key from the Frame {@link Event} union.
|
|
9766
9847
|
*
|
|
9848
|
+
* @see {@link ByType}
|
|
9849
|
+
*
|
|
9767
9850
|
* @typeParam Type String key specifying the event to extract
|
|
9768
9851
|
*/
|
|
9769
|
-
declare type
|
|
9770
|
-
type: Type;
|
|
9771
|
-
}>;
|
|
9852
|
+
declare type Payload_7<Type extends EventType_5> = BaseEvents.Payload<Event_8, Type>;
|
|
9772
9853
|
|
|
9773
9854
|
/**
|
|
9774
9855
|
* Extracts a single event type matching the given key from the GlobalHotkey {@link Event} union.
|
|
9775
9856
|
*
|
|
9857
|
+
* @see {@link ByType}
|
|
9858
|
+
*
|
|
9776
9859
|
* @typeParam Type String key specifying the event to extract
|
|
9777
9860
|
*/
|
|
9778
|
-
declare type
|
|
9779
|
-
type: Type;
|
|
9780
|
-
}>;
|
|
9861
|
+
declare type Payload_8<Type extends EventType_6> = BaseEvents.Payload<Event_9, Type>;
|
|
9781
9862
|
|
|
9782
9863
|
/**
|
|
9783
9864
|
* Extracts a single event type matching the given key from the Platform {@link Event} union.
|
|
9784
9865
|
*
|
|
9785
|
-
* @
|
|
9786
|
-
*/
|
|
9787
|
-
declare type Payload_8<Type extends EventType_7> = Extract<Event_10, {
|
|
9788
|
-
type: Type;
|
|
9789
|
-
}>;
|
|
9790
|
-
|
|
9791
|
-
/**
|
|
9792
|
-
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
9866
|
+
* @see {@link ByType}
|
|
9793
9867
|
*
|
|
9794
9868
|
* @typeParam Type String key specifying the event to extract
|
|
9795
9869
|
*/
|
|
9796
|
-
declare type Payload_9<Type extends
|
|
9797
|
-
type: Type;
|
|
9798
|
-
}>;
|
|
9870
|
+
declare type Payload_9<Type extends EventType_7> = BaseEvents.Payload<Event_10, Type>;
|
|
9799
9871
|
|
|
9800
9872
|
/**
|
|
9801
9873
|
* @interface
|
|
@@ -10490,7 +10562,7 @@ declare namespace PlatformEvents {
|
|
|
10490
10562
|
PlatformEvent,
|
|
10491
10563
|
EventType_7 as EventType,
|
|
10492
10564
|
PlatformEventType,
|
|
10493
|
-
|
|
10565
|
+
Payload_9 as Payload,
|
|
10494
10566
|
ByType_7 as ByType
|
|
10495
10567
|
}
|
|
10496
10568
|
}
|
|
@@ -11925,6 +11997,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11925
11997
|
};
|
|
11926
11998
|
response: void;
|
|
11927
11999
|
};
|
|
12000
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12001
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11928
12002
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11929
12003
|
'system-register-shutdown-handler': VoidCall;
|
|
11930
12004
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -12781,7 +12855,7 @@ declare type Snapshot = {
|
|
|
12781
12855
|
* _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.
|
|
12782
12856
|
* @interface
|
|
12783
12857
|
*/
|
|
12784
|
-
declare type SnapshotAppliedEvent = BaseEvent & {
|
|
12858
|
+
declare type SnapshotAppliedEvent = BaseEvents.BaseEvent & {
|
|
12785
12859
|
topic: 'application';
|
|
12786
12860
|
type: 'platform-snapshot-applied';
|
|
12787
12861
|
};
|
|
@@ -13265,7 +13339,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13265
13339
|
*/
|
|
13266
13340
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13267
13341
|
/**
|
|
13268
|
-
* Retrieves system information.
|
|
13342
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13343
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13269
13344
|
*
|
|
13270
13345
|
* @example
|
|
13271
13346
|
* ```js
|
|
@@ -13273,6 +13348,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13273
13348
|
* ```
|
|
13274
13349
|
*/
|
|
13275
13350
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13351
|
+
/**
|
|
13352
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13353
|
+
*
|
|
13354
|
+
* @example
|
|
13355
|
+
* ```js
|
|
13356
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13357
|
+
* ```
|
|
13358
|
+
*/
|
|
13359
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13276
13360
|
/**
|
|
13277
13361
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13278
13362
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14386,7 +14470,7 @@ declare namespace SystemEvents {
|
|
|
14386
14470
|
SystemEvent,
|
|
14387
14471
|
EventType_8 as EventType,
|
|
14388
14472
|
SystemEventType,
|
|
14389
|
-
|
|
14473
|
+
Payload_10 as Payload,
|
|
14390
14474
|
ByType_8 as ByType
|
|
14391
14475
|
}
|
|
14392
14476
|
}
|
|
@@ -14400,6 +14484,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14400
14484
|
* @interface
|
|
14401
14485
|
*/
|
|
14402
14486
|
declare type SystemPermissions = {
|
|
14487
|
+
getOSInfo: boolean;
|
|
14403
14488
|
getAllExternalWindows: boolean;
|
|
14404
14489
|
launchExternalProcess: boolean | {
|
|
14405
14490
|
enabled: boolean;
|
|
@@ -15513,7 +15598,7 @@ declare namespace ViewEvents {
|
|
|
15513
15598
|
PropagatedViewEvent,
|
|
15514
15599
|
PropagatedEventType_2 as PropagatedEventType,
|
|
15515
15600
|
PropagatedViewEventType,
|
|
15516
|
-
|
|
15601
|
+
Payload_3 as Payload,
|
|
15517
15602
|
ByType
|
|
15518
15603
|
}
|
|
15519
15604
|
}
|
|
@@ -18034,7 +18119,7 @@ declare namespace WindowEvents {
|
|
|
18034
18119
|
PropagatedEvent_3 as PropagatedEvent,
|
|
18035
18120
|
PropagatedWindowEvent,
|
|
18036
18121
|
PropagatedWindowEventType,
|
|
18037
|
-
|
|
18122
|
+
Payload_4 as Payload,
|
|
18038
18123
|
ByType_2 as ByType
|
|
18039
18124
|
}
|
|
18040
18125
|
}
|