forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reporting] Refactoring of ExportTypes (elastic#162276)
## Summary This PR refactors the getExportType() implementation in the reporting plugin. With these changes, export types are now classes that are registered into the export_types_registry in reporting core. Export Type Classes: - CsvSearchSourceExportType - CsvSearchSourceImmediateExportType (this is not registered but can be called by getCsvSearchSourceImmediate() in core.ts) - CsvV2ExportType - PngV1ExportType (deprecated) - PngExportType - PdfV1ExportType (deprecated) - PdfExportType ### Checklist - [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: Timothy Sullivan <tsullivan@elastic.co>
- Loading branch information
Showing
65 changed files
with
1,563 additions
and
1,754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.