Options
All
  • Public
  • Public/Protected
  • All
Menu

Module typings

Interfaces

Type aliases

Variables

Type aliases

Index

Index<Recordable>: Map<IndexValue, Recordable[]>

Index which contains documents indexed by a given property.

Type parameters

  • Recordable

IndexName

IndexName<Recordable>: Exclude<keyof Recordable, symbol | number> | string

Name of the indexed property.

Type parameters

  • Recordable

IndexRepo

IndexRepo<Recordable>: Map<IndexName<Recordable>, Index<Recordable>>

Repository which contains all index names, and their respective documents.

Type parameters

  • Recordable

IndexValue

IndexValue: Undefinable<Nullable<string | number>>

Value of the indexed property.

Variables

Const PK_INDEX_NAME

PK_INDEX_NAME: "id" = 'id'

Defines the property name of the primary key.