Optional
Experimental
addressableA method that will be called when an addressable event isn't found in the store
Protected
deletedProtected
deletedOptional
Experimental
eventA method that will be called when an event isn't found in the store
Protected
expirationsProtected
expirationA stream of new events added to the store
Enable this to keep expired events
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
Protected
nextA stream of events that have been removed
Optional
Experimental
replaceableA method that will be called when a replaceable event isn't found in the store
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
addAdds an event to the expiration map
Subscribe to an addressable event by pointer
Subscribe to a users blossom servers
Protected
checkSets the claim on the event and touches it
Removes all claims on an event
Subscribe to a event's comments
Subscribe to a users contacts
use multiple EventModel instead
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
handleProtected
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
Subscribe to a users mutes
Subscribe to a users profile
Removes any event that is not being used by a subscription
Optional
max: numberProtected
pruneRemove expired events from the store
Subscribe to an event's reactions
Removes 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
Creates a ReplaceableModel
Optional
identifier: stringuse multiple ReplaceableModel instead
Subscribe to a thread
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
An extended EventSet that handles replaceable events, delets, and models