@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/CHANGELOG.md +10 -0
- package/dist/cli/main.cjs +2 -2
- package/dist/cli/main.cjs.map +1 -1
- package/dist/cli/main.js +2 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/extension/index.cjs +1 -1
- package/dist/extension/index.cjs.map +1 -1
- package/dist/extension/index.js +1 -1
- package/dist/extension/index.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/nest/index.cjs +2 -2
- package/dist/nest/index.cjs.map +1 -1
- package/dist/nest/index.js +2 -2
- package/dist/nest/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nest/index.cjs
CHANGED
|
@@ -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.
|
|
4636
|
+
var VERSION = "0.14.1";
|
|
4637
4637
|
|
|
4638
4638
|
// src/generate-manifest.ts
|
|
4639
4639
|
var MANIFEST_FILE = ".codegen-manifest.json";
|