import { ChartType } from '../../..' ; import { SpecType } from '../../../../specs' ; import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { getSpecs } from '../../../../state/selectors/get_settings_specs' ; import { getSpecsFromStore } from '../../../../state/utils' ; import { PartitionSpec } from '../../specs' ; internal export const getPartitionSpecs = createCustomCachedSelector ( [ getSpecs ] , ( specs ) => { return getSpecsFromStore < PartitionSpec > ( specs , ChartType . Partition , SpecType . Series ) ; } ) ;