Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseManager Abstract

Hierarchy

Index

Constructors

Properties

meta: PaginationMeta = ...

Accessors

  • get FILTERS(): readonly string[]
  • get INCLUDES(): readonly string[]
  • get SORTS(): readonly string[]

Methods

  • fetch(...args: unknown[]): Promise<unknown>
  • getFetchAll<T, K>(...options: unknown[]): Promise<Dict<T, K>>
  • Fetches rach page and joins the results.

    internal

    Type Parameters

    • T

    • K

    Parameters

    • Rest ...options: unknown[]

    Returns Promise<Dict<T, K>>

    Dictionary of the specified types

  • getQueryOptions(): { filters: readonly string[]; includes: readonly string[]; sorts: readonly string[] }
  • Gets the allowed query options from the inherited manager.

    internal

    Returns { filters: readonly string[]; includes: readonly string[]; sorts: readonly string[] }

    The query options.

    • filters: readonly string[]
    • includes: readonly string[]
    • sorts: readonly string[]

Generated using TypeDoc