@commercetools-frontend/constants 22.22.0 → 22.23.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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
// NOTE: This string will be replaced on build time with the package version.
|
|
6
|
-
var version = "22.
|
|
6
|
+
var version = "22.23.1";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The entryPointUriPath may be between 2 and 36 characters and only contain alphabetic lowercase characters,
|
|
@@ -178,17 +178,20 @@ const LOGIN_STRATEGY_SSO = 'sso';
|
|
|
178
178
|
*/
|
|
179
179
|
|
|
180
180
|
const CUSTOM_VIEWS = 'enableCustomViews';
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
const FLAGS = {};
|
|
182
|
+
|
|
183
|
+
// Long-lived feature flags, defined in the MC API.
|
|
184
|
+
const DEFAULT_FLAGS = {
|
|
185
|
+
[CUSTOM_VIEWS]: {
|
|
186
|
+
value: true
|
|
187
|
+
}
|
|
185
188
|
};
|
|
186
189
|
|
|
187
190
|
var featureToggles = /*#__PURE__*/Object.freeze({
|
|
188
191
|
__proto__: null,
|
|
189
192
|
CUSTOM_VIEWS: CUSTOM_VIEWS,
|
|
190
|
-
|
|
191
|
-
|
|
193
|
+
FLAGS: FLAGS,
|
|
194
|
+
DEFAULT_FLAGS: DEFAULT_FLAGS
|
|
192
195
|
});
|
|
193
196
|
|
|
194
197
|
exports.CUSTOM_VIEWS_EVENTS_META = CUSTOM_VIEWS_EVENTS_META;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
// NOTE: This string will be replaced on build time with the package version.
|
|
6
|
-
var version = "22.
|
|
6
|
+
var version = "22.23.1";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The entryPointUriPath may be between 2 and 36 characters and only contain alphabetic lowercase characters,
|
|
@@ -178,17 +178,20 @@ const LOGIN_STRATEGY_SSO = 'sso';
|
|
|
178
178
|
*/
|
|
179
179
|
|
|
180
180
|
const CUSTOM_VIEWS = 'enableCustomViews';
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
const FLAGS = {};
|
|
182
|
+
|
|
183
|
+
// Long-lived feature flags, defined in the MC API.
|
|
184
|
+
const DEFAULT_FLAGS = {
|
|
185
|
+
[CUSTOM_VIEWS]: {
|
|
186
|
+
value: true
|
|
187
|
+
}
|
|
185
188
|
};
|
|
186
189
|
|
|
187
190
|
var featureToggles = /*#__PURE__*/Object.freeze({
|
|
188
191
|
__proto__: null,
|
|
189
192
|
CUSTOM_VIEWS: CUSTOM_VIEWS,
|
|
190
|
-
|
|
191
|
-
|
|
193
|
+
FLAGS: FLAGS,
|
|
194
|
+
DEFAULT_FLAGS: DEFAULT_FLAGS
|
|
192
195
|
});
|
|
193
196
|
|
|
194
197
|
exports.CUSTOM_VIEWS_EVENTS_META = CUSTOM_VIEWS_EVENTS_META;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// NOTE: This string will be replaced on build time with the package version.
|
|
2
|
-
var version = "22.
|
|
2
|
+
var version = "22.23.1";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The entryPointUriPath may be between 2 and 36 characters and only contain alphabetic lowercase characters,
|
|
@@ -174,17 +174,20 @@ const LOGIN_STRATEGY_SSO = 'sso';
|
|
|
174
174
|
*/
|
|
175
175
|
|
|
176
176
|
const CUSTOM_VIEWS = 'enableCustomViews';
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
const FLAGS = {};
|
|
178
|
+
|
|
179
|
+
// Long-lived feature flags, defined in the MC API.
|
|
180
|
+
const DEFAULT_FLAGS = {
|
|
181
|
+
[CUSTOM_VIEWS]: {
|
|
182
|
+
value: true
|
|
183
|
+
}
|
|
181
184
|
};
|
|
182
185
|
|
|
183
186
|
var featureToggles = /*#__PURE__*/Object.freeze({
|
|
184
187
|
__proto__: null,
|
|
185
188
|
CUSTOM_VIEWS: CUSTOM_VIEWS,
|
|
186
|
-
|
|
187
|
-
|
|
189
|
+
FLAGS: FLAGS,
|
|
190
|
+
DEFAULT_FLAGS: DEFAULT_FLAGS
|
|
188
191
|
});
|
|
189
192
|
|
|
190
193
|
export { CUSTOM_VIEWS_EVENTS_META, CUSTOM_VIEWS_EVENTS_NAMES, CUSTOM_VIEW_HOST_ENTRY_POINT_URI_PATH, DOMAINS, ENTRY_POINT_URI_PATH_REGEX, GRAPHQL_TARGETS, HIDE_ALL_PAGE_NOTIFICATIONS, HIDE_LOADING, HTTP_SECURITY_HEADERS, LOGIN_STRATEGY_DEFAULT, LOGIN_STRATEGY_OIDC, LOGIN_STRATEGY_SSO, LOGOUT_REASONS, MC_API_PROXY_TARGETS, NOTIFICATION_DOMAINS, NOTIFICATION_KINDS_GLOBAL, NOTIFICATION_KINDS_PAGE, NOTIFICATION_KINDS_SIDE, NO_VALUE_FALLBACK, ORGANIZATION_GENERAL_ERROR, PERMISSION_GROUP_NAME_REGEX, PORTALS_CONTAINER_ID, PORTALS_CONTAINER_INDENTATION_SIZE, PROJECT_KEY_REGEX, SHOW_LOADING, STATUS_CODES, STORAGE_KEYS, SUPPORTED_HEADERS, SUPPORT_PORTAL_URL, featureToggles as featureFlags, version };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const CUSTOM_VIEWS = "enableCustomViews";
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
enableCustomViews:
|
|
5
|
-
|
|
2
|
+
export declare const FLAGS: {};
|
|
3
|
+
export declare const DEFAULT_FLAGS: {
|
|
4
|
+
enableCustomViews: {
|
|
5
|
+
value: boolean;
|
|
6
|
+
};
|
|
6
7
|
};
|
package/package.json
CHANGED