Optionaloptions: EventStoreOptionsOptionaleventA method that will be called when an event isn't found in the store
A stream of new events added to the store
Keep deleted events in the store
Keep expired events in the store
Enable this to keep old versions of replaceable events
Optional memory database for ensuring single event instances
How long a model should be kept "warm" while nothing is subscribed to it
A directory of all active models
A stream of events that have been removed
A stream of events that have been updated (Warning: this is a very noisy stream, use with caution)
Get the method used to verify events
Sets the method used to verify events
Adds an event to the store and update subscriptions
OptionalfromRelay: stringThe existing event or the event that was added, if it was ignored returns null
Subscribe to an addressable event by pointer
Subscribe to a users contacts
Subscribe to an event by pointer
Creates an observable that streams all events that match the filter
Get an event by id from the store
Gets the latest version of a replaceable event
Optionalidentifier: stringReturns all versions of a replaceable event
Optionalidentifier: stringReturns a timeline of events that match filters
Check if the store has an event by id
Check if the store has a replaceable event
Optionald: stringSubscribe to a users mailboxes
Get or create a model on the event store
Subscribe to a users profile
Removes any event that is not being used by a subscription
Optionallimit: numberRemoves an event from the store and updates subscriptions
Subscribe to a replaceable event by pointer
Subscribe to a replaceable event with legacy arguments
Optionalidentifier: stringCreates a TimelineModel
Pass through method for the database.unclaimed
Add an event to the store and notifies all subscribes it has updated
StaticcopyCopies important metadata from and identical event to another
A wrapper around an event database that handles replaceable events, deletes, and models