Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

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
  • Returns true if a certain item with the given id exists in the state list

    Parameters

    • id: string | number

    Returns boolean

hasPagination

  • hasPagination(): boolean

Generated using TypeDoc