@commercetools-frontend/application-shell 24.7.2 → 24.8.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.
- package/dist/{application-entry-point-87fc1d21.esm.js → application-entry-point-10a5e1a5.esm.js} +1 -17
- package/dist/{application-entry-point-25a893ee.cjs.prod.js → application-entry-point-8c4b8e53.cjs.prod.js} +1 -5
- package/dist/{application-entry-point-66e4e42e.cjs.dev.js → application-entry-point-c87294b0.cjs.dev.js} +1 -18
- package/dist/commercetools-frontend-application-shell.cjs.d.ts +2 -2
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +5 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +5 -4
- package/dist/commercetools-frontend-application-shell.esm.js +5 -4
- package/dist/{custom-view-dev-host-d0430873.cjs.dev.js → custom-view-dev-host-8aeef4bf.cjs.dev.js} +5 -8
- package/dist/{custom-view-dev-host-22fc5ded.cjs.prod.js → custom-view-dev-host-ace1f094.cjs.prod.js} +5 -5
- package/dist/{custom-view-dev-host-54e9ab34.esm.js → custom-view-dev-host-b37e5cce.esm.js} +5 -7
- package/dist/declarations/src/components/application-page-title/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/configure-intl-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/custom-view-shell/index.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/index.d.ts +0 -1
- package/dist/declarations/src/components/fetch-user/fetch-user.d.ts +1 -1
- package/dist/declarations/src/components/fetch-user/index.d.ts +1 -1
- package/dist/declarations/src/components/inject-reducers/index.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-login/index.d.ts +0 -1
- package/dist/declarations/src/components/redirect-to-logout/index.d.ts +1 -2
- package/dist/declarations/src/components/route-catch-all/index.d.ts +0 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +1 -1
- package/dist/declarations/src/components/suspended-route/index.d.ts +3 -3
- package/dist/declarations/src/components/suspended-route/protected-route.d.ts +0 -1
- package/dist/declarations/src/components/suspended-route/suspended-protected-route.d.ts +1 -2
- package/dist/declarations/src/export-types.d.ts +1 -1
- package/dist/declarations/src/hooks/use-routes-creator/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +21 -21
- package/dist/declarations/src/ssr/index.d.ts +1 -1
- package/dist/declarations/src/test-utils/custom-views-utils.d.ts +1 -1
- package/dist/declarations/src/test-utils/index.d.ts +2 -2
- package/dist/declarations/src/test-utils/test-utils.d.ts +2 -2
- package/dist/declarations/src/utils/get-previous-project-key/index.d.ts +1 -1
- package/dist/declarations/src/utils/setup-global-error-listener/index.d.ts +1 -1
- package/dist/declarations-connectors/dist/commercetools-frontend-application-shell-connectors.cjs.d.ts +2 -0
- package/dist/declarations-connectors/src/components/application-context/application-context.d.ts +109 -0
- package/dist/declarations-connectors/src/components/application-context/index.d.ts +10 -0
- package/dist/declarations-connectors/src/components/application-context/normalizers.d.ts +48 -0
- package/dist/declarations-connectors/src/components/custom-view-context/custom-view-context.d.ts +19 -0
- package/dist/declarations-connectors/src/components/custom-view-context/index.d.ts +4 -0
- package/dist/declarations-connectors/src/components/project-extension-image-regex/index.d.ts +3 -0
- package/dist/declarations-connectors/src/components/project-extension-image-regex/project-extension-image-regex.d.ts +37 -0
- package/dist/declarations-connectors/src/configure-apollo.d.ts +7 -0
- package/dist/declarations-connectors/src/export-types.d.ts +21 -0
- package/dist/declarations-connectors/src/hooks/apollo-hooks/apollo-hooks.d.ts +12 -0
- package/dist/declarations-connectors/src/hooks/apollo-hooks/index.d.ts +1 -0
- package/dist/declarations-connectors/src/hooks/custom-views/use-custom-view-parent-data-refresher.d.ts +5 -0
- package/dist/declarations-connectors/src/index.d.ts +12 -0
- package/dist/declarations-connectors/src/types/generated/mc.d.ts +742 -0
- package/dist/declarations-connectors/src/utils/apollo-client-runtime-cache.d.ts +4 -0
- package/dist/declarations-connectors/src/utils/apollo-context.d.ts +16 -0
- package/dist/declarations-connectors/src/utils/get-correlation-id/get-correlation-id.d.ts +3 -0
- package/dist/declarations-connectors/src/utils/get-correlation-id/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/get-mc-api-url/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/http-client.d.ts +107 -0
- package/dist/declarations-connectors/src/utils/index.d.ts +7 -0
- package/dist/declarations-connectors/src/utils/logger.d.ts +10 -0
- package/dist/declarations-connectors/src/utils/oidc-storage.d.ts +12 -0
- package/dist/declarations-connectors/src/utils/select-project-key-from-url/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-project-key-from-url/select-project-key-from-url.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-team-id-from-storage/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-team-id-from-storage/select-team-id-from-storage.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-user-id/index.d.ts +1 -0
- package/dist/declarations-connectors/src/utils/select-user-id/select-user-id.d.ts +1 -0
- package/dist/declarations-connectors/src/version.d.ts +2 -0
- package/dist/{index-b76590b3.cjs.prod.js → index-245e2980.cjs.prod.js} +20 -15
- package/dist/{index-0459c0f4.cjs.dev.js → index-614accc4.cjs.dev.js} +20 -15
- package/dist/{index-a5d2d010.esm.js → index-86039df7.esm.js} +19 -14
- package/dist/{index-f9551c06.esm.js → index-89d1e5ff.esm.js} +19 -141
- package/dist/{index-82b627fb.cjs.prod.js → index-cae94846.cjs.prod.js} +19 -66
- package/dist/{index-63d718c6.cjs.dev.js → index-daa6a1ab.cjs.dev.js} +19 -142
- package/dist/{navbar-5b3ac835.cjs.dev.js → navbar-022383bd.cjs.dev.js} +3 -113
- package/dist/{navbar-2c26c0f7.esm.js → navbar-844d350d.esm.js} +3 -112
- package/dist/{navbar-654f1534.cjs.prod.js → navbar-acc2cd1b.cjs.prod.js} +3 -21
- package/dist/{oidc-callback-b1c0fb4b.cjs.dev.js → oidc-callback-56ff7c2e.cjs.dev.js} +6 -9
- package/dist/{oidc-callback-73295cb5.esm.js → oidc-callback-8a8dd8da.esm.js} +6 -8
- package/dist/{oidc-callback-ca30194b.cjs.prod.js → oidc-callback-e6420943.cjs.prod.js} +6 -6
- package/dist/{project-container-9c471740.esm.js → project-container-06e24ba5.esm.js} +10 -19
- package/dist/{project-container-3921c886.cjs.prod.js → project-container-3ffe6233.cjs.prod.js} +10 -11
- package/dist/{project-container-b4fee0d6.cjs.dev.js → project-container-6695a370.cjs.dev.js} +10 -20
- package/dist/{project-expired-1a49823c.cjs.prod.js → project-expired-04ac466f.cjs.prod.js} +6 -5
- package/dist/{project-expired-081090ed.cjs.dev.js → project-expired-1b763294.cjs.dev.js} +6 -5
- package/dist/{project-expired-fa42e755.esm.js → project-expired-35a22579.esm.js} +6 -5
- package/dist/{project-not-found-927b2193.cjs.dev.js → project-not-found-6ba4b06d.cjs.dev.js} +6 -5
- package/dist/{project-not-found-a8899d6a.cjs.prod.js → project-not-found-8c1e3b2b.cjs.prod.js} +6 -5
- package/dist/{project-not-found-871c2a08.esm.js → project-not-found-ae62cc83.esm.js} +6 -5
- package/dist/{project-not-initialized-3fdfefab.esm.js → project-not-initialized-900caac5.esm.js} +6 -5
- package/dist/{project-not-initialized-5a8ce431.cjs.dev.js → project-not-initialized-ba4d7655.cjs.dev.js} +6 -5
- package/dist/{project-not-initialized-1a773477.cjs.prod.js → project-not-initialized-e0971305.cjs.prod.js} +6 -5
- package/dist/{project-suspended-93172b2c.cjs.dev.js → project-suspended-59a3e101.cjs.dev.js} +6 -5
- package/dist/{project-suspended-5fec80c9.cjs.prod.js → project-suspended-7b9689e1.cjs.prod.js} +6 -5
- package/dist/{project-suspended-696f83da.esm.js → project-suspended-bd3b7fb9.esm.js} +6 -5
- package/dist/{quick-access-f19ebe03.cjs.dev.js → quick-access-7b92bb3b.cjs.dev.js} +16 -37
- package/dist/{quick-access-d2009eae.esm.js → quick-access-95e8bf34.esm.js} +16 -36
- package/dist/{quick-access-4022932f.cjs.prod.js → quick-access-b9fc3a22.cjs.prod.js} +16 -18
- package/dist/{redirect-to-login-8c7575fb.cjs.prod.js → redirect-to-login-12f467b8.cjs.prod.js} +1 -2
- package/dist/{redirect-to-login-d9c20203.esm.js → redirect-to-login-2944c890.esm.js} +1 -2
- package/dist/{redirect-to-login-321190b7.cjs.dev.js → redirect-to-login-3bee13ba.cjs.dev.js} +1 -2
- package/dist/{redirect-to-logout-64c4ab1e.esm.js → redirect-to-logout-03f40678.esm.js} +6 -5
- package/dist/{redirect-to-logout-e67c2985.cjs.dev.js → redirect-to-logout-4620e311.cjs.dev.js} +6 -5
- package/dist/{redirect-to-logout-2d42f7f1.cjs.prod.js → redirect-to-logout-c3755ed1.cjs.prod.js} +6 -5
- package/dist/{redirector-01f35da8.cjs.prod.js → redirector-0c72d0a4.cjs.prod.js} +0 -14
- package/dist/{redirector-98dfc5f0.cjs.dev.js → redirector-72ccfbc2.cjs.dev.js} +0 -14
- package/dist/{redirector-76670a54.esm.js → redirector-d856975f.esm.js} +0 -13
- package/dist/{requests-in-flight-loader-ac5fc71e.cjs.prod.js → requests-in-flight-loader-5045f3bc.cjs.prod.js} +5 -4
- package/dist/{requests-in-flight-loader-667bb113.cjs.dev.js → requests-in-flight-loader-7fbf23bc.cjs.dev.js} +5 -4
- package/dist/{requests-in-flight-loader-02be8f44.esm.js → requests-in-flight-loader-b74dbbc4.esm.js} +5 -4
- package/dist/{service-page-project-switcher-815e8660.esm.js → service-page-project-switcher-0c37b04e.esm.js} +1 -1
- package/dist/{service-page-project-switcher-27c2172e.cjs.dev.js → service-page-project-switcher-60badc85.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-50e500af.cjs.prod.js → service-page-project-switcher-f6d69104.cjs.prod.js} +1 -1
- package/dist/{user-settings-menu-03a69aba.cjs.dev.js → user-settings-menu-6113cdd3.cjs.dev.js} +0 -15
- package/dist/{user-settings-menu-54cc2ed0.cjs.prod.js → user-settings-menu-d75f4958.cjs.prod.js} +0 -5
- package/dist/{user-settings-menu-a3ae7c85.esm.js → user-settings-menu-f98bea89.esm.js} +0 -14
- package/package.json +44 -44
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +5 -12
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +5 -5
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +5 -11
- package/dist/commercetools-frontend-application-shell.cjs.d.ts.map +0 -1
- package/dist/declarations/src/components/app-bar/app-bar.d.ts +0 -10
- package/dist/declarations/src/components/app-bar/index.d.ts +0 -1
- package/dist/declarations/src/components/application-entry-point/application-entry-point.d.ts +0 -10
- package/dist/declarations/src/components/application-entry-point/index.d.ts +0 -1
- package/dist/declarations/src/components/application-loader/application-loader.d.ts +0 -8
- package/dist/declarations/src/components/application-loader/index.d.ts +0 -1
- package/dist/declarations/src/components/application-shell/global-styles.d.ts +0 -3
- package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +0 -25
- package/dist/declarations/src/components/application-shell-provider/use-coerced-environment-values.d.ts +0 -6
- package/dist/declarations/src/components/authenticated/am-i-logged-in.d.ts +0 -13
- package/dist/declarations/src/components/authenticated/authenticated.d.ts +0 -16
- package/dist/declarations/src/components/authenticated/has-cached-authentication-state.d.ts +0 -2
- package/dist/declarations/src/components/authenticated/index.d.ts +0 -1
- package/dist/declarations/src/components/authenticated/oidc-callback-error-page.d.ts +0 -12
- package/dist/declarations/src/components/authenticated/oidc-callback.async.d.ts +0 -6
- package/dist/declarations/src/components/authenticated/oidc-callback.d.ts +0 -11
- package/dist/declarations/src/components/authenticated/types.d.ts +0 -6
- package/dist/declarations/src/components/back-to-project/back-to-project.d.ts +0 -8
- package/dist/declarations/src/components/back-to-project/index.d.ts +0 -1
- package/dist/declarations/src/components/back-to-project/messages.d.ts +0 -7
- package/dist/declarations/src/components/custom-view-dev-host/custom-view-dev-host.d.ts +0 -11
- package/dist/declarations/src/components/custom-view-dev-host/index.d.ts +0 -6
- package/dist/declarations/src/components/custom-view-flop-flip-provider/custom-view-flop-flip-provider.d.ts +0 -10
- package/dist/declarations/src/components/custom-view-flop-flip-provider/index.d.ts +0 -1
- package/dist/declarations/src/components/custom-view-shell/custom-view-shell.styles.d.ts +0 -9
- package/dist/declarations/src/components/custom-view-shell-authenticated/custom-view-shell-authenticated.d.ts +0 -15
- package/dist/declarations/src/components/custom-view-shell-authenticated/index.d.ts +0 -1
- package/dist/declarations/src/components/error-apologizer/error-apologizer.d.ts +0 -5
- package/dist/declarations/src/components/error-apologizer/messages.d.ts +0 -11
- package/dist/declarations/src/components/error-boundary/error-boundary.d.ts +0 -20
- package/dist/declarations/src/components/error-boundary/index.d.ts +0 -1
- package/dist/declarations/src/components/fetch-project/fetch-project.d.ts +0 -18
- package/dist/declarations/src/components/fetch-project/index.d.ts +0 -1
- package/dist/declarations/src/components/loading-placeholder/index.d.ts +0 -1
- package/dist/declarations/src/components/loading-placeholder/loading-placeholder.d.ts +0 -10
- package/dist/declarations/src/components/locale-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +0 -13
- package/dist/declarations/src/components/locale-switcher/messages.d.ts +0 -18
- package/dist/declarations/src/components/navbar/index.d.ts +0 -6
- package/dist/declarations/src/components/navbar/legacy-icons/box.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/cart.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/connected-square.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/gear.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/heart.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/list-with-search.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/paperclip.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/plugin.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/rocket.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/speedometer.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/star.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/tag-multi.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/tree-structure.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/user-filled.d.ts +0 -2
- package/dist/declarations/src/components/navbar/legacy-icons/world.d.ts +0 -2
- package/dist/declarations/src/components/navbar/main-navbar.styles.d.ts +0 -51
- package/dist/declarations/src/components/navbar/menu-items.d.ts +0 -107
- package/dist/declarations/src/components/navbar/menu-items.styles.d.ts +0 -52
- package/dist/declarations/src/components/navbar/messages.d.ts +0 -15
- package/dist/declarations/src/components/navbar/navbar-skeleton.d.ts +0 -6
- package/dist/declarations/src/components/navbar/navbar-skeleton.styles.d.ts +0 -43
- package/dist/declarations/src/components/navbar/navbar.d.ts +0 -51
- package/dist/declarations/src/components/navbar/non-nullable.d.ts +0 -1
- package/dist/declarations/src/components/navbar/shared.styles.d.ts +0 -18
- package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +0 -25
- package/dist/declarations/src/components/project-container/index.d.ts +0 -59
- package/dist/declarations/src/components/project-container/messages.d.ts +0 -7
- package/dist/declarations/src/components/project-container/project-container.d.ts +0 -15
- package/dist/declarations/src/components/project-data-locale/index.d.ts +0 -1
- package/dist/declarations/src/components/project-data-locale/project-data-locale.d.ts +0 -14
- package/dist/declarations/src/components/project-expired/index.d.ts +0 -6
- package/dist/declarations/src/components/project-expired/messages.d.ts +0 -11
- package/dist/declarations/src/components/project-expired/project-expired.d.ts +0 -5
- package/dist/declarations/src/components/project-not-found/index.d.ts +0 -6
- package/dist/declarations/src/components/project-not-found/messages.d.ts +0 -15
- package/dist/declarations/src/components/project-not-found/project-not-found.d.ts +0 -5
- package/dist/declarations/src/components/project-not-initialized/index.d.ts +0 -6
- package/dist/declarations/src/components/project-not-initialized/messages.d.ts +0 -11
- package/dist/declarations/src/components/project-not-initialized/project-not-initialized.d.ts +0 -5
- package/dist/declarations/src/components/project-suspended/index.d.ts +0 -8
- package/dist/declarations/src/components/project-suspended/messages.d.ts +0 -15
- package/dist/declarations/src/components/project-suspended/project-suspended.d.ts +0 -8
- package/dist/declarations/src/components/project-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/project-switcher/messages.d.ts +0 -28
- package/dist/declarations/src/components/project-switcher/project-switcher.d.ts +0 -12
- package/dist/declarations/src/components/quick-access/butler/butler.d.ts +0 -14
- package/dist/declarations/src/components/quick-access/butler/index.d.ts +0 -1
- package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +0 -13
- package/dist/declarations/src/components/quick-access/butler-command/index.d.ts +0 -1
- package/dist/declarations/src/components/quick-access/butler-container/butler-container.d.ts +0 -6
- package/dist/declarations/src/components/quick-access/butler-container/index.d.ts +0 -1
- package/dist/declarations/src/components/quick-access/constants.d.ts +0 -24
- package/dist/declarations/src/components/quick-access/create-commands.d.ts +0 -13
- package/dist/declarations/src/components/quick-access/history-entries.d.ts +0 -3
- package/dist/declarations/src/components/quick-access/index.d.ts +0 -8
- package/dist/declarations/src/components/quick-access/messages.d.ts +0 -247
- package/dist/declarations/src/components/quick-access/pim-indexer-states.d.ts +0 -6
- package/dist/declarations/src/components/quick-access/quick-access.d.ts +0 -12
- package/dist/declarations/src/components/quick-access/sub-commands.d.ts +0 -17
- package/dist/declarations/src/components/quick-access/types.d.ts +0 -31
- package/dist/declarations/src/components/quick-access/utils.d.ts +0 -5
- package/dist/declarations/src/components/redirect-to-login/redirect-to-login.d.ts +0 -5
- package/dist/declarations/src/components/redirect-to-logout/redirect-to-logout.d.ts +0 -6
- package/dist/declarations/src/components/redirect-to-project-create/index.d.ts +0 -6
- package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts +0 -5
- package/dist/declarations/src/components/redirector/index.d.ts +0 -1
- package/dist/declarations/src/components/redirector/redirector.d.ts +0 -23
- package/dist/declarations/src/components/requests-in-flight-loader/constants.d.ts +0 -1
- package/dist/declarations/src/components/requests-in-flight-loader/index.d.ts +0 -7
- package/dist/declarations/src/components/requests-in-flight-loader/messages.d.ts +0 -8
- package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +0 -4
- package/dist/declarations/src/components/requests-in-flight-loader/requests-in-flight-loader.d.ts +0 -6
- package/dist/declarations/src/components/requests-in-flight-loader/types.d.ts +0 -9
- package/dist/declarations/src/components/route-catch-all/route-catch-all.d.ts +0 -2
- package/dist/declarations/src/components/service-page-project-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/service-page-project-switcher/service-page-project-switcher.d.ts +0 -5
- package/dist/declarations/src/components/theme-switcher/index.d.ts +0 -1
- package/dist/declarations/src/components/theme-switcher/theme-switcher.d.ts +0 -2
- package/dist/declarations/src/components/user-settings-menu/index.d.ts +0 -12
- package/dist/declarations/src/components/user-settings-menu/messages.d.ts +0 -33
- package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +0 -20
- package/dist/declarations/src/constants.d.ts +0 -42
- package/dist/declarations/src/hooks/use-applications-menu/index.d.ts +0 -1
- package/dist/declarations/src/hooks/use-applications-menu/use-applications-menu.d.ts +0 -9
- package/dist/declarations/src/hooks/use-is-served-by-proxy/index.d.ts +0 -1
- package/dist/declarations/src/hooks/use-is-served-by-proxy/use-is-served-by-proxy.d.ts +0 -2
- package/dist/declarations/src/middleware/hide-notifications.d.ts +0 -3
- package/dist/declarations/src/middleware/logger.d.ts +0 -3
- package/dist/declarations/src/types/generated/ctp.d.ts +0 -14279
- package/dist/declarations/src/types/generated/proxy.d.ts +0 -154
- package/dist/declarations/src/utils/get-mc-api-url/index.d.ts +0 -1
- package/dist/declarations/src/utils/get-mc-origin/get-mc-origin.d.ts +0 -18
- package/dist/declarations/src/utils/get-mc-origin/index.d.ts +0 -1
- package/dist/declarations/src/utils/index.d.ts +0 -3
- package/dist/declarations/src/utils/location/index.d.ts +0 -1
- package/dist/declarations/src/utils/location/location.d.ts +0 -5
- package/dist/declarations/src/utils/select-project-key-from-local-storage/index.d.ts +0 -1
- package/dist/declarations/src/utils/select-project-key-from-local-storage/select-project-key-from-local-storage.d.ts +0 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts.map +0 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts.map +0 -1
- /package/dist/{declarations → declarations-connectors}/src/types/generated/settings.d.ts +0 -0
- /package/dist/{declarations → declarations-connectors}/src/utils/get-mc-api-url/get-mc-api-url.d.ts +0 -0
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
inputPlacehoder: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
};
|
|
6
|
-
offline: {
|
|
7
|
-
id: string;
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
};
|
|
10
|
-
noResults: {
|
|
11
|
-
id: string;
|
|
12
|
-
defaultMessage: string;
|
|
13
|
-
};
|
|
14
|
-
setResourceLanguage: {
|
|
15
|
-
id: string;
|
|
16
|
-
defaultMessage: string;
|
|
17
|
-
};
|
|
18
|
-
openDashboard: {
|
|
19
|
-
id: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
openProducts: {
|
|
23
|
-
id: string;
|
|
24
|
-
defaultMessage: string;
|
|
25
|
-
};
|
|
26
|
-
openProductList: {
|
|
27
|
-
id: string;
|
|
28
|
-
defaultMessage: string;
|
|
29
|
-
};
|
|
30
|
-
openProductVariantGeneral: {
|
|
31
|
-
id: string;
|
|
32
|
-
defaultMessage: string;
|
|
33
|
-
};
|
|
34
|
-
openProductVariantList: {
|
|
35
|
-
id: string;
|
|
36
|
-
defaultMessage: string;
|
|
37
|
-
};
|
|
38
|
-
openProductVariantSearch: {
|
|
39
|
-
id: string;
|
|
40
|
-
defaultMessage: string;
|
|
41
|
-
};
|
|
42
|
-
openModifiedProducts: {
|
|
43
|
-
id: string;
|
|
44
|
-
defaultMessage: string;
|
|
45
|
-
};
|
|
46
|
-
openPimSearch: {
|
|
47
|
-
id: string;
|
|
48
|
-
defaultMessage: string;
|
|
49
|
-
};
|
|
50
|
-
openAddProducts: {
|
|
51
|
-
id: string;
|
|
52
|
-
defaultMessage: string;
|
|
53
|
-
};
|
|
54
|
-
openCategories: {
|
|
55
|
-
id: string;
|
|
56
|
-
defaultMessage: string;
|
|
57
|
-
};
|
|
58
|
-
openCategoriesList: {
|
|
59
|
-
id: string;
|
|
60
|
-
defaultMessage: string;
|
|
61
|
-
};
|
|
62
|
-
openCategoriesSearch: {
|
|
63
|
-
id: string;
|
|
64
|
-
defaultMessage: string;
|
|
65
|
-
};
|
|
66
|
-
openAddCategory: {
|
|
67
|
-
id: string;
|
|
68
|
-
defaultMessage: string;
|
|
69
|
-
};
|
|
70
|
-
openCustomers: {
|
|
71
|
-
id: string;
|
|
72
|
-
defaultMessage: string;
|
|
73
|
-
};
|
|
74
|
-
openCustomersList: {
|
|
75
|
-
id: string;
|
|
76
|
-
defaultMessage: string;
|
|
77
|
-
};
|
|
78
|
-
openAddCustomer: {
|
|
79
|
-
id: string;
|
|
80
|
-
defaultMessage: string;
|
|
81
|
-
};
|
|
82
|
-
openCustomerGroupsList: {
|
|
83
|
-
id: string;
|
|
84
|
-
defaultMessage: string;
|
|
85
|
-
};
|
|
86
|
-
openAddCustomerGroup: {
|
|
87
|
-
id: string;
|
|
88
|
-
defaultMessage: string;
|
|
89
|
-
};
|
|
90
|
-
openOrders: {
|
|
91
|
-
id: string;
|
|
92
|
-
defaultMessage: string;
|
|
93
|
-
};
|
|
94
|
-
openOrdersList: {
|
|
95
|
-
id: string;
|
|
96
|
-
defaultMessage: string;
|
|
97
|
-
};
|
|
98
|
-
openAddOrder: {
|
|
99
|
-
id: string;
|
|
100
|
-
defaultMessage: string;
|
|
101
|
-
};
|
|
102
|
-
openDiscounts: {
|
|
103
|
-
id: string;
|
|
104
|
-
defaultMessage: string;
|
|
105
|
-
};
|
|
106
|
-
openProductDiscountsList: {
|
|
107
|
-
id: string;
|
|
108
|
-
defaultMessage: string;
|
|
109
|
-
};
|
|
110
|
-
openCartDiscountsList: {
|
|
111
|
-
id: string;
|
|
112
|
-
defaultMessage: string;
|
|
113
|
-
};
|
|
114
|
-
openDiscountCodesList: {
|
|
115
|
-
id: string;
|
|
116
|
-
defaultMessage: string;
|
|
117
|
-
};
|
|
118
|
-
openAddDiscount: {
|
|
119
|
-
id: string;
|
|
120
|
-
defaultMessage: string;
|
|
121
|
-
};
|
|
122
|
-
openAddProductDiscount: {
|
|
123
|
-
id: string;
|
|
124
|
-
defaultMessage: string;
|
|
125
|
-
};
|
|
126
|
-
openAddCartDiscount: {
|
|
127
|
-
id: string;
|
|
128
|
-
defaultMessage: string;
|
|
129
|
-
};
|
|
130
|
-
openAddDiscountCode: {
|
|
131
|
-
id: string;
|
|
132
|
-
defaultMessage: string;
|
|
133
|
-
};
|
|
134
|
-
openSettings: {
|
|
135
|
-
id: string;
|
|
136
|
-
defaultMessage: string;
|
|
137
|
-
};
|
|
138
|
-
openProjectSettings: {
|
|
139
|
-
id: string;
|
|
140
|
-
defaultMessage: string;
|
|
141
|
-
};
|
|
142
|
-
openProjectSettingsInternationalTab: {
|
|
143
|
-
id: string;
|
|
144
|
-
defaultMessage: string;
|
|
145
|
-
};
|
|
146
|
-
openProjectSettingsTaxesTab: {
|
|
147
|
-
id: string;
|
|
148
|
-
defaultMessage: string;
|
|
149
|
-
};
|
|
150
|
-
openProjectSettingsShippingMethodsTab: {
|
|
151
|
-
id: string;
|
|
152
|
-
defaultMessage: string;
|
|
153
|
-
};
|
|
154
|
-
openProjectSettingsChannelsTab: {
|
|
155
|
-
id: string;
|
|
156
|
-
defaultMessage: string;
|
|
157
|
-
};
|
|
158
|
-
openProjectSettingsStoresTab: {
|
|
159
|
-
id: string;
|
|
160
|
-
defaultMessage: string;
|
|
161
|
-
};
|
|
162
|
-
openProductTypesSettings: {
|
|
163
|
-
id: string;
|
|
164
|
-
defaultMessage: string;
|
|
165
|
-
};
|
|
166
|
-
openDeveloperSettings: {
|
|
167
|
-
id: string;
|
|
168
|
-
defaultMessage: string;
|
|
169
|
-
};
|
|
170
|
-
openCustomApplicationsSettings: {
|
|
171
|
-
id: string;
|
|
172
|
-
defaultMessage: string;
|
|
173
|
-
};
|
|
174
|
-
openApiClientsList: {
|
|
175
|
-
id: string;
|
|
176
|
-
defaultMessage: string;
|
|
177
|
-
};
|
|
178
|
-
openAddApiClient: {
|
|
179
|
-
id: string;
|
|
180
|
-
defaultMessage: string;
|
|
181
|
-
};
|
|
182
|
-
openSupport: {
|
|
183
|
-
id: string;
|
|
184
|
-
defaultMessage: string;
|
|
185
|
-
};
|
|
186
|
-
openMyProfile: {
|
|
187
|
-
id: string;
|
|
188
|
-
defaultMessage: string;
|
|
189
|
-
};
|
|
190
|
-
showPrivacyPolicy: {
|
|
191
|
-
id: string;
|
|
192
|
-
defaultMessage: string;
|
|
193
|
-
};
|
|
194
|
-
logout: {
|
|
195
|
-
id: string;
|
|
196
|
-
defaultMessage: string;
|
|
197
|
-
};
|
|
198
|
-
useProject: {
|
|
199
|
-
id: string;
|
|
200
|
-
defaultMessage: string;
|
|
201
|
-
};
|
|
202
|
-
openManageProjects: {
|
|
203
|
-
id: string;
|
|
204
|
-
defaultMessage: string;
|
|
205
|
-
};
|
|
206
|
-
openManageOrganizations: {
|
|
207
|
-
id: string;
|
|
208
|
-
defaultMessage: string;
|
|
209
|
-
};
|
|
210
|
-
openVariantById: {
|
|
211
|
-
id: string;
|
|
212
|
-
defaultMessage: string;
|
|
213
|
-
};
|
|
214
|
-
openVariantByKey: {
|
|
215
|
-
id: string;
|
|
216
|
-
defaultMessage: string;
|
|
217
|
-
};
|
|
218
|
-
openVariantBySku: {
|
|
219
|
-
id: string;
|
|
220
|
-
defaultMessage: string;
|
|
221
|
-
};
|
|
222
|
-
showProduct: {
|
|
223
|
-
id: string;
|
|
224
|
-
defaultMessage: string;
|
|
225
|
-
};
|
|
226
|
-
showProductVariant: {
|
|
227
|
-
id: string;
|
|
228
|
-
defaultMessage: string;
|
|
229
|
-
};
|
|
230
|
-
showProductVariantAttributes: {
|
|
231
|
-
id: string;
|
|
232
|
-
defaultMessage: string;
|
|
233
|
-
};
|
|
234
|
-
showProductVariantImages: {
|
|
235
|
-
id: string;
|
|
236
|
-
defaultMessage: string;
|
|
237
|
-
};
|
|
238
|
-
showProductVariantPrices: {
|
|
239
|
-
id: string;
|
|
240
|
-
defaultMessage: string;
|
|
241
|
-
};
|
|
242
|
-
showProductVariantInventory: {
|
|
243
|
-
id: string;
|
|
244
|
-
defaultMessage: string;
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import pimIndexerStates from './pim-indexer-states';
|
|
2
|
-
type Props = {
|
|
3
|
-
pimIndexerState: keyof typeof pimIndexerStates;
|
|
4
|
-
onPimIndexerStateChange: (pimIndexerState: keyof typeof pimIndexerStates) => void;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
onChangeProjectDataLocale?: (locale: string) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const QuickAccess: {
|
|
9
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
export default QuickAccess;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl';
|
|
2
|
-
import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
3
|
-
import type { Command } from './types';
|
|
4
|
-
type CreateProductVariantSubCommandsOptions = {
|
|
5
|
-
intl: IntlShape;
|
|
6
|
-
applicationContext: TApplicationContext<{}>;
|
|
7
|
-
productId: string;
|
|
8
|
-
variantId: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const createProductVariantSubCommands: ({ intl, applicationContext, productId, variantId, }: CreateProductVariantSubCommandsOptions) => Command[];
|
|
11
|
-
type CreateProductTabsSubCommandsOptions = {
|
|
12
|
-
intl: IntlShape;
|
|
13
|
-
applicationContext: TApplicationContext<{}>;
|
|
14
|
-
productId: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const createProductTabsSubCommands: ({ intl, applicationContext, productId, }: CreateProductTabsSubCommandsOptions) => Command[];
|
|
17
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { OperationVariables, ApolloQueryResult } from '@apollo/client';
|
|
2
|
-
import type { DocumentNode } from 'graphql';
|
|
3
|
-
import type { TApolloContext } from '@commercetools-frontend/application-shell-connectors';
|
|
4
|
-
export declare const actionTypes: {
|
|
5
|
-
readonly go: "go";
|
|
6
|
-
};
|
|
7
|
-
export type ActionAsFn = () => void;
|
|
8
|
-
export type SubCommandAsFn = (execQuery: ExecGraphQlQuery) => Promise<Command[]>;
|
|
9
|
-
export type Action = {
|
|
10
|
-
type: typeof actionTypes.go;
|
|
11
|
-
to: string;
|
|
12
|
-
};
|
|
13
|
-
export type Command = {
|
|
14
|
-
id: string;
|
|
15
|
-
text: string;
|
|
16
|
-
keywords?: string[];
|
|
17
|
-
action: ActionAsFn | Action;
|
|
18
|
-
subCommands?: SubCommandAsFn | Command[];
|
|
19
|
-
};
|
|
20
|
-
export type SearchText = string;
|
|
21
|
-
export type SelectedResult = number;
|
|
22
|
-
export type Stack = {
|
|
23
|
-
searchText: SearchText;
|
|
24
|
-
results: Command[];
|
|
25
|
-
selectedResult: SelectedResult;
|
|
26
|
-
};
|
|
27
|
-
export type HistoryEntry = {
|
|
28
|
-
searchText: SearchText;
|
|
29
|
-
results: Command[];
|
|
30
|
-
};
|
|
31
|
-
export type ExecGraphQlQuery = <T>(document: DocumentNode, variables: OperationVariables, context?: TApolloContext) => Promise<ApolloQueryResult<T>['data']>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { TLocalizedString } from '../../types/generated/ctp';
|
|
2
|
-
import type { Command, ExecGraphQlQuery } from './types';
|
|
3
|
-
export declare const sanitize: (param: string) => string;
|
|
4
|
-
export declare const flattenCommands: (results: Command[], execQuery: ExecGraphQlQuery) => Promise<Command[]>;
|
|
5
|
-
export declare const translate: (nameAllLocales: TLocalizedString[], projectDataLocale: string) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { LOGOUT_REASONS } from '@commercetools-frontend/constants';
|
|
2
|
-
type Props = {
|
|
3
|
-
reason?: (typeof LOGOUT_REASONS)[keyof typeof LOGOUT_REASONS];
|
|
4
|
-
};
|
|
5
|
-
declare const RedirectToLogout: (props: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default RedirectToLogout;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useRedirector, Redirector } from './redirector';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { RouteComponentProps } from 'react-router-dom';
|
|
2
|
-
import { LOGOUT_REASONS } from '@commercetools-frontend/constants';
|
|
3
|
-
type TQueryParams = {
|
|
4
|
-
reason?: (typeof LOGOUT_REASONS)[keyof typeof LOGOUT_REASONS];
|
|
5
|
-
redirectTo?: string;
|
|
6
|
-
client_id?: string;
|
|
7
|
-
response_type?: string;
|
|
8
|
-
scope?: string;
|
|
9
|
-
state?: string;
|
|
10
|
-
nonce?: string;
|
|
11
|
-
};
|
|
12
|
-
type TRedirectorProps = {
|
|
13
|
-
to: string;
|
|
14
|
-
origin?: string;
|
|
15
|
-
location?: RouteComponentProps['location'];
|
|
16
|
-
queryParams?: TQueryParams;
|
|
17
|
-
};
|
|
18
|
-
declare const useRedirector: () => (options: TRedirectorProps) => void;
|
|
19
|
-
declare const Redirector: {
|
|
20
|
-
(props: TRedirectorProps): null;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
export { useRedirector, Redirector };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const REQUESTS_IN_FLIGHT_LOADER_DOM_ID = "loader-for-requests-in-flight";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const RequestsInFlightLoader: import("react").LazyExoticComponent<{
|
|
3
|
-
(): import("react").ReactPortal | null;
|
|
4
|
-
displayName: string;
|
|
5
|
-
}>;
|
|
6
|
-
export default RequestsInFlightLoader;
|
|
7
|
-
export { default as requestsInFlightReducer } from './reducer';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Action } from 'redux';
|
|
2
|
-
import { SHOW_LOADING, HIDE_LOADING } from '@commercetools-frontend/constants';
|
|
3
|
-
export type TRequestsInFlightState = string[];
|
|
4
|
-
export type TShowRequestInFlightAction = Action<typeof SHOW_LOADING> & {
|
|
5
|
-
payload: string;
|
|
6
|
-
};
|
|
7
|
-
export type THideRequestInFlightAction = Action<typeof HIDE_LOADING> & {
|
|
8
|
-
payload: string;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './service-page-project-switcher';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './theme-switcher';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const UserSettingsMenu: import("react").LazyExoticComponent<{
|
|
3
|
-
(props: {
|
|
4
|
-
firstName: string;
|
|
5
|
-
lastName: string;
|
|
6
|
-
email: string;
|
|
7
|
-
language: string;
|
|
8
|
-
gravatarHash: string;
|
|
9
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
}>;
|
|
12
|
-
export default UserSettingsMenu;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
support: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
logout: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
privacyPolicy: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
menuLabel: {
|
|
18
|
-
id: string;
|
|
19
|
-
description: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
openMenuLabel: {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
defaultMessage: string;
|
|
26
|
-
};
|
|
27
|
-
closeMenuLabel: {
|
|
28
|
-
id: string;
|
|
29
|
-
description: string;
|
|
30
|
-
defaultMessage: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type ControllerStateAndHelpers } from 'downshift';
|
|
2
|
-
import type { TUser } from '../../types/generated/mc';
|
|
3
|
-
type Props = Pick<TUser, 'language' | 'firstName' | 'lastName' | 'email' | 'gravatarHash'>;
|
|
4
|
-
type MenuBodyProps = Props & {
|
|
5
|
-
downshiftProps: ControllerStateAndHelpers<{}>;
|
|
6
|
-
};
|
|
7
|
-
declare const UserAvatar: {
|
|
8
|
-
(props: Pick<Props, 'firstName' | 'lastName' | 'gravatarHash'>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
declare const UserSettingsMenuBody: {
|
|
12
|
-
(props: MenuBodyProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
declare const UserSettingsMenu: {
|
|
16
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
export default UserSettingsMenu;
|
|
20
|
-
export { UserAvatar, UserSettingsMenuBody };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare const DIMENSIONS: {
|
|
2
|
-
readonly header: "56px";
|
|
3
|
-
};
|
|
4
|
-
export declare const NAVBAR: {
|
|
5
|
-
readonly expanderHeight: "50px";
|
|
6
|
-
readonly expanderSize: "40px";
|
|
7
|
-
readonly iconSize: "24px";
|
|
8
|
-
readonly iconSizeHover: "28px";
|
|
9
|
-
readonly itemSize: "48px";
|
|
10
|
-
readonly itemHeight: "56px";
|
|
11
|
-
readonly sublistIndentationWhenCollapsed: "72px";
|
|
12
|
-
readonly sublistIndentationWhenExpanded: "248px";
|
|
13
|
-
readonly sublistItemMinHeight: "50px";
|
|
14
|
-
readonly sublistWidth: "272px";
|
|
15
|
-
readonly leftNavigationTransition: "all 150ms cubic-bezier(1, 0, 0.58, 1)";
|
|
16
|
-
readonly widthLeftNavigation: "80px";
|
|
17
|
-
readonly widthLeftNavigationWhenExpanded: "256px";
|
|
18
|
-
};
|
|
19
|
-
export declare const WINDOW_SIZES: {
|
|
20
|
-
readonly STANDARD: 1024;
|
|
21
|
-
readonly WIDE: 1200;
|
|
22
|
-
};
|
|
23
|
-
export declare const CONTAINERS: {
|
|
24
|
-
readonly LOCALE_SWITCHER: "locale-switcher-container";
|
|
25
|
-
readonly LEFT_OF_PROFILE: "left-of-profile";
|
|
26
|
-
};
|
|
27
|
-
export declare const SUSPENSION_REASONS: {
|
|
28
|
-
readonly TEMPORARY_MAINTENANCE: "TemporaryMaintenance";
|
|
29
|
-
readonly PAYMENT: "Payment";
|
|
30
|
-
readonly OTHER: "Other";
|
|
31
|
-
};
|
|
32
|
-
export declare const OIDC_RESPONSE_TYPES: {
|
|
33
|
-
readonly ID_TOKEN: "id_token";
|
|
34
|
-
};
|
|
35
|
-
export declare const OIDC_CLAIMS: {
|
|
36
|
-
readonly OPEN_ID: "openid";
|
|
37
|
-
readonly PROJECT_KEY: "project_key";
|
|
38
|
-
readonly TEAM_ID: "team_id";
|
|
39
|
-
readonly APPLICATION_ID: "application_id";
|
|
40
|
-
readonly VIEW: "view";
|
|
41
|
-
readonly MANAGE: "manage";
|
|
42
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './use-applications-menu';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
2
|
-
import type { TFetchApplicationsMenuQuery } from '../../types/generated/proxy';
|
|
3
|
-
export type MenuKey = 'appBar' | 'navBarGroups';
|
|
4
|
-
export type MenuLoaderResult<Key extends MenuKey> = Key extends 'appBar' ? TFetchApplicationsMenuQuery['applicationsMenu']['appBar'] : Key extends 'navBarGroups' ? TFetchApplicationsMenuQuery['applicationsMenu']['navBarGroups'] : never;
|
|
5
|
-
export type Config = {
|
|
6
|
-
environment: TApplicationContext<{}>['environment'];
|
|
7
|
-
};
|
|
8
|
-
declare function useApplicationsMenu<Key extends MenuKey>(menuKey: Key, config: Config): MenuLoaderResult<Key> | undefined;
|
|
9
|
-
export default useApplicationsMenu;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './use-is-served-by-proxy';
|