@commercetools-frontend/application-config 27.9.6 → 27.11.0

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.
@@ -37,7 +37,7 @@ var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/string
37
37
  var path$1 = require('path');
38
38
  var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
39
39
  var _bindInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/bind');
40
- var formatters = require('./formatters-5a68b5ac.cjs.dev.js');
40
+ var formatters = require('./formatters-5bcaf776.cjs.dev.js');
41
41
  var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
42
42
  var _Array$isArray = require('@babel/runtime-corejs3/core-js-stable/array/is-array');
43
43
  var Ajv = require('ajv');
@@ -1045,9 +1045,33 @@ const validateConfig = (configType, config) => {
1045
1045
  throw new Error(printErrors(validation.errors));
1046
1046
  }
1047
1047
  };
1048
+ const ENTRY_POINT_URI_PATH_ERROR_MESSAGE = 'Invalid "entryPointUriPath". The value may be between 2 and 64 characters and only contain alphanumeric lowercase characters, non-consecutive underscores and hyphens. Leading and trailing underscores and hyphens are also not allowed. Values under a project-keyless-in-project-context prefix (e.g. "agent-sphere/registry") must use that prefix followed by a single slash and a valid segment.';
1049
+
1050
+ /**
1051
+ * Resolves the segment that must match `ENTRY_POINT_URI_PATH_REGEX`.
1052
+ * Entry points under `PROJECT_KEYLESS_APPLICATION_ENTRY_POINTS_IN_PROJECT_CONTEXT`
1053
+ * may be prefixed (e.g. `agent-sphere/registry`); only the right-hand segment is validated.
1054
+ */
1055
+ const getEntryPointUriPathSegmentToValidate = entryPointUriPath => {
1056
+ if (!_includesInstanceProperty__default["default"](entryPointUriPath).call(entryPointUriPath, '/')) {
1057
+ return entryPointUriPath;
1058
+ }
1059
+ const segments = entryPointUriPath.split('/');
1060
+ if (segments.length !== 2 || !segments[1]) {
1061
+ return null;
1062
+ }
1063
+ const _segments = _slicedToArray(segments, 2),
1064
+ prefix = _segments[0],
1065
+ rightHandSegment = _segments[1];
1066
+ if (!constants.isProjectKeylessApplicationEntryPointInProjectContext(prefix)) {
1067
+ return null;
1068
+ }
1069
+ return rightHandSegment;
1070
+ };
1048
1071
  const validateEntryPointUriPath = config => {
1049
- if (!config.entryPointUriPath.match(constants.ENTRY_POINT_URI_PATH_REGEX)) {
1050
- throw new Error('Invalid "entryPointUriPath". The value may be between 2 and 64 characters and only contain alphanumeric lowercase characters, non-consecutive underscores and hyphens. Leading and trailing underscores and hyphens are also not allowed.');
1072
+ const segmentToValidate = getEntryPointUriPathSegmentToValidate(config.entryPointUriPath);
1073
+ if (!segmentToValidate || !segmentToValidate.match(constants.ENTRY_POINT_URI_PATH_REGEX)) {
1074
+ throw new Error(ENTRY_POINT_URI_PATH_ERROR_MESSAGE);
1051
1075
  }
1052
1076
  };
1053
1077
  const validateSubmenuLinks = config => {
@@ -1245,10 +1269,10 @@ const getRuntimeEnvironmentConfigForDevelopment = _ref => {
1245
1269
  authorizeUrl: [
1246
1270
  // In case the MC API url points to localhost, we need to point
1247
1271
  // to a local running dev login page to handle the workflow properly.
1248
- mcApiUrl.hostname === 'localhost' ? mcApiUrl.origin.replace(mcApiUrl.port, String(developmentPort)) : mcApiUrl.origin.replace('mc-api', 'mc'), '/login/authorize'].join(''),
1272
+ mcApiUrl.hostname === 'localhost' ? mcApiUrl.origin.replace(mcApiUrl.port, String(developmentPort)) : mcApiUrl.origin.replace('mc-api', 'mc'), `/${constants.STATIC_URL_PATHS.LOGIN}/authorize`].join(''),
1249
1273
  initialProjectKey:
1250
- // For the `account` application, we should unset the projectKey.
1251
- entryPointUriPath === 'account' ? undefined : appConfig.env.development.initialProjectKey
1274
+ // For project-keyless applications, we should unset the projectKey.
1275
+ constants.isProjectKeylessApplicationEntryPoint(entryPointUriPath) ? undefined : appConfig.env.development.initialProjectKey
1252
1276
  }, appConfig.env.development?.teamId && _objectSpread({
1253
1277
  teamId: appConfig.env.development.teamId
1254
1278
  }, isCustomViewData(configurationData) ? {
@@ -37,7 +37,7 @@ var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/string
37
37
  var path$1 = require('path');
38
38
  var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
39
39
  var _bindInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/bind');
40
- var formatters = require('./formatters-4515015b.cjs.prod.js');
40
+ var formatters = require('./formatters-4e4336e9.cjs.prod.js');
41
41
  var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
42
42
  var _Array$isArray = require('@babel/runtime-corejs3/core-js-stable/array/is-array');
43
43
  var Ajv = require('ajv');
@@ -1045,9 +1045,33 @@ const validateConfig = (configType, config) => {
1045
1045
  throw new Error(printErrors(validation.errors));
1046
1046
  }
1047
1047
  };
1048
+ const ENTRY_POINT_URI_PATH_ERROR_MESSAGE = 'Invalid "entryPointUriPath". The value may be between 2 and 64 characters and only contain alphanumeric lowercase characters, non-consecutive underscores and hyphens. Leading and trailing underscores and hyphens are also not allowed. Values under a project-keyless-in-project-context prefix (e.g. "agent-sphere/registry") must use that prefix followed by a single slash and a valid segment.';
1049
+
1050
+ /**
1051
+ * Resolves the segment that must match `ENTRY_POINT_URI_PATH_REGEX`.
1052
+ * Entry points under `PROJECT_KEYLESS_APPLICATION_ENTRY_POINTS_IN_PROJECT_CONTEXT`
1053
+ * may be prefixed (e.g. `agent-sphere/registry`); only the right-hand segment is validated.
1054
+ */
1055
+ const getEntryPointUriPathSegmentToValidate = entryPointUriPath => {
1056
+ if (!_includesInstanceProperty__default["default"](entryPointUriPath).call(entryPointUriPath, '/')) {
1057
+ return entryPointUriPath;
1058
+ }
1059
+ const segments = entryPointUriPath.split('/');
1060
+ if (segments.length !== 2 || !segments[1]) {
1061
+ return null;
1062
+ }
1063
+ const _segments = _slicedToArray(segments, 2),
1064
+ prefix = _segments[0],
1065
+ rightHandSegment = _segments[1];
1066
+ if (!constants.isProjectKeylessApplicationEntryPointInProjectContext(prefix)) {
1067
+ return null;
1068
+ }
1069
+ return rightHandSegment;
1070
+ };
1048
1071
  const validateEntryPointUriPath = config => {
1049
- if (!config.entryPointUriPath.match(constants.ENTRY_POINT_URI_PATH_REGEX)) {
1050
- throw new Error('Invalid "entryPointUriPath". The value may be between 2 and 64 characters and only contain alphanumeric lowercase characters, non-consecutive underscores and hyphens. Leading and trailing underscores and hyphens are also not allowed.');
1072
+ const segmentToValidate = getEntryPointUriPathSegmentToValidate(config.entryPointUriPath);
1073
+ if (!segmentToValidate || !segmentToValidate.match(constants.ENTRY_POINT_URI_PATH_REGEX)) {
1074
+ throw new Error(ENTRY_POINT_URI_PATH_ERROR_MESSAGE);
1051
1075
  }
1052
1076
  };
1053
1077
  const validateSubmenuLinks = config => {
@@ -1245,10 +1269,10 @@ const getRuntimeEnvironmentConfigForDevelopment = _ref => {
1245
1269
  authorizeUrl: [
1246
1270
  // In case the MC API url points to localhost, we need to point
1247
1271
  // to a local running dev login page to handle the workflow properly.
1248
- mcApiUrl.hostname === 'localhost' ? mcApiUrl.origin.replace(mcApiUrl.port, String(developmentPort)) : mcApiUrl.origin.replace('mc-api', 'mc'), '/login/authorize'].join(''),
1272
+ mcApiUrl.hostname === 'localhost' ? mcApiUrl.origin.replace(mcApiUrl.port, String(developmentPort)) : mcApiUrl.origin.replace('mc-api', 'mc'), `/${constants.STATIC_URL_PATHS.LOGIN}/authorize`].join(''),
1249
1273
  initialProjectKey:
1250
- // For the `account` application, we should unset the projectKey.
1251
- entryPointUriPath === 'account' ? undefined : appConfig.env.development.initialProjectKey
1274
+ // For project-keyless applications, we should unset the projectKey.
1275
+ constants.isProjectKeylessApplicationEntryPoint(entryPointUriPath) ? undefined : appConfig.env.development.initialProjectKey
1252
1276
  }, appConfig.env.development?.teamId && _objectSpread({
1253
1277
  teamId: appConfig.env.development.teamId
1254
1278
  }, isCustomViewData(configurationData) ? {
@@ -13,7 +13,7 @@ import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
13
13
  import fs$1 from 'node:fs';
14
14
  import path, { parse } from 'node:path';
15
15
  import omitEmpty from 'omit-empty-es';
16
- import { ENTRY_POINT_URI_PATH_REGEX, PERMISSION_GROUP_NAME_REGEX, CUSTOM_VIEW_HOST_ENTRY_POINT_URI_PATH } from '@commercetools-frontend/constants';
16
+ import { ENTRY_POINT_URI_PATH_REGEX, PERMISSION_GROUP_NAME_REGEX, isProjectKeylessApplicationEntryPointInProjectContext, CUSTOM_VIEW_HOST_ENTRY_POINT_URI_PATH, STATIC_URL_PATHS, isProjectKeylessApplicationEntryPoint } from '@commercetools-frontend/constants';
17
17
  export { ENTRY_POINT_URI_PATH_REGEX, PERMISSION_GROUP_NAME_REGEX } from '@commercetools-frontend/constants';
18
18
  import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
19
19
  import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
@@ -34,7 +34,7 @@ import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringif
34
34
  import path$1 from 'path';
35
35
  import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
36
36
  import _bindInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/bind';
37
- import { f as formatEntryPointUriPathToResourceAccessKey, e as entryPointUriPathToResourceAccesses } from './formatters-5629a23b.esm.js';
37
+ import { f as formatEntryPointUriPathToResourceAccessKey, e as entryPointUriPathToResourceAccesses } from './formatters-afa87119.esm.js';
38
38
  import _Set from '@babel/runtime-corejs3/core-js-stable/set';
39
39
  import _Array$isArray from '@babel/runtime-corejs3/core-js-stable/array/is-array';
40
40
  import Ajv from 'ajv';
@@ -1009,9 +1009,33 @@ const validateConfig = (configType, config) => {
1009
1009
  throw new Error(printErrors(validation.errors));
1010
1010
  }
1011
1011
  };
1012
+ const ENTRY_POINT_URI_PATH_ERROR_MESSAGE = 'Invalid "entryPointUriPath". The value may be between 2 and 64 characters and only contain alphanumeric lowercase characters, non-consecutive underscores and hyphens. Leading and trailing underscores and hyphens are also not allowed. Values under a project-keyless-in-project-context prefix (e.g. "agent-sphere/registry") must use that prefix followed by a single slash and a valid segment.';
1013
+
1014
+ /**
1015
+ * Resolves the segment that must match `ENTRY_POINT_URI_PATH_REGEX`.
1016
+ * Entry points under `PROJECT_KEYLESS_APPLICATION_ENTRY_POINTS_IN_PROJECT_CONTEXT`
1017
+ * may be prefixed (e.g. `agent-sphere/registry`); only the right-hand segment is validated.
1018
+ */
1019
+ const getEntryPointUriPathSegmentToValidate = entryPointUriPath => {
1020
+ if (!_includesInstanceProperty(entryPointUriPath).call(entryPointUriPath, '/')) {
1021
+ return entryPointUriPath;
1022
+ }
1023
+ const segments = entryPointUriPath.split('/');
1024
+ if (segments.length !== 2 || !segments[1]) {
1025
+ return null;
1026
+ }
1027
+ const _segments = _slicedToArray(segments, 2),
1028
+ prefix = _segments[0],
1029
+ rightHandSegment = _segments[1];
1030
+ if (!isProjectKeylessApplicationEntryPointInProjectContext(prefix)) {
1031
+ return null;
1032
+ }
1033
+ return rightHandSegment;
1034
+ };
1012
1035
  const validateEntryPointUriPath = config => {
1013
- if (!config.entryPointUriPath.match(ENTRY_POINT_URI_PATH_REGEX)) {
1014
- throw new Error('Invalid "entryPointUriPath". The value may be between 2 and 64 characters and only contain alphanumeric lowercase characters, non-consecutive underscores and hyphens. Leading and trailing underscores and hyphens are also not allowed.');
1036
+ const segmentToValidate = getEntryPointUriPathSegmentToValidate(config.entryPointUriPath);
1037
+ if (!segmentToValidate || !segmentToValidate.match(ENTRY_POINT_URI_PATH_REGEX)) {
1038
+ throw new Error(ENTRY_POINT_URI_PATH_ERROR_MESSAGE);
1015
1039
  }
1016
1040
  };
1017
1041
  const validateSubmenuLinks = config => {
@@ -1209,10 +1233,10 @@ const getRuntimeEnvironmentConfigForDevelopment = _ref => {
1209
1233
  authorizeUrl: [
1210
1234
  // In case the MC API url points to localhost, we need to point
1211
1235
  // to a local running dev login page to handle the workflow properly.
1212
- mcApiUrl.hostname === 'localhost' ? mcApiUrl.origin.replace(mcApiUrl.port, String(developmentPort)) : mcApiUrl.origin.replace('mc-api', 'mc'), '/login/authorize'].join(''),
1236
+ mcApiUrl.hostname === 'localhost' ? mcApiUrl.origin.replace(mcApiUrl.port, String(developmentPort)) : mcApiUrl.origin.replace('mc-api', 'mc'), `/${STATIC_URL_PATHS.LOGIN}/authorize`].join(''),
1213
1237
  initialProjectKey:
1214
- // For the `account` application, we should unset the projectKey.
1215
- entryPointUriPath === 'account' ? undefined : appConfig.env.development.initialProjectKey
1238
+ // For project-keyless applications, we should unset the projectKey.
1239
+ isProjectKeylessApplicationEntryPoint(entryPointUriPath) ? undefined : appConfig.env.development.initialProjectKey
1216
1240
  }, appConfig.env.development?.teamId && _objectSpread({
1217
1241
  teamId: appConfig.env.development.teamId
1218
1242
  }, isCustomViewData(configurationData) ? {
@@ -6,6 +6,7 @@ type TImplicitCustomApplicationPermissionKeys<PermissionGroupName extends string
6
6
  * The function formats the `entryPointUriPath` to a resource access key.
7
7
  * It makes the first character of the string and the next character after a special character an uppercase.
8
8
  * It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
9
+ * Path separators (`/`) are treated like hyphens (omitted, next segment PascalCased).
9
10
  *
10
11
  * @example
11
12
  * - avengers --> Avengers
@@ -13,6 +14,7 @@ type TImplicitCustomApplicationPermissionKeys<PermissionGroupName extends string
13
14
  * - the_avengers --> The_Avengers
14
15
  * - avengers-01 --> Avengers/01
15
16
  * - avengers_01 --> Avengers_01
17
+ * - new-avengers/team --> NewAvengersTeam
16
18
  */
17
19
  declare const formatEntryPointUriPathToResourceAccessKey: (entryPointUriPath: string) => string;
18
20
  /**
@@ -37,6 +37,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _co
37
37
  * The function formats the `entryPointUriPath` to a resource access key.
38
38
  * It makes the first character of the string and the next character after a special character an uppercase.
39
39
  * It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
40
+ * Path separators (`/`) are treated like hyphens (omitted, next segment PascalCased).
40
41
  *
41
42
  * @example
42
43
  * - avengers --> Avengers
@@ -44,6 +45,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _co
44
45
  * - the_avengers --> The_Avengers
45
46
  * - avengers-01 --> Avengers/01
46
47
  * - avengers_01 --> Avengers_01
48
+ * - new-avengers/team --> NewAvengersTeam
47
49
  */
48
50
  const formatEntryPointUriPathToResourceAccessKey = entryPointUriPath => {
49
51
  var _context, _context2;
@@ -54,8 +56,8 @@ const formatEntryPointUriPathToResourceAccessKey = entryPointUriPath => {
54
56
  ).call(_context2, upperFirst__default["default"])
55
57
  // Join the words by an underscore.
56
58
  .join('_')
57
- // Each word is split by a hyphen.
58
- .split('-')).call(_context, (word, i) => {
59
+ // Each word is split by a hyphen or path separator.
60
+ .split(/[-/]/)).call(_context, (word, i) => {
59
61
  // Regex below checking if the character is numeric.
60
62
  // If the word after the hyphen is numeric, replace the hyphen with a forward slash.
61
63
  // If not, omit the hyphen and uppercase the first character
@@ -37,6 +37,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _co
37
37
  * The function formats the `entryPointUriPath` to a resource access key.
38
38
  * It makes the first character of the string and the next character after a special character an uppercase.
39
39
  * It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
40
+ * Path separators (`/`) are treated like hyphens (omitted, next segment PascalCased).
40
41
  *
41
42
  * @example
42
43
  * - avengers --> Avengers
@@ -44,6 +45,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _co
44
45
  * - the_avengers --> The_Avengers
45
46
  * - avengers-01 --> Avengers/01
46
47
  * - avengers_01 --> Avengers_01
48
+ * - new-avengers/team --> NewAvengersTeam
47
49
  */
48
50
  const formatEntryPointUriPathToResourceAccessKey = entryPointUriPath => {
49
51
  var _context, _context2;
@@ -54,8 +56,8 @@ const formatEntryPointUriPathToResourceAccessKey = entryPointUriPath => {
54
56
  ).call(_context2, upperFirst__default["default"])
55
57
  // Join the words by an underscore.
56
58
  .join('_')
57
- // Each word is split by a hyphen.
58
- .split('-')).call(_context, (word, i) => {
59
+ // Each word is split by a hyphen or path separator.
60
+ .split(/[-/]/)).call(_context, (word, i) => {
59
61
  // Regex below checking if the character is numeric.
60
62
  // If the word after the hyphen is numeric, replace the hyphen with a forward slash.
61
63
  // If not, omit the hyphen and uppercase the first character
@@ -20,6 +20,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _co
20
20
  * The function formats the `entryPointUriPath` to a resource access key.
21
21
  * It makes the first character of the string and the next character after a special character an uppercase.
22
22
  * It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
23
+ * Path separators (`/`) are treated like hyphens (omitted, next segment PascalCased).
23
24
  *
24
25
  * @example
25
26
  * - avengers --> Avengers
@@ -27,6 +28,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _co
27
28
  * - the_avengers --> The_Avengers
28
29
  * - avengers-01 --> Avengers/01
29
30
  * - avengers_01 --> Avengers_01
31
+ * - new-avengers/team --> NewAvengersTeam
30
32
  */
31
33
  const formatEntryPointUriPathToResourceAccessKey = entryPointUriPath => {
32
34
  var _context, _context2;
@@ -37,8 +39,8 @@ const formatEntryPointUriPathToResourceAccessKey = entryPointUriPath => {
37
39
  ).call(_context2, upperFirst)
38
40
  // Join the words by an underscore.
39
41
  .join('_')
40
- // Each word is split by a hyphen.
41
- .split('-')).call(_context, (word, i) => {
42
+ // Each word is split by a hyphen or path separator.
43
+ .split(/[-/]/)).call(_context, (word, i) => {
42
44
  // Regex below checking if the character is numeric.
43
45
  // If the word after the hyphen is numeric, replace the hyphen with a forward slash.
44
46
  // If not, omit the hyphen and uppercase the first character
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-config",
3
- "version": "27.9.6",
3
+ "version": "27.11.0",
4
4
  "description": "Configuration utilities for building Custom Applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -55,12 +55,12 @@
55
55
  "jsdom": "^21.1.2",
56
56
  "lodash": "4.18.1",
57
57
  "omit-empty-es": "1.2.0",
58
- "@commercetools-frontend/constants": "^27.9.6"
58
+ "@commercetools-frontend/constants": "^27.11.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/jsdom": "^21.1.2",
62
62
  "json-schema-to-typescript": "15.0.4",
63
- "@commercetools-frontend/assets": "^27.9.6"
63
+ "@commercetools-frontend/assets": "^27.11.0"
64
64
  },
65
65
  "engines": {
66
66
  "node": "18.x || 20.x || >=22.0.0"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var formatters = require('../../dist/formatters-5a68b5ac.cjs.dev.js');
5
+ var formatters = require('../../dist/formatters-5bcaf776.cjs.dev.js');
6
6
  require('@babel/runtime-corejs3/core-js-stable/object/keys');
7
7
  require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
8
8
  require('@babel/runtime-corejs3/core-js-stable/instance/filter');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var formatters = require('../../dist/formatters-4515015b.cjs.prod.js');
5
+ var formatters = require('../../dist/formatters-4e4336e9.cjs.prod.js');
6
6
  require('@babel/runtime-corejs3/core-js-stable/object/keys');
7
7
  require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
8
8
  require('@babel/runtime-corejs3/core-js-stable/instance/filter');
@@ -1,4 +1,4 @@
1
- export { d as computeCustomViewPermissionsKeys, c as computeCustomViewResourceAccesses, a as entryPointUriPathToPermissionKeys, e as entryPointUriPathToResourceAccesses, f as formatEntryPointUriPathToResourceAccessKey, b as formatPermissionGroupNameToResourceAccessKey } from '../../dist/formatters-5629a23b.esm.js';
1
+ export { d as computeCustomViewPermissionsKeys, c as computeCustomViewResourceAccesses, a as entryPointUriPathToPermissionKeys, e as entryPointUriPathToResourceAccesses, f as formatEntryPointUriPathToResourceAccessKey, b as formatPermissionGroupNameToResourceAccessKey } from '../../dist/formatters-afa87119.esm.js';
2
2
  import '@babel/runtime-corejs3/core-js-stable/object/keys';
3
3
  import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
4
4
  import '@babel/runtime-corejs3/core-js-stable/instance/filter';