Options
All
  • Public
  • Public/Protected
  • All
Menu

nest-jsonapi - v0.6.0

Index

Type aliases

Dictionary<T>: Record<string, T>

Type parameters

  • T = unknown

ResourceLink: string | { href: string; meta?: Dictionary }
ResourceLinkage: ResourceIdentifier | ResourceIdentifier[] | null | []

Variables

JSONAPI_CONTENT_TYPE: "application/vnd.api+json" = 'application/vnd.api+json'
JSONAPI_MODULE_OPTIONS: "JsonapiModuleOptions" = 'JsonapiModuleOptions'
JSONAPI_MODULE_SERVICE: "JsonapiModuleService" = 'JsonapiModuleService'
JSON_CONTENT_TYPE: "application/json" = 'application/json'
METADATA_KEY_JSONAPI_PAYLOAD: "jsonapi_payload" = 'jsonapi_payload'

Functions

  • buildLinks(options: LinkOptions): Links
  • isHTTPException(error: unknown): error is HttpException
  • isJsonapiContentType(contentType?: string): boolean

Generated using TypeDoc