@openfin/core 40.100.6 → 40.101.1
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +42 -0
- package/out/mock-beta.d.ts +42 -0
- package/out/mock-public.d.ts +42 -0
- package/out/mock.d.ts +42 -0
- package/out/mock.js +7 -0
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -192,6 +192,10 @@ declare type AppAssetRequest = {
|
|
192
192
|
alias: string;
|
193
193
|
};
|
194
194
|
|
195
|
+
declare type AppAssetServeRequest = ServeRequest & {
|
196
|
+
alias: string;
|
197
|
+
};
|
198
|
+
|
195
199
|
/**
|
196
200
|
* An object representing an application. Allows the developer to create,
|
197
201
|
* execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
|
@@ -3410,6 +3414,13 @@ declare type ConstViewOptions = {
|
|
3410
3414
|
* The identity of the window this view should be attached to.
|
3411
3415
|
*/
|
3412
3416
|
target: Identity_4;
|
3417
|
+
/**
|
3418
|
+
* Defaults to `name`.
|
3419
|
+
* Ignored in container, but used in @openfin/core-web to set tab titles.
|
3420
|
+
* Order of precedence for title in container is: document.title, viewOptions.url.
|
3421
|
+
* Order of precedence for title in @openfin/core-web is ComponentConfig.title, viewOptions.title, viewOptions.url.
|
3422
|
+
*/
|
3423
|
+
title: string;
|
3413
3424
|
/**
|
3414
3425
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3415
3426
|
*/
|
@@ -4389,6 +4400,10 @@ declare type DomainApiSettings = {
|
|
4389
4400
|
*
|
4390
4401
|
* @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
|
4391
4402
|
* domain should be represented with a single rule.
|
4403
|
+
*
|
4404
|
+
* Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
|
4405
|
+
* their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
|
4406
|
+
* exists.
|
4392
4407
|
*/
|
4393
4408
|
declare type DomainSettings = {
|
4394
4409
|
/**
|
@@ -9606,6 +9621,11 @@ declare namespace OpenFin_2 {
|
|
9606
9621
|
DownloadShelfOptions,
|
9607
9622
|
ViewShowAtOptions,
|
9608
9623
|
ExtensionInfo,
|
9624
|
+
ServeRequest,
|
9625
|
+
AppAssetServeRequest,
|
9626
|
+
PathServeRequest,
|
9627
|
+
ServeAssetOptions,
|
9628
|
+
ServedAssetInfo,
|
9609
9629
|
ApplicationEvents,
|
9610
9630
|
BaseEvents,
|
9611
9631
|
ExternalApplicationEvents,
|
@@ -9674,6 +9694,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
|
|
9674
9694
|
title: string;
|
9675
9695
|
};
|
9676
9696
|
|
9697
|
+
declare type PathServeRequest = ServeRequest & {
|
9698
|
+
path: string;
|
9699
|
+
};
|
9700
|
+
|
9677
9701
|
declare type Payload<Success extends boolean = boolean, Data = any> = {
|
9678
9702
|
success: Success;
|
9679
9703
|
data: Success extends true ? Data : never;
|
@@ -12293,6 +12317,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12293
12317
|
options: OpenFin_2.ProcessLoggingOptions;
|
12294
12318
|
}, void>;
|
12295
12319
|
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12320
|
+
'serve-asset': ApiCall<{
|
12321
|
+
options: OpenFin_2.ServeAssetOptions;
|
12322
|
+
}, OpenFin_2.ServedAssetInfo>;
|
12296
12323
|
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12297
12324
|
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12298
12325
|
}, void>;
|
@@ -13025,6 +13052,16 @@ declare type SentMessage<Value> = Promise<Value> & {
|
|
13025
13052
|
messageId: ReturnType<Environment['getNextMessageId']>;
|
13026
13053
|
};
|
13027
13054
|
|
13055
|
+
declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
|
13056
|
+
|
13057
|
+
declare type ServedAssetInfo = {
|
13058
|
+
baseUrl: string;
|
13059
|
+
};
|
13060
|
+
|
13061
|
+
declare type ServeRequest = {
|
13062
|
+
hostName: string;
|
13063
|
+
};
|
13064
|
+
|
13028
13065
|
/**
|
13029
13066
|
* @interface
|
13030
13067
|
*/
|
@@ -14946,6 +14983,11 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14946
14983
|
* Gets the currently-installed
|
14947
14984
|
*/
|
14948
14985
|
getInstalledExtensions(): Promise<OpenFin_2.ExtensionInfo[]>;
|
14986
|
+
/**
|
14987
|
+
* Used to serve an asset signed by OpenFin within the given runtime.
|
14988
|
+
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
14989
|
+
*/
|
14990
|
+
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
14949
14991
|
}
|
14950
14992
|
|
14951
14993
|
/**
|
package/out/mock-beta.d.ts
CHANGED
@@ -192,6 +192,10 @@ declare type AppAssetRequest = {
|
|
192
192
|
alias: string;
|
193
193
|
};
|
194
194
|
|
195
|
+
declare type AppAssetServeRequest = ServeRequest & {
|
196
|
+
alias: string;
|
197
|
+
};
|
198
|
+
|
195
199
|
/**
|
196
200
|
* An object representing an application. Allows the developer to create,
|
197
201
|
* execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
|
@@ -3410,6 +3414,13 @@ declare type ConstViewOptions = {
|
|
3410
3414
|
* The identity of the window this view should be attached to.
|
3411
3415
|
*/
|
3412
3416
|
target: Identity_4;
|
3417
|
+
/**
|
3418
|
+
* Defaults to `name`.
|
3419
|
+
* Ignored in container, but used in @openfin/core-web to set tab titles.
|
3420
|
+
* Order of precedence for title in container is: document.title, viewOptions.url.
|
3421
|
+
* Order of precedence for title in @openfin/core-web is ComponentConfig.title, viewOptions.title, viewOptions.url.
|
3422
|
+
*/
|
3423
|
+
title: string;
|
3413
3424
|
/**
|
3414
3425
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3415
3426
|
*/
|
@@ -4389,6 +4400,10 @@ declare type DomainApiSettings = {
|
|
4389
4400
|
*
|
4390
4401
|
* @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
|
4391
4402
|
* domain should be represented with a single rule.
|
4403
|
+
*
|
4404
|
+
* Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
|
4405
|
+
* their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
|
4406
|
+
* exists.
|
4392
4407
|
*/
|
4393
4408
|
declare type DomainSettings = {
|
4394
4409
|
/**
|
@@ -9606,6 +9621,11 @@ declare namespace OpenFin_2 {
|
|
9606
9621
|
DownloadShelfOptions,
|
9607
9622
|
ViewShowAtOptions,
|
9608
9623
|
ExtensionInfo,
|
9624
|
+
ServeRequest,
|
9625
|
+
AppAssetServeRequest,
|
9626
|
+
PathServeRequest,
|
9627
|
+
ServeAssetOptions,
|
9628
|
+
ServedAssetInfo,
|
9609
9629
|
ApplicationEvents,
|
9610
9630
|
BaseEvents,
|
9611
9631
|
ExternalApplicationEvents,
|
@@ -9674,6 +9694,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
|
|
9674
9694
|
title: string;
|
9675
9695
|
};
|
9676
9696
|
|
9697
|
+
declare type PathServeRequest = ServeRequest & {
|
9698
|
+
path: string;
|
9699
|
+
};
|
9700
|
+
|
9677
9701
|
declare type Payload<Success extends boolean = boolean, Data = any> = {
|
9678
9702
|
success: Success;
|
9679
9703
|
data: Success extends true ? Data : never;
|
@@ -12293,6 +12317,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12293
12317
|
options: OpenFin_2.ProcessLoggingOptions;
|
12294
12318
|
}, void>;
|
12295
12319
|
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12320
|
+
'serve-asset': ApiCall<{
|
12321
|
+
options: OpenFin_2.ServeAssetOptions;
|
12322
|
+
}, OpenFin_2.ServedAssetInfo>;
|
12296
12323
|
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12297
12324
|
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12298
12325
|
}, void>;
|
@@ -13025,6 +13052,16 @@ declare type SentMessage<Value> = Promise<Value> & {
|
|
13025
13052
|
messageId: ReturnType<Environment['getNextMessageId']>;
|
13026
13053
|
};
|
13027
13054
|
|
13055
|
+
declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
|
13056
|
+
|
13057
|
+
declare type ServedAssetInfo = {
|
13058
|
+
baseUrl: string;
|
13059
|
+
};
|
13060
|
+
|
13061
|
+
declare type ServeRequest = {
|
13062
|
+
hostName: string;
|
13063
|
+
};
|
13064
|
+
|
13028
13065
|
/**
|
13029
13066
|
* @interface
|
13030
13067
|
*/
|
@@ -14946,6 +14983,11 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14946
14983
|
* Gets the currently-installed
|
14947
14984
|
*/
|
14948
14985
|
getInstalledExtensions(): Promise<OpenFin_2.ExtensionInfo[]>;
|
14986
|
+
/**
|
14987
|
+
* Used to serve an asset signed by OpenFin within the given runtime.
|
14988
|
+
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
14989
|
+
*/
|
14990
|
+
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
14949
14991
|
}
|
14950
14992
|
|
14951
14993
|
/**
|
package/out/mock-public.d.ts
CHANGED
@@ -192,6 +192,10 @@ declare type AppAssetRequest = {
|
|
192
192
|
alias: string;
|
193
193
|
};
|
194
194
|
|
195
|
+
declare type AppAssetServeRequest = ServeRequest & {
|
196
|
+
alias: string;
|
197
|
+
};
|
198
|
+
|
195
199
|
/**
|
196
200
|
* An object representing an application. Allows the developer to create,
|
197
201
|
* execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
|
@@ -3410,6 +3414,13 @@ declare type ConstViewOptions = {
|
|
3410
3414
|
* The identity of the window this view should be attached to.
|
3411
3415
|
*/
|
3412
3416
|
target: Identity_4;
|
3417
|
+
/**
|
3418
|
+
* Defaults to `name`.
|
3419
|
+
* Ignored in container, but used in @openfin/core-web to set tab titles.
|
3420
|
+
* Order of precedence for title in container is: document.title, viewOptions.url.
|
3421
|
+
* Order of precedence for title in @openfin/core-web is ComponentConfig.title, viewOptions.title, viewOptions.url.
|
3422
|
+
*/
|
3423
|
+
title: string;
|
3413
3424
|
/**
|
3414
3425
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3415
3426
|
*/
|
@@ -4389,6 +4400,10 @@ declare type DomainApiSettings = {
|
|
4389
4400
|
*
|
4390
4401
|
* @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
|
4391
4402
|
* domain should be represented with a single rule.
|
4403
|
+
*
|
4404
|
+
* Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
|
4405
|
+
* their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
|
4406
|
+
* exists.
|
4392
4407
|
*/
|
4393
4408
|
declare type DomainSettings = {
|
4394
4409
|
/**
|
@@ -9606,6 +9621,11 @@ declare namespace OpenFin_2 {
|
|
9606
9621
|
DownloadShelfOptions,
|
9607
9622
|
ViewShowAtOptions,
|
9608
9623
|
ExtensionInfo,
|
9624
|
+
ServeRequest,
|
9625
|
+
AppAssetServeRequest,
|
9626
|
+
PathServeRequest,
|
9627
|
+
ServeAssetOptions,
|
9628
|
+
ServedAssetInfo,
|
9609
9629
|
ApplicationEvents,
|
9610
9630
|
BaseEvents,
|
9611
9631
|
ExternalApplicationEvents,
|
@@ -9674,6 +9694,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
|
|
9674
9694
|
title: string;
|
9675
9695
|
};
|
9676
9696
|
|
9697
|
+
declare type PathServeRequest = ServeRequest & {
|
9698
|
+
path: string;
|
9699
|
+
};
|
9700
|
+
|
9677
9701
|
declare type Payload<Success extends boolean = boolean, Data = any> = {
|
9678
9702
|
success: Success;
|
9679
9703
|
data: Success extends true ? Data : never;
|
@@ -12293,6 +12317,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12293
12317
|
options: OpenFin_2.ProcessLoggingOptions;
|
12294
12318
|
}, void>;
|
12295
12319
|
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12320
|
+
'serve-asset': ApiCall<{
|
12321
|
+
options: OpenFin_2.ServeAssetOptions;
|
12322
|
+
}, OpenFin_2.ServedAssetInfo>;
|
12296
12323
|
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12297
12324
|
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12298
12325
|
}, void>;
|
@@ -13025,6 +13052,16 @@ declare type SentMessage<Value> = Promise<Value> & {
|
|
13025
13052
|
messageId: ReturnType<Environment['getNextMessageId']>;
|
13026
13053
|
};
|
13027
13054
|
|
13055
|
+
declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
|
13056
|
+
|
13057
|
+
declare type ServedAssetInfo = {
|
13058
|
+
baseUrl: string;
|
13059
|
+
};
|
13060
|
+
|
13061
|
+
declare type ServeRequest = {
|
13062
|
+
hostName: string;
|
13063
|
+
};
|
13064
|
+
|
13028
13065
|
/**
|
13029
13066
|
* @interface
|
13030
13067
|
*/
|
@@ -14946,6 +14983,11 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14946
14983
|
* Gets the currently-installed
|
14947
14984
|
*/
|
14948
14985
|
getInstalledExtensions(): Promise<OpenFin_2.ExtensionInfo[]>;
|
14986
|
+
/**
|
14987
|
+
* Used to serve an asset signed by OpenFin within the given runtime.
|
14988
|
+
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
14989
|
+
*/
|
14990
|
+
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
14949
14991
|
}
|
14950
14992
|
|
14951
14993
|
/**
|
package/out/mock.d.ts
CHANGED
@@ -192,6 +192,10 @@ declare type AppAssetRequest = {
|
|
192
192
|
alias: string;
|
193
193
|
};
|
194
194
|
|
195
|
+
declare type AppAssetServeRequest = ServeRequest & {
|
196
|
+
alias: string;
|
197
|
+
};
|
198
|
+
|
195
199
|
/**
|
196
200
|
* An object representing an application. Allows the developer to create,
|
197
201
|
* execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
|
@@ -3469,6 +3473,13 @@ declare type ConstViewOptions = {
|
|
3469
3473
|
* The identity of the window this view should be attached to.
|
3470
3474
|
*/
|
3471
3475
|
target: Identity_4;
|
3476
|
+
/**
|
3477
|
+
* Defaults to `name`.
|
3478
|
+
* Ignored in container, but used in @openfin/core-web to set tab titles.
|
3479
|
+
* Order of precedence for title in container is: document.title, viewOptions.url.
|
3480
|
+
* Order of precedence for title in @openfin/core-web is ComponentConfig.title, viewOptions.title, viewOptions.url.
|
3481
|
+
*/
|
3482
|
+
title: string;
|
3472
3483
|
/**
|
3473
3484
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3474
3485
|
*/
|
@@ -4448,6 +4459,10 @@ declare type DomainApiSettings = {
|
|
4448
4459
|
*
|
4449
4460
|
* @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
|
4450
4461
|
* domain should be represented with a single rule.
|
4462
|
+
*
|
4463
|
+
* Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
|
4464
|
+
* their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
|
4465
|
+
* exists.
|
4451
4466
|
*/
|
4452
4467
|
declare type DomainSettings = {
|
4453
4468
|
/**
|
@@ -9924,6 +9939,11 @@ declare namespace OpenFin_2 {
|
|
9924
9939
|
DownloadShelfOptions,
|
9925
9940
|
ViewShowAtOptions,
|
9926
9941
|
ExtensionInfo,
|
9942
|
+
ServeRequest,
|
9943
|
+
AppAssetServeRequest,
|
9944
|
+
PathServeRequest,
|
9945
|
+
ServeAssetOptions,
|
9946
|
+
ServedAssetInfo,
|
9927
9947
|
ApplicationEvents,
|
9928
9948
|
BaseEvents,
|
9929
9949
|
ExternalApplicationEvents,
|
@@ -9992,6 +10012,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
|
|
9992
10012
|
title: string;
|
9993
10013
|
};
|
9994
10014
|
|
10015
|
+
declare type PathServeRequest = ServeRequest & {
|
10016
|
+
path: string;
|
10017
|
+
};
|
10018
|
+
|
9995
10019
|
declare type Payload<Success extends boolean = boolean, Data = any> = {
|
9996
10020
|
success: Success;
|
9997
10021
|
data: Success extends true ? Data : never;
|
@@ -12694,6 +12718,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12694
12718
|
options: OpenFin_2.ProcessLoggingOptions;
|
12695
12719
|
}, void>;
|
12696
12720
|
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12721
|
+
'serve-asset': ApiCall<{
|
12722
|
+
options: OpenFin_2.ServeAssetOptions;
|
12723
|
+
}, OpenFin_2.ServedAssetInfo>;
|
12697
12724
|
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12698
12725
|
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12699
12726
|
}, void>;
|
@@ -13426,6 +13453,16 @@ declare type SentMessage<Value> = Promise<Value> & {
|
|
13426
13453
|
messageId: ReturnType<Environment['getNextMessageId']>;
|
13427
13454
|
};
|
13428
13455
|
|
13456
|
+
declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
|
13457
|
+
|
13458
|
+
declare type ServedAssetInfo = {
|
13459
|
+
baseUrl: string;
|
13460
|
+
};
|
13461
|
+
|
13462
|
+
declare type ServeRequest = {
|
13463
|
+
hostName: string;
|
13464
|
+
};
|
13465
|
+
|
13429
13466
|
/**
|
13430
13467
|
* @interface
|
13431
13468
|
*/
|
@@ -15353,6 +15390,11 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
15353
15390
|
* Gets the currently-installed
|
15354
15391
|
*/
|
15355
15392
|
getInstalledExtensions(): Promise<OpenFin_2.ExtensionInfo[]>;
|
15393
|
+
/**
|
15394
|
+
* Used to serve an asset signed by OpenFin within the given runtime.
|
15395
|
+
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
15396
|
+
*/
|
15397
|
+
serveAsset(options: OpenFin_2.ServeAssetOptions): Promise<OpenFin_2.ServedAssetInfo>;
|
15356
15398
|
}
|
15357
15399
|
|
15358
15400
|
/**
|
package/out/mock.js
CHANGED
@@ -7246,6 +7246,13 @@ class System extends base_1$i.EmitterBase {
|
|
7246
7246
|
const { payload } = await this.wire.sendAction('get-installed-extensions');
|
7247
7247
|
return payload.data;
|
7248
7248
|
}
|
7249
|
+
/**
|
7250
|
+
* Used to serve an asset signed by OpenFin within the given runtime.
|
7251
|
+
* Not indended for general use, will be used by the `@openfin/workspace-platform` package.
|
7252
|
+
*/
|
7253
|
+
async serveAsset(options) {
|
7254
|
+
return (await this.wire.sendAction('serve-asset', { options })).payload.data;
|
7255
|
+
}
|
7249
7256
|
}
|
7250
7257
|
system.System = System;
|
7251
7258
|
|