"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var reselect_1 = require("reselect");
var reducers_1 = require("../workspace/reducers");
var makeGeneralSelector = function makeGeneralSelector(key) {
    return reselect_1.createSelector([reducers_1.getSelectedWorkspace], function (state) {
        return state.general.get(key);
    });
};
exports.getFixedEndpoint = makeGeneralSelector('fixedEndpoint');
exports.getHistoryOpen = makeGeneralSelector('historyOpen');
exports.getConfigString = makeGeneralSelector('configString');
//# sourceMappingURL=selectors.js.map