forked from rkaw92/esdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
27 lines (23 loc) · 1.06 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
var saga = require('./Saga.v2.js');
var logicSaga = require('./LogicSaga.js');
module.exports.core = {
EventSourcedAggregate: require('./EventSourcedAggregate.js').EventSourcedAggregate,
Event: require('./Event.js').Event,
Commit: require('./Commit.js').Commit,
Saga: saga.Saga,
SagaStage: saga.SagaStage,
SagaTransition: saga.SagaTransition,
LogicSaga: logicSaga.LogicSaga,
Timer: require('./Timer.js').Timer
};
module.exports.utils = require('./utils');
module.exports.test = {
DummyEventSink: require('./EventStore/DummyEventSink.js').DummyEventSink,
DummyEventSinkStreamer: require('./EventStore/DummyEventSinkStreamer.js').DummyEventSinkStreamer,
DummyEventBusPublisher: require('./EventBus/DummyEventBusPublisher.js').DummyEventBusPublisher,
DummyEventBusSubscriber: require('./EventBus/DummyEventBusSubscriber.js').DummyEventBusSubscriber,
DummyAggregateSnapshotter: require('./EventStore/DummyAggregateSnapshotter.js').DummyAggregateSnapshotter
};
module.exports.services = {
ServiceContainer: require('./Services/ServiceContainer.js').ServiceContainer
};