first commit

This commit is contained in:
Первов Артем
2026-06-19 08:18:52 +03:00
commit 05a9e0e535
61 changed files with 11950 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { Transform } from 'class-transformer';
import { IsOptional, IsString } from 'class-validator';
import { normalizeOptionalText } from '../../common/normalize-text';
export class GetEdgesDto {
@IsOptional()
@Transform(({ value }) => normalizeOptionalText(value))
@IsString()
parentId?: string;
@IsOptional()
@Transform(({ value }) => normalizeOptionalText(value))
@IsString()
search?: string;
}