1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-06 03:46:47 +01:00
immich/mobile/openapi/lib
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
..
api feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
auth chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
model feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
api.dart feat(server): reverse geocoding endpoint (#11430) 2024-07-29 18:17:26 -04:00
api_client.dart feat(server): reverse geocoding endpoint (#11430) 2024-07-29 18:17:26 -04:00
api_exception.dart chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
api_helper.dart feat(server): accepted video containers (#11274) 2024-07-21 21:14:23 +00:00