refactor(maps): wikimedia lookups and brand logos move into their own client

This commit is contained in:
Maurice
2026-10-10 12:06:54 +02:00
parent 79ba003bfe
commit 0cedff94a0
14 changed files with 977 additions and 946 deletions
+3 -2
View File
@@ -5,6 +5,7 @@ import { MapsService } from './maps.service';
import { MapsMcp } from './maps.mcp';
import { GooglePlacesClient } from './providers/google-places.provider';
import { OsmClient } from './providers/osm.client';
import { WikimediaClient } from './providers/wikimedia.client';
import { PlacePhotosModule } from '../place-photos/place-photos.module';
import { StorageModule } from '../storage/storage.module';
import { GoogleQuotaModule } from '../google-quota/google-quota.module';
@@ -30,7 +31,7 @@ import { Places } from '../../db/entities/Places.entity';
@Module({
imports: [PlacePhotosModule, StorageModule, GoogleQuotaModule, MikroOrmModule.forFeature([AppSettings, Users, PlaceDetailsCache, Places])],
controllers: [MapsController],
providers: [MapsService, MapsMcp, GooglePlacesClient, OsmClient],
exports: [MapsService, GooglePlacesClient, OsmClient],
providers: [MapsService, MapsMcp, GooglePlacesClient, OsmClient, WikimediaClient],
exports: [MapsService, GooglePlacesClient, OsmClient, WikimediaClient],
})
export class MapsModule {}