mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 20:07:41 +09:00 
			
		
		
		
	feat(server): Add album filter to search (#18985)
* - updated dtos - added inAlbums to search builder - only check isNotInAlbum if albumIds is blank/empty * - consider inAlbums as OR * - make open-api-dart * - lint & format * - remove inAlbums groupBy clause * - merge main open-api * - make open-api * - inAlbums filter AND instead of OR
This commit is contained in:
		| @@ -853,6 +853,7 @@ export type SearchExploreResponseDto = { | ||||
|     items: SearchExploreItem[]; | ||||
| }; | ||||
| export type MetadataSearchDto = { | ||||
|     albumIds?: string[]; | ||||
|     checksum?: string; | ||||
|     city?: string | null; | ||||
|     country?: string | null; | ||||
| @@ -929,6 +930,7 @@ export type PlacesResponseDto = { | ||||
|     name: string; | ||||
| }; | ||||
| export type RandomSearchDto = { | ||||
|     albumIds?: string[]; | ||||
|     city?: string | null; | ||||
|     country?: string | null; | ||||
|     createdAfter?: string; | ||||
| @@ -962,6 +964,7 @@ export type RandomSearchDto = { | ||||
|     withStacked?: boolean; | ||||
| }; | ||||
| export type SmartSearchDto = { | ||||
|     albumIds?: string[]; | ||||
|     city?: string | null; | ||||
|     country?: string | null; | ||||
|     createdAfter?: string; | ||||
| @@ -996,6 +999,7 @@ export type SmartSearchDto = { | ||||
|     withExif?: boolean; | ||||
| }; | ||||
| export type StatisticsSearchDto = { | ||||
|     albumIds?: string[]; | ||||
|     city?: string | null; | ||||
|     country?: string | null; | ||||
|     createdAfter?: string; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user