@openfin/fdc3-api 38.82.60 → 38.82.62
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 +63 -1
- package/out/fdc3-api-beta.d.ts +63 -1
- package/out/fdc3-api-public.d.ts +63 -1
- package/out/fdc3-api.d.ts +63 -1
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -3702,6 +3702,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3702
3702
|
|
|
3703
3703
|
/**
|
|
3704
3704
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3705
|
+
* @interface
|
|
3705
3706
|
*/
|
|
3706
3707
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3707
3708
|
type: 'content-blocked';
|
|
@@ -9247,6 +9248,34 @@ declare type NavigationRules = {
|
|
|
9247
9248
|
|
|
9248
9249
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9249
9250
|
|
|
9251
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9252
|
+
address: string;
|
|
9253
|
+
netmask: string;
|
|
9254
|
+
mac: string;
|
|
9255
|
+
internal: boolean;
|
|
9256
|
+
cidr: string | null;
|
|
9257
|
+
}
|
|
9258
|
+
|
|
9259
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9260
|
+
|
|
9261
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9262
|
+
family: 'IPv4';
|
|
9263
|
+
scopeid?: undefined;
|
|
9264
|
+
}
|
|
9265
|
+
|
|
9266
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9267
|
+
family: 'IPv6';
|
|
9268
|
+
scopeid: number;
|
|
9269
|
+
}
|
|
9270
|
+
|
|
9271
|
+
declare interface NodeUserInfo {
|
|
9272
|
+
username: string;
|
|
9273
|
+
uid: number;
|
|
9274
|
+
gid: number;
|
|
9275
|
+
shell: string | null;
|
|
9276
|
+
homedir: string;
|
|
9277
|
+
}
|
|
9278
|
+
|
|
9250
9279
|
/**
|
|
9251
9280
|
* @interface
|
|
9252
9281
|
*/
|
|
@@ -9476,6 +9505,7 @@ declare namespace OpenFin {
|
|
|
9476
9505
|
Time,
|
|
9477
9506
|
CpuInfo,
|
|
9478
9507
|
GpuInfo,
|
|
9508
|
+
OSInfo,
|
|
9479
9509
|
HostSpecs,
|
|
9480
9510
|
PrinterInfo_2 as PrinterInfo,
|
|
9481
9511
|
Dpi,
|
|
@@ -9683,6 +9713,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9683
9713
|
diff: OpenFin.WindowOptionDiff;
|
|
9684
9714
|
};
|
|
9685
9715
|
|
|
9716
|
+
/**
|
|
9717
|
+
* @interface
|
|
9718
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
9719
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9720
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9721
|
+
*/
|
|
9722
|
+
declare type OSInfo = {
|
|
9723
|
+
platform: string;
|
|
9724
|
+
release: string;
|
|
9725
|
+
version: string;
|
|
9726
|
+
/**
|
|
9727
|
+
* Throws if a user has no username or homedir.
|
|
9728
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9729
|
+
*/
|
|
9730
|
+
userInfo: NodeUserInfo;
|
|
9731
|
+
hostname: string;
|
|
9732
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9733
|
+
};
|
|
9734
|
+
|
|
9686
9735
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9687
9736
|
|
|
9688
9737
|
/**
|
|
@@ -11944,6 +11993,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11944
11993
|
};
|
|
11945
11994
|
response: void;
|
|
11946
11995
|
};
|
|
11996
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
11997
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11947
11998
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11948
11999
|
'system-register-shutdown-handler': VoidCall;
|
|
11949
12000
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13284,7 +13335,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13284
13335
|
*/
|
|
13285
13336
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13286
13337
|
/**
|
|
13287
|
-
* Retrieves system information.
|
|
13338
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13339
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13288
13340
|
*
|
|
13289
13341
|
* @example
|
|
13290
13342
|
* ```js
|
|
@@ -13292,6 +13344,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13292
13344
|
* ```
|
|
13293
13345
|
*/
|
|
13294
13346
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13347
|
+
/**
|
|
13348
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13349
|
+
*
|
|
13350
|
+
* @example
|
|
13351
|
+
* ```js
|
|
13352
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13353
|
+
* ```
|
|
13354
|
+
*/
|
|
13355
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13295
13356
|
/**
|
|
13296
13357
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13297
13358
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14419,6 +14480,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14419
14480
|
* @interface
|
|
14420
14481
|
*/
|
|
14421
14482
|
declare type SystemPermissions = {
|
|
14483
|
+
getOSInfo: boolean;
|
|
14422
14484
|
getAllExternalWindows: boolean;
|
|
14423
14485
|
launchExternalProcess: boolean | {
|
|
14424
14486
|
enabled: boolean;
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -3702,6 +3702,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3702
3702
|
|
|
3703
3703
|
/**
|
|
3704
3704
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3705
|
+
* @interface
|
|
3705
3706
|
*/
|
|
3706
3707
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3707
3708
|
type: 'content-blocked';
|
|
@@ -9247,6 +9248,34 @@ declare type NavigationRules = {
|
|
|
9247
9248
|
|
|
9248
9249
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9249
9250
|
|
|
9251
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9252
|
+
address: string;
|
|
9253
|
+
netmask: string;
|
|
9254
|
+
mac: string;
|
|
9255
|
+
internal: boolean;
|
|
9256
|
+
cidr: string | null;
|
|
9257
|
+
}
|
|
9258
|
+
|
|
9259
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9260
|
+
|
|
9261
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9262
|
+
family: 'IPv4';
|
|
9263
|
+
scopeid?: undefined;
|
|
9264
|
+
}
|
|
9265
|
+
|
|
9266
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9267
|
+
family: 'IPv6';
|
|
9268
|
+
scopeid: number;
|
|
9269
|
+
}
|
|
9270
|
+
|
|
9271
|
+
declare interface NodeUserInfo {
|
|
9272
|
+
username: string;
|
|
9273
|
+
uid: number;
|
|
9274
|
+
gid: number;
|
|
9275
|
+
shell: string | null;
|
|
9276
|
+
homedir: string;
|
|
9277
|
+
}
|
|
9278
|
+
|
|
9250
9279
|
/**
|
|
9251
9280
|
* @interface
|
|
9252
9281
|
*/
|
|
@@ -9476,6 +9505,7 @@ declare namespace OpenFin {
|
|
|
9476
9505
|
Time,
|
|
9477
9506
|
CpuInfo,
|
|
9478
9507
|
GpuInfo,
|
|
9508
|
+
OSInfo,
|
|
9479
9509
|
HostSpecs,
|
|
9480
9510
|
PrinterInfo_2 as PrinterInfo,
|
|
9481
9511
|
Dpi,
|
|
@@ -9683,6 +9713,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9683
9713
|
diff: OpenFin.WindowOptionDiff;
|
|
9684
9714
|
};
|
|
9685
9715
|
|
|
9716
|
+
/**
|
|
9717
|
+
* @interface
|
|
9718
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
9719
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9720
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9721
|
+
*/
|
|
9722
|
+
declare type OSInfo = {
|
|
9723
|
+
platform: string;
|
|
9724
|
+
release: string;
|
|
9725
|
+
version: string;
|
|
9726
|
+
/**
|
|
9727
|
+
* Throws if a user has no username or homedir.
|
|
9728
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9729
|
+
*/
|
|
9730
|
+
userInfo: NodeUserInfo;
|
|
9731
|
+
hostname: string;
|
|
9732
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9733
|
+
};
|
|
9734
|
+
|
|
9686
9735
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9687
9736
|
|
|
9688
9737
|
/**
|
|
@@ -11944,6 +11993,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11944
11993
|
};
|
|
11945
11994
|
response: void;
|
|
11946
11995
|
};
|
|
11996
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
11997
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11947
11998
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11948
11999
|
'system-register-shutdown-handler': VoidCall;
|
|
11949
12000
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13284,7 +13335,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13284
13335
|
*/
|
|
13285
13336
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13286
13337
|
/**
|
|
13287
|
-
* Retrieves system information.
|
|
13338
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13339
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13288
13340
|
*
|
|
13289
13341
|
* @example
|
|
13290
13342
|
* ```js
|
|
@@ -13292,6 +13344,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13292
13344
|
* ```
|
|
13293
13345
|
*/
|
|
13294
13346
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13347
|
+
/**
|
|
13348
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13349
|
+
*
|
|
13350
|
+
* @example
|
|
13351
|
+
* ```js
|
|
13352
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13353
|
+
* ```
|
|
13354
|
+
*/
|
|
13355
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13295
13356
|
/**
|
|
13296
13357
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13297
13358
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14419,6 +14480,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14419
14480
|
* @interface
|
|
14420
14481
|
*/
|
|
14421
14482
|
declare type SystemPermissions = {
|
|
14483
|
+
getOSInfo: boolean;
|
|
14422
14484
|
getAllExternalWindows: boolean;
|
|
14423
14485
|
launchExternalProcess: boolean | {
|
|
14424
14486
|
enabled: boolean;
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -3702,6 +3702,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3702
3702
|
|
|
3703
3703
|
/**
|
|
3704
3704
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3705
|
+
* @interface
|
|
3705
3706
|
*/
|
|
3706
3707
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3707
3708
|
type: 'content-blocked';
|
|
@@ -9247,6 +9248,34 @@ declare type NavigationRules = {
|
|
|
9247
9248
|
|
|
9248
9249
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9249
9250
|
|
|
9251
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9252
|
+
address: string;
|
|
9253
|
+
netmask: string;
|
|
9254
|
+
mac: string;
|
|
9255
|
+
internal: boolean;
|
|
9256
|
+
cidr: string | null;
|
|
9257
|
+
}
|
|
9258
|
+
|
|
9259
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9260
|
+
|
|
9261
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9262
|
+
family: 'IPv4';
|
|
9263
|
+
scopeid?: undefined;
|
|
9264
|
+
}
|
|
9265
|
+
|
|
9266
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9267
|
+
family: 'IPv6';
|
|
9268
|
+
scopeid: number;
|
|
9269
|
+
}
|
|
9270
|
+
|
|
9271
|
+
declare interface NodeUserInfo {
|
|
9272
|
+
username: string;
|
|
9273
|
+
uid: number;
|
|
9274
|
+
gid: number;
|
|
9275
|
+
shell: string | null;
|
|
9276
|
+
homedir: string;
|
|
9277
|
+
}
|
|
9278
|
+
|
|
9250
9279
|
/**
|
|
9251
9280
|
* @interface
|
|
9252
9281
|
*/
|
|
@@ -9476,6 +9505,7 @@ declare namespace OpenFin {
|
|
|
9476
9505
|
Time,
|
|
9477
9506
|
CpuInfo,
|
|
9478
9507
|
GpuInfo,
|
|
9508
|
+
OSInfo,
|
|
9479
9509
|
HostSpecs,
|
|
9480
9510
|
PrinterInfo_2 as PrinterInfo,
|
|
9481
9511
|
Dpi,
|
|
@@ -9683,6 +9713,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9683
9713
|
diff: OpenFin.WindowOptionDiff;
|
|
9684
9714
|
};
|
|
9685
9715
|
|
|
9716
|
+
/**
|
|
9717
|
+
* @interface
|
|
9718
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
9719
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9720
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9721
|
+
*/
|
|
9722
|
+
declare type OSInfo = {
|
|
9723
|
+
platform: string;
|
|
9724
|
+
release: string;
|
|
9725
|
+
version: string;
|
|
9726
|
+
/**
|
|
9727
|
+
* Throws if a user has no username or homedir.
|
|
9728
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9729
|
+
*/
|
|
9730
|
+
userInfo: NodeUserInfo;
|
|
9731
|
+
hostname: string;
|
|
9732
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9733
|
+
};
|
|
9734
|
+
|
|
9686
9735
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9687
9736
|
|
|
9688
9737
|
/**
|
|
@@ -11944,6 +11993,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11944
11993
|
};
|
|
11945
11994
|
response: void;
|
|
11946
11995
|
};
|
|
11996
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
11997
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11947
11998
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11948
11999
|
'system-register-shutdown-handler': VoidCall;
|
|
11949
12000
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13284,7 +13335,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13284
13335
|
*/
|
|
13285
13336
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13286
13337
|
/**
|
|
13287
|
-
* Retrieves system information.
|
|
13338
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13339
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13288
13340
|
*
|
|
13289
13341
|
* @example
|
|
13290
13342
|
* ```js
|
|
@@ -13292,6 +13344,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13292
13344
|
* ```
|
|
13293
13345
|
*/
|
|
13294
13346
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13347
|
+
/**
|
|
13348
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13349
|
+
*
|
|
13350
|
+
* @example
|
|
13351
|
+
* ```js
|
|
13352
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13353
|
+
* ```
|
|
13354
|
+
*/
|
|
13355
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13295
13356
|
/**
|
|
13296
13357
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13297
13358
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14419,6 +14480,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14419
14480
|
* @interface
|
|
14420
14481
|
*/
|
|
14421
14482
|
declare type SystemPermissions = {
|
|
14483
|
+
getOSInfo: boolean;
|
|
14422
14484
|
getAllExternalWindows: boolean;
|
|
14423
14485
|
launchExternalProcess: boolean | {
|
|
14424
14486
|
enabled: boolean;
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -3761,6 +3761,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3761
3761
|
|
|
3762
3762
|
/**
|
|
3763
3763
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3764
|
+
* @interface
|
|
3764
3765
|
*/
|
|
3765
3766
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3766
3767
|
type: 'content-blocked';
|
|
@@ -9552,6 +9553,34 @@ declare type NavigationRules = {
|
|
|
9552
9553
|
|
|
9553
9554
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9554
9555
|
|
|
9556
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9557
|
+
address: string;
|
|
9558
|
+
netmask: string;
|
|
9559
|
+
mac: string;
|
|
9560
|
+
internal: boolean;
|
|
9561
|
+
cidr: string | null;
|
|
9562
|
+
}
|
|
9563
|
+
|
|
9564
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9565
|
+
|
|
9566
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9567
|
+
family: 'IPv4';
|
|
9568
|
+
scopeid?: undefined;
|
|
9569
|
+
}
|
|
9570
|
+
|
|
9571
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9572
|
+
family: 'IPv6';
|
|
9573
|
+
scopeid: number;
|
|
9574
|
+
}
|
|
9575
|
+
|
|
9576
|
+
declare interface NodeUserInfo {
|
|
9577
|
+
username: string;
|
|
9578
|
+
uid: number;
|
|
9579
|
+
gid: number;
|
|
9580
|
+
shell: string | null;
|
|
9581
|
+
homedir: string;
|
|
9582
|
+
}
|
|
9583
|
+
|
|
9555
9584
|
/**
|
|
9556
9585
|
* @interface
|
|
9557
9586
|
*/
|
|
@@ -9791,6 +9820,7 @@ declare namespace OpenFin {
|
|
|
9791
9820
|
Time,
|
|
9792
9821
|
CpuInfo,
|
|
9793
9822
|
GpuInfo,
|
|
9823
|
+
OSInfo,
|
|
9794
9824
|
HostSpecs,
|
|
9795
9825
|
PrinterInfo_2 as PrinterInfo,
|
|
9796
9826
|
Dpi,
|
|
@@ -9998,6 +10028,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9998
10028
|
diff: OpenFin.WindowOptionDiff;
|
|
9999
10029
|
};
|
|
10000
10030
|
|
|
10031
|
+
/**
|
|
10032
|
+
* @interface
|
|
10033
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
10034
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
10035
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
10036
|
+
*/
|
|
10037
|
+
declare type OSInfo = {
|
|
10038
|
+
platform: string;
|
|
10039
|
+
release: string;
|
|
10040
|
+
version: string;
|
|
10041
|
+
/**
|
|
10042
|
+
* Throws if a user has no username or homedir.
|
|
10043
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
10044
|
+
*/
|
|
10045
|
+
userInfo: NodeUserInfo;
|
|
10046
|
+
hostname: string;
|
|
10047
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
10048
|
+
};
|
|
10049
|
+
|
|
10001
10050
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
10002
10051
|
|
|
10003
10052
|
/**
|
|
@@ -12337,6 +12386,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12337
12386
|
};
|
|
12338
12387
|
response: void;
|
|
12339
12388
|
};
|
|
12389
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12390
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12340
12391
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12341
12392
|
'system-register-shutdown-handler': VoidCall;
|
|
12342
12393
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13683,7 +13734,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13683
13734
|
*/
|
|
13684
13735
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13685
13736
|
/**
|
|
13686
|
-
* Retrieves system information.
|
|
13737
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13738
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13687
13739
|
*
|
|
13688
13740
|
* @example
|
|
13689
13741
|
* ```js
|
|
@@ -13691,6 +13743,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13691
13743
|
* ```
|
|
13692
13744
|
*/
|
|
13693
13745
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13746
|
+
/**
|
|
13747
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13748
|
+
*
|
|
13749
|
+
* @example
|
|
13750
|
+
* ```js
|
|
13751
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13752
|
+
* ```
|
|
13753
|
+
*/
|
|
13754
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13694
13755
|
/**
|
|
13695
13756
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13696
13757
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14818,6 +14879,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14818
14879
|
* @interface
|
|
14819
14880
|
*/
|
|
14820
14881
|
declare type SystemPermissions = {
|
|
14882
|
+
getOSInfo: boolean;
|
|
14821
14883
|
getAllExternalWindows: boolean;
|
|
14822
14884
|
launchExternalProcess: boolean | {
|
|
14823
14885
|
enabled: boolean;
|