From 241eb58731d483f45a5f9ff06696db478664cb06 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Tue, 25 Aug 2026 20:00:20 +0100 Subject: [PATCH] refactor(geo): move the client and service into Appwrite\Geo Geo lookups are their own domain, not a Locale concern. GeoRecord stays in Appwrite\Locale since it renders locale-aware names. Co-Authored-By: Claude Fable 5 --- app/controllers/api/account.php | 2 +- app/controllers/api/locale.php | 2 +- app/controllers/general.php | 2 +- app/controllers/shared/api/auth.php | 2 +- app/http.php | 2 +- app/init/resources.php | 2 +- app/init/resources/request.php | 4 ++-- src/Appwrite/{Locale => }/Geo/Client.php | 2 +- src/Appwrite/{Locale => Geo}/Geo.php | 4 ++-- .../Platform/Modules/Functions/Http/Executions/Create.php | 2 +- .../Platform/Modules/Teams/Http/Memberships/Status/Update.php | 2 +- .../Platform/Modules/Users/Http/Users/Sessions/Create.php | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) rename src/Appwrite/{Locale => }/Geo/Client.php (98%) rename src/Appwrite/{Locale => Geo}/Geo.php (98%) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index efe65f6022..38e130ac8b 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -20,8 +20,8 @@ use Appwrite\Event\Publisher\Delete as DeletePublisher; use Appwrite\Event\Publisher\Mail as MailPublisher; use Appwrite\Event\Publisher\Messaging as MessagingPublisher; use Appwrite\Extend\Exception; +use Appwrite\Geo\Geo; use Appwrite\Hooks\Hooks; -use Appwrite\Locale\Geo; use Appwrite\Network\Validator\Redirect; use Appwrite\OpenSSL\OpenSSL; use Appwrite\SDK\AuthType; diff --git a/app/controllers/api/locale.php b/app/controllers/api/locale.php index 40e51def3d..69eb710cb1 100644 --- a/app/controllers/api/locale.php +++ b/app/controllers/api/locale.php @@ -1,6 +1,6 @@