-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.ts
43 lines (41 loc) · 1.01 KB
/
index.ts
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { DomainHandlerOpts } from './src/types'
export { createDomainV1 } from './src/domain'
export { createHandler } from './src/create-handler'
export { createBookmark } from './src/create-bookmark'
export { createDomainV2, createDomain } from './src/domain-v2'
export {
createAggregate,
createProvidedAggregate,
createPersistedAggregate,
} from './src/create-aggregate'
export { createCommands } from './src/create-command'
export {
Domain,
Provider,
Event,
Fold,
Command,
CommandHandler,
Handler,
CmdBody,
EventMeta,
StoreEvent,
StreamsHandler,
Aggregate,
BaseAggregate,
DomainHandlerOpts,
DomainOptions,
AggregateStore,
ErrorCallback,
HandlerBody,
HandlerBookmark,
HandlerHooks,
ProvidedAggregate,
StorableAggregate,
ProviderBookmark,
ExecutableAggregate,
Ext,
} from './src/types'
export { VersionError, CommandError } from './provider/error'
export { MemoryBookmark } from './src/common'
export { DomainHandlerOpts as HandlerOptsV1, DomainHandlerOpts as HandlerOptions }