[catalog-unprocessed-entities] Move types and clients from frontend to common plugin

Moved some types, as well as the API and client definitions to the common package.
The original types, client and interface are now re-exported from the common package instead.

This allows not only frontend plugins, but also backend ones, to use this client
if needed. Until now, and since the types and all definitions were stored in the
frontend plugin, the only way to implement such feature was to copy the code
in the project. It would make much more sense to make this exportable from the
plugin itself and let people use this plugin if needed.

I made this change a patch, since all types have been initially deprecated and
a mention to the new location has been added.

Signed-off-by: ivangonzalezacuna <ivangonzalezacuna@gmail.com>
This commit is contained in:
ivangonzalezacuna
2025-11-05 13:32:41 +01:00
parent e512dfd1e5
commit df4d64609e
12 changed files with 355 additions and 128 deletions
+3 -1
View File
@@ -5289,7 +5289,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@backstage/plugin-catalog-unprocessed-entities-common@workspace:plugins/catalog-unprocessed-entities-common"
dependencies:
"@backstage/catalog-model": "workspace:^"
"@backstage/cli": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/plugin-permission-common": "workspace:^"
languageName: unknown
linkType: soft
@@ -5298,13 +5300,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@backstage/plugin-catalog-unprocessed-entities@workspace:plugins/catalog-unprocessed-entities"
dependencies:
"@backstage/catalog-model": "workspace:^"
"@backstage/cli": "workspace:^"
"@backstage/core-components": "workspace:^"
"@backstage/core-plugin-api": "workspace:^"
"@backstage/dev-utils": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/frontend-plugin-api": "workspace:^"
"@backstage/plugin-catalog-unprocessed-entities-common": "workspace:^"
"@material-ui/core": "npm:^4.9.13"
"@material-ui/icons": "npm:^4.9.1"
"@material-ui/lab": "npm:^4.0.0-alpha.60"