Members
(static, constant) notFoundTpl :string
Template path for the "not found" page.
Type:
- string
- Default Value
- 'waibuDb.template:/crud/not-found.html'
- Source
Methods
(async, static) addOnsHandler(opts) → {Promise.<Array>}
Add-ons handler for generating chart options based on the schema's aggregate settings.
This function retrieves the aggregate settings from the schema and generates chart options for each setting. The generated chart options are encoded in base64 and returned as an array of add-ons.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts | object | Options object Properties
|
- Source
Returns:
Array of add-ons with chart options
- Type:
- Promise.<Array>
(async, static) attachmentHandler(opts) → {Promise.<Array>}
Handles attachments for a given schema and ID.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts | object | Options object Properties
|
- Source
Returns:
Array of attachments
- Type:
- Promise.<Array>
(static) buildParams(opts) → {object}
Builds parameters for a given model and request.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts | object | Options object Properties
|
- Source
Returns:
Parameters including page information
- Type:
- object