@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.
@@ -605,7 +605,7 @@ function requestShape(route) {
605
605
  const cs = route.contract?.contractSource;
606
606
  const isGet = route.method.toUpperCase() === "GET";
607
607
  const isQuery = isGet || !!cs?.filterFields?.length || !!cs?.asQuery;
608
- const hasBody = !!cs?.bodyRef || cs?.body != null && cs.body !== "never";
608
+ const hasBody = !!cs?.bodyRef || cs?.body != null && cs.body !== "never" || !!cs?.multipart;
609
609
  const hasQuery = isGet || !!cs?.queryRef || cs?.query != null && cs.query !== "never";
610
610
  return { isGet, isQuery, hasBody, hasQuery };
611
611
  }
@@ -4633,7 +4633,7 @@ async function watch(config, onChange, options = {}) {
4633
4633
  }
4634
4634
 
4635
4635
  // src/index.ts
4636
- var VERSION = "0.14.0";
4636
+ var VERSION = "0.14.1";
4637
4637
 
4638
4638
  // src/generate-manifest.ts
4639
4639
  var MANIFEST_FILE = ".codegen-manifest.json";