Move saved objects helper to new platform #56954
Labels
Feature:NP Migration
Feature:Saved Objects
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
There are some helpers around saved objects currently located in
src/legacy/ui/public/saved_objects/saved_object_loader.ts
andsrc/legacy/ui/public/saved_objects/saved_object.ts
.Those together with the helper utilities in
src/legacy/ui/public/saved_objects/helpers
should get moved into the newly createdsaved_objects
NP plugin. ThecreateSavedObjectClass
helper andSavedObjectLoader
class should be exposed as static exports from the top level of the plugin. All consumers should switch to the new location directly (no proxying via re-export file still in ui/public).The tests located in
src/legacy/ui/public/saved_objects/__tests__
should get converted also moved over in the same step. The test forSimpleSavedObject
can be moved into core (the implementation is already located there).The text was updated successfully, but these errors were encountered: