Options
All
  • Public
  • Public/Protected
  • All
Menu

Module types/types

Index

Type aliases

TJsonApiBodyDataRequired

TJsonApiBodyDataRequired: { data: TJsonApiDataFilterable; included?: TJsonApiData[]; links?: TJsonApiLinks }

JSON:API response that requires data and can be filtered

Type declaration

keyedResources

keyedResources: {}

JSON:API resource responses keyed by id

Type declaration

  • [key: string]: TJsonApiBody

stringIndex

stringIndex: {}

An index of string keys and values.

Type declaration

  • [key: string]: string

Functions

Const isGenericIndex

  • A type predicate to determine if a string or GenericIndex has an href

    Parameters

    Returns index is string | GenericIndex

    true if index is a string or has an href property

Generated using TypeDoc