Убран лишний код. Скорректированы docker и package файлы. Переработано взаимодействие с бд - упрощена логика.

This commit is contained in:
Первов Артем
2026-06-19 14:59:39 +03:00
parent f5ed7fa9be
commit a12d490513
31 changed files with 120 additions and 552 deletions

View File

@@ -4,9 +4,6 @@ export type EdgeItemDto = {
parentId: string | null;
tagIds: string[];
tagCount: number;
currentTagCount: number;
liveTagCount: number;
lastDataAt: Date | null;
};
export type EdgeResponseDto = {

View File

@@ -1,15 +1,11 @@
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;
}