chore: perform dependencies scan and fix all dependencies (#9296)

This commit is contained in:
Harminder Virk
2024-09-26 14:14:38 +05:30
committed by GitHub
parent fba78c0fb1
commit 48bea267dc
593 changed files with 2729 additions and 2314 deletions

View File

@@ -2,7 +2,6 @@ import type { NextFunction, Request, Response } from "express"
import { ZodObject } from "zod"
import { MedusaPricingContext, RequestQueryFields } from "@medusajs/types"
import * as core from "express-serve-static-core"
import { MedusaContainer } from "../container"
export interface FindConfig<Entity> {
@@ -95,7 +94,13 @@ export type GlobalMiddlewareDescriptor = {
}
export interface MedusaRequest<Body = unknown>
extends Request<core.ParamsDictionary, any, Body> {
extends Request<
{
[key: string]: string
},
any,
Body
> {
validatedBody: Body
validatedQuery: RequestQueryFields & Record<string, unknown>
/**