/** * External dependencies */ import type { Maybe, BufferSettings, Uuid } from '@nelio-content/types'; /** * Internal dependencies */ import type { State } from '../../types'; export function getBufferSettings( state: State ): State[ 'attributes' ][ 'bufferSettingsByProfile' ] { return state.attributes.bufferSettingsByProfile; } export function getBufferSettingsInProfile( state: State, profileId: Uuid ): Maybe< BufferSettings > { return state.attributes.bufferSettingsByProfile[ profileId ]; }