@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.js
CHANGED
|
@@ -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.
|
|
4615
|
+
var VERSION = "0.14.1";
|
|
4616
4616
|
|
|
4617
4617
|
// src/generate-manifest.ts
|
|
4618
4618
|
var MANIFEST_FILE = ".codegen-manifest.json";
|