import path from 'node:path';
import { fileURLToPath } from 'node:url';
import AKOpenDataCityService from './opendata_city_service.js';
export default class AKOpenDataCityProvider {
    app;
    constructor(app) {
        this.app = app;
    }
    async register() {
        const thisDir = path.dirname(fileURLToPath(import.meta.url));
        const service = AKOpenDataCityService.create({
            assetsPath: path.join(thisDir, 'assets'),
        });
        this.app.container.singleton(AKOpenDataCityService, async () => service);
    }
}
//# sourceMappingURL=opendata_city_provider.js.map