chore(workspace): eradicate all tsc errors and eslint warnings across frontend, admin, and backend
Deploy Canina / deploy (push) Failing after 29s

This commit is contained in:
parsa committed 2026-08-07 07:39:26 +03:30
1 parent 4659a7b1de
commit 9f11d8fb2d
98 files changed
+1272 -1009

No files matched your search

@@ -8,6 +8,7 @@ import {
Param,
UseGuards,
} from '@nestjs/common';
import { Prisma } from '@prisma/client';
import { TestimonialsService } from './testimonials.service';
import { ApiTags, ApiOperation, ApiBearerAuth } from '@nestjs/swagger';
import { JwtAuthGuard } from '../auth/jwt-auth.guard';
@@ -30,7 +31,7 @@ export class TestimonialsController {
@ApiBearerAuth()
@Post()
@ApiOperation({ summary: 'ایجاد نظر جدید (نیازمند ادمین)' })
create(@Body() body: any) {
create(@Body() body: Prisma.TestimonialCreateInput) {
return this.testimonialsService.create(body);
}
@@ -39,7 +40,7 @@ export class TestimonialsController {
@ApiBearerAuth()
@Patch(':id')
@ApiOperation({ summary: 'ویرایش نظر (نیازمند ادمین)' })
update(@Param('id') id: string, @Body() body: any) {
update(@Param('id') id: string, @Body() body: Prisma.TestimonialUpdateInput) {
return this.testimonialsService.update(id, body);
}