@openfin/node-adapter 34.78.15 → 34.78.17
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/node-adapter-alpha.d.ts +49 -27
- package/out/node-adapter-beta.d.ts +49 -27
- package/out/node-adapter-public.d.ts +49 -27
- package/out/node-adapter.d.ts +51 -24
- package/out/node-adapter.js +320 -83
- package/package.json +1 -1
package/out/node-adapter.d.ts
CHANGED
@@ -873,7 +873,7 @@ declare type ApplicationEvent = {
|
|
873
873
|
topic: 'application';
|
874
874
|
} & (PropagatedViewEvent | PropagatedWindowEvent | ApplicationWindowEvent | WillPropagateApplicationEvent);
|
875
875
|
|
876
|
-
declare type ApplicationEvent_2 = ApplicationEvents.ApplicationEvent;
|
876
|
+
declare type ApplicationEvent_2 = Events.ApplicationEvents.ApplicationEvent;
|
877
877
|
|
878
878
|
declare namespace ApplicationEvents {
|
879
879
|
export {
|
@@ -1646,7 +1646,7 @@ declare type BaseEvent = {
|
|
1646
1646
|
type: string;
|
1647
1647
|
};
|
1648
1648
|
|
1649
|
-
declare type BaseEvent_2 = BaseEvents.BaseEvent;
|
1649
|
+
declare type BaseEvent_2 = Events.BaseEvents.BaseEvent;
|
1650
1650
|
|
1651
1651
|
declare namespace BaseEvents {
|
1652
1652
|
export {
|
@@ -3972,6 +3972,9 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3972
3972
|
protected identity: ApplicationIdentity;
|
3973
3973
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
3974
3974
|
eventNames: () => (string | symbol)[];
|
3975
|
+
/**
|
3976
|
+
* @internal
|
3977
|
+
*/
|
3975
3978
|
emit: <EventType extends EmitterEventType>(eventType: EventType, payload: Extract<EmitterEvent, {
|
3976
3979
|
type: EventType;
|
3977
3980
|
}>, ...args: any[]) => boolean;
|
@@ -3983,6 +3986,8 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3983
3986
|
protected deregisterEventListener: (eventType: EmitterEventType, options?: OpenFin.SubscriptionOptions) => Promise<void | EventEmitter>;
|
3984
3987
|
/**
|
3985
3988
|
* Adds a listener to the end of the listeners array for the specified event.
|
3989
|
+
*
|
3990
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3986
3991
|
*/
|
3987
3992
|
on<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3988
3993
|
/**
|
@@ -3991,15 +3996,21 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3991
3996
|
addListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3992
3997
|
/**
|
3993
3998
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed.
|
3999
|
+
*
|
4000
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3994
4001
|
*/
|
3995
4002
|
once<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3996
4003
|
/**
|
3997
4004
|
* Adds a listener to the beginning of the listeners array for the specified event.
|
4005
|
+
*
|
4006
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3998
4007
|
*/
|
3999
4008
|
prependListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
4000
4009
|
/**
|
4001
4010
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired,
|
4002
4011
|
* after which it is removed. The listener is added to the beginning of the listeners array.
|
4012
|
+
*
|
4013
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
4003
4014
|
*/
|
4004
4015
|
prependOnceListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
4005
4016
|
/**
|
@@ -4158,6 +4169,21 @@ declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends stri
|
|
4158
4169
|
type: EventType;
|
4159
4170
|
}>, ...args: any[]) => void;
|
4160
4171
|
|
4172
|
+
declare namespace Events {
|
4173
|
+
export {
|
4174
|
+
ApplicationEvents,
|
4175
|
+
BaseEvents,
|
4176
|
+
ExternalApplicationEvents,
|
4177
|
+
FrameEvents,
|
4178
|
+
GlobalHotkeyEvents,
|
4179
|
+
PlatformEvents,
|
4180
|
+
SystemEvents,
|
4181
|
+
ViewEvents,
|
4182
|
+
WebContentsEvents,
|
4183
|
+
WindowEvents
|
4184
|
+
}
|
4185
|
+
}
|
4186
|
+
|
4161
4187
|
/**
|
4162
4188
|
* @internal
|
4163
4189
|
*/
|
@@ -4324,7 +4350,7 @@ declare type ExternalApplicationEvent = {
|
|
4324
4350
|
topic: 'externalapplication';
|
4325
4351
|
} & (ExternalApplicationConnectedEvent | ExternalApplicationDisconnectedEvent);
|
4326
4352
|
|
4327
|
-
declare type ExternalApplicationEvent_2 = ExternalApplicationEvents.ExternalApplicationEvent;
|
4353
|
+
declare type ExternalApplicationEvent_2 = Events.ExternalApplicationEvents.ExternalApplicationEvent;
|
4328
4354
|
|
4329
4355
|
declare namespace ExternalApplicationEvents {
|
4330
4356
|
export {
|
@@ -4848,7 +4874,7 @@ declare type FrameEvent = {
|
|
4848
4874
|
topic: 'frame';
|
4849
4875
|
} & (FrameConnectedEvent | FrameDisconnectedEvent);
|
4850
4876
|
|
4851
|
-
declare type FrameEvent_2 = FrameEvents.FrameEvent;
|
4877
|
+
declare type FrameEvent_2 = Events.FrameEvents.FrameEvent;
|
4852
4878
|
|
4853
4879
|
declare namespace FrameEvents {
|
4854
4880
|
export {
|
@@ -5094,7 +5120,7 @@ declare type GlobalHotkeyEvent = {
|
|
5094
5120
|
hotkey: 'string';
|
5095
5121
|
} & (RegisteredEvent | UnregisteredEvent);
|
5096
5122
|
|
5097
|
-
declare type GlobalHotkeyEvent_2 = GlobalHotkeyEvents.GlobalHotkeyEvent;
|
5123
|
+
declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
5098
5124
|
|
5099
5125
|
declare namespace GlobalHotkeyEvents {
|
5100
5126
|
export {
|
@@ -8625,6 +8651,7 @@ declare namespace OpenFin {
|
|
8625
8651
|
ExternalApplicationModule,
|
8626
8652
|
_Frame as Frame,
|
8627
8653
|
_FrameModule,
|
8654
|
+
GlobalHotkey,
|
8628
8655
|
Channel,
|
8629
8656
|
ChannelClient,
|
8630
8657
|
ChannelProvider,
|
@@ -8643,6 +8670,7 @@ declare namespace OpenFin {
|
|
8643
8670
|
InteropModule,
|
8644
8671
|
SnapshotSource,
|
8645
8672
|
SnapshotSourceModule,
|
8673
|
+
System,
|
8646
8674
|
LayoutEntityDefinition,
|
8647
8675
|
LayoutEntityTypes,
|
8648
8676
|
LayoutPosition,
|
@@ -8894,16 +8922,7 @@ declare namespace OpenFin {
|
|
8894
8922
|
AppVersionErrorEvent,
|
8895
8923
|
AppVersionCompleteEvent,
|
8896
8924
|
AppVersionRuntimeStatusEvent,
|
8897
|
-
|
8898
|
-
WebContentsEvents,
|
8899
|
-
SystemEvents,
|
8900
|
-
ApplicationEvents,
|
8901
|
-
WindowEvents,
|
8902
|
-
ViewEvents,
|
8903
|
-
GlobalHotkeyEvents,
|
8904
|
-
FrameEvents,
|
8905
|
-
PlatformEvents,
|
8906
|
-
ExternalApplicationEvents,
|
8925
|
+
Events,
|
8907
8926
|
BaseEvent_2 as BaseEvent,
|
8908
8927
|
WebContentsEvent_2 as WebContentsEvent,
|
8909
8928
|
SystemEvent_2 as SystemEvent,
|
@@ -8928,7 +8947,17 @@ declare namespace OpenFin {
|
|
8928
8947
|
ChannelClientConnectionListener,
|
8929
8948
|
ChannelClientDisconnectionListener,
|
8930
8949
|
ChannelProviderDisconnectionListener,
|
8931
|
-
RoutingInfo
|
8950
|
+
RoutingInfo,
|
8951
|
+
ApplicationEvents,
|
8952
|
+
BaseEvents,
|
8953
|
+
ExternalApplicationEvents,
|
8954
|
+
FrameEvents,
|
8955
|
+
GlobalHotkeyEvents,
|
8956
|
+
PlatformEvents,
|
8957
|
+
SystemEvents,
|
8958
|
+
ViewEvents,
|
8959
|
+
WebContentsEvents,
|
8960
|
+
WindowEvents
|
8932
8961
|
}
|
8933
8962
|
}
|
8934
8963
|
export default OpenFin;
|
@@ -8985,10 +9014,8 @@ declare type PickOfType<T extends Record<any, any>, TTarget> = {
|
|
8985
9014
|
|
8986
9015
|
/** Manages the life cycle of windows and views in the application.
|
8987
9016
|
*
|
8988
|
-
* Enables taking snapshots of itself and
|
8989
|
-
* ng them to restore a previous configuration
|
9017
|
+
* Enables taking snapshots of itself and applying them to restore a previous configuration
|
8990
9018
|
* as well as listen to {@link OpenFin.PlatformEvents platform events}.
|
8991
|
-
*
|
8992
9019
|
*/
|
8993
9020
|
declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
8994
9021
|
#private;
|
@@ -9647,7 +9674,7 @@ declare type PlatformApiReadyEvent = BaseEvent & {
|
|
9647
9674
|
*/
|
9648
9675
|
declare type PlatformEvent = ApplicationEvent | PlatformApiReadyEvent | PlatformSnapshotAppliedEvent;
|
9649
9676
|
|
9650
|
-
declare type PlatformEvent_2 = PlatformEvents.PlatformEvent;
|
9677
|
+
declare type PlatformEvent_2 = Events.PlatformEvents.PlatformEvent;
|
9651
9678
|
|
9652
9679
|
declare namespace PlatformEvents {
|
9653
9680
|
export {
|
@@ -13439,7 +13466,7 @@ declare type SystemEvent = {
|
|
13439
13466
|
topic: 'system';
|
13440
13467
|
} & (ExcludeRequested<PropagatedWindowEvent> | PropagatedViewEvent | PropagatedApplicationEvent | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleEvent | MonitorEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent);
|
13441
13468
|
|
13442
|
-
declare type SystemEvent_2 = SystemEvents.SystemEvent;
|
13469
|
+
declare type SystemEvent_2 = Events.SystemEvents.SystemEvent;
|
13443
13470
|
|
13444
13471
|
declare namespace SystemEvents {
|
13445
13472
|
export {
|
@@ -14668,7 +14695,7 @@ declare type ViewEvent = {
|
|
14668
14695
|
topic: 'view';
|
14669
14696
|
} & (NonPropagatedViewEvent | WillPropagateViewEvent);
|
14670
14697
|
|
14671
|
-
declare type ViewEvent_2 = ViewEvents.ViewEvent;
|
14698
|
+
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
14672
14699
|
|
14673
14700
|
declare namespace ViewEvents {
|
14674
14701
|
export {
|
@@ -15869,7 +15896,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15869
15896
|
*/
|
15870
15897
|
declare type WebContentsEvent = NonPropagatedWebContentsEvent | WillPropagateWebContentsEvent;
|
15871
15898
|
|
15872
|
-
declare type WebContentsEvent_2 = WebContentsEvents.WebContentsEvent;
|
15899
|
+
declare type WebContentsEvent_2 = Events.WebContentsEvents.WebContentsEvent;
|
15873
15900
|
|
15874
15901
|
declare namespace WebContentsEvents {
|
15875
15902
|
export {
|
@@ -17710,7 +17737,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
17710
17737
|
topic: 'window';
|
17711
17738
|
} & (WillPropagateWindowEvent | NonPropagatedWindowEvent | PropagatedViewEvent);
|
17712
17739
|
|
17713
|
-
declare type WindowEvent_2 = WindowEvents.WindowEvent;
|
17740
|
+
declare type WindowEvent_2 = Events.WindowEvents.WindowEvent;
|
17714
17741
|
|
17715
17742
|
declare namespace WindowEvents {
|
17716
17743
|
export {
|