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

+3 -2
View File
@@ -9,6 +9,7 @@ import {
Param,
UseGuards,
} from '@nestjs/common';
import { Prisma } from '@prisma/client';
import { BannersService } from './banners.service';
import { ApiTags, ApiOperation, ApiBearerAuth } from '@nestjs/swagger';
import { JwtAuthGuard } from '../auth/jwt-auth.guard';
@@ -31,7 +32,7 @@ export class BannersController {
@ApiBearerAuth()
@Post()
@ApiOperation({ summary: 'ایجاد بنر جدید (نیازمند ادمین)' })
create(@Body() body: any) {
create(@Body() body: Prisma.BannerCreateInput) {
return this.bannersService.create(body);
}
@@ -49,7 +50,7 @@ export class BannersController {
@ApiBearerAuth()
@Patch(':id')
@ApiOperation({ summary: 'ویرایش بنر (نیازمند ادمین)' })
update(@Param('id') id: string, @Body() body: any) {
update(@Param('id') id: string, @Body() body: Prisma.BannerUpdateInput) {
return this.bannersService.update(id, body);
}