1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-15 12:09:44 +02: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 refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
albums_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
api_keys_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
assets_api.dart refactor: asset media endpoints (#9831) 2024-05-31 13:44:04 -04:00
audit_api.dart chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
authentication_api.dart refactor(server): user endpoints (#9730) 2024-05-27 05:15:52 +07:00
deprecated_api.dart refactor: move /server-info endpoints to /server (#10677) 2024-06-28 17:08:19 +01:00
download_api.dart refactor: asset media endpoints (#9831) 2024-05-31 13:44:04 -04:00
duplicates_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
faces_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
file_reports_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
jobs_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
libraries_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
map_api.dart feat(server): reverse geocoding endpoint (#11430) 2024-07-29 18:17:26 -04:00
memories_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
notifications_api.dart feat(web): send test email button (#10011) 2024-06-07 11:34:09 -05:00
o_auth_api.dart refactor(server): user endpoints (#9730) 2024-05-27 05:15:52 +07:00
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 chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
shared_links_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
sync_api.dart chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
system_config_api.dart refactor(server)!: move markers and style to dedicated map endpoint/controller (#9832) 2024-05-29 11:51:01 -04:00
system_metadata_api.dart chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
tags_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
timeline_api.dart chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
trash_api.dart chore: bump open-api (#9522) 2024-05-15 16:52:52 -05:00
users_admin_api.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
users_api.dart feat(server): user and server license endpoints (#10682) 2024-07-01 17:43:16 +00:00