Constructor to inject the dependencies
Holds the axios instance we use for our requests
A unique id for this api instance
Returns the axios instance we use internally
Internal helper which receives the raw result from axios and de-serializes the json api structure into a more speaking javascript object
Internal helper which formats the get query object into the correct query string
Requests a resource collection from the server
The resource type to request from the server
An optional query to use when requesting the resources
Can be used to debounce multiple, subsequent requests for a certain number of milli-seconds, before they should be actually submitted to the server. Can be used to avoid multiple request for text inputs or similar occurrences.
Finds the data for "additional routes" that are registered on a certain resource type.
The type of entity to resolve the data for
The additional uri fragment that should be added after the resource type in the uri
An optional query to use when requesting the resource
Can be used to debounce multiple, subsequent requests for a certain number of milli-seconds, before they should be actually submitted to the server. Can be used to avoid multiple request for text inputs or similar occurrences.
Requests a resource collection from the server
The resource type to request from the server
An optional query to use when requesting the resources
Can be used to debounce multiple, subsequent requests for a certain number of milli-seconds, before they should be actually submitted to the server. Can be used to avoid multiple request for text inputs or similar occurrences.
Requests a single resource item from the server
The resource type to request from the server
The id of the entity to request from the server. Set this to NULL if your endpoint does not require a unique id for requesting a single entity
An optional query to use when requesting the resource
Can be used to debounce multiple, subsequent requests for a certain number of milli-seconds, before they should be actually submitted to the server. Can be used to avoid multiple request for text inputs or similar occurrences.
Requests a single resource entity from the server
The resource type to request from the server
The id of the entity to request from the server. Set this to NULL if your endpoint does not require a unique id for requesting a single entity
An optional query to use when requesting the resource
Can be used to debounce multiple, subsequent requests for a certain number of milli-seconds, before they should be actually submitted to the server. Can be used to avoid multiple request for text inputs or similar occurrences
Internal response handler to create
Can be used to format a query object into a url conform query string
Receives a raw json api response (presumably from an ajax request) and converts it either into a json api state, or a state list object, depending on the content
The data to convert into either a resource or a collection
Receives a raw json api response (presumably from an ajax request) and converts it either into a json api state, or a state list object, depending on the content
Generated using TypeDoc
Extends the default JSON API object with methods for the TYPO3 backend setup in mind.