@openfin/fdc3-api 38.81.29 → 38.81.30

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.
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.MenuResult<Data>>;
827
827
  /**
828
- * CLoses the tray icon menu.
828
+ * Closes the tray icon menu.
829
829
  *
830
830
  * @throws if the application has no tray icon set
831
831
  * @example
@@ -934,7 +934,7 @@ declare type ApplicationIdentity_2 = {
934
934
  * @interface
935
935
  */
936
936
  declare type ApplicationInfo = {
937
- initialOptions: ApplicationCreationOptions | PlatformOptions;
937
+ initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
938
938
  launchMode: string;
939
939
  manifest: Manifest & {
940
940
  [key: string]: any;
@@ -10243,6 +10243,7 @@ declare namespace OpenFin {
10243
10243
  AppVersionError,
10244
10244
  AppVersionRuntimeInfo,
10245
10245
  LaunchEmitter,
10246
+ UserAppConfigArgs,
10246
10247
  RvmLaunchOptions,
10247
10248
  ShortCutConfig,
10248
10249
  TerminateExternalRequestType,
@@ -13068,7 +13069,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
13068
13069
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
13069
13070
  topic: 'application';
13070
13071
  type: 'run-requested';
13071
- userAppConfigArgs: Record<string, any>;
13072
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
13072
13073
  manifest: OpenFin.Manifest;
13073
13074
  };
13074
13075
 
@@ -13183,7 +13184,7 @@ declare type RvmLaunchOptions = {
13183
13184
  * True if no UI when launching
13184
13185
  */
13185
13186
  noUi?: boolean;
13186
- userAppConfigArgs?: object;
13187
+ userAppConfigArgs?: UserAppConfigArgs;
13187
13188
  /**
13188
13189
  * Timeout in seconds until RVM launch request expires.
13189
13190
  */
@@ -15712,6 +15713,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15712
15713
  httpStatusText: string;
15713
15714
  });
15714
15715
 
15716
+ /**
15717
+ * @interface
15718
+ */
15719
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15720
+
15715
15721
  /**
15716
15722
  * A general user bounds change event without event type.
15717
15723
  * @interface
@@ -19118,6 +19124,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
19118
19124
  positioningOptions?: OpenFin.PositioningOptions;
19119
19125
  };
19120
19126
 
19127
+ declare type WithUserAppConfigArgs = {
19128
+ /**
19129
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
19130
+ * that launches this application.
19131
+ *
19132
+ * @remarks
19133
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
19134
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
19135
+ *
19136
+ * Results in the following object:
19137
+ * ```json
19138
+ * {
19139
+ * "use-last-configuration": true"
19140
+ * }
19141
+ * ```
19142
+ *
19143
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
19144
+ * ```typescript
19145
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
19146
+ * const { userAppConfigArgs } = appInfo.initialOptions;
19147
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
19148
+ * ```
19149
+ */
19150
+ userAppConfigArgs?: UserAppConfigArgs;
19151
+ };
19152
+
19121
19153
  /* Excluded from this release type: WorkspacePlatformOptions */
19122
19154
 
19123
19155
  /**
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.MenuResult<Data>>;
827
827
  /**
828
- * CLoses the tray icon menu.
828
+ * Closes the tray icon menu.
829
829
  *
830
830
  * @throws if the application has no tray icon set
831
831
  * @example
@@ -934,7 +934,7 @@ declare type ApplicationIdentity_2 = {
934
934
  * @interface
935
935
  */
936
936
  declare type ApplicationInfo = {
937
- initialOptions: ApplicationCreationOptions | PlatformOptions;
937
+ initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
938
938
  launchMode: string;
939
939
  manifest: Manifest & {
940
940
  [key: string]: any;
@@ -10243,6 +10243,7 @@ declare namespace OpenFin {
10243
10243
  AppVersionError,
10244
10244
  AppVersionRuntimeInfo,
10245
10245
  LaunchEmitter,
10246
+ UserAppConfigArgs,
10246
10247
  RvmLaunchOptions,
10247
10248
  ShortCutConfig,
10248
10249
  TerminateExternalRequestType,
@@ -13068,7 +13069,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
13068
13069
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
13069
13070
  topic: 'application';
13070
13071
  type: 'run-requested';
13071
- userAppConfigArgs: Record<string, any>;
13072
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
13072
13073
  manifest: OpenFin.Manifest;
13073
13074
  };
13074
13075
 
@@ -13183,7 +13184,7 @@ declare type RvmLaunchOptions = {
13183
13184
  * True if no UI when launching
13184
13185
  */
13185
13186
  noUi?: boolean;
13186
- userAppConfigArgs?: object;
13187
+ userAppConfigArgs?: UserAppConfigArgs;
13187
13188
  /**
13188
13189
  * Timeout in seconds until RVM launch request expires.
13189
13190
  */
@@ -15712,6 +15713,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15712
15713
  httpStatusText: string;
15713
15714
  });
15714
15715
 
15716
+ /**
15717
+ * @interface
15718
+ */
15719
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15720
+
15715
15721
  /**
15716
15722
  * A general user bounds change event without event type.
15717
15723
  * @interface
@@ -19118,6 +19124,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
19118
19124
  positioningOptions?: OpenFin.PositioningOptions;
19119
19125
  };
19120
19126
 
19127
+ declare type WithUserAppConfigArgs = {
19128
+ /**
19129
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
19130
+ * that launches this application.
19131
+ *
19132
+ * @remarks
19133
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
19134
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
19135
+ *
19136
+ * Results in the following object:
19137
+ * ```json
19138
+ * {
19139
+ * "use-last-configuration": true"
19140
+ * }
19141
+ * ```
19142
+ *
19143
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
19144
+ * ```typescript
19145
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
19146
+ * const { userAppConfigArgs } = appInfo.initialOptions;
19147
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
19148
+ * ```
19149
+ */
19150
+ userAppConfigArgs?: UserAppConfigArgs;
19151
+ };
19152
+
19121
19153
  /* Excluded from this release type: WorkspacePlatformOptions */
19122
19154
 
19123
19155
  /**
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.MenuResult<Data>>;
827
827
  /**
828
- * CLoses the tray icon menu.
828
+ * Closes the tray icon menu.
829
829
  *
830
830
  * @throws if the application has no tray icon set
831
831
  * @example
@@ -934,7 +934,7 @@ declare type ApplicationIdentity_2 = {
934
934
  * @interface
935
935
  */
936
936
  declare type ApplicationInfo = {
937
- initialOptions: ApplicationCreationOptions | PlatformOptions;
937
+ initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
938
938
  launchMode: string;
939
939
  manifest: Manifest & {
940
940
  [key: string]: any;
@@ -10243,6 +10243,7 @@ declare namespace OpenFin {
10243
10243
  AppVersionError,
10244
10244
  AppVersionRuntimeInfo,
10245
10245
  LaunchEmitter,
10246
+ UserAppConfigArgs,
10246
10247
  RvmLaunchOptions,
10247
10248
  ShortCutConfig,
10248
10249
  TerminateExternalRequestType,
@@ -13068,7 +13069,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
13068
13069
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
13069
13070
  topic: 'application';
13070
13071
  type: 'run-requested';
13071
- userAppConfigArgs: Record<string, any>;
13072
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
13072
13073
  manifest: OpenFin.Manifest;
13073
13074
  };
13074
13075
 
@@ -13183,7 +13184,7 @@ declare type RvmLaunchOptions = {
13183
13184
  * True if no UI when launching
13184
13185
  */
13185
13186
  noUi?: boolean;
13186
- userAppConfigArgs?: object;
13187
+ userAppConfigArgs?: UserAppConfigArgs;
13187
13188
  /**
13188
13189
  * Timeout in seconds until RVM launch request expires.
13189
13190
  */
@@ -15712,6 +15713,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15712
15713
  httpStatusText: string;
15713
15714
  });
15714
15715
 
15716
+ /**
15717
+ * @interface
15718
+ */
15719
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15720
+
15715
15721
  /**
15716
15722
  * A general user bounds change event without event type.
15717
15723
  * @interface
@@ -19118,6 +19124,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
19118
19124
  positioningOptions?: OpenFin.PositioningOptions;
19119
19125
  };
19120
19126
 
19127
+ declare type WithUserAppConfigArgs = {
19128
+ /**
19129
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
19130
+ * that launches this application.
19131
+ *
19132
+ * @remarks
19133
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
19134
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
19135
+ *
19136
+ * Results in the following object:
19137
+ * ```json
19138
+ * {
19139
+ * "use-last-configuration": true"
19140
+ * }
19141
+ * ```
19142
+ *
19143
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
19144
+ * ```typescript
19145
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
19146
+ * const { userAppConfigArgs } = appInfo.initialOptions;
19147
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
19148
+ * ```
19149
+ */
19150
+ userAppConfigArgs?: UserAppConfigArgs;
19151
+ };
19152
+
19121
19153
  /* Excluded from this release type: WorkspacePlatformOptions */
19122
19154
 
19123
19155
  /**
package/out/fdc3-api.d.ts CHANGED
@@ -831,7 +831,7 @@ declare class Application extends EmitterBase<OpenFin.ApplicationEvent> {
831
831
  */
832
832
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.MenuResult<Data>>;
833
833
  /**
834
- * CLoses the tray icon menu.
834
+ * Closes the tray icon menu.
835
835
  *
836
836
  * @throws if the application has no tray icon set
837
837
  * @example
@@ -940,7 +940,7 @@ declare type ApplicationIdentity_2 = {
940
940
  * @interface
941
941
  */
942
942
  declare type ApplicationInfo = {
943
- initialOptions: ApplicationCreationOptions | PlatformOptions;
943
+ initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
944
944
  launchMode: string;
945
945
  manifest: Manifest & {
946
946
  [key: string]: any;
@@ -10558,6 +10558,7 @@ declare namespace OpenFin {
10558
10558
  AppVersionError,
10559
10559
  AppVersionRuntimeInfo,
10560
10560
  LaunchEmitter,
10561
+ UserAppConfigArgs,
10561
10562
  RvmLaunchOptions,
10562
10563
  ShortCutConfig,
10563
10564
  TerminateExternalRequestType,
@@ -13461,7 +13462,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
13461
13462
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
13462
13463
  topic: 'application';
13463
13464
  type: 'run-requested';
13464
- userAppConfigArgs: Record<string, any>;
13465
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
13465
13466
  manifest: OpenFin.Manifest;
13466
13467
  };
13467
13468
 
@@ -13576,7 +13577,7 @@ declare type RvmLaunchOptions = {
13576
13577
  * True if no UI when launching
13577
13578
  */
13578
13579
  noUi?: boolean;
13579
- userAppConfigArgs?: object;
13580
+ userAppConfigArgs?: UserAppConfigArgs;
13580
13581
  /**
13581
13582
  * Timeout in seconds until RVM launch request expires.
13582
13583
  */
@@ -16118,6 +16119,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
16118
16119
  httpStatusText: string;
16119
16120
  });
16120
16121
 
16122
+ /**
16123
+ * @interface
16124
+ */
16125
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
16126
+
16121
16127
  /**
16122
16128
  * A general user bounds change event without event type.
16123
16129
  * @interface
@@ -19570,6 +19576,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
19570
19576
  positioningOptions?: OpenFin.PositioningOptions;
19571
19577
  };
19572
19578
 
19579
+ declare type WithUserAppConfigArgs = {
19580
+ /**
19581
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
19582
+ * that launches this application.
19583
+ *
19584
+ * @remarks
19585
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
19586
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
19587
+ *
19588
+ * Results in the following object:
19589
+ * ```json
19590
+ * {
19591
+ * "use-last-configuration": true"
19592
+ * }
19593
+ * ```
19594
+ *
19595
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
19596
+ * ```typescript
19597
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
19598
+ * const { userAppConfigArgs } = appInfo.initialOptions;
19599
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
19600
+ * ```
19601
+ */
19602
+ userAppConfigArgs?: UserAppConfigArgs;
19603
+ };
19604
+
19573
19605
  /**
19574
19606
  * @internal
19575
19607
  * @interface
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "38.81.29",
3
+ "version": "38.81.30",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "private": false,