kibana/packages/core/saved-objects/core-saved-objects-browser-internal
Jean-Louis Leysens bbf19cab6e
[Saved Objects] Browser-side client deprecation notice (#148979)
## Summary

In the near future we will remove Saved Object (SO) HTTP APIs. This PR
deprecates all browser-side SO types and interfaces.

General comments on the approach taken here:

* Add a deprecation notice that links to a GitHub issue that can be
referenced by all teams
* Do not break existing imports/exports
* Mocks are also an indication of SO browser-side use, added deprecation
notices
* Some common types must also be deprecated, some may remain. For those
to be removed they are moved to a separate file, with a deprecated
type-alias re-exported

## Notes to reviewers

* Easiest way to get an overview of the changes is to have the file-tree
open in the "Files changed" view
* Are there any other ways browser-side code can get knowledge of Saved
Objects?
* Please go through some client code and test that the DX is working as
expected (the GitHub issue is discoverable)

## Related
* https://github.com/elastic/kibana/issues/147150
* https://github.com/elastic/dev/issues/2194

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-18 04:03:23 -07:00
..
src [Saved Objects] Browser-side client deprecation notice (#148979) 2023-01-18 04:03:23 -07:00
index.ts chore(NA): remove src folder requirement from packages (part 2) (#138476) 2022-08-30 15:57:35 +01:00
jest.config.js Migrate core's browser-side saved objects service to packages (#137921) 2022-08-03 10:08:07 -07:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md Migrate core's browser-side saved objects service to packages (#137921) 2022-08-03 10:08:07 -07:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00

@kbn/core-saved-objects-browser-internal

This package contains the implementation, internal types and tests for Core's browser-side saved objects service.

Note: the types related to the savedObjects client and repository APIs can be found in the @kbn/core-saved-objects-api-browser package.