diff --git a/packages/editor/package.json b/packages/editor/package.json index 3af91a478..a4c53f21d 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@nestia/editor", - "version": "0.9.2", + "version": "0.9.3", "typings": "lib/index.d.ts", "main": "lib/index.js", "module": "lib/index.mjs", @@ -34,7 +34,7 @@ "homepage": "https://nestia.io", "dependencies": { "@mui/material": "^5.15.6", - "@nestia/migrate": "^0.21.2", + "@nestia/migrate": "^0.21.3", "@stackblitz/sdk": "^1.11.0", "js-yaml": "^4.1.0", "prettier": "3.3.3", diff --git a/packages/editor/tsconfig.app.tsbuildinfo b/packages/editor/tsconfig.app.tsbuildinfo index 9ada0afca..923ae6b81 100644 --- a/packages/editor/tsconfig.app.tsbuildinfo +++ b/packages/editor/tsconfig.app.tsbuildinfo @@ -1 +1 @@ -{"root":["./src/nestiaeditorapplication.tsx","./src/nestiaeditoriframe.tsx","./src/nestiaeditormodule.ts","./src/nestiaeditoruploader.tsx","./src/index.ts","./src/main.tsx","./src/vite-env.d.ts","./src/internal/nestiaeditorcomposer.ts","./src/internal/nestiaeditorfileuploader.tsx"],"version":"5.6.3"} \ No newline at end of file +{"root":["./src/nestiaeditorapplication.tsx","./src/nestiaeditoriframe.tsx","./src/nestiaeditormodule.ts","./src/nestiaeditoruploader.tsx","./src/index.ts","./src/main.tsx","./src/vite-env.d.ts","./src/internal/nestiaeditorcomposer.ts","./src/internal/nestiaeditorfileuploader.tsx"],"version":"5.7.2"} \ No newline at end of file diff --git a/packages/editor/tsconfig.node.tsbuildinfo b/packages/editor/tsconfig.node.tsbuildinfo index 75ea0011d..1e7ed2791 100644 --- a/packages/editor/tsconfig.node.tsbuildinfo +++ b/packages/editor/tsconfig.node.tsbuildinfo @@ -1 +1 @@ -{"root":["./vite.config.ts"],"version":"5.6.3"} \ No newline at end of file +{"root":["./vite.config.ts"],"version":"5.7.2"} \ No newline at end of file diff --git a/packages/migrate/package.json b/packages/migrate/package.json index 095fdd1a8..80d48d044 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -1,6 +1,6 @@ { "name": "@nestia/migrate", - "version": "0.21.2", + "version": "0.21.3", "description": "Migration program from swagger to NestJS", "typings": "lib/index.d.ts", "main": "lib/index.js", @@ -38,9 +38,9 @@ "homepage": "https://nestia.io", "devDependencies": { "@nestia/benchmark": "^0.3.0", - "@nestia/core": "^4.0.2", + "@nestia/core": "^4.0.4", "@nestia/e2e": "^0.7.0", - "@nestia/fetcher": "^4.0.2", + "@nestia/fetcher": "^4.0.4", "@nestjs/common": "^10.3.8", "@nestjs/core": "^10.3.8", "@nestjs/platform-express": "^10.3.8", @@ -71,7 +71,7 @@ "typescript-transform-paths": "^3.5.2" }, "dependencies": { - "@nestia/sdk": "^4.0.2", + "@nestia/sdk": "^4.0.4", "@samchon/openapi": "^2.0.1", "commander": "10.0.0", "inquirer": "8.2.5", diff --git a/test/features/clone-and-propagate/src/Backend.ts b/test/features/clone-and-propagate/src/Backend.ts index 8ec884503..c0c7c418e 100644 --- a/test/features/clone-and-propagate/src/Backend.ts +++ b/test/features/clone-and-propagate/src/Backend.ts @@ -1,10 +1,13 @@ import core from "@nestia/core"; -import { INestApplication } from "@nestjs/common"; import { NestFactory } from "@nestjs/core"; -import { FastifyAdapter } from "@nestjs/platform-fastify"; +import { + FastifyAdapter, + NestFastifyApplication, +} from "@nestjs/platform-fastify"; +import FastifyMulter from "fastify-multer"; export class Backend { - private application_?: INestApplication; + private application_?: NestFastifyApplication; public async open(): Promise { this.application_ = await NestFactory.create( @@ -15,6 +18,7 @@ export class Backend { new FastifyAdapter(), { logger: false }, ); + await this.application_.register(FastifyMulter.contentParser as any); await this.application_.listen(37_000); } diff --git a/test/features/clone-and-propagate/src/controllers/MultipartController.ts b/test/features/clone-and-propagate/src/controllers/MultipartController.ts index 783625f5a..19aaebc6d 100644 --- a/test/features/clone-and-propagate/src/controllers/MultipartController.ts +++ b/test/features/clone-and-propagate/src/controllers/MultipartController.ts @@ -1,12 +1,14 @@ import core from "@nestia/core"; import { Controller } from "@nestjs/common"; -import Multer from "multer"; +import FastifyMulter from "fastify-multer"; import { tags } from "typia"; @Controller("multipart") export class MultipartController { @core.TypedRoute.Post() - public post(@core.TypedFormData.Body(() => Multer()) body: IMultipart): void { + public post( + @core.TypedFormData.Body(() => FastifyMulter()) body: IMultipart, + ): void { body; } } diff --git a/website/package.json b/website/package.json index e105452a8..4c44b70cb 100644 --- a/website/package.json +++ b/website/package.json @@ -23,7 +23,7 @@ "@mui/icons-material": "5.15.6", "@mui/material": "5.15.6", "@mui/system": "5.15.6", - "@nestia/editor": "^0.9.2", + "@nestia/editor": "^0.9.3", "next": "14.2.13", "nextra": "^2.13.4", "nextra-theme-docs": "^2.13.4",