Members
formValidation :Array.<express.RequestHandler>
Validation for the activity management form. Field rules run for create and update only; limits match the activities table columns.
Type:
- Array.<express.RequestHandler>
routes :express.Router
Type:
- express.Router
Methods
(async, static) create()
(async, static) delete()
(async, static) getById()
(async, static) handleActivityManagement()
Creates, updates or deletes an activity from the validated management form.
(async, static) list()
(async, static) update()
(async, static) viewActivityManagement()
Renders the activity management page with a filtered, sorted and paginated activity list. Loads the activity in the URL into the edit form, even when it is not on the current page.