Extra store functionality can added through the store service
Set the routes to go to after a certain action has been done by the store Can be edited/overwritten in controller
Initiate basic route settings Settings can be changed in controller
The base page for the current controller Sned a read request to the server on mount
Send a delete to the api
The id of the item to be deleted
Send a delete with current route id to the api
Shows a modal with the standard destroy modal message. On OK will send a destroy request based on the current route id
Shows a modal with the standard destroy modal message. On OK will send a destroy request based on the given id
Send a delete to the api without changing route afterwards
The id of the item to be deleted
The standard message to show in the destroy modal
Send a read request for the current controller StoreService will catch the data and put it in store
Send a read request for an item with the given id StoreService will catch the data and put it in store
the id of the item to read from the server
Send a read request for an item with id of the current route StoreService will catch the data and put it in store
create a new action to add to the store which sends a get request
url for the new request will be: this.APIEndpoint + payload ? /${payload}
: ''
name of the new action
create a new action to add to the store which sends a post request url for the post request will be: `${this.APIEndpoint}/${payload.id}/${name}
name of the new action and the last part of the url
dispatch an action to the store
the name of the action being dispatched
the payload being used by the action
get all items from the store from this controller
Get alle items from the given moduleName If moduleName is not found throws a StoreModuleNotFoundError
moduleName to get all items from
Get an item from the store based on the given id
get the item from the store base don id
Go to the create page for this controller
Go to the edit page for this controller
go to the overview page from this controller
go the the show page for the given item of the given id
id of item to go to the show page
init the controller this will add a module to the store and register routes
pops up a modal with the given message
the message being shown by the modal
the function being used when click on ok
Add an extra action to this store module
Add an extra getter to this store module
Add an extra mutation to this store module
Generated using TypeDoc