refactor: search e2e (#7732)

This commit is contained in:
Jason Rasmussen
2024-03-08 11:20:54 -05:00
committed by GitHub
parent ffdd504008
commit 89f6190fb0
8 changed files with 239 additions and 339 deletions

View File

@@ -123,7 +123,7 @@ class BaseSearchDto {
@ValidateBoolean({ optional: true })
isNotInAlbum?: boolean;
@Optional()
@ValidateUUID({ each: true, optional: true })
personIds?: string[];
}

View File

@@ -1,5 +1,4 @@
import { AssetEntity } from '@app/infra/entities';
import { ImmichLogger } from '@app/infra/logger';
import { Inject, Injectable } from '@nestjs/common';
import { AssetOrder, AssetResponseDto, mapAsset } from '../asset';
import { AuthDto } from '../auth';
@@ -30,7 +29,6 @@ import { SearchResponseDto } from './response-dto';
@Injectable()
export class SearchService {
private logger = new ImmichLogger(SearchService.name);
private configCore: SystemConfigCore;
constructor(