Protected
deletedProtected
deletedA stream of new events added to the store
Enable this to keep old versions of replaceable events
How long a model should be kept "warm" while nothing is subscribed to it
Protected
modelsA directory of all active models
A stream of events that have been removed
A stream of events that have been updated
Optional
verifyA method used to verify new events before added them
true if the event is valid, false if it should be ignored
Adds an event to the store and update subscriptions
Optional
fromRelay: stringThe existing event or the event that was added, if it was ignored returns null
Protected
checkSets the claim on the event and touches it
Removes all claims on an event
Creates an observable that streams all events that match the filter
Optional
onlyNew: boolean = falseOnly subscribe to new events
Get all events matching a filter
Get an event by id from the store
Gets the latest version of a replaceable event
Optional
identifier: stringReturns all versions of a replaceable event
Optional
identifier: stringReturns a timeline of events that match filters
Protected
handleCheck if the store has an event by id
Check if the store has a replaceable event
Optional
d: stringChecks if an event is claimed by anything
Creates a MailboxesModel
Removes any event that is not being used by a subscription
Optional
max: numberRemoves an event from the database and updates subscriptions
Removes a claim from an event
Returns an observable that completes when an event is removed
Creates a ReplaceableModel
Optional
identifier: stringCreates a ReplaceableSetModel
Creates a ThreadModel
Creates a TimelineModel
Add an event to the store and notifies all subscribes it has updated
Creates an observable that emits when event is updated
Static
mergeCopies important metadata from and identical event to another
The read interface for an event store