@openfin/core 36.78.6 → 36.78.7
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 +44 -13
- package/out/mock-beta.d.ts +44 -13
- package/out/mock-public.d.ts +44 -13
- package/out/mock.d.ts +44 -13
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
|
|
111
111
|
[key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
|
112
112
|
};
|
113
113
|
|
114
|
+
/**
|
115
|
+
* @interface
|
116
|
+
*/
|
117
|
+
declare type ApiInjection = {
|
118
|
+
fin: InjectionType;
|
119
|
+
};
|
120
|
+
|
114
121
|
/**
|
115
122
|
* Generated when a new Platform's API becomes responsive.
|
116
123
|
* @interface
|
@@ -1244,10 +1251,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1244
1251
|
*/
|
1245
1252
|
apiDiagnostics: boolean;
|
1246
1253
|
/**
|
1247
|
-
*
|
1248
|
-
* See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
|
1254
|
+
* @deprecated Please use {@link domainSettings} instead
|
1249
1255
|
*/
|
1250
1256
|
defaultDomainSettings: DefaultDomainSettings;
|
1257
|
+
/**
|
1258
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
1259
|
+
*/
|
1260
|
+
domainSettings: DomainSettings;
|
1251
1261
|
/**
|
1252
1262
|
* @defaultValue false
|
1253
1263
|
*
|
@@ -4507,21 +4517,15 @@ declare type CustomRequestHeaders = {
|
|
4507
4517
|
declare type DataChannelReadyState = RTCDataChannel['readyState'];
|
4508
4518
|
|
4509
4519
|
/**
|
4520
|
+
* @deprecated Use {@link OpenFin.DomainSettings} instead.
|
4510
4521
|
* @interface
|
4511
4522
|
*/
|
4512
|
-
declare type DefaultDomainSettings =
|
4513
|
-
rules: DefaultDomainSettingsRule[];
|
4514
|
-
};
|
4523
|
+
declare type DefaultDomainSettings = DomainSettings;
|
4515
4524
|
|
4516
4525
|
/**
|
4517
|
-
* @
|
4526
|
+
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
4518
4527
|
*/
|
4519
|
-
declare type DefaultDomainSettingsRule =
|
4520
|
-
match: string[];
|
4521
|
-
options: {
|
4522
|
-
downloadSettings: FileDownloadSettings;
|
4523
|
-
};
|
4524
|
-
};
|
4528
|
+
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
4525
4529
|
|
4526
4530
|
declare interface DesktopAgent {
|
4527
4531
|
open(app: TargetApp, context?: Context): Promise<void>;
|
@@ -4766,6 +4770,25 @@ declare type DisplayMetadata_3 = {
|
|
4766
4770
|
readonly glyph?: string;
|
4767
4771
|
};
|
4768
4772
|
|
4773
|
+
/**
|
4774
|
+
* @interface
|
4775
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
4776
|
+
*/
|
4777
|
+
declare type DomainSettings = {
|
4778
|
+
rules: DomainSettingsRule[];
|
4779
|
+
};
|
4780
|
+
|
4781
|
+
/**
|
4782
|
+
* @interface
|
4783
|
+
*/
|
4784
|
+
declare type DomainSettingsRule = {
|
4785
|
+
match: string[];
|
4786
|
+
options: {
|
4787
|
+
downloadSettings?: FileDownloadSettings;
|
4788
|
+
api?: ApiInjection;
|
4789
|
+
};
|
4790
|
+
};
|
4791
|
+
|
4769
4792
|
/**
|
4770
4793
|
* Metadata returned from a preload script download request.
|
4771
4794
|
*
|
@@ -6646,6 +6669,11 @@ declare type InitPlatformOptions = {
|
|
6646
6669
|
interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
|
6647
6670
|
};
|
6648
6671
|
|
6672
|
+
/**
|
6673
|
+
* * 'none': The `fin` API will be not available from within this context.
|
6674
|
+
* * 'global': The entire `fin` API will be available from within this context.
|
6675
|
+
* @defaultValue 'global'
|
6676
|
+
*/
|
6649
6677
|
declare type InjectionType = 'none' | 'global';
|
6650
6678
|
|
6651
6679
|
/**
|
@@ -8899,7 +8927,7 @@ declare type LayoutOptions = {
|
|
8899
8927
|
declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
8900
8928
|
|
8901
8929
|
/**
|
8902
|
-
*
|
8930
|
+
* Layout preset type.
|
8903
8931
|
*/
|
8904
8932
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
8905
8933
|
|
@@ -9951,6 +9979,9 @@ declare namespace OpenFin_2 {
|
|
9951
9979
|
RuntimeInfo,
|
9952
9980
|
DefaultDomainSettings,
|
9953
9981
|
DefaultDomainSettingsRule,
|
9982
|
+
DomainSettings,
|
9983
|
+
ApiInjection,
|
9984
|
+
DomainSettingsRule,
|
9954
9985
|
FileDownloadBehaviorNames,
|
9955
9986
|
FileDownloadSettings,
|
9956
9987
|
DownloadRule,
|
package/out/mock-beta.d.ts
CHANGED
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
|
|
111
111
|
[key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
|
112
112
|
};
|
113
113
|
|
114
|
+
/**
|
115
|
+
* @interface
|
116
|
+
*/
|
117
|
+
declare type ApiInjection = {
|
118
|
+
fin: InjectionType;
|
119
|
+
};
|
120
|
+
|
114
121
|
/**
|
115
122
|
* Generated when a new Platform's API becomes responsive.
|
116
123
|
* @interface
|
@@ -1244,10 +1251,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1244
1251
|
*/
|
1245
1252
|
apiDiagnostics: boolean;
|
1246
1253
|
/**
|
1247
|
-
*
|
1248
|
-
* See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
|
1254
|
+
* @deprecated Please use {@link domainSettings} instead
|
1249
1255
|
*/
|
1250
1256
|
defaultDomainSettings: DefaultDomainSettings;
|
1257
|
+
/**
|
1258
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
1259
|
+
*/
|
1260
|
+
domainSettings: DomainSettings;
|
1251
1261
|
/**
|
1252
1262
|
* @defaultValue false
|
1253
1263
|
*
|
@@ -4507,21 +4517,15 @@ declare type CustomRequestHeaders = {
|
|
4507
4517
|
declare type DataChannelReadyState = RTCDataChannel['readyState'];
|
4508
4518
|
|
4509
4519
|
/**
|
4520
|
+
* @deprecated Use {@link OpenFin.DomainSettings} instead.
|
4510
4521
|
* @interface
|
4511
4522
|
*/
|
4512
|
-
declare type DefaultDomainSettings =
|
4513
|
-
rules: DefaultDomainSettingsRule[];
|
4514
|
-
};
|
4523
|
+
declare type DefaultDomainSettings = DomainSettings;
|
4515
4524
|
|
4516
4525
|
/**
|
4517
|
-
* @
|
4526
|
+
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
4518
4527
|
*/
|
4519
|
-
declare type DefaultDomainSettingsRule =
|
4520
|
-
match: string[];
|
4521
|
-
options: {
|
4522
|
-
downloadSettings: FileDownloadSettings;
|
4523
|
-
};
|
4524
|
-
};
|
4528
|
+
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
4525
4529
|
|
4526
4530
|
declare interface DesktopAgent {
|
4527
4531
|
open(app: TargetApp, context?: Context): Promise<void>;
|
@@ -4766,6 +4770,25 @@ declare type DisplayMetadata_3 = {
|
|
4766
4770
|
readonly glyph?: string;
|
4767
4771
|
};
|
4768
4772
|
|
4773
|
+
/**
|
4774
|
+
* @interface
|
4775
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
4776
|
+
*/
|
4777
|
+
declare type DomainSettings = {
|
4778
|
+
rules: DomainSettingsRule[];
|
4779
|
+
};
|
4780
|
+
|
4781
|
+
/**
|
4782
|
+
* @interface
|
4783
|
+
*/
|
4784
|
+
declare type DomainSettingsRule = {
|
4785
|
+
match: string[];
|
4786
|
+
options: {
|
4787
|
+
downloadSettings?: FileDownloadSettings;
|
4788
|
+
api?: ApiInjection;
|
4789
|
+
};
|
4790
|
+
};
|
4791
|
+
|
4769
4792
|
/**
|
4770
4793
|
* Metadata returned from a preload script download request.
|
4771
4794
|
*
|
@@ -6646,6 +6669,11 @@ declare type InitPlatformOptions = {
|
|
6646
6669
|
interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
|
6647
6670
|
};
|
6648
6671
|
|
6672
|
+
/**
|
6673
|
+
* * 'none': The `fin` API will be not available from within this context.
|
6674
|
+
* * 'global': The entire `fin` API will be available from within this context.
|
6675
|
+
* @defaultValue 'global'
|
6676
|
+
*/
|
6649
6677
|
declare type InjectionType = 'none' | 'global';
|
6650
6678
|
|
6651
6679
|
/**
|
@@ -8899,7 +8927,7 @@ declare type LayoutOptions = {
|
|
8899
8927
|
declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
8900
8928
|
|
8901
8929
|
/**
|
8902
|
-
*
|
8930
|
+
* Layout preset type.
|
8903
8931
|
*/
|
8904
8932
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
8905
8933
|
|
@@ -9951,6 +9979,9 @@ declare namespace OpenFin_2 {
|
|
9951
9979
|
RuntimeInfo,
|
9952
9980
|
DefaultDomainSettings,
|
9953
9981
|
DefaultDomainSettingsRule,
|
9982
|
+
DomainSettings,
|
9983
|
+
ApiInjection,
|
9984
|
+
DomainSettingsRule,
|
9954
9985
|
FileDownloadBehaviorNames,
|
9955
9986
|
FileDownloadSettings,
|
9956
9987
|
DownloadRule,
|
package/out/mock-public.d.ts
CHANGED
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
|
|
111
111
|
[key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
|
112
112
|
};
|
113
113
|
|
114
|
+
/**
|
115
|
+
* @interface
|
116
|
+
*/
|
117
|
+
declare type ApiInjection = {
|
118
|
+
fin: InjectionType;
|
119
|
+
};
|
120
|
+
|
114
121
|
/**
|
115
122
|
* Generated when a new Platform's API becomes responsive.
|
116
123
|
* @interface
|
@@ -1244,10 +1251,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1244
1251
|
*/
|
1245
1252
|
apiDiagnostics: boolean;
|
1246
1253
|
/**
|
1247
|
-
*
|
1248
|
-
* See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
|
1254
|
+
* @deprecated Please use {@link domainSettings} instead
|
1249
1255
|
*/
|
1250
1256
|
defaultDomainSettings: DefaultDomainSettings;
|
1257
|
+
/**
|
1258
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
1259
|
+
*/
|
1260
|
+
domainSettings: DomainSettings;
|
1251
1261
|
/**
|
1252
1262
|
* @defaultValue false
|
1253
1263
|
*
|
@@ -4507,21 +4517,15 @@ declare type CustomRequestHeaders = {
|
|
4507
4517
|
declare type DataChannelReadyState = RTCDataChannel['readyState'];
|
4508
4518
|
|
4509
4519
|
/**
|
4520
|
+
* @deprecated Use {@link OpenFin.DomainSettings} instead.
|
4510
4521
|
* @interface
|
4511
4522
|
*/
|
4512
|
-
declare type DefaultDomainSettings =
|
4513
|
-
rules: DefaultDomainSettingsRule[];
|
4514
|
-
};
|
4523
|
+
declare type DefaultDomainSettings = DomainSettings;
|
4515
4524
|
|
4516
4525
|
/**
|
4517
|
-
* @
|
4526
|
+
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
4518
4527
|
*/
|
4519
|
-
declare type DefaultDomainSettingsRule =
|
4520
|
-
match: string[];
|
4521
|
-
options: {
|
4522
|
-
downloadSettings: FileDownloadSettings;
|
4523
|
-
};
|
4524
|
-
};
|
4528
|
+
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
4525
4529
|
|
4526
4530
|
declare interface DesktopAgent {
|
4527
4531
|
open(app: TargetApp, context?: Context): Promise<void>;
|
@@ -4766,6 +4770,25 @@ declare type DisplayMetadata_3 = {
|
|
4766
4770
|
readonly glyph?: string;
|
4767
4771
|
};
|
4768
4772
|
|
4773
|
+
/**
|
4774
|
+
* @interface
|
4775
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
4776
|
+
*/
|
4777
|
+
declare type DomainSettings = {
|
4778
|
+
rules: DomainSettingsRule[];
|
4779
|
+
};
|
4780
|
+
|
4781
|
+
/**
|
4782
|
+
* @interface
|
4783
|
+
*/
|
4784
|
+
declare type DomainSettingsRule = {
|
4785
|
+
match: string[];
|
4786
|
+
options: {
|
4787
|
+
downloadSettings?: FileDownloadSettings;
|
4788
|
+
api?: ApiInjection;
|
4789
|
+
};
|
4790
|
+
};
|
4791
|
+
|
4769
4792
|
/**
|
4770
4793
|
* Metadata returned from a preload script download request.
|
4771
4794
|
*
|
@@ -6646,6 +6669,11 @@ declare type InitPlatformOptions = {
|
|
6646
6669
|
interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
|
6647
6670
|
};
|
6648
6671
|
|
6672
|
+
/**
|
6673
|
+
* * 'none': The `fin` API will be not available from within this context.
|
6674
|
+
* * 'global': The entire `fin` API will be available from within this context.
|
6675
|
+
* @defaultValue 'global'
|
6676
|
+
*/
|
6649
6677
|
declare type InjectionType = 'none' | 'global';
|
6650
6678
|
|
6651
6679
|
/**
|
@@ -8899,7 +8927,7 @@ declare type LayoutOptions = {
|
|
8899
8927
|
declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
8900
8928
|
|
8901
8929
|
/**
|
8902
|
-
*
|
8930
|
+
* Layout preset type.
|
8903
8931
|
*/
|
8904
8932
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
8905
8933
|
|
@@ -9951,6 +9979,9 @@ declare namespace OpenFin_2 {
|
|
9951
9979
|
RuntimeInfo,
|
9952
9980
|
DefaultDomainSettings,
|
9953
9981
|
DefaultDomainSettingsRule,
|
9982
|
+
DomainSettings,
|
9983
|
+
ApiInjection,
|
9984
|
+
DomainSettingsRule,
|
9954
9985
|
FileDownloadBehaviorNames,
|
9955
9986
|
FileDownloadSettings,
|
9956
9987
|
DownloadRule,
|
package/out/mock.d.ts
CHANGED
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
|
|
111
111
|
[key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
|
112
112
|
};
|
113
113
|
|
114
|
+
/**
|
115
|
+
* @interface
|
116
|
+
*/
|
117
|
+
declare type ApiInjection = {
|
118
|
+
fin: InjectionType;
|
119
|
+
};
|
120
|
+
|
114
121
|
/**
|
115
122
|
* Generated when a new Platform's API becomes responsive.
|
116
123
|
* @interface
|
@@ -1250,10 +1257,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1250
1257
|
*/
|
1251
1258
|
apiDiagnostics: boolean;
|
1252
1259
|
/**
|
1253
|
-
*
|
1254
|
-
* See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
|
1260
|
+
* @deprecated Please use {@link domainSettings} instead
|
1255
1261
|
*/
|
1256
1262
|
defaultDomainSettings: DefaultDomainSettings;
|
1263
|
+
/**
|
1264
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
1265
|
+
*/
|
1266
|
+
domainSettings: DomainSettings;
|
1257
1267
|
/**
|
1258
1268
|
* @defaultValue false
|
1259
1269
|
*
|
@@ -4550,21 +4560,15 @@ declare type CustomRequestHeaders = {
|
|
4550
4560
|
declare type DataChannelReadyState = RTCDataChannel['readyState'];
|
4551
4561
|
|
4552
4562
|
/**
|
4563
|
+
* @deprecated Use {@link OpenFin.DomainSettings} instead.
|
4553
4564
|
* @interface
|
4554
4565
|
*/
|
4555
|
-
declare type DefaultDomainSettings =
|
4556
|
-
rules: DefaultDomainSettingsRule[];
|
4557
|
-
};
|
4566
|
+
declare type DefaultDomainSettings = DomainSettings;
|
4558
4567
|
|
4559
4568
|
/**
|
4560
|
-
* @
|
4569
|
+
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
4561
4570
|
*/
|
4562
|
-
declare type DefaultDomainSettingsRule =
|
4563
|
-
match: string[];
|
4564
|
-
options: {
|
4565
|
-
downloadSettings: FileDownloadSettings;
|
4566
|
-
};
|
4567
|
-
};
|
4571
|
+
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
4568
4572
|
|
4569
4573
|
declare interface DesktopAgent {
|
4570
4574
|
open(app: TargetApp, context?: Context): Promise<void>;
|
@@ -4809,6 +4813,25 @@ declare type DisplayMetadata_3 = {
|
|
4809
4813
|
readonly glyph?: string;
|
4810
4814
|
};
|
4811
4815
|
|
4816
|
+
/**
|
4817
|
+
* @interface
|
4818
|
+
* Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
|
4819
|
+
*/
|
4820
|
+
declare type DomainSettings = {
|
4821
|
+
rules: DomainSettingsRule[];
|
4822
|
+
};
|
4823
|
+
|
4824
|
+
/**
|
4825
|
+
* @interface
|
4826
|
+
*/
|
4827
|
+
declare type DomainSettingsRule = {
|
4828
|
+
match: string[];
|
4829
|
+
options: {
|
4830
|
+
downloadSettings?: FileDownloadSettings;
|
4831
|
+
api?: ApiInjection;
|
4832
|
+
};
|
4833
|
+
};
|
4834
|
+
|
4812
4835
|
/**
|
4813
4836
|
* Metadata returned from a preload script download request.
|
4814
4837
|
*
|
@@ -6724,6 +6747,11 @@ declare type InitPlatformOptions = {
|
|
6724
6747
|
interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
|
6725
6748
|
};
|
6726
6749
|
|
6750
|
+
/**
|
6751
|
+
* * 'none': The `fin` API will be not available from within this context.
|
6752
|
+
* * 'global': The entire `fin` API will be available from within this context.
|
6753
|
+
* @defaultValue 'global'
|
6754
|
+
*/
|
6727
6755
|
declare type InjectionType = 'none' | 'global';
|
6728
6756
|
|
6729
6757
|
/**
|
@@ -9176,7 +9204,7 @@ declare type LayoutOptions = {
|
|
9176
9204
|
declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
9177
9205
|
|
9178
9206
|
/**
|
9179
|
-
*
|
9207
|
+
* Layout preset type.
|
9180
9208
|
*/
|
9181
9209
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
9182
9210
|
|
@@ -10246,6 +10274,9 @@ declare namespace OpenFin_2 {
|
|
10246
10274
|
RuntimeInfo,
|
10247
10275
|
DefaultDomainSettings,
|
10248
10276
|
DefaultDomainSettingsRule,
|
10277
|
+
DomainSettings,
|
10278
|
+
ApiInjection,
|
10279
|
+
DomainSettingsRule,
|
10249
10280
|
FileDownloadBehaviorNames,
|
10250
10281
|
FileDownloadSettings,
|
10251
10282
|
DownloadRule,
|