Optional
options: EventRepositorySqliteOptionsOptional
filename: stringOptional
options: EventRepositorySqliteOptionsThis method is called when a new event should be stored. You should handle the REGULAR, REPLACEABLE and PARAMETERIZED REPLACEABLE events correctly.
More info: https://github.com/nostr-protocol/nips/blob/master/01.md
Event to store
EventRepository is an interface for storing and retrieving events. You can implement this interface to create your own event repository based on your favorite database.