kibana/x-pack/examples
Gidi Meir Morris 76b8c491ee
[Alerting] Enforces typing of Alert's ActionGroups (#86761)
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
2021-01-05 18:44:57 +00:00
..
alerting_example [Alerting] Enforces typing of Alert's ActionGroups (#86761) 2021-01-05 18:44:57 +00:00
reporting_example [AppServices/Examples] Add the example for Reporting integration (#82091) 2020-12-29 09:55:48 -07:00
ui_actions_enhanced_examples Remove dynamic mapped types from UiActions (#87075) 2021-01-05 10:11:05 +01:00
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