Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
actions: * |
|
public get |
apiMethods: Array<string>: * |
Method Summary
Public Methods | ||
public |
Dispatches the SET_SESSION event to the store |
Inherited Summary
From class Base | ||
public get |
Returns an object that supplies the clear, count and merge actions for this resource |
|
public get |
apiMethods: Array<string>: * An array of methods to be exposed via APIProxy |
|
public |
clear() Dispatches the clear action for this resource. |
|
public |
create(resource: object, options: object): RequestPromise Performs a POST request, sending the resource along as the request body |
|
public |
destroy(id: number | string, options: object): RequestPromise Destroys the resource |
|
public |
fetch(query: ResourceQuery): RequestPromise Performs a GET request for the specified query. |
|
public |
fetchCount(query: ResourceQuery): RequestPromise Performs a GET request for the resource's count endpoint |
|
public |
Updates the given resource |
|
protected |
urlFor(query: ResourceQuery, params: ResourceQuery): string |