Definition of function which can be bound to the context and handle data events defined by DataEventType
Event types which can be emitted and listened to regarding any DataModelType object.
Data types which can have multiple instances, identified by their identifiers, and stored in IndexedDB.
Data types which are stored at most once, so they don't need an identifier and are not stored in IndexedDB.
Both DataModelSingleType and DataModelMultiType
Type definitions for every possible DataModelType type. Their meaning is following:
Any type from DataModelType
Function for creating global database context. This function should be called exactly once through the whole application.
Global database context (in form of extended Dexie database)
Generated using TypeDoc
This file defines context for storing data locally in user's browser IndexedDB and reading it again. The two main use cases are storing data which shouldn't be sent to the contract (for example if they need to remain private) and caching data from the blockchain locally so they don't have to be requested repeatedly. Internally it uses Dexie.js library.