"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPartitionSpecs = getPartitionSpecs;
exports.getPartitionSpec = getPartitionSpec;
const __1 = require("../../..");
const spec_type_1 = require("../../../../specs/spec_type");
const get_spec_from_store_1 = require("../../../../state/utils/get_spec_from_store");
const get_specs_from_store_1 = require("../../../../state/utils/get_specs_from_store");
function getPartitionSpecs(state) {
    return (0, get_specs_from_store_1.getSpecsFromStore)(state.specs, __1.ChartType.Partition, spec_type_1.SpecType.Series);
}
function getPartitionSpec(state) {
    return (0, get_spec_from_store_1.getSpecFromStore)(state.specs, __1.ChartType.Partition, spec_type_1.SpecType.Series, false);
}
//# sourceMappingURL=partition_spec.js.map