Responsible for displaying table of entities for a failed expectation for a dataset.
See https://datasette.planning.data.gov.uk/digital-land/expectation for data.
Members
(static, constant) validateExpectationsFailed
Validates the expectations actually exist, 404 otherwise.
Methods
(inner) fetchEntities(req, res, next)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
req |
Object | request object Properties
|
||||||
res |
Object | response object |
||||||
next |
function |
(inner) prepareTemplateParams(req, res, next) → {undefined}
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
req |
Object | The request object. It should contain the following properties: Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
res |
Object | The response object. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
next |
function | The next middleware function. |
Returns:
- Type
- undefined