Documentation

Mistake on this page? Email us

Abstract base class for a repository

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Initalise a new instance of the repository

    Parameters

    • Optional config: ConnectionOptions | Config

      The configuration to use, if null then repository will initalise its own using dotenv

    • Optional client: Client

      The client instance to use

    Returns Repository

Properties

client

client: Client

The repository client instance

config

config: Config

The repository configuration class