import { mapToEntities } from '../../helpers' ; import { Category } from '../../models' ; const categoryNames = [ 'Uncategorized' , 'Cats' , 'Dogs' ] ; const categories = mapToEntities ( categoryNames ) ; export = categories ;