import { MemberWasCreated } from './member-was-created.event' ; import { MemberWasRegisteredAsUser } from './member-was-registered-as-user.event' ; import { MemberNameWasChanged } from './member-name-was-changed.event' ; import { MemberWasRemoved } from './member-was-removed.event' ; export { MemberWasCreated } ; export { MemberWasRegisteredAsUser } ; export { MemberNameWasChanged } ; export const memberEventHandlers = { MemberWasCreated : ( id , idGroup , name , idUser ) => new MemberWasCreated ( id , idGroup , name , idUser ) , MemberWasRegisteredAsUser : ( id , idUser ) => new MemberWasRegisteredAsUser ( id , idUser ) , MemberNameWasChanged : ( id , name ) => new MemberNameWasChanged ( id , name ) , MemberWasRemoved : ( id ) => new MemberWasRemoved ( id ) , } ;