diff --git a/packages/medusa/src/api/utils/index.ts b/packages/medusa/src/api/utils/index.ts new file mode 100644 index 0000000000000..8f76c9412316b --- /dev/null +++ b/packages/medusa/src/api/utils/index.ts @@ -0,0 +1,3 @@ +export * from "./common-validators" +export * from "./middlewares" +export * from "./validators" diff --git a/packages/medusa/src/api/utils/middlewares/common/index.ts b/packages/medusa/src/api/utils/middlewares/common/index.ts new file mode 100644 index 0000000000000..0b43a39862b6b --- /dev/null +++ b/packages/medusa/src/api/utils/middlewares/common/index.ts @@ -0,0 +1,2 @@ +export * from "./ensure-pub-key-sales-channel-match" +export * from "./maybe-attach-pub-key-scopes" diff --git a/packages/medusa/src/api/utils/middlewares/index.ts b/packages/medusa/src/api/utils/middlewares/index.ts index 0413143cb8a60..b8bf5d953e1a1 100644 --- a/packages/medusa/src/api/utils/middlewares/index.ts +++ b/packages/medusa/src/api/utils/middlewares/index.ts @@ -1 +1,2 @@ +export * from "./common" export * from "./products" diff --git a/packages/medusa/src/utils/index.ts b/packages/medusa/src/utils/index.ts index 35b8ff48d5a3d..9bd8ca36f1794 100644 --- a/packages/medusa/src/utils/index.ts +++ b/packages/medusa/src/utils/index.ts @@ -2,3 +2,4 @@ export * from "./clean-response-data" export * from "./exception-formatter" export * from "./middlewares" export * from "./define-middlewares" +export * from "../api/utils"