@c8y/options 1020.40.0 → 1021.0.4

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": "1020.40.0",
3
+ "version": "1021.0.4",
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": "1020.40.0"
20
+ "@c8y/client": "1021.0.4"
21
21
  }
22
22
  }
@@ -155,6 +155,8 @@ export interface ApplicationOptions {
155
155
  cookieBanner?: CookieBannerConfiguration;
156
156
  /** Cookie preferences configuration. Here you can enable or disable cookie categories */
157
157
  cookiePreferences?: CookiePreferencesConfiguration;
158
+ /** Message Banner configuration */
159
+ messageBanner?: MessageBannerConfiguration;
158
160
  /** A key for the product experience software Gainsight. */
159
161
  gainsightKey?: string;
160
162
  /** Disable user tracking */
@@ -372,6 +374,15 @@ export interface CookieBannerConfiguration {
372
374
  policyVersion?: string;
373
375
  }
374
376
 
377
+ export interface MessageBannerConfiguration {
378
+ /** Content of message banner */
379
+ messageBannerContent?: string;
380
+ /** Enable or disable message banner */
381
+ messageBannerEnabled?: boolean;
382
+ /** Type of message banner */
383
+ messageBannerType?: 'success' | 'warning' | 'danger' | 'info' | 'system';
384
+ }
385
+
375
386
  export interface CookiePreferencesConfiguration {
376
387
  /** This category includes e.g. cookies related to logging in */
377
388
  required?: boolean | string;