@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.
package/dist/cli/main.js CHANGED
@@ -608,7 +608,7 @@ function requestShape(route) {
608
608
  const cs = route.contract?.contractSource;
609
609
  const isGet = route.method.toUpperCase() === "GET";
610
610
  const isQuery = isGet || !!cs?.filterFields?.length || !!cs?.asQuery;
611
- const hasBody = !!cs?.bodyRef || cs?.body != null && cs.body !== "never";
611
+ const hasBody = !!cs?.bodyRef || cs?.body != null && cs.body !== "never" || !!cs?.multipart;
612
612
  const hasQuery = isGet || !!cs?.queryRef || cs?.query != null && cs.query !== "never";
613
613
  return { isGet, isQuery, hasBody, hasQuery };
614
614
  }
@@ -4782,7 +4782,7 @@ async function watch(config, onChange, options = {}) {
4782
4782
  }
4783
4783
 
4784
4784
  // src/index.ts
4785
- var VERSION = "0.14.0";
4785
+ var VERSION = "0.14.1";
4786
4786
 
4787
4787
  // src/cli/codegen.ts
4788
4788
  async function runCodegen(opts = {}) {