@openfin/fdc3-api 40.100.7 → 40.101.1

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.
@@ -189,6 +189,10 @@ declare type AppAssetRequest = {
189
189
  alias: string;
190
190
  };
191
191
 
192
+ declare type AppAssetServeRequest = ServeRequest & {
193
+ alias: string;
194
+ };
195
+
192
196
  /**
193
197
  * An object representing an application. Allows the developer to create,
194
198
  * execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
@@ -9959,6 +9963,11 @@ declare namespace OpenFin {
9959
9963
  DownloadShelfOptions,
9960
9964
  ViewShowAtOptions,
9961
9965
  ExtensionInfo,
9966
+ ServeRequest,
9967
+ AppAssetServeRequest,
9968
+ PathServeRequest,
9969
+ ServeAssetOptions,
9970
+ ServedAssetInfo,
9962
9971
  ApplicationEvents,
9963
9972
  BaseEvents,
9964
9973
  ExternalApplicationEvents,
@@ -10025,6 +10034,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
10025
10034
  title: string;
10026
10035
  };
10027
10036
 
10037
+ declare type PathServeRequest = ServeRequest & {
10038
+ path: string;
10039
+ };
10040
+
10028
10041
  declare type Payload<Success extends boolean = boolean, Data = any> = {
10029
10042
  success: Success;
10030
10043
  data: Success extends true ? Data : never;
@@ -12644,6 +12657,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
12644
12657
  options: OpenFin.ProcessLoggingOptions;
12645
12658
  }, void>;
12646
12659
  'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12660
+ 'serve-asset': ApiCall<{
12661
+ options: OpenFin.ServeAssetOptions;
12662
+ }, OpenFin.ServedAssetInfo>;
12647
12663
  'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12648
12664
  domainSettings: OpenFin.DefaultDomainSettings;
12649
12665
  }, void>;
@@ -13376,6 +13392,16 @@ declare type SentMessage<Value> = Promise<Value> & {
13376
13392
  messageId: ReturnType<Environment['getNextMessageId']>;
13377
13393
  };
13378
13394
 
13395
+ declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
13396
+
13397
+ declare type ServedAssetInfo = {
13398
+ baseUrl: string;
13399
+ };
13400
+
13401
+ declare type ServeRequest = {
13402
+ hostName: string;
13403
+ };
13404
+
13379
13405
  /**
13380
13406
  * @interface
13381
13407
  */
@@ -15297,6 +15323,11 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
15297
15323
  * Gets the currently-installed
15298
15324
  */
15299
15325
  getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
15326
+ /**
15327
+ * Used to serve an asset signed by OpenFin within the given runtime.
15328
+ * Not indended for general use, will be used by the `@openfin/workspace-platform` package.
15329
+ */
15330
+ serveAsset(options: OpenFin.ServeAssetOptions): Promise<OpenFin.ServedAssetInfo>;
15300
15331
  }
15301
15332
 
15302
15333
  /**
@@ -189,6 +189,10 @@ declare type AppAssetRequest = {
189
189
  alias: string;
190
190
  };
191
191
 
192
+ declare type AppAssetServeRequest = ServeRequest & {
193
+ alias: string;
194
+ };
195
+
192
196
  /**
193
197
  * An object representing an application. Allows the developer to create,
194
198
  * execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
@@ -9959,6 +9963,11 @@ declare namespace OpenFin {
9959
9963
  DownloadShelfOptions,
9960
9964
  ViewShowAtOptions,
9961
9965
  ExtensionInfo,
9966
+ ServeRequest,
9967
+ AppAssetServeRequest,
9968
+ PathServeRequest,
9969
+ ServeAssetOptions,
9970
+ ServedAssetInfo,
9962
9971
  ApplicationEvents,
9963
9972
  BaseEvents,
9964
9973
  ExternalApplicationEvents,
@@ -10025,6 +10034,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
10025
10034
  title: string;
10026
10035
  };
10027
10036
 
10037
+ declare type PathServeRequest = ServeRequest & {
10038
+ path: string;
10039
+ };
10040
+
10028
10041
  declare type Payload<Success extends boolean = boolean, Data = any> = {
10029
10042
  success: Success;
10030
10043
  data: Success extends true ? Data : never;
@@ -12644,6 +12657,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
12644
12657
  options: OpenFin.ProcessLoggingOptions;
12645
12658
  }, void>;
12646
12659
  'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12660
+ 'serve-asset': ApiCall<{
12661
+ options: OpenFin.ServeAssetOptions;
12662
+ }, OpenFin.ServedAssetInfo>;
12647
12663
  'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12648
12664
  domainSettings: OpenFin.DefaultDomainSettings;
12649
12665
  }, void>;
@@ -13376,6 +13392,16 @@ declare type SentMessage<Value> = Promise<Value> & {
13376
13392
  messageId: ReturnType<Environment['getNextMessageId']>;
13377
13393
  };
13378
13394
 
13395
+ declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
13396
+
13397
+ declare type ServedAssetInfo = {
13398
+ baseUrl: string;
13399
+ };
13400
+
13401
+ declare type ServeRequest = {
13402
+ hostName: string;
13403
+ };
13404
+
13379
13405
  /**
13380
13406
  * @interface
13381
13407
  */
@@ -15297,6 +15323,11 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
15297
15323
  * Gets the currently-installed
15298
15324
  */
15299
15325
  getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
15326
+ /**
15327
+ * Used to serve an asset signed by OpenFin within the given runtime.
15328
+ * Not indended for general use, will be used by the `@openfin/workspace-platform` package.
15329
+ */
15330
+ serveAsset(options: OpenFin.ServeAssetOptions): Promise<OpenFin.ServedAssetInfo>;
15300
15331
  }
15301
15332
 
15302
15333
  /**
@@ -189,6 +189,10 @@ declare type AppAssetRequest = {
189
189
  alias: string;
190
190
  };
191
191
 
192
+ declare type AppAssetServeRequest = ServeRequest & {
193
+ alias: string;
194
+ };
195
+
192
196
  /**
193
197
  * An object representing an application. Allows the developer to create,
194
198
  * execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
@@ -9959,6 +9963,11 @@ declare namespace OpenFin {
9959
9963
  DownloadShelfOptions,
9960
9964
  ViewShowAtOptions,
9961
9965
  ExtensionInfo,
9966
+ ServeRequest,
9967
+ AppAssetServeRequest,
9968
+ PathServeRequest,
9969
+ ServeAssetOptions,
9970
+ ServedAssetInfo,
9962
9971
  ApplicationEvents,
9963
9972
  BaseEvents,
9964
9973
  ExternalApplicationEvents,
@@ -10025,6 +10034,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
10025
10034
  title: string;
10026
10035
  };
10027
10036
 
10037
+ declare type PathServeRequest = ServeRequest & {
10038
+ path: string;
10039
+ };
10040
+
10028
10041
  declare type Payload<Success extends boolean = boolean, Data = any> = {
10029
10042
  success: Success;
10030
10043
  data: Success extends true ? Data : never;
@@ -12644,6 +12657,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
12644
12657
  options: OpenFin.ProcessLoggingOptions;
12645
12658
  }, void>;
12646
12659
  'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12660
+ 'serve-asset': ApiCall<{
12661
+ options: OpenFin.ServeAssetOptions;
12662
+ }, OpenFin.ServedAssetInfo>;
12647
12663
  'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12648
12664
  domainSettings: OpenFin.DefaultDomainSettings;
12649
12665
  }, void>;
@@ -13376,6 +13392,16 @@ declare type SentMessage<Value> = Promise<Value> & {
13376
13392
  messageId: ReturnType<Environment['getNextMessageId']>;
13377
13393
  };
13378
13394
 
13395
+ declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
13396
+
13397
+ declare type ServedAssetInfo = {
13398
+ baseUrl: string;
13399
+ };
13400
+
13401
+ declare type ServeRequest = {
13402
+ hostName: string;
13403
+ };
13404
+
13379
13405
  /**
13380
13406
  * @interface
13381
13407
  */
@@ -15297,6 +15323,11 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
15297
15323
  * Gets the currently-installed
15298
15324
  */
15299
15325
  getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
15326
+ /**
15327
+ * Used to serve an asset signed by OpenFin within the given runtime.
15328
+ * Not indended for general use, will be used by the `@openfin/workspace-platform` package.
15329
+ */
15330
+ serveAsset(options: OpenFin.ServeAssetOptions): Promise<OpenFin.ServedAssetInfo>;
15300
15331
  }
15301
15332
 
15302
15333
  /**
package/out/fdc3-api.d.ts CHANGED
@@ -189,6 +189,10 @@ declare type AppAssetRequest = {
189
189
  alias: string;
190
190
  };
191
191
 
192
+ declare type AppAssetServeRequest = ServeRequest & {
193
+ alias: string;
194
+ };
195
+
192
196
  /**
193
197
  * An object representing an application. Allows the developer to create,
194
198
  * execute, show/close an application as well as listen to {@link OpenFin.ApplicationEvents application events}.
@@ -10277,6 +10281,11 @@ declare namespace OpenFin {
10277
10281
  DownloadShelfOptions,
10278
10282
  ViewShowAtOptions,
10279
10283
  ExtensionInfo,
10284
+ ServeRequest,
10285
+ AppAssetServeRequest,
10286
+ PathServeRequest,
10287
+ ServeAssetOptions,
10288
+ ServedAssetInfo,
10280
10289
  ApplicationEvents,
10281
10290
  BaseEvents,
10282
10291
  ExternalApplicationEvents,
@@ -10343,6 +10352,10 @@ declare type PageTitleUpdatedEvent = NamedEvent & {
10343
10352
  title: string;
10344
10353
  };
10345
10354
 
10355
+ declare type PathServeRequest = ServeRequest & {
10356
+ path: string;
10357
+ };
10358
+
10346
10359
  declare type Payload<Success extends boolean = boolean, Data = any> = {
10347
10360
  success: Success;
10348
10361
  data: Success extends true ? Data : never;
@@ -13045,6 +13058,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
13045
13058
  options: OpenFin.ProcessLoggingOptions;
13046
13059
  }, void>;
13047
13060
  'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
13061
+ 'serve-asset': ApiCall<{
13062
+ options: OpenFin.ServeAssetOptions;
13063
+ }, OpenFin.ServedAssetInfo>;
13048
13064
  'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
13049
13065
  domainSettings: OpenFin.DefaultDomainSettings;
13050
13066
  }, void>;
@@ -13777,6 +13793,16 @@ declare type SentMessage<Value> = Promise<Value> & {
13777
13793
  messageId: ReturnType<Environment['getNextMessageId']>;
13778
13794
  };
13779
13795
 
13796
+ declare type ServeAssetOptions = AppAssetServeRequest | PathServeRequest;
13797
+
13798
+ declare type ServedAssetInfo = {
13799
+ baseUrl: string;
13800
+ };
13801
+
13802
+ declare type ServeRequest = {
13803
+ hostName: string;
13804
+ };
13805
+
13780
13806
  /**
13781
13807
  * @interface
13782
13808
  */
@@ -15704,6 +15730,11 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
15704
15730
  * Gets the currently-installed
15705
15731
  */
15706
15732
  getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
15733
+ /**
15734
+ * Used to serve an asset signed by OpenFin within the given runtime.
15735
+ * Not indended for general use, will be used by the `@openfin/workspace-platform` package.
15736
+ */
15737
+ serveAsset(options: OpenFin.ServeAssetOptions): Promise<OpenFin.ServedAssetInfo>;
15707
15738
  }
15708
15739
 
15709
15740
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "40.100.7",
3
+ "version": "40.101.1",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,