From a9313d6fe58d640fb3b146a936a68f8d6ca8671d Mon Sep 17 00:00:00 2001 From: adrians5j Date: Mon, 16 Dec 2024 11:03:30 +0100 Subject: [PATCH] fix: export utils from `@webiny/app` --- packages/app-admin/src/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/app-admin/src/index.ts b/packages/app-admin/src/index.ts index f1d1bf6f39e..56dfe4fed45 100644 --- a/packages/app-admin/src/index.ts +++ b/packages/app-admin/src/index.ts @@ -62,3 +62,11 @@ export { AaclPermission } from "@webiny/app-wcp/types"; export { useTheme, ThemeProvider } from "@webiny/app-theme"; export * from "@webiny/app/renderApp"; + +// Exporting chosen utils from `@webiny/app` package. +export * from "@webiny/app/utils/getApiUrl"; +export * from "@webiny/app/utils/getGqlApiUrl"; +export * from "@webiny/app/utils/getHeadlessCmsGqlApiUrl"; +export * from "@webiny/app/utils/getLocaleCode"; +export * from "@webiny/app/utils/getTenantId"; +export * from "@webiny/app/utils/isLocalhost";