mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
feat(web): add search filter for camera lens model. (#21792)
This commit is contained in:
@@ -249,6 +249,7 @@ export enum SearchSuggestionType {
|
||||
CITY = 'city',
|
||||
CAMERA_MAKE = 'camera-make',
|
||||
CAMERA_MODEL = 'camera-model',
|
||||
CAMERA_LENS_MODEL = 'camera-lens-model',
|
||||
}
|
||||
|
||||
export class SearchSuggestionRequestDto {
|
||||
@@ -271,6 +272,10 @@ export class SearchSuggestionRequestDto {
|
||||
@Optional()
|
||||
model?: string;
|
||||
|
||||
@IsString()
|
||||
@Optional()
|
||||
lensModel?: string;
|
||||
|
||||
@ValidateBoolean({ optional: true })
|
||||
@PropertyLifecycle({ addedAt: 'v111.0.0' })
|
||||
includeNull?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user