-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.js
More file actions
28 lines (26 loc) · 788 Bytes
/
Copy pathindex.js
File metadata and controls
28 lines (26 loc) · 788 Bytes
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
import packageJson from './package.json' with { type: 'json' };
import EventStore, { ExpectedVersion, OptimisticConcurrencyError, CommitCondition, LOCK_THROW, LOCK_RECLAIM } from './src/EventStore.js';
import EventStream from './src/EventStream.js';
import Storage, { StorageLockedError } from './src/Storage.js';
import Index from './src/Index.js';
import Consumer from './src/Consumer.js';
import { matches, buildRawBufferMatcher } from './src/utils/metadataUtil.js';
const VERSION = packageJson.version;
EventStore.VERSION = VERSION;
export {
EventStore,
EventStore as default,
ExpectedVersion,
OptimisticConcurrencyError,
CommitCondition,
LOCK_THROW,
LOCK_RECLAIM,
VERSION,
EventStream,
Storage,
StorageLockedError,
Index,
Consumer,
matches,
buildRawBufferMatcher
};