Methods
module:services/dynamic/json-path(superclass) → {function}
Dynamic service class factory which wraps module:core/base-service/base~BaseService with support of JSONPath.
Parameters:
Name | Type | Description |
---|---|---|
superclass |
function | class to extend |
- Source:
Returns:
wrapped class
- Type
- function
validateAffiliations(value, helpers) → {string}
Validates affiliations should contain combination of allowed values in any order.
Parameters:
Name | Type | Description |
---|---|---|
value |
string | affiliation current value |
helpers |
* | object to construct custom error |
Returns:
valiadtion error or value unchanged
- Type
- string