mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): add search filter for camera lens model. (#21792)
This commit is contained in:
parent
d9cddeb0f1
commit
78fb815cdb
12 changed files with 133 additions and 15 deletions
|
|
@ -3566,9 +3566,10 @@ export function searchAssetStatistics({ statisticsSearchDto }: {
|
|||
/**
|
||||
* This endpoint requires the `asset.read` permission.
|
||||
*/
|
||||
export function getSearchSuggestions({ country, includeNull, make, model, state, $type }: {
|
||||
export function getSearchSuggestions({ country, includeNull, lensModel, make, model, state, $type }: {
|
||||
country?: string;
|
||||
includeNull?: boolean;
|
||||
lensModel?: string;
|
||||
make?: string;
|
||||
model?: string;
|
||||
state?: string;
|
||||
|
|
@ -3580,6 +3581,7 @@ export function getSearchSuggestions({ country, includeNull, make, model, state,
|
|||
}>(`/search/suggestions${QS.query(QS.explode({
|
||||
country,
|
||||
includeNull,
|
||||
lensModel,
|
||||
make,
|
||||
model,
|
||||
state,
|
||||
|
|
@ -4919,7 +4921,8 @@ export enum SearchSuggestionType {
|
|||
State = "state",
|
||||
City = "city",
|
||||
CameraMake = "camera-make",
|
||||
CameraModel = "camera-model"
|
||||
CameraModel = "camera-model",
|
||||
CameraLensModel = "camera-lens-model"
|
||||
}
|
||||
export enum SharedLinkType {
|
||||
Album = "ALBUM",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue