Editing of the project's Kariz page

This commit is contained in:
2026-09-15 19:13:30 +03:30
parent 44f9849d0e
commit e61fad95c6
25 changed files with 1751 additions and 567 deletions
+22
View File
@@ -1,5 +1,6 @@
import { Type } from 'class-transformer';
import {
IsArray,
IsNumber,
IsOptional,
IsString,
@@ -16,6 +17,27 @@ export class CreateProjectBoardDto {
name!: string;
}
export class CreateProjectBoardStageDto {
@IsString()
@MinLength(1)
@MaxLength(80)
name!: string;
}
export class UpdateProjectBoardStageDto {
@IsOptional()
@IsString()
@MinLength(1)
@MaxLength(80)
name?: string;
}
export class ReorderProjectBoardStagesDto {
@IsArray()
@IsString({ each: true })
stageIds!: string[];
}
export class CreateProjectCardDto {
@IsString()
@MinLength(2)