@c8y/options 1023.80.2 → 1023.81.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/options",
3
- "version": "1023.80.2",
3
+ "version": "1023.81.3",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "Cumulocity application options",
@@ -17,6 +17,6 @@
17
17
  "options"
18
18
  ],
19
19
  "peerDependencies": {
20
- "@c8y/client": "1023.80.2"
20
+ "@c8y/client": "1023.81.3"
21
21
  }
22
22
  }
@@ -102,8 +102,11 @@ export interface ApplicationOptions {
102
102
  icon?: Icon;
103
103
 
104
104
  // These are the old options
105
- /** Hide application in app switcher (saved to the server). */
106
- noAppSwitcher?: boolean;
105
+ /** Hide application in app switcher (saved to the server).
106
+ * If the value is provided as a string, it will be treated as the feature toggle key that needs to be activated in order to see the application in the app switcher.
107
+ * This allows to hide the application from the app switcher for everyone, except for users that have access to this feature toggle.
108
+ */
109
+ noAppSwitcher?: boolean | string;
107
110
  /** HTML page title. */
108
111
  globalTitle?: string;
109
112
  /** Hide "powered by" and version info at the bottom of the navigator and in the right drawer. */