@commercetools-frontend/constants 27.11.0 → 27.11.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.
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
9
9
  var _includesInstanceProperty__default = /*#__PURE__*/_interopDefault(_includesInstanceProperty);
10
10
 
11
11
  // NOTE: This string will be replaced on build time with the package version.
12
- var version = "27.11.0";
12
+ var version = "27.11.1";
13
13
 
14
14
  /**
15
15
  * The project key must be between 2 and 36 characters long. It can only contain alphanumeric lowercase characters (a-z, 0-9),
@@ -131,6 +131,8 @@ const MC_API_PROXY_TARGETS = {
131
131
  STORES_SEARCGH: 'stores-search'
132
132
  };
133
133
 
134
+ /** Development-only navbar group header for the local menuLinks cache. */
135
+
134
136
  // Global application environment on window object
135
137
 
136
138
  // Used for Custom Views, as we want to keep the `entryPointUriPath` value required in the runtime config.
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
9
9
  var _includesInstanceProperty__default = /*#__PURE__*/_interopDefault(_includesInstanceProperty);
10
10
 
11
11
  // NOTE: This string will be replaced on build time with the package version.
12
- var version = "27.11.0";
12
+ var version = "27.11.1";
13
13
 
14
14
  /**
15
15
  * The project key must be between 2 and 36 characters long. It can only contain alphanumeric lowercase characters (a-z, 0-9),
@@ -131,6 +131,8 @@ const MC_API_PROXY_TARGETS = {
131
131
  STORES_SEARCGH: 'stores-search'
132
132
  };
133
133
 
134
+ /** Development-only navbar group header for the local menuLinks cache. */
135
+
134
136
  // Global application environment on window object
135
137
 
136
138
  // Used for Custom Views, as we want to keep the `entryPointUriPath` value required in the runtime config.
@@ -1,7 +1,7 @@
1
1
  import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
2
2
 
3
3
  // NOTE: This string will be replaced on build time with the package version.
4
- var version = "27.11.0";
4
+ var version = "27.11.1";
5
5
 
6
6
  /**
7
7
  * The project key must be between 2 and 36 characters long. It can only contain alphanumeric lowercase characters (a-z, 0-9),
@@ -123,6 +123,8 @@ const MC_API_PROXY_TARGETS = {
123
123
  STORES_SEARCGH: 'stores-search'
124
124
  };
125
125
 
126
+ /** Development-only navbar group header for the local menuLinks cache. */
127
+
126
128
  // Global application environment on window object
127
129
 
128
130
  // Used for Custom Views, as we want to keep the `entryPointUriPath` value required in the runtime config.
@@ -190,6 +190,11 @@ export type ApplicationOidcForDevelopmentConfig = {
190
190
  manage: string[];
191
191
  }[];
192
192
  };
193
+ /** Development-only navbar group header for the local menuLinks cache. */
194
+ export type ApplicationNavBarGroupForDevelopmentConfig = {
195
+ label?: string;
196
+ isNew?: boolean;
197
+ };
193
198
  export type CustomViewData = {
194
199
  id: string;
195
200
  defaultLabel: string;
@@ -204,6 +209,7 @@ export type CustomViewData = {
204
209
  export type ApplicationRuntimeEnvironmentForDevelopment = {
205
210
  oidc?: ApplicationOidcForDevelopmentConfig;
206
211
  menuLinks?: ApplicationMenuLinksForDevelopmentConfig;
212
+ menuGroup?: ApplicationNavBarGroupForDevelopmentConfig;
207
213
  customViewHostUrl?: string;
208
214
  customViewConfig?: CustomViewData;
209
215
  mcIdentityLoginModeOverride?: 'legacy';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/constants",
3
- "version": "27.11.0",
3
+ "version": "27.11.1",
4
4
  "description": "Shared constants for MC applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {