2-4wks weight rest
Both surgeries are usually done laparoscopically and would rec'd a lifting restriction of no lifting of greater than 20lbs for 2 weeks.
As far as dietary restrictions, your surgeon should place you on a progressive diet
advancing from liquids to soft foods as tolerated. Your body will usually tell you what foods it will accept or cause trouble.