@openfin/fdc3-api 40.82.1 → 40.82.3
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 +83 -1
- package/out/fdc3-api-beta.d.ts +83 -1
- package/out/fdc3-api-public.d.ts +83 -1
- package/out/fdc3-api.d.ts +83 -1
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -3699,6 +3699,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3699
3699
|
|
|
3700
3700
|
/**
|
|
3701
3701
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3702
|
+
* @interface
|
|
3702
3703
|
*/
|
|
3703
3704
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3704
3705
|
type: 'content-blocked';
|
|
@@ -8562,6 +8563,23 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8562
8563
|
*/
|
|
8563
8564
|
declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8564
8565
|
|
|
8566
|
+
declare type LogUploaderUIOptions = {
|
|
8567
|
+
title?: string;
|
|
8568
|
+
icon?: string;
|
|
8569
|
+
header?: string;
|
|
8570
|
+
description?: string;
|
|
8571
|
+
email?: string;
|
|
8572
|
+
website?: string;
|
|
8573
|
+
websiteDescription?: string;
|
|
8574
|
+
};
|
|
8575
|
+
|
|
8576
|
+
declare type LogUploadOptions = {
|
|
8577
|
+
endpoint: string;
|
|
8578
|
+
manifests?: string[];
|
|
8579
|
+
logs?: string[];
|
|
8580
|
+
ui?: LogUploaderUIOptions;
|
|
8581
|
+
};
|
|
8582
|
+
|
|
8565
8583
|
/**
|
|
8566
8584
|
* @interface
|
|
8567
8585
|
*/
|
|
@@ -8620,6 +8638,7 @@ declare type Manifest = {
|
|
|
8620
8638
|
enableErrorReporting?: boolean;
|
|
8621
8639
|
};
|
|
8622
8640
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
8641
|
+
logUpload?: LogUploadOptions;
|
|
8623
8642
|
};
|
|
8624
8643
|
|
|
8625
8644
|
/**
|
|
@@ -9251,6 +9270,34 @@ declare type NavigationRules = {
|
|
|
9251
9270
|
|
|
9252
9271
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9253
9272
|
|
|
9273
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9274
|
+
address: string;
|
|
9275
|
+
netmask: string;
|
|
9276
|
+
mac: string;
|
|
9277
|
+
internal: boolean;
|
|
9278
|
+
cidr: string | null;
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9281
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9282
|
+
|
|
9283
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9284
|
+
family: 'IPv4';
|
|
9285
|
+
scopeid?: undefined;
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9288
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9289
|
+
family: 'IPv6';
|
|
9290
|
+
scopeid: number;
|
|
9291
|
+
}
|
|
9292
|
+
|
|
9293
|
+
declare interface NodeUserInfo {
|
|
9294
|
+
username: string;
|
|
9295
|
+
uid: number;
|
|
9296
|
+
gid: number;
|
|
9297
|
+
shell: string | null;
|
|
9298
|
+
homedir: string;
|
|
9299
|
+
}
|
|
9300
|
+
|
|
9254
9301
|
/**
|
|
9255
9302
|
* @interface
|
|
9256
9303
|
*/
|
|
@@ -9453,6 +9500,8 @@ declare namespace OpenFin {
|
|
|
9453
9500
|
PlatformViewCreationOptions,
|
|
9454
9501
|
ProcessAffinityStrategy,
|
|
9455
9502
|
PlatformOptions,
|
|
9503
|
+
LogUploaderUIOptions,
|
|
9504
|
+
LogUploadOptions,
|
|
9456
9505
|
Manifest,
|
|
9457
9506
|
LayoutContent,
|
|
9458
9507
|
LayoutItemConfig,
|
|
@@ -9480,6 +9529,7 @@ declare namespace OpenFin {
|
|
|
9480
9529
|
Time,
|
|
9481
9530
|
CpuInfo,
|
|
9482
9531
|
GpuInfo,
|
|
9532
|
+
OSInfo,
|
|
9483
9533
|
HostSpecs,
|
|
9484
9534
|
PrinterInfo_2 as PrinterInfo,
|
|
9485
9535
|
Dpi,
|
|
@@ -9687,6 +9737,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9687
9737
|
diff: OpenFin.WindowOptionDiff;
|
|
9688
9738
|
};
|
|
9689
9739
|
|
|
9740
|
+
/**
|
|
9741
|
+
* @interface
|
|
9742
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
9743
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9744
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9745
|
+
*/
|
|
9746
|
+
declare type OSInfo = {
|
|
9747
|
+
platform: string;
|
|
9748
|
+
release: string;
|
|
9749
|
+
version: string;
|
|
9750
|
+
/**
|
|
9751
|
+
* Throws if a user has no username or homedir.
|
|
9752
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9753
|
+
*/
|
|
9754
|
+
userInfo: NodeUserInfo;
|
|
9755
|
+
hostname: string;
|
|
9756
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9757
|
+
};
|
|
9758
|
+
|
|
9690
9759
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9691
9760
|
|
|
9692
9761
|
/**
|
|
@@ -11948,6 +12017,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11948
12017
|
};
|
|
11949
12018
|
response: void;
|
|
11950
12019
|
};
|
|
12020
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12021
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11951
12022
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11952
12023
|
'system-register-shutdown-handler': VoidCall;
|
|
11953
12024
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13288,7 +13359,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13288
13359
|
*/
|
|
13289
13360
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13290
13361
|
/**
|
|
13291
|
-
* Retrieves system information.
|
|
13362
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13363
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13292
13364
|
*
|
|
13293
13365
|
* @example
|
|
13294
13366
|
* ```js
|
|
@@ -13296,6 +13368,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13296
13368
|
* ```
|
|
13297
13369
|
*/
|
|
13298
13370
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13371
|
+
/**
|
|
13372
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13373
|
+
*
|
|
13374
|
+
* @example
|
|
13375
|
+
* ```js
|
|
13376
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13377
|
+
* ```
|
|
13378
|
+
*/
|
|
13379
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13299
13380
|
/**
|
|
13300
13381
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13301
13382
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14423,6 +14504,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14423
14504
|
* @interface
|
|
14424
14505
|
*/
|
|
14425
14506
|
declare type SystemPermissions = {
|
|
14507
|
+
getOSInfo: boolean;
|
|
14426
14508
|
getAllExternalWindows: boolean;
|
|
14427
14509
|
launchExternalProcess: boolean | {
|
|
14428
14510
|
enabled: boolean;
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -3699,6 +3699,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3699
3699
|
|
|
3700
3700
|
/**
|
|
3701
3701
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3702
|
+
* @interface
|
|
3702
3703
|
*/
|
|
3703
3704
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3704
3705
|
type: 'content-blocked';
|
|
@@ -8562,6 +8563,23 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8562
8563
|
*/
|
|
8563
8564
|
declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8564
8565
|
|
|
8566
|
+
declare type LogUploaderUIOptions = {
|
|
8567
|
+
title?: string;
|
|
8568
|
+
icon?: string;
|
|
8569
|
+
header?: string;
|
|
8570
|
+
description?: string;
|
|
8571
|
+
email?: string;
|
|
8572
|
+
website?: string;
|
|
8573
|
+
websiteDescription?: string;
|
|
8574
|
+
};
|
|
8575
|
+
|
|
8576
|
+
declare type LogUploadOptions = {
|
|
8577
|
+
endpoint: string;
|
|
8578
|
+
manifests?: string[];
|
|
8579
|
+
logs?: string[];
|
|
8580
|
+
ui?: LogUploaderUIOptions;
|
|
8581
|
+
};
|
|
8582
|
+
|
|
8565
8583
|
/**
|
|
8566
8584
|
* @interface
|
|
8567
8585
|
*/
|
|
@@ -8620,6 +8638,7 @@ declare type Manifest = {
|
|
|
8620
8638
|
enableErrorReporting?: boolean;
|
|
8621
8639
|
};
|
|
8622
8640
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
8641
|
+
logUpload?: LogUploadOptions;
|
|
8623
8642
|
};
|
|
8624
8643
|
|
|
8625
8644
|
/**
|
|
@@ -9251,6 +9270,34 @@ declare type NavigationRules = {
|
|
|
9251
9270
|
|
|
9252
9271
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9253
9272
|
|
|
9273
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9274
|
+
address: string;
|
|
9275
|
+
netmask: string;
|
|
9276
|
+
mac: string;
|
|
9277
|
+
internal: boolean;
|
|
9278
|
+
cidr: string | null;
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9281
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9282
|
+
|
|
9283
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9284
|
+
family: 'IPv4';
|
|
9285
|
+
scopeid?: undefined;
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9288
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9289
|
+
family: 'IPv6';
|
|
9290
|
+
scopeid: number;
|
|
9291
|
+
}
|
|
9292
|
+
|
|
9293
|
+
declare interface NodeUserInfo {
|
|
9294
|
+
username: string;
|
|
9295
|
+
uid: number;
|
|
9296
|
+
gid: number;
|
|
9297
|
+
shell: string | null;
|
|
9298
|
+
homedir: string;
|
|
9299
|
+
}
|
|
9300
|
+
|
|
9254
9301
|
/**
|
|
9255
9302
|
* @interface
|
|
9256
9303
|
*/
|
|
@@ -9453,6 +9500,8 @@ declare namespace OpenFin {
|
|
|
9453
9500
|
PlatformViewCreationOptions,
|
|
9454
9501
|
ProcessAffinityStrategy,
|
|
9455
9502
|
PlatformOptions,
|
|
9503
|
+
LogUploaderUIOptions,
|
|
9504
|
+
LogUploadOptions,
|
|
9456
9505
|
Manifest,
|
|
9457
9506
|
LayoutContent,
|
|
9458
9507
|
LayoutItemConfig,
|
|
@@ -9480,6 +9529,7 @@ declare namespace OpenFin {
|
|
|
9480
9529
|
Time,
|
|
9481
9530
|
CpuInfo,
|
|
9482
9531
|
GpuInfo,
|
|
9532
|
+
OSInfo,
|
|
9483
9533
|
HostSpecs,
|
|
9484
9534
|
PrinterInfo_2 as PrinterInfo,
|
|
9485
9535
|
Dpi,
|
|
@@ -9687,6 +9737,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9687
9737
|
diff: OpenFin.WindowOptionDiff;
|
|
9688
9738
|
};
|
|
9689
9739
|
|
|
9740
|
+
/**
|
|
9741
|
+
* @interface
|
|
9742
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
9743
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9744
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9745
|
+
*/
|
|
9746
|
+
declare type OSInfo = {
|
|
9747
|
+
platform: string;
|
|
9748
|
+
release: string;
|
|
9749
|
+
version: string;
|
|
9750
|
+
/**
|
|
9751
|
+
* Throws if a user has no username or homedir.
|
|
9752
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9753
|
+
*/
|
|
9754
|
+
userInfo: NodeUserInfo;
|
|
9755
|
+
hostname: string;
|
|
9756
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9757
|
+
};
|
|
9758
|
+
|
|
9690
9759
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9691
9760
|
|
|
9692
9761
|
/**
|
|
@@ -11948,6 +12017,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11948
12017
|
};
|
|
11949
12018
|
response: void;
|
|
11950
12019
|
};
|
|
12020
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12021
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11951
12022
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11952
12023
|
'system-register-shutdown-handler': VoidCall;
|
|
11953
12024
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13288,7 +13359,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13288
13359
|
*/
|
|
13289
13360
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13290
13361
|
/**
|
|
13291
|
-
* Retrieves system information.
|
|
13362
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13363
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13292
13364
|
*
|
|
13293
13365
|
* @example
|
|
13294
13366
|
* ```js
|
|
@@ -13296,6 +13368,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13296
13368
|
* ```
|
|
13297
13369
|
*/
|
|
13298
13370
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13371
|
+
/**
|
|
13372
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13373
|
+
*
|
|
13374
|
+
* @example
|
|
13375
|
+
* ```js
|
|
13376
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13377
|
+
* ```
|
|
13378
|
+
*/
|
|
13379
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13299
13380
|
/**
|
|
13300
13381
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13301
13382
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14423,6 +14504,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14423
14504
|
* @interface
|
|
14424
14505
|
*/
|
|
14425
14506
|
declare type SystemPermissions = {
|
|
14507
|
+
getOSInfo: boolean;
|
|
14426
14508
|
getAllExternalWindows: boolean;
|
|
14427
14509
|
launchExternalProcess: boolean | {
|
|
14428
14510
|
enabled: boolean;
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -3699,6 +3699,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3699
3699
|
|
|
3700
3700
|
/**
|
|
3701
3701
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3702
|
+
* @interface
|
|
3702
3703
|
*/
|
|
3703
3704
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3704
3705
|
type: 'content-blocked';
|
|
@@ -8562,6 +8563,23 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8562
8563
|
*/
|
|
8563
8564
|
declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8564
8565
|
|
|
8566
|
+
declare type LogUploaderUIOptions = {
|
|
8567
|
+
title?: string;
|
|
8568
|
+
icon?: string;
|
|
8569
|
+
header?: string;
|
|
8570
|
+
description?: string;
|
|
8571
|
+
email?: string;
|
|
8572
|
+
website?: string;
|
|
8573
|
+
websiteDescription?: string;
|
|
8574
|
+
};
|
|
8575
|
+
|
|
8576
|
+
declare type LogUploadOptions = {
|
|
8577
|
+
endpoint: string;
|
|
8578
|
+
manifests?: string[];
|
|
8579
|
+
logs?: string[];
|
|
8580
|
+
ui?: LogUploaderUIOptions;
|
|
8581
|
+
};
|
|
8582
|
+
|
|
8565
8583
|
/**
|
|
8566
8584
|
* @interface
|
|
8567
8585
|
*/
|
|
@@ -8620,6 +8638,7 @@ declare type Manifest = {
|
|
|
8620
8638
|
enableErrorReporting?: boolean;
|
|
8621
8639
|
};
|
|
8622
8640
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
8641
|
+
logUpload?: LogUploadOptions;
|
|
8623
8642
|
};
|
|
8624
8643
|
|
|
8625
8644
|
/**
|
|
@@ -9251,6 +9270,34 @@ declare type NavigationRules = {
|
|
|
9251
9270
|
|
|
9252
9271
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9253
9272
|
|
|
9273
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9274
|
+
address: string;
|
|
9275
|
+
netmask: string;
|
|
9276
|
+
mac: string;
|
|
9277
|
+
internal: boolean;
|
|
9278
|
+
cidr: string | null;
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9281
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9282
|
+
|
|
9283
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9284
|
+
family: 'IPv4';
|
|
9285
|
+
scopeid?: undefined;
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9288
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9289
|
+
family: 'IPv6';
|
|
9290
|
+
scopeid: number;
|
|
9291
|
+
}
|
|
9292
|
+
|
|
9293
|
+
declare interface NodeUserInfo {
|
|
9294
|
+
username: string;
|
|
9295
|
+
uid: number;
|
|
9296
|
+
gid: number;
|
|
9297
|
+
shell: string | null;
|
|
9298
|
+
homedir: string;
|
|
9299
|
+
}
|
|
9300
|
+
|
|
9254
9301
|
/**
|
|
9255
9302
|
* @interface
|
|
9256
9303
|
*/
|
|
@@ -9453,6 +9500,8 @@ declare namespace OpenFin {
|
|
|
9453
9500
|
PlatformViewCreationOptions,
|
|
9454
9501
|
ProcessAffinityStrategy,
|
|
9455
9502
|
PlatformOptions,
|
|
9503
|
+
LogUploaderUIOptions,
|
|
9504
|
+
LogUploadOptions,
|
|
9456
9505
|
Manifest,
|
|
9457
9506
|
LayoutContent,
|
|
9458
9507
|
LayoutItemConfig,
|
|
@@ -9480,6 +9529,7 @@ declare namespace OpenFin {
|
|
|
9480
9529
|
Time,
|
|
9481
9530
|
CpuInfo,
|
|
9482
9531
|
GpuInfo,
|
|
9532
|
+
OSInfo,
|
|
9483
9533
|
HostSpecs,
|
|
9484
9534
|
PrinterInfo_2 as PrinterInfo,
|
|
9485
9535
|
Dpi,
|
|
@@ -9687,6 +9737,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9687
9737
|
diff: OpenFin.WindowOptionDiff;
|
|
9688
9738
|
};
|
|
9689
9739
|
|
|
9740
|
+
/**
|
|
9741
|
+
* @interface
|
|
9742
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
9743
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9744
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9745
|
+
*/
|
|
9746
|
+
declare type OSInfo = {
|
|
9747
|
+
platform: string;
|
|
9748
|
+
release: string;
|
|
9749
|
+
version: string;
|
|
9750
|
+
/**
|
|
9751
|
+
* Throws if a user has no username or homedir.
|
|
9752
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9753
|
+
*/
|
|
9754
|
+
userInfo: NodeUserInfo;
|
|
9755
|
+
hostname: string;
|
|
9756
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9757
|
+
};
|
|
9758
|
+
|
|
9690
9759
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9691
9760
|
|
|
9692
9761
|
/**
|
|
@@ -11948,6 +12017,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11948
12017
|
};
|
|
11949
12018
|
response: void;
|
|
11950
12019
|
};
|
|
12020
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12021
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
11951
12022
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11952
12023
|
'system-register-shutdown-handler': VoidCall;
|
|
11953
12024
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13288,7 +13359,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13288
13359
|
*/
|
|
13289
13360
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13290
13361
|
/**
|
|
13291
|
-
* Retrieves system information.
|
|
13362
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13363
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13292
13364
|
*
|
|
13293
13365
|
* @example
|
|
13294
13366
|
* ```js
|
|
@@ -13296,6 +13368,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13296
13368
|
* ```
|
|
13297
13369
|
*/
|
|
13298
13370
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13371
|
+
/**
|
|
13372
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13373
|
+
*
|
|
13374
|
+
* @example
|
|
13375
|
+
* ```js
|
|
13376
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13377
|
+
* ```
|
|
13378
|
+
*/
|
|
13379
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13299
13380
|
/**
|
|
13300
13381
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13301
13382
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14423,6 +14504,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14423
14504
|
* @interface
|
|
14424
14505
|
*/
|
|
14425
14506
|
declare type SystemPermissions = {
|
|
14507
|
+
getOSInfo: boolean;
|
|
14426
14508
|
getAllExternalWindows: boolean;
|
|
14427
14509
|
launchExternalProcess: boolean | {
|
|
14428
14510
|
enabled: boolean;
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -3758,6 +3758,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3758
3758
|
|
|
3759
3759
|
/**
|
|
3760
3760
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3761
|
+
* @interface
|
|
3761
3762
|
*/
|
|
3762
3763
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3763
3764
|
type: 'content-blocked';
|
|
@@ -8855,6 +8856,23 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8855
8856
|
*/
|
|
8856
8857
|
declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8857
8858
|
|
|
8859
|
+
declare type LogUploaderUIOptions = {
|
|
8860
|
+
title?: string;
|
|
8861
|
+
icon?: string;
|
|
8862
|
+
header?: string;
|
|
8863
|
+
description?: string;
|
|
8864
|
+
email?: string;
|
|
8865
|
+
website?: string;
|
|
8866
|
+
websiteDescription?: string;
|
|
8867
|
+
};
|
|
8868
|
+
|
|
8869
|
+
declare type LogUploadOptions = {
|
|
8870
|
+
endpoint: string;
|
|
8871
|
+
manifests?: string[];
|
|
8872
|
+
logs?: string[];
|
|
8873
|
+
ui?: LogUploaderUIOptions;
|
|
8874
|
+
};
|
|
8875
|
+
|
|
8858
8876
|
/**
|
|
8859
8877
|
* @interface
|
|
8860
8878
|
*/
|
|
@@ -8913,6 +8931,7 @@ declare type Manifest = {
|
|
|
8913
8931
|
enableErrorReporting?: boolean;
|
|
8914
8932
|
};
|
|
8915
8933
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
8934
|
+
logUpload?: LogUploadOptions;
|
|
8916
8935
|
};
|
|
8917
8936
|
|
|
8918
8937
|
/**
|
|
@@ -9556,6 +9575,34 @@ declare type NavigationRules = {
|
|
|
9556
9575
|
|
|
9557
9576
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9558
9577
|
|
|
9578
|
+
declare interface NodeNetworkInterfaceBase {
|
|
9579
|
+
address: string;
|
|
9580
|
+
netmask: string;
|
|
9581
|
+
mac: string;
|
|
9582
|
+
internal: boolean;
|
|
9583
|
+
cidr: string | null;
|
|
9584
|
+
}
|
|
9585
|
+
|
|
9586
|
+
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9587
|
+
|
|
9588
|
+
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9589
|
+
family: 'IPv4';
|
|
9590
|
+
scopeid?: undefined;
|
|
9591
|
+
}
|
|
9592
|
+
|
|
9593
|
+
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9594
|
+
family: 'IPv6';
|
|
9595
|
+
scopeid: number;
|
|
9596
|
+
}
|
|
9597
|
+
|
|
9598
|
+
declare interface NodeUserInfo {
|
|
9599
|
+
username: string;
|
|
9600
|
+
uid: number;
|
|
9601
|
+
gid: number;
|
|
9602
|
+
shell: string | null;
|
|
9603
|
+
homedir: string;
|
|
9604
|
+
}
|
|
9605
|
+
|
|
9559
9606
|
/**
|
|
9560
9607
|
* @interface
|
|
9561
9608
|
*/
|
|
@@ -9768,6 +9815,8 @@ declare namespace OpenFin {
|
|
|
9768
9815
|
PlatformViewCreationOptions,
|
|
9769
9816
|
ProcessAffinityStrategy,
|
|
9770
9817
|
PlatformOptions,
|
|
9818
|
+
LogUploaderUIOptions,
|
|
9819
|
+
LogUploadOptions,
|
|
9771
9820
|
Manifest,
|
|
9772
9821
|
LayoutContent,
|
|
9773
9822
|
LayoutItemConfig,
|
|
@@ -9795,6 +9844,7 @@ declare namespace OpenFin {
|
|
|
9795
9844
|
Time,
|
|
9796
9845
|
CpuInfo,
|
|
9797
9846
|
GpuInfo,
|
|
9847
|
+
OSInfo,
|
|
9798
9848
|
HostSpecs,
|
|
9799
9849
|
PrinterInfo_2 as PrinterInfo,
|
|
9800
9850
|
Dpi,
|
|
@@ -10002,6 +10052,25 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
10002
10052
|
diff: OpenFin.WindowOptionDiff;
|
|
10003
10053
|
};
|
|
10004
10054
|
|
|
10055
|
+
/**
|
|
10056
|
+
* @interface
|
|
10057
|
+
* The keys represent the output from calling individual Node `os` APIs.
|
|
10058
|
+
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
10059
|
+
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
10060
|
+
*/
|
|
10061
|
+
declare type OSInfo = {
|
|
10062
|
+
platform: string;
|
|
10063
|
+
release: string;
|
|
10064
|
+
version: string;
|
|
10065
|
+
/**
|
|
10066
|
+
* Throws if a user has no username or homedir.
|
|
10067
|
+
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
10068
|
+
*/
|
|
10069
|
+
userInfo: NodeUserInfo;
|
|
10070
|
+
hostname: string;
|
|
10071
|
+
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
10072
|
+
};
|
|
10073
|
+
|
|
10005
10074
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
10006
10075
|
|
|
10007
10076
|
/**
|
|
@@ -12341,6 +12410,8 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12341
12410
|
};
|
|
12342
12411
|
response: void;
|
|
12343
12412
|
};
|
|
12413
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12414
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12344
12415
|
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12345
12416
|
'system-register-shutdown-handler': VoidCall;
|
|
12346
12417
|
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
@@ -13687,7 +13758,8 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13687
13758
|
*/
|
|
13688
13759
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
13689
13760
|
/**
|
|
13690
|
-
* Retrieves system information.
|
|
13761
|
+
* Retrieves general system information. If you need more detailed information about the
|
|
13762
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13691
13763
|
*
|
|
13692
13764
|
* @example
|
|
13693
13765
|
* ```js
|
|
@@ -13695,6 +13767,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13695
13767
|
* ```
|
|
13696
13768
|
*/
|
|
13697
13769
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
13770
|
+
/**
|
|
13771
|
+
* Retrieves information about the OS and the currently logged in user.
|
|
13772
|
+
*
|
|
13773
|
+
* @example
|
|
13774
|
+
* ```js
|
|
13775
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
13776
|
+
* ```
|
|
13777
|
+
*/
|
|
13778
|
+
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
13698
13779
|
/**
|
|
13699
13780
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
13700
13781
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14822,6 +14903,7 @@ declare type SystemEventType = EventType_8;
|
|
|
14822
14903
|
* @interface
|
|
14823
14904
|
*/
|
|
14824
14905
|
declare type SystemPermissions = {
|
|
14906
|
+
getOSInfo: boolean;
|
|
14825
14907
|
getAllExternalWindows: boolean;
|
|
14826
14908
|
launchExternalProcess: boolean | {
|
|
14827
14909
|
enabled: boolean;
|