"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PositionModule = void 0;
const common_1 = require("@nestjs/common");
const core_1 = require("@nestjs/core");
const cache_module_1 = require("../cache/cache.module");
const position_balance_fetcher_registry_1 = require("./position-balance-fetcher.registry");
const position_fetcher_registry_1 = require("./position-fetcher.registry");
const position_fetcher_template_registry_1 = require("./position-fetcher.template-registry");
const position_key_service_1 = require("./position-key.service");
const position_presenter_registry_1 = require("./position-presenter.registry");
const position_source_1 = require("./position-source");
const position_controller_1 = require("./position.controller");
const position_service_1 = require("./position.service");
const app_token_selector_service_1 = require("./selectors/app-token-selector.service");
const token_dependency_selector_service_1 = require("./selectors/token-dependency-selector.service");
let PositionModule = class PositionModule {
};
PositionModule = __decorate([
    (0, common_1.Module)({
        imports: [core_1.DiscoveryModule, cache_module_1.CacheModule],
        providers: [
            ...position_source_1.PositionSources,
            app_token_selector_service_1.AppTokenSelectorService,
            position_balance_fetcher_registry_1.PositionBalanceFetcherRegistry,
            position_fetcher_registry_1.PositionFetcherRegistry,
            position_fetcher_template_registry_1.PositionFetcherTemplateRegistry,
            position_key_service_1.PositionKeyService,
            position_presenter_registry_1.PositionPresenterRegistry,
            position_service_1.PositionService,
            token_dependency_selector_service_1.TokenDependencySelectorService,
        ],
        controllers: [position_controller_1.PositionController],
        exports: [
            app_token_selector_service_1.AppTokenSelectorService,
            position_balance_fetcher_registry_1.PositionBalanceFetcherRegistry,
            position_fetcher_registry_1.PositionFetcherRegistry,
            position_fetcher_template_registry_1.PositionFetcherTemplateRegistry,
            position_key_service_1.PositionKeyService,
            position_presenter_registry_1.PositionPresenterRegistry,
            position_service_1.PositionService,
            token_dependency_selector_service_1.TokenDependencySelectorService,
        ],
    })
], PositionModule);
exports.PositionModule = PositionModule;
//# sourceMappingURL=position.module.js.map