Donald Trump’s top team knew days in advance of the potential for violence, a former staffer has said.