This PR tightens the typing on the Alerting framework's `AlertType` and its deeper typing around `AlertServices ` and `AlertExecutorOptions`. This ensures the following: 1. It's now impossible<sup>✴</sup> to schedule actions on any ActionGroup other than the groups specified on the AlertType (including the Recovery group) 2. It's now impossible<sup>✴</sup> to schedule actions with incorrect `InstanceState` or `InstanceContext` ✴ Unless they bypass the Typescript typing, which is an explicit choice to bypass type safety |
||
---|---|---|
.. | ||
alerting_example | ||
reporting_example | ||
ui_actions_enhanced_examples | ||
README.md |
Example plugins
This folder contains X-Pack example plugins. To run the plugins in this folder, use the --run-examples
flag, via
yarn start --run-examples