The types that are banned are ones that set the restriction as a part of a normal employment contract, where there is no specific compensation given for accepting the non-compete and where the employee can't decide to abandon the non-compete in return for not getting the extra money.