clean repo

This commit is contained in:
Paul Coral
2025-07-26 17:51:06 +02:00
parent 8c4e5ebc31
commit 8b327dcb18
27 changed files with 7 additions and 6795 deletions

View File

@@ -24,7 +24,6 @@
"@nestjs/common": "^11.0.1",
"@nestjs/core": "^11.0.1",
"@nestjs/platform-express": "^11.0.1",
"@ts-rest/nest": "^3.52.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"zod": "^3.22.3"

View File

@@ -1,20 +1,4 @@
import { Controller } from '@nestjs/common';
import { tsRestHandler, TsRestHandler } from '@ts-rest/nest';
import { contracts } from '@my-monorepo/common';
@Controller()
export class HelloController {
@TsRestHandler(contracts)
handler(): unknown {
return tsRestHandler(contracts, {
hello: () => {
return Promise.resolve({
status: 200,
body: {
payload: 'hello',
},
});
},
});
}
}
export class HelloController {}