Options
All
  • Public
  • Public/Protected
  • All
Menu

External module user-data

Index

Type aliases

DatabaseRevision

DatabaseRevision: number

Type of a database revision, i.e. a version of its content.

It is used to keep track of certain changes in the database, mostly for caching purposes (in other modules relying on the database content).

TableEntry

TableEntry: T & object

Type of an entry in a database table.

The index field contains the index of the entry in the table (see TableEntryIndex), which is automatically incremented for each new entry.

It must be parametrised by the type of data [[T]] the entry contains, which must be an object (which must not have an index field).

TableEntryIndex

TableEntryIndex: number

Type of the index of an entry in a database table.

It can be used to identify an entry in a given table, as well as to compare the order in which two events have been recorded (e.g. to compute primacy or recency scores).

Generated using TypeDoc