A collection of validation related APIs
- Description:
- A collection of validation related APIs
- Source:
Methods
(static) validate(options) → {Promise.<undefined>}
- Description:
- Validates the given ui5 configuration.
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Properties
|
Throws:
-
Rejects with a ValidationError when the validation fails.
Returns:
Returns a Promise that resolves when the validation succeeds
- Type
- Promise.<undefined>
(static) validateWorkspace(options) → {Promise.<undefined>}
- Description:
- Validates the given ui5-workspace configuration.
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Properties
|
Throws:
-
Rejects with a ValidationError when the validation fails.
Returns:
Returns a Promise that resolves when the validation succeeds
- Type
- Promise.<undefined>