chore: make NodeEvent
generic over NodePrimitives
#13534
+32
−56
Merged