docs(brain): add JSDoc documentation

This commit is contained in:
Jason Woltje
2026-01-29 21:29:53 -06:00
parent f3bcb46ccd
commit 0bd12b5751
4 changed files with 142 additions and 35 deletions

View File

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