import { EntitiesState } from './entities.state' ; export const getPublicEntityIsLoading = ( state ) : boolean => state . isLoading ; export const getPublicEntityError = ( state ) : string | undefined => state . error ;