kibana/x-pack/examples
Rachel Shen 4a0b967e38
Reporting packages for export types (#162845)
## Summary
This PR refactors the export type classes into their own packages to be
then instantiated in the reporting plugin. This will reduce bloat in the
central reporting plugin.

**Main packages**
- `kbn/reporting-export-types-{png,pdf,csv}` are server packages with
export type declarations
- `kbn/reporting-export-types-{png,pdf,csv}-common` are shared common
packages with type declarations and constants

**Other changes**
 - Remove `reporting.getScreenshots()`
 - Remove duplicated `schema_utils.ts`
 - Consolidate `JOB_STATUS` declaration as an enum

<img width="1063" alt="image"
src="bced8321-93c5-4ebd-b31e-1fd946166241">

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
2023-11-15 10:48:00 -07:00
..
alerting_example async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
embedded_lens_example [Lens playground] Removes deprecated eui components (#161437) 2023-07-07 16:01:55 +03:00
exploratory_view_example Removes duplicated RedirectAppLinks component (#170304) 2023-11-13 10:17:13 +01:00
gen_ai_streaming_response_example async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
reporting_example Reporting packages for export types (#162845) 2023-11-15 10:48:00 -07:00
screenshotting_example async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
testing_embedded_lens Changing where CodeEditor fields get useDarkMode value (#159638) 2023-07-11 14:02:42 -04:00
third_party_lens_navigation_prompt [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
third_party_maps_source_example [maps] remove IVectorSource.getFieldNames (#159747) 2023-06-27 11:36:43 -06:00
third_party_vis_lens_example async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
triggers_actions_ui_example [Security Solution] remove unnecessary showExpandToDetails property (#168048) 2023-10-24 16:49:25 -05:00
ui_actions_enhanced_examples Update usage of deprecated EUI components in SharedUx plugins (#163560) 2023-08-14 06:36:38 -07:00
README.md Example plugins in X-Pack (#63823) 2020-04-17 20:15:36 +02:00

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