Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

will be removed in v4.0 use "Collection" instead!

Hierarchy

Index

Constructors

constructor

Properties

Protected _byId

_byId: PlainObject<Resource>

The list of states we are holding -> by their entity id

Protected _byOrder

_byOrder: Resource[]

The list of states we are holding -> as array by their given order

Protected _meta

_meta: State

Additional metadata that was passed by the api

Protected _pagination

_pagination: JsonApiPagination

The pagination object or null

Protected _response

_response: JsonApiResponse

Holds a reference to the response object

Accessors

jsonElementType

meta

pagination

response

Methods

[Symbol.iterator]

  • [Symbol.iterator](): Iterator<Resource, any, undefined>

forEach

get

getAll

getRaw

  • getRaw(): PlainObject<any>[]

has

  • has(id: string | number): boolean

hasPagination

  • hasPagination(): boolean

Generated using TypeDoc