Here's a link to some good info re: sensitivity/tolerance...
Morton Arboretum
Personally, I'd find something else to do with the shavings rather than adding them to compost (which then would have conditions related to its use due to the juglone). I've heard of an urban garden on a university site that unknowingly used compost made with walnut stuff, that had disappointing problems trying to grow in those beds, and it took a couple years to resolve.
The shavings might make good mulch, provided the juglone is something tolerable, it might even be "helpful" in some scenario.
You could use the shavings for fuel or make
biochar...
From my
experience it is best to not add anything to the compost that could be problematic: invasive weeds/allelopathic or toxic plants/diseased plants/or anything you can't take out later. I don't worry so much about things like stones/sticks/litter since I can screen those out (I pick those when I see them).