"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PositionFetcher = exports.POSITION_FETCHER_OPTIONS = exports.POSITION_FETCHER_TYPE = exports.POSITION_FETCHER_NETWORK = exports.POSITION_FETCHER_GROUP = exports.POSITION_FETCHER_APP = void 0;
const common_1 = require("@nestjs/common");
exports.POSITION_FETCHER_APP = 'POSITION_FETCHER_APP';
exports.POSITION_FETCHER_GROUP = 'POSITION_FETCHER_GROUP';
exports.POSITION_FETCHER_NETWORK = 'POSITION_FETCHER_NETWORK';
exports.POSITION_FETCHER_TYPE = 'POSITION_FETCHER_TYPE';
exports.POSITION_FETCHER_OPTIONS = 'POSITION_FETCHER_OPTIONS';
const PositionFetcher = (type) => ({ appId, groupId, network, options = {}, }) => {
    return (0, common_1.applyDecorators)((0, common_1.SetMetadata)(exports.POSITION_FETCHER_APP, appId), (0, common_1.SetMetadata)(exports.POSITION_FETCHER_GROUP, groupId), (0, common_1.SetMetadata)(exports.POSITION_FETCHER_NETWORK, network), (0, common_1.SetMetadata)(exports.POSITION_FETCHER_TYPE, type), (0, common_1.SetMetadata)(exports.POSITION_FETCHER_OPTIONS, options), common_1.Injectable);
};
exports.PositionFetcher = PositionFetcher;
//# sourceMappingURL=position-fetcher.decorator.js.map