import { UserWasCreated } from './user-was-created.event' ; import { UserPaypalWasChanged } from './user-paypal-was-changed.event' ; import { UserNameWasChanged } from './user-name-was-changed.event' ; export { UserWasCreated } ; export { UserNameWasChanged } ; export { UserPaypalWasChanged } ; export const userEventHandlers = { UserWasCreated : ( id , name , email , paypal ) => new UserWasCreated ( id , name , email , paypal ) , UserNameWasChanged : ( id , username ) => new UserNameWasChanged ( id , username ) , UserPaypalWasChanged : ( id , userpaypal ) => new UserPaypalWasChanged ( id , userpaypal ) , } ;