'use strict';

const { Command, CommandFactory, CommandDispatcher, CommandBus } = require('./core/commands');
const { Event, EventFactory, EventHandler, EventBus } = require('./core/events');

module.exports = {
    Command,
    CommandFactory,
    CommandDispatcher,
    CoreCommand,
    CommandBus,
    Event,
    EventFactory,
    EventHandler,
    EventBus
};
'use strict';

const { Command, CommandFactory, CommandDispatcher, CommandBus } = require('./core/commands');
const { Event, EventFactory, EventHandler, EventBus, EventDispatcher } = require('./core/events');

module.exports = {
    Command,
    CommandFactory,
    CommandDispatcher,
    CommandBus,
    Event,
    EventFactory,
    EventHandler,
    EventBus,
    EventDispatcher
};
Fix index file