@dudousxd/nestjs-codegen 0.14.0 → 0.14.1

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.
@@ -569,7 +569,7 @@ function requestShape(route) {
569
569
  const cs = route.contract?.contractSource;
570
570
  const isGet = route.method.toUpperCase() === "GET";
571
571
  const isQuery = isGet || !!cs?.filterFields?.length || !!cs?.asQuery;
572
- const hasBody = !!cs?.bodyRef || cs?.body != null && cs.body !== "never";
572
+ const hasBody = !!cs?.bodyRef || cs?.body != null && cs.body !== "never" || !!cs?.multipart;
573
573
  const hasQuery = isGet || !!cs?.queryRef || cs?.query != null && cs.query !== "never";
574
574
  return { isGet, isQuery, hasBody, hasQuery };
575
575
  }
@@ -4612,7 +4612,7 @@ async function watch(config, onChange, options = {}) {
4612
4612
  }
4613
4613
 
4614
4614
  // src/index.ts
4615
- var VERSION = "0.14.0";
4615
+ var VERSION = "0.14.1";
4616
4616
 
4617
4617
  // src/generate-manifest.ts
4618
4618
  var MANIFEST_FILE = ".codegen-manifest.json";