import { GroupWasCreated } from './group-was-created.event' ; import { GroupNameWasChanged } from './group-name-was-changed.event' ; import { GroupWasRemoved } from './group-was-removed.event' ; import { GroupCurrencyCodeWasChanged } from './group-currency-code-was-changed.event' ; export { GroupWasCreated , GroupNameWasChanged } ; export const groupEventHandlers = { GroupWasCreated : ( id , name , groupname , groupcurrencycode ) => new GroupWasCreated ( id , name , groupname , groupcurrencycode ) , GroupNameWasChanged : ( id , name ) => new GroupNameWasChanged ( id , name ) , GroupCurrencyCodeWasChanged : ( id , currencyCode ) => new GroupCurrencyCodeWasChanged ( id , currencyCode ) , GroupWasRemoved : ( id ) => new GroupWasRemoved ( id ) , } ;