@backstage/plugin-catalog-unprocessed-entities 0.2.23 → 0.2.24-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-unprocessed-entities
|
|
2
2
|
|
|
3
|
+
## 0.2.24-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d02db50: Remove unnecessary use of `compatWrapper` and `convertLegacyRouteRef`(s) for the new frontend system.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/frontend-plugin-api@0.13.2-next.0
|
|
10
|
+
- @backstage/core-plugin-api@1.12.1-next.0
|
|
11
|
+
- @backstage/core-components@0.18.4-next.0
|
|
12
|
+
- @backstage/catalog-model@1.7.6
|
|
13
|
+
- @backstage/errors@1.2.7
|
|
14
|
+
|
|
3
15
|
## 0.2.23
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/alpha/plugin.esm.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { ApiBlueprint, fetchApiRef, discoveryApiRef, PageBlueprint, NavItemBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
|
3
3
|
import { CatalogUnprocessedEntitiesClient, catalogUnprocessedEntitiesApiRef } from '../api/index.esm.js';
|
|
4
|
-
import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
|
|
5
4
|
import QueueIcon from '@material-ui/icons/Queue';
|
|
6
5
|
import { rootRouteRef } from '../routes.esm.js';
|
|
7
6
|
|
|
@@ -18,16 +17,14 @@ const catalogUnprocessedEntitiesApi = ApiBlueprint.make({
|
|
|
18
17
|
const catalogUnprocessedEntitiesPage = PageBlueprint.make({
|
|
19
18
|
params: {
|
|
20
19
|
path: "/catalog-unprocessed-entities",
|
|
21
|
-
routeRef:
|
|
22
|
-
loader: () => import('../components/UnprocessedEntities.esm.js').then(
|
|
23
|
-
(m) => compatWrapper(/* @__PURE__ */ jsx(m.UnprocessedEntities, {}))
|
|
24
|
-
)
|
|
20
|
+
routeRef: rootRouteRef,
|
|
21
|
+
loader: () => import('../components/UnprocessedEntities.esm.js').then((m) => /* @__PURE__ */ jsx(m.UnprocessedEntities, {}))
|
|
25
22
|
}
|
|
26
23
|
});
|
|
27
24
|
const catalogUnprocessedEntitiesNavItem = NavItemBlueprint.make({
|
|
28
25
|
params: {
|
|
29
26
|
title: "Unprocessed Entities",
|
|
30
|
-
routeRef:
|
|
27
|
+
routeRef: rootRouteRef,
|
|
31
28
|
icon: QueueIcon
|
|
32
29
|
}
|
|
33
30
|
});
|
|
@@ -35,7 +32,7 @@ var plugin = createFrontendPlugin({
|
|
|
35
32
|
pluginId: "catalog-unprocessed-entities",
|
|
36
33
|
info: { packageJson: () => import('../package.json.esm.js') },
|
|
37
34
|
routes: {
|
|
38
|
-
root:
|
|
35
|
+
root: rootRouteRef
|
|
39
36
|
},
|
|
40
37
|
extensions: [
|
|
41
38
|
catalogUnprocessedEntitiesApi,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createFrontendPlugin,\n discoveryApiRef,\n fetchApiRef,\n ApiBlueprint,\n PageBlueprint,\n NavItemBlueprint,\n} from '@backstage/frontend-plugin-api';\n\nimport {\n catalogUnprocessedEntitiesApiRef,\n CatalogUnprocessedEntitiesClient,\n} from '../api';\nimport
|
|
1
|
+
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createFrontendPlugin,\n discoveryApiRef,\n fetchApiRef,\n ApiBlueprint,\n PageBlueprint,\n NavItemBlueprint,\n} from '@backstage/frontend-plugin-api';\n\nimport {\n catalogUnprocessedEntitiesApiRef,\n CatalogUnprocessedEntitiesClient,\n} from '../api';\nimport QueueIcon from '@material-ui/icons/Queue';\nimport { rootRouteRef } from '../routes';\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: catalogUnprocessedEntitiesApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n },\n factory: ({ discoveryApi, fetchApi }) =>\n new CatalogUnprocessedEntitiesClient(discoveryApi, fetchApi),\n }),\n});\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesPage = PageBlueprint.make({\n params: {\n path: '/catalog-unprocessed-entities',\n routeRef: rootRouteRef,\n loader: () =>\n import('../components/UnprocessedEntities').then(m => (\n <m.UnprocessedEntities />\n )),\n },\n});\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesNavItem = NavItemBlueprint.make({\n params: {\n title: 'Unprocessed Entities',\n routeRef: rootRouteRef,\n icon: QueueIcon,\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'catalog-unprocessed-entities',\n info: { packageJson: () => import('../../package.json') },\n routes: {\n root: rootRouteRef,\n },\n extensions: [\n catalogUnprocessedEntitiesApi,\n catalogUnprocessedEntitiesPage,\n catalogUnprocessedEntitiesNavItem,\n ],\n});\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,6BAAA,GAAgC,aAAa,IAAA,CAAK;AAAA,EAC7D,MAAA,EAAQ,kBACN,YAAA,CAAa;AAAA,IACX,GAAA,EAAK,gCAAA;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,YAAA,EAAc,eAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,UAAS,KACjC,IAAI,gCAAA,CAAiC,YAAA,EAAc,QAAQ;AAAA,GAC9D;AACL,CAAC;AAGM,MAAM,8BAAA,GAAiC,cAAc,IAAA,CAAK;AAAA,EAC/D,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,+BAAA;AAAA,IACN,QAAA,EAAU,YAAA;AAAA,IACV,MAAA,EAAQ,MACN,OAAO,0CAAmC,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,qBAC/C,GAAA,CAAC,CAAA,CAAE,mBAAA,EAAF,EAAsB,CACxB;AAAA;AAEP,CAAC;AAGM,MAAM,iCAAA,GAAoC,iBAAiB,IAAA,CAAK;AAAA,EACrE,MAAA,EAAQ;AAAA,IACN,KAAA,EAAO,sBAAA;AAAA,IACP,QAAA,EAAU,YAAA;AAAA,IACV,IAAA,EAAM;AAAA;AAEV,CAAC;AAGD,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,8BAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,wBAAoB,CAAA,EAAE;AAAA,EACxD,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM;AAAA,GACR;AAAA,EACA,UAAA,EAAY;AAAA,IACV,6BAAA;AAAA,IACA,8BAAA;AAAA,IACA;AAAA;AAEJ,CAAC,CAAA;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api'
|
|
|
4
4
|
|
|
5
5
|
/** @alpha */
|
|
6
6
|
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
|
|
7
|
-
root:
|
|
7
|
+
root: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
8
8
|
}, {}, {
|
|
9
9
|
"api:catalog-unprocessed-entities": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
10
10
|
kind: "api";
|
|
@@ -22,13 +22,13 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
22
22
|
configInput: {};
|
|
23
23
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
24
24
|
title: string;
|
|
25
|
-
icon:
|
|
25
|
+
icon: _backstage_frontend_plugin_api.IconComponent;
|
|
26
26
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
27
27
|
}, "core.nav-item.target", {}>;
|
|
28
28
|
inputs: {};
|
|
29
29
|
params: {
|
|
30
30
|
title: string;
|
|
31
|
-
icon:
|
|
31
|
+
icon: _backstage_frontend_plugin_api.IconComponent;
|
|
32
32
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
33
33
|
};
|
|
34
34
|
}>;
|
package/dist/package.json.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-catalog-unprocessed-entities";
|
|
2
|
-
var version = "0.2.
|
|
2
|
+
var version = "0.2.24-next.0";
|
|
3
3
|
var backstage = {
|
|
4
4
|
role: "frontend-plugin",
|
|
5
5
|
pluginId: "catalog-unprocessed-entities",
|
|
@@ -50,7 +50,6 @@ var scripts = {
|
|
|
50
50
|
};
|
|
51
51
|
var dependencies = {
|
|
52
52
|
"@backstage/catalog-model": "workspace:^",
|
|
53
|
-
"@backstage/core-compat-api": "workspace:^",
|
|
54
53
|
"@backstage/core-components": "workspace:^",
|
|
55
54
|
"@backstage/core-plugin-api": "workspace:^",
|
|
56
55
|
"@backstage/errors": "workspace:^",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-unprocessed-entities",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24-next.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "catalog-unprocessed-entities",
|
|
@@ -62,12 +62,11 @@
|
|
|
62
62
|
"test": "backstage-cli package test"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@backstage/catalog-model": "
|
|
66
|
-
"@backstage/core-
|
|
67
|
-
"@backstage/core-
|
|
68
|
-
"@backstage/
|
|
69
|
-
"@backstage/
|
|
70
|
-
"@backstage/frontend-plugin-api": "^0.13.0",
|
|
65
|
+
"@backstage/catalog-model": "1.7.6",
|
|
66
|
+
"@backstage/core-components": "0.18.4-next.0",
|
|
67
|
+
"@backstage/core-plugin-api": "1.12.1-next.0",
|
|
68
|
+
"@backstage/errors": "1.2.7",
|
|
69
|
+
"@backstage/frontend-plugin-api": "0.13.2-next.0",
|
|
71
70
|
"@material-ui/core": "^4.9.13",
|
|
72
71
|
"@material-ui/icons": "^4.9.1",
|
|
73
72
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
@@ -75,8 +74,8 @@
|
|
|
75
74
|
"react-use": "^17.2.4"
|
|
76
75
|
},
|
|
77
76
|
"devDependencies": {
|
|
78
|
-
"@backstage/cli": "
|
|
79
|
-
"@backstage/dev-utils": "
|
|
77
|
+
"@backstage/cli": "0.34.6-next.0",
|
|
78
|
+
"@backstage/dev-utils": "1.1.18-next.0",
|
|
80
79
|
"@testing-library/jest-dom": "^6.0.0",
|
|
81
80
|
"@testing-library/react": "^16.0.0",
|
|
82
81
|
"@types/react": "^18.0.0",
|