chore: use framework sub paths everywhere (#9253)

This commit is contained in:
Adrien de Peretti
2024-09-26 16:38:38 +05:30
committed by GitHub
parent 48bea267dc
commit a8e19faf8d
417 changed files with 870 additions and 934 deletions
@@ -1,3 +1,3 @@
import { authenticate as originalAuthenticate } from "@medusajs/framework"
import { authenticate as originalAuthenticate } from "@medusajs/framework/http"
export const authenticate = originalAuthenticate
@@ -2,13 +2,13 @@ import {
MedusaNextFunction,
MedusaResponse,
MedusaStoreRequest,
} from "@medusajs/framework"
} from "@medusajs/framework/http"
import {
ApiKeyType,
isPresent,
MedusaError,
PUBLISHABLE_KEY_HEADER,
} from "@medusajs/utils"
} from "@medusajs/framework/utils"
import { refetchEntity } from "../../api/utils/refetch-entity"
export function ensurePublishableApiKey() {
@@ -1,3 +1,3 @@
import { errorHandler as originalErrorHandler } from "@medusajs/framework"
import { errorHandler as originalErrorHandler } from "@medusajs/framework/http"
export const errorHandler = originalErrorHandler