0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00
immich/mobile/openapi/lib/api
Justin Forseth d3a5490e71
feat(server): search unknown place (#10866)
* Allow submission of null country

* Update searchAssetBuilder to handle nulls

andWhere({country:null}) produces `"exifInfo"."country" = NULL`. We want
`"exifInfo"."country" IS NULL`, so we have to treat NULL as a special
case

* Allow null country in frontend

* Make the query code a bit more straightforward

* Remove unused brackets import

* Remove log message

* Don't change whitespace for no reason

* Fix prettier style issue

* Update search.dto.ts validators per @jrasm91's recommendation

* Update api types

* Combine null country and state into one guard clause

* chore: clean up

* chore: add e2e for null/empty city, state, country search

* refactor: server returns suggestion for null values

* chore: clean up

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-02 03:27:40 +00:00
..
activities_api.dart
albums_api.dart
api_keys_api.dart
assets_api.dart
audit_api.dart
authentication_api.dart
deprecated_api.dart refactor: move /server-info endpoints to /server (#10677) 2024-06-28 17:08:19 +01:00
download_api.dart
duplicates_api.dart
faces_api.dart
file_reports_api.dart
jobs_api.dart
libraries_api.dart
map_api.dart feat(server): reverse geocoding endpoint (#11430) 2024-07-29 18:17:26 -04:00
memories_api.dart
notifications_api.dart
o_auth_api.dart
partners_api.dart refactor(server): partner search dto (#10902) 2024-07-08 16:41:39 -04:00
people_api.dart feat: people infinite scroll (#11326) 2024-07-25 15:59:28 -04:00
search_api.dart feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
server_api.dart fix(server): correct openapi response type for getServerLicense() (#11261) 2024-07-22 08:50:45 -05:00
server_info_api.dart refactor: move /server-info endpoints to /server (#10677) 2024-06-28 17:08:19 +01:00
sessions_api.dart
shared_links_api.dart
sync_api.dart
system_config_api.dart
system_metadata_api.dart
tags_api.dart
timeline_api.dart
trash_api.dart
users_admin_api.dart
users_api.dart feat(server): user and server license endpoints (#10682) 2024-07-01 17:43:16 +00:00