import { IndexMapping } from '../types' ; /**
 *  Get the names of the types defined in the OpenSearchMappingsDsl
 */ export function getTypes ( mappings ) { return Object . keys ( mappings ) . filter ( ( type ) => type !== '_default_' ) ; }