Merge remote-tracking branch 'origin/fix/rls-dto-errors' into develop

This commit is contained in:
Jason Woltje
2026-01-29 20:30:20 -06:00
9 changed files with 63 additions and 50 deletions

View File

@@ -14,8 +14,9 @@ import { Type } from "class-transformer";
* DTO for querying projects with filters and pagination
*/
export class QueryProjectsDto {
@IsOptional()
@IsUUID("4", { message: "workspaceId must be a valid UUID" })
workspaceId!: string;
workspaceId?: string;
@IsOptional()
@IsEnum(ProjectStatus, { message: "status must be a valid ProjectStatus" })