"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GeocoderPositionStackProvider = void 0;
const extension_provider_1 = require("../../../integration/extension.provider");
const geocoder_provider_1 = require("../geocoder.provider");
const geocoder_position_stack_const_1 = require("./geocoder-position-stack.const");
const geocoder_position_stack_service_1 = require("./geocoder-position-stack.service");
class GeocoderPositionStackProvider extends extension_provider_1.ExtensionProvider {
    constructor(app) {
        super(geocoder_position_stack_const_1.GEOCODER_POSITION_STACK_PROVIDER, app);
        this.app = app;
        this.requiredProviders.push(geocoder_provider_1.GeocoderProvider);
        this.dataSources.push({
            dataSource: geocoder_position_stack_service_1.GeocoderPositionStackDataSource,
            name: geocoder_position_stack_service_1.GeocoderPositionStackDataSource.dataSourceName,
        });
        this.services.push({ cls: geocoder_position_stack_service_1.GeocoderPositionStackRepositoryProvider }, { cls: geocoder_position_stack_service_1.GeocoderPositionStackService });
    }
}
exports.GeocoderPositionStackProvider = GeocoderPositionStackProvider;
//# sourceMappingURL=geocoder-position-stack.provider.js.map