eventName to eventType