@openfin/core 43.100.35 → 43.100.37
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/mock-alpha.d.ts +66 -0
- package/out/mock-beta.d.ts +66 -0
- package/out/mock-public.d.ts +66 -0
- package/out/stub.d.ts +66 -0
- package/out/stub.js +6 -0
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -8662,19 +8662,74 @@ declare type LogInfo = {
|
|
8662
8662
|
*/
|
8663
8663
|
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8664
8664
|
|
8665
|
+
/**
|
8666
|
+
* Options for the Log Uploader.
|
8667
|
+
*/
|
8668
|
+
declare type LogUploaderOptions = LogUploadOptions & {
|
8669
|
+
ui?: LogUploaderUIOptions & {
|
8670
|
+
/**
|
8671
|
+
* Whether the Log Uploader UI should be shown.
|
8672
|
+
* @defaultValue true
|
8673
|
+
*/
|
8674
|
+
show?: boolean;
|
8675
|
+
};
|
8676
|
+
};
|
8677
|
+
|
8678
|
+
/**
|
8679
|
+
* Options for the Log Uploader UI.
|
8680
|
+
* @interface
|
8681
|
+
*/
|
8665
8682
|
declare type LogUploaderUIOptions = {
|
8683
|
+
/**
|
8684
|
+
* Title for the Log Uploader window.
|
8685
|
+
* @defaultValue 'Here Log Uploader'
|
8686
|
+
*/
|
8666
8687
|
title?: string;
|
8688
|
+
/**
|
8689
|
+
* URL of an icon to use for the Log Uploader tool. The default is the Here logo.
|
8690
|
+
*/
|
8667
8691
|
icon?: string;
|
8692
|
+
/**
|
8693
|
+
* Name of the organization displayed in the Uploader window.
|
8694
|
+
* @defaultValue 'Here'
|
8695
|
+
*/
|
8668
8696
|
header?: string;
|
8697
|
+
/**
|
8698
|
+
* An explanation for the user of the purpose of the tool.
|
8699
|
+
* @defaultValue 'The following logs are being requested'
|
8700
|
+
*/
|
8669
8701
|
description?: string;
|
8702
|
+
/**
|
8703
|
+
* An email address that the user can contact with questions.
|
8704
|
+
* @defaultValue 'support@here.io'
|
8705
|
+
*/
|
8670
8706
|
email?: string;
|
8707
|
+
/**
|
8708
|
+
* URL of a webpage where the user can find more information about log uploading.
|
8709
|
+
* @defaultValue 'https://resources.here.io/docs/core/manage/security/'
|
8710
|
+
*/
|
8671
8711
|
website?: string;
|
8712
|
+
/**
|
8713
|
+
* Description of the webpage where the user can find more information.
|
8714
|
+
* @defaultValue 'Here Security'
|
8715
|
+
*/
|
8672
8716
|
websiteDescription?: string;
|
8673
8717
|
};
|
8674
8718
|
|
8675
8719
|
declare type LogUploadOptions = {
|
8720
|
+
/**
|
8721
|
+
* The URL where log files are to be uploaded.
|
8722
|
+
*/
|
8676
8723
|
endpoint: string;
|
8724
|
+
/**
|
8725
|
+
* An array of URL match patterns to define the manifests of the programs that the Log Uploader should upload logs for.
|
8726
|
+
* @defaultValue []
|
8727
|
+
*/
|
8677
8728
|
manifests?: string[];
|
8729
|
+
/**
|
8730
|
+
* An array of strings that specifies which logs should be uploaded.
|
8731
|
+
* @defaultValue ['app', 'rvm', 'debug']
|
8732
|
+
*/
|
8678
8733
|
logs?: string[];
|
8679
8734
|
ui?: LogUploaderUIOptions;
|
8680
8735
|
};
|
@@ -9669,6 +9724,7 @@ declare namespace OpenFin_2 {
|
|
9669
9724
|
PlatformViewCreationOptions,
|
9670
9725
|
ProcessAffinityStrategy,
|
9671
9726
|
PlatformOptions,
|
9727
|
+
LogUploaderOptions,
|
9672
9728
|
LogUploaderUIOptions,
|
9673
9729
|
LogUploadOptions,
|
9674
9730
|
Manifest,
|
@@ -12988,6 +13044,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
12988
13044
|
};
|
12989
13045
|
response: void;
|
12990
13046
|
};
|
13047
|
+
'launch-log-uploader': ApiCall<{
|
13048
|
+
options: OpenFin_2.LogUploaderOptions;
|
13049
|
+
}, void> & {
|
13050
|
+
apiPath: '.launchLogUploader';
|
13051
|
+
namespace: 'System';
|
13052
|
+
};
|
12991
13053
|
'dispatch-notification-event': {
|
12992
13054
|
request: {
|
12993
13055
|
notificationId: string;
|
@@ -15534,6 +15596,10 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
15534
15596
|
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
15535
15597
|
*/
|
15536
15598
|
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
15599
|
+
/**
|
15600
|
+
* Launches the Log Uploader. Full documentation can be found [here](https://resources.here.io/docs/core/develop/debug/log-uploader/).
|
15601
|
+
*/
|
15602
|
+
launchLogUploader(options: OpenFin_2.LogUploaderOptions): Promise<void>;
|
15537
15603
|
}
|
15538
15604
|
|
15539
15605
|
/**
|
package/out/mock-beta.d.ts
CHANGED
@@ -8662,19 +8662,74 @@ declare type LogInfo = {
|
|
8662
8662
|
*/
|
8663
8663
|
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8664
8664
|
|
8665
|
+
/**
|
8666
|
+
* Options for the Log Uploader.
|
8667
|
+
*/
|
8668
|
+
declare type LogUploaderOptions = LogUploadOptions & {
|
8669
|
+
ui?: LogUploaderUIOptions & {
|
8670
|
+
/**
|
8671
|
+
* Whether the Log Uploader UI should be shown.
|
8672
|
+
* @defaultValue true
|
8673
|
+
*/
|
8674
|
+
show?: boolean;
|
8675
|
+
};
|
8676
|
+
};
|
8677
|
+
|
8678
|
+
/**
|
8679
|
+
* Options for the Log Uploader UI.
|
8680
|
+
* @interface
|
8681
|
+
*/
|
8665
8682
|
declare type LogUploaderUIOptions = {
|
8683
|
+
/**
|
8684
|
+
* Title for the Log Uploader window.
|
8685
|
+
* @defaultValue 'Here Log Uploader'
|
8686
|
+
*/
|
8666
8687
|
title?: string;
|
8688
|
+
/**
|
8689
|
+
* URL of an icon to use for the Log Uploader tool. The default is the Here logo.
|
8690
|
+
*/
|
8667
8691
|
icon?: string;
|
8692
|
+
/**
|
8693
|
+
* Name of the organization displayed in the Uploader window.
|
8694
|
+
* @defaultValue 'Here'
|
8695
|
+
*/
|
8668
8696
|
header?: string;
|
8697
|
+
/**
|
8698
|
+
* An explanation for the user of the purpose of the tool.
|
8699
|
+
* @defaultValue 'The following logs are being requested'
|
8700
|
+
*/
|
8669
8701
|
description?: string;
|
8702
|
+
/**
|
8703
|
+
* An email address that the user can contact with questions.
|
8704
|
+
* @defaultValue 'support@here.io'
|
8705
|
+
*/
|
8670
8706
|
email?: string;
|
8707
|
+
/**
|
8708
|
+
* URL of a webpage where the user can find more information about log uploading.
|
8709
|
+
* @defaultValue 'https://resources.here.io/docs/core/manage/security/'
|
8710
|
+
*/
|
8671
8711
|
website?: string;
|
8712
|
+
/**
|
8713
|
+
* Description of the webpage where the user can find more information.
|
8714
|
+
* @defaultValue 'Here Security'
|
8715
|
+
*/
|
8672
8716
|
websiteDescription?: string;
|
8673
8717
|
};
|
8674
8718
|
|
8675
8719
|
declare type LogUploadOptions = {
|
8720
|
+
/**
|
8721
|
+
* The URL where log files are to be uploaded.
|
8722
|
+
*/
|
8676
8723
|
endpoint: string;
|
8724
|
+
/**
|
8725
|
+
* An array of URL match patterns to define the manifests of the programs that the Log Uploader should upload logs for.
|
8726
|
+
* @defaultValue []
|
8727
|
+
*/
|
8677
8728
|
manifests?: string[];
|
8729
|
+
/**
|
8730
|
+
* An array of strings that specifies which logs should be uploaded.
|
8731
|
+
* @defaultValue ['app', 'rvm', 'debug']
|
8732
|
+
*/
|
8678
8733
|
logs?: string[];
|
8679
8734
|
ui?: LogUploaderUIOptions;
|
8680
8735
|
};
|
@@ -9669,6 +9724,7 @@ declare namespace OpenFin_2 {
|
|
9669
9724
|
PlatformViewCreationOptions,
|
9670
9725
|
ProcessAffinityStrategy,
|
9671
9726
|
PlatformOptions,
|
9727
|
+
LogUploaderOptions,
|
9672
9728
|
LogUploaderUIOptions,
|
9673
9729
|
LogUploadOptions,
|
9674
9730
|
Manifest,
|
@@ -12988,6 +13044,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
12988
13044
|
};
|
12989
13045
|
response: void;
|
12990
13046
|
};
|
13047
|
+
'launch-log-uploader': ApiCall<{
|
13048
|
+
options: OpenFin_2.LogUploaderOptions;
|
13049
|
+
}, void> & {
|
13050
|
+
apiPath: '.launchLogUploader';
|
13051
|
+
namespace: 'System';
|
13052
|
+
};
|
12991
13053
|
'dispatch-notification-event': {
|
12992
13054
|
request: {
|
12993
13055
|
notificationId: string;
|
@@ -15534,6 +15596,10 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
15534
15596
|
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
15535
15597
|
*/
|
15536
15598
|
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
15599
|
+
/**
|
15600
|
+
* Launches the Log Uploader. Full documentation can be found [here](https://resources.here.io/docs/core/develop/debug/log-uploader/).
|
15601
|
+
*/
|
15602
|
+
launchLogUploader(options: OpenFin_2.LogUploaderOptions): Promise<void>;
|
15537
15603
|
}
|
15538
15604
|
|
15539
15605
|
/**
|
package/out/mock-public.d.ts
CHANGED
@@ -8662,19 +8662,74 @@ declare type LogInfo = {
|
|
8662
8662
|
*/
|
8663
8663
|
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8664
8664
|
|
8665
|
+
/**
|
8666
|
+
* Options for the Log Uploader.
|
8667
|
+
*/
|
8668
|
+
declare type LogUploaderOptions = LogUploadOptions & {
|
8669
|
+
ui?: LogUploaderUIOptions & {
|
8670
|
+
/**
|
8671
|
+
* Whether the Log Uploader UI should be shown.
|
8672
|
+
* @defaultValue true
|
8673
|
+
*/
|
8674
|
+
show?: boolean;
|
8675
|
+
};
|
8676
|
+
};
|
8677
|
+
|
8678
|
+
/**
|
8679
|
+
* Options for the Log Uploader UI.
|
8680
|
+
* @interface
|
8681
|
+
*/
|
8665
8682
|
declare type LogUploaderUIOptions = {
|
8683
|
+
/**
|
8684
|
+
* Title for the Log Uploader window.
|
8685
|
+
* @defaultValue 'Here Log Uploader'
|
8686
|
+
*/
|
8666
8687
|
title?: string;
|
8688
|
+
/**
|
8689
|
+
* URL of an icon to use for the Log Uploader tool. The default is the Here logo.
|
8690
|
+
*/
|
8667
8691
|
icon?: string;
|
8692
|
+
/**
|
8693
|
+
* Name of the organization displayed in the Uploader window.
|
8694
|
+
* @defaultValue 'Here'
|
8695
|
+
*/
|
8668
8696
|
header?: string;
|
8697
|
+
/**
|
8698
|
+
* An explanation for the user of the purpose of the tool.
|
8699
|
+
* @defaultValue 'The following logs are being requested'
|
8700
|
+
*/
|
8669
8701
|
description?: string;
|
8702
|
+
/**
|
8703
|
+
* An email address that the user can contact with questions.
|
8704
|
+
* @defaultValue 'support@here.io'
|
8705
|
+
*/
|
8670
8706
|
email?: string;
|
8707
|
+
/**
|
8708
|
+
* URL of a webpage where the user can find more information about log uploading.
|
8709
|
+
* @defaultValue 'https://resources.here.io/docs/core/manage/security/'
|
8710
|
+
*/
|
8671
8711
|
website?: string;
|
8712
|
+
/**
|
8713
|
+
* Description of the webpage where the user can find more information.
|
8714
|
+
* @defaultValue 'Here Security'
|
8715
|
+
*/
|
8672
8716
|
websiteDescription?: string;
|
8673
8717
|
};
|
8674
8718
|
|
8675
8719
|
declare type LogUploadOptions = {
|
8720
|
+
/**
|
8721
|
+
* The URL where log files are to be uploaded.
|
8722
|
+
*/
|
8676
8723
|
endpoint: string;
|
8724
|
+
/**
|
8725
|
+
* An array of URL match patterns to define the manifests of the programs that the Log Uploader should upload logs for.
|
8726
|
+
* @defaultValue []
|
8727
|
+
*/
|
8677
8728
|
manifests?: string[];
|
8729
|
+
/**
|
8730
|
+
* An array of strings that specifies which logs should be uploaded.
|
8731
|
+
* @defaultValue ['app', 'rvm', 'debug']
|
8732
|
+
*/
|
8678
8733
|
logs?: string[];
|
8679
8734
|
ui?: LogUploaderUIOptions;
|
8680
8735
|
};
|
@@ -9669,6 +9724,7 @@ declare namespace OpenFin_2 {
|
|
9669
9724
|
PlatformViewCreationOptions,
|
9670
9725
|
ProcessAffinityStrategy,
|
9671
9726
|
PlatformOptions,
|
9727
|
+
LogUploaderOptions,
|
9672
9728
|
LogUploaderUIOptions,
|
9673
9729
|
LogUploadOptions,
|
9674
9730
|
Manifest,
|
@@ -12988,6 +13044,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
12988
13044
|
};
|
12989
13045
|
response: void;
|
12990
13046
|
};
|
13047
|
+
'launch-log-uploader': ApiCall<{
|
13048
|
+
options: OpenFin_2.LogUploaderOptions;
|
13049
|
+
}, void> & {
|
13050
|
+
apiPath: '.launchLogUploader';
|
13051
|
+
namespace: 'System';
|
13052
|
+
};
|
12991
13053
|
'dispatch-notification-event': {
|
12992
13054
|
request: {
|
12993
13055
|
notificationId: string;
|
@@ -15534,6 +15596,10 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
15534
15596
|
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
15535
15597
|
*/
|
15536
15598
|
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
15599
|
+
/**
|
15600
|
+
* Launches the Log Uploader. Full documentation can be found [here](https://resources.here.io/docs/core/develop/debug/log-uploader/).
|
15601
|
+
*/
|
15602
|
+
launchLogUploader(options: OpenFin_2.LogUploaderOptions): Promise<void>;
|
15537
15603
|
}
|
15538
15604
|
|
15539
15605
|
/**
|
package/out/stub.d.ts
CHANGED
@@ -8958,19 +8958,74 @@ declare type LogInfo = {
|
|
8958
8958
|
*/
|
8959
8959
|
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8960
8960
|
|
8961
|
+
/**
|
8962
|
+
* Options for the Log Uploader.
|
8963
|
+
*/
|
8964
|
+
declare type LogUploaderOptions = LogUploadOptions & {
|
8965
|
+
ui?: LogUploaderUIOptions & {
|
8966
|
+
/**
|
8967
|
+
* Whether the Log Uploader UI should be shown.
|
8968
|
+
* @defaultValue true
|
8969
|
+
*/
|
8970
|
+
show?: boolean;
|
8971
|
+
};
|
8972
|
+
};
|
8973
|
+
|
8974
|
+
/**
|
8975
|
+
* Options for the Log Uploader UI.
|
8976
|
+
* @interface
|
8977
|
+
*/
|
8961
8978
|
declare type LogUploaderUIOptions = {
|
8979
|
+
/**
|
8980
|
+
* Title for the Log Uploader window.
|
8981
|
+
* @defaultValue 'Here Log Uploader'
|
8982
|
+
*/
|
8962
8983
|
title?: string;
|
8984
|
+
/**
|
8985
|
+
* URL of an icon to use for the Log Uploader tool. The default is the Here logo.
|
8986
|
+
*/
|
8963
8987
|
icon?: string;
|
8988
|
+
/**
|
8989
|
+
* Name of the organization displayed in the Uploader window.
|
8990
|
+
* @defaultValue 'Here'
|
8991
|
+
*/
|
8964
8992
|
header?: string;
|
8993
|
+
/**
|
8994
|
+
* An explanation for the user of the purpose of the tool.
|
8995
|
+
* @defaultValue 'The following logs are being requested'
|
8996
|
+
*/
|
8965
8997
|
description?: string;
|
8998
|
+
/**
|
8999
|
+
* An email address that the user can contact with questions.
|
9000
|
+
* @defaultValue 'support@here.io'
|
9001
|
+
*/
|
8966
9002
|
email?: string;
|
9003
|
+
/**
|
9004
|
+
* URL of a webpage where the user can find more information about log uploading.
|
9005
|
+
* @defaultValue 'https://resources.here.io/docs/core/manage/security/'
|
9006
|
+
*/
|
8967
9007
|
website?: string;
|
9008
|
+
/**
|
9009
|
+
* Description of the webpage where the user can find more information.
|
9010
|
+
* @defaultValue 'Here Security'
|
9011
|
+
*/
|
8968
9012
|
websiteDescription?: string;
|
8969
9013
|
};
|
8970
9014
|
|
8971
9015
|
declare type LogUploadOptions = {
|
9016
|
+
/**
|
9017
|
+
* The URL where log files are to be uploaded.
|
9018
|
+
*/
|
8972
9019
|
endpoint: string;
|
9020
|
+
/**
|
9021
|
+
* An array of URL match patterns to define the manifests of the programs that the Log Uploader should upload logs for.
|
9022
|
+
* @defaultValue []
|
9023
|
+
*/
|
8973
9024
|
manifests?: string[];
|
9025
|
+
/**
|
9026
|
+
* An array of strings that specifies which logs should be uploaded.
|
9027
|
+
* @defaultValue ['app', 'rvm', 'debug']
|
9028
|
+
*/
|
8974
9029
|
logs?: string[];
|
8975
9030
|
ui?: LogUploaderUIOptions;
|
8976
9031
|
};
|
@@ -9987,6 +10042,7 @@ declare namespace OpenFin_2 {
|
|
9987
10042
|
PlatformViewCreationOptions,
|
9988
10043
|
ProcessAffinityStrategy,
|
9989
10044
|
PlatformOptions,
|
10045
|
+
LogUploaderOptions,
|
9990
10046
|
LogUploaderUIOptions,
|
9991
10047
|
LogUploadOptions,
|
9992
10048
|
Manifest,
|
@@ -13389,6 +13445,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
13389
13445
|
};
|
13390
13446
|
response: void;
|
13391
13447
|
};
|
13448
|
+
'launch-log-uploader': ApiCall<{
|
13449
|
+
options: OpenFin_2.LogUploaderOptions;
|
13450
|
+
}, void> & {
|
13451
|
+
apiPath: '.launchLogUploader';
|
13452
|
+
namespace: 'System';
|
13453
|
+
};
|
13392
13454
|
'dispatch-notification-event': {
|
13393
13455
|
request: {
|
13394
13456
|
notificationId: string;
|
@@ -15941,6 +16003,10 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
15941
16003
|
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
15942
16004
|
*/
|
15943
16005
|
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
16006
|
+
/**
|
16007
|
+
* Launches the Log Uploader. Full documentation can be found [here](https://resources.here.io/docs/core/develop/debug/log-uploader/).
|
16008
|
+
*/
|
16009
|
+
launchLogUploader(options: OpenFin_2.LogUploaderOptions): Promise<void>;
|
15944
16010
|
}
|
15945
16011
|
|
15946
16012
|
/**
|
package/out/stub.js
CHANGED
@@ -7332,6 +7332,12 @@ class System extends base_1$m.EmitterBase {
|
|
7332
7332
|
async serveAsset(options) {
|
7333
7333
|
return (await this.wire.sendAction('serve-asset', { options })).payload.data;
|
7334
7334
|
}
|
7335
|
+
/**
|
7336
|
+
* Launches the Log Uploader. Full documentation can be found [here](https://resources.here.io/docs/core/develop/debug/log-uploader/).
|
7337
|
+
*/
|
7338
|
+
async launchLogUploader(options) {
|
7339
|
+
return (await this.wire.sendAction('launch-log-uploader', { options })).payload.data;
|
7340
|
+
}
|
7335
7341
|
}
|
7336
7342
|
system.System = System;
|
7337
7343
|
|