@backstage/plugin-catalog 1.25.0 → 1.25.2-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,26 @@
1
1
  # @backstage/plugin-catalog
2
2
 
3
+ ## 1.25.2-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-scaffolder-common@1.5.8-next.0
9
+ - @backstage/plugin-search-react@1.8.4-next.0
10
+ - @backstage/plugin-catalog-react@1.14.3-next.0
11
+ - @backstage/frontend-plugin-api@0.9.3-next.0
12
+ - @backstage/catalog-client@1.8.1-next.0
13
+ - @backstage/catalog-model@1.7.1
14
+ - @backstage/core-compat-api@0.3.4-next.0
15
+ - @backstage/core-components@0.16.2-next.0
16
+ - @backstage/core-plugin-api@1.10.1
17
+ - @backstage/errors@1.2.5
18
+ - @backstage/integration-react@1.2.2-next.0
19
+ - @backstage/types@1.2.0
20
+ - @backstage/plugin-catalog-common@1.1.1
21
+ - @backstage/plugin-permission-react@0.4.28
22
+ - @backstage/plugin-search-common@1.2.15
23
+
3
24
  ## 1.25.0
4
25
 
5
26
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import { createApiFactory, fetchApiRef, discoveryApiRef, storageApiRef } from '@backstage/core-plugin-api';
1
+ import { createApiFactory, discoveryApiRef, fetchApiRef, storageApiRef } from '@backstage/core-plugin-api';
2
2
  import { CatalogClient } from '@backstage/catalog-client';
3
3
  import { ApiBlueprint } from '@backstage/frontend-plugin-api';
4
4
  import { catalogApiRef, starredEntitiesApiRef, entityPresentationApiRef } from '@backstage/plugin-catalog-react';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { coreExtensionData, createExtensionInput } from '@backstage/frontend-plugin-api';
2
+ import { createExtensionInput, coreExtensionData } from '@backstage/frontend-plugin-api';
3
3
  import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
4
4
 
5
5
  const catalogOverviewEntityContent = EntityContentBlueprint.makeWithOverrides({
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { compatWrapper, convertLegacyRouteRef } from '@backstage/core-compat-api';
3
- import { PageBlueprint, coreExtensionData, createExtensionInput } from '@backstage/frontend-plugin-api';
4
- import { AsyncEntityProvider, entityRouteRef } from '@backstage/plugin-catalog-react';
2
+ import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
3
+ import { PageBlueprint, createExtensionInput, coreExtensionData } from '@backstage/frontend-plugin-api';
4
+ import { entityRouteRef, AsyncEntityProvider } from '@backstage/plugin-catalog-react';
5
5
  import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
6
6
  import { rootRouteRef } from '../routes.esm.js';
7
7
  import { useEntityFromUrl } from '../components/CatalogEntityPage/useEntityFromUrl.esm.js';
@@ -1,7 +1,7 @@
1
1
  import { convertLegacyRouteRefs } from '@backstage/core-compat-api';
2
2
  import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
3
  import { entityRouteRef } from '@backstage/plugin-catalog-react';
4
- import { unregisterRedirectRouteRef, createFromTemplateRouteRef, createComponentRouteRef, viewTechDocRouteRef, rootRouteRef } from '../routes.esm.js';
4
+ import { rootRouteRef, viewTechDocRouteRef, createComponentRouteRef, createFromTemplateRouteRef, unregisterRedirectRouteRef } from '../routes.esm.js';
5
5
  import apis from './apis.esm.js';
6
6
  import pages from './pages.esm.js';
7
7
  import filters from './filters.esm.js';
package/dist/alpha.d.ts CHANGED
@@ -27,17 +27,6 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
27
27
  }>;
28
28
  unregisterRedirect: _backstage_frontend_plugin_api.ExternalRouteRef<undefined>;
29
29
  }, {
30
- "api:catalog": _backstage_frontend_plugin_api.ExtensionDefinition<{
31
- kind: "api";
32
- name: undefined;
33
- config: {};
34
- configInput: {};
35
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
36
- inputs: {};
37
- params: {
38
- factory: _backstage_frontend_plugin_api.AnyApiFactory;
39
- };
40
- }>;
41
30
  "nav-item:catalog": _backstage_frontend_plugin_api.ExtensionDefinition<{
42
31
  kind: "nav-item";
43
32
  name: undefined;
@@ -55,6 +44,17 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
55
44
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
56
45
  };
57
46
  }>;
47
+ "api:catalog": _backstage_frontend_plugin_api.ExtensionDefinition<{
48
+ kind: "api";
49
+ name: undefined;
50
+ config: {};
51
+ configInput: {};
52
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
53
+ inputs: {};
54
+ params: {
55
+ factory: _backstage_frontend_plugin_api.AnyApiFactory;
56
+ };
57
+ }>;
58
58
  "api:catalog/starred-entities": _backstage_frontend_plugin_api.ExtensionDefinition<{
59
59
  kind: "api";
60
60
  name: "starred-entities";
@@ -5,7 +5,7 @@ import CardHeader from '@material-ui/core/CardHeader';
5
5
  import Divider from '@material-ui/core/Divider';
6
6
  import IconButton from '@material-ui/core/IconButton';
7
7
  import { makeStyles } from '@material-ui/core/styles';
8
- import { HeaderIconLinkRow, Link, AppIcon } from '@backstage/core-components';
8
+ import { Link, AppIcon, HeaderIconLinkRow } from '@backstage/core-components';
9
9
  import React, { useCallback } from 'react';
10
10
  import { scmIntegrationsApiRef, ScmIntegrationIcon } from '@backstage/integration-react';
11
11
  import { useApp, useApi, alertApiRef, errorApiRef, useRouteRef } from '@backstage/core-plugin-api';
@@ -1,5 +1,5 @@
1
1
  import { RELATION_PART_OF, RELATION_OWNED_BY, stringifyEntityRef, ANNOTATION_VIEW_URL, ANNOTATION_EDIT_URL } from '@backstage/catalog-model';
2
- import { WarningPanel, CodeSnippet, FavoriteToggleIcon, Table } from '@backstage/core-components';
2
+ import { WarningPanel, CodeSnippet, Table, FavoriteToggleIcon } from '@backstage/core-components';
3
3
  import { useStarredEntities, useEntityList, getEntityRelations, humanizeEntityRef } from '@backstage/plugin-catalog-react';
4
4
  import Typography from '@material-ui/core/Typography';
5
5
  import { visuallyHidden } from '@mui/utils';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { EntityRefLinks, EntityRefLink, humanizeEntityRef } from '@backstage/plugin-catalog-react';
2
+ import { EntityRefLink, EntityRefLinks, humanizeEntityRef } from '@backstage/plugin-catalog-react';
3
3
  import Chip from '@material-ui/core/Chip';
4
4
  import { OverflowTooltip } from '@backstage/core-components';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_DEPENDENCY_OF } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { componentEntityColumns, asComponentEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, componentEntityHelpLink, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_DEPENDS_ON } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { componentEntityColumns, asComponentEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, componentEntityHelpLink, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_DEPENDS_ON } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { resourceEntityColumns, asResourceEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { resourceEntityColumns, componentEntityHelpLink, asResourceEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,8 +1,8 @@
1
1
  import { DEFAULT_NAMESPACE, RELATION_OWNED_BY } from '@backstage/catalog-model';
2
- import { Page, Header, Breadcrumbs, HeaderLabel, Progress, RoutedTabs, Content, WarningPanel, Link } from '@backstage/core-components';
2
+ import { Page, Header, Breadcrumbs, Progress, RoutedTabs, Content, WarningPanel, Link, HeaderLabel } from '@backstage/core-components';
3
3
  import { attachComponentData, useRouteRefParams, useElementFilter, useRouteRef, useApi } from '@backstage/core-plugin-api';
4
4
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
5
- import { entityRouteRef, useAsyncEntity, catalogApiRef, EntityRefLink, EntityDisplayName, FavoriteEntity, getEntityRelations, EntityRefLinks, UnregisterEntityDialog, InspectEntityDialog } from '@backstage/plugin-catalog-react';
5
+ import { entityRouteRef, useAsyncEntity, catalogApiRef, EntityRefLink, UnregisterEntityDialog, InspectEntityDialog, EntityDisplayName, FavoriteEntity, getEntityRelations, EntityRefLinks } from '@backstage/plugin-catalog-react';
6
6
  import Box from '@material-ui/core/Box';
7
7
  import { makeStyles } from '@material-ui/core/styles';
8
8
  import Alert from '@material-ui/lab/Alert';
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { componentEntityColumns, asComponentEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, componentEntityHelpLink, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { resourceEntityColumns, resourceEntityHelpLink, asResourceEntities } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { resourceEntityColumns, asResourceEntities, resourceEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { asComponentEntities, componentEntityColumns } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { systemEntityColumns, systemEntityHelpLink, asSystemEntities } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { systemEntityColumns, asSystemEntities, systemEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import { Entity, CompoundEntityRef, ComponentEntity, ResourceEntity, SystemEntity } from '@backstage/catalog-model';
3
3
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
4
  import { IconComponent, StorageApi, ApiHolder } from '@backstage/core-plugin-api';
5
- import { EntityPresentationApi, CatalogApi, EntityRefPresentationSnapshot, EntityRefPresentation, StarredEntitiesApi, EntityListContextProps, UserListFilterKind, EntityOwnerPickerProps, EntityListPagination } from '@backstage/plugin-catalog-react';
5
+ import { EntityRefPresentationSnapshot, CatalogApi, EntityPresentationApi, EntityRefPresentation, StarredEntitiesApi, EntityListContextProps, UserListFilterKind, EntityOwnerPickerProps, EntityListPagination } from '@backstage/plugin-catalog-react';
6
6
  import { HumanDuration, Observable } from '@backstage/types';
7
7
  import { InfoCardVariants, TableColumn, TableProps, TableOptions } from '@backstage/core-components';
8
8
  import * as React$1 from 'react';
@@ -1,7 +1,7 @@
1
1
  import { CatalogClient } from '@backstage/catalog-client';
2
- import { entityRouteRef, catalogApiRef, starredEntitiesApiRef, entityPresentationApiRef } from '@backstage/plugin-catalog-react';
3
- import { unregisterRedirectRouteRef, createFromTemplateRouteRef, viewTechDocRouteRef, createComponentRouteRef, rootRouteRef } from './routes.esm.js';
4
- import { createPlugin, createApiFactory, fetchApiRef, discoveryApiRef, storageApiRef, createRoutableExtension, createComponentExtension } from '@backstage/core-plugin-api';
2
+ import { catalogApiRef, starredEntitiesApiRef, entityPresentationApiRef, entityRouteRef } from '@backstage/plugin-catalog-react';
3
+ import { rootRouteRef, createComponentRouteRef, viewTechDocRouteRef, createFromTemplateRouteRef, unregisterRedirectRouteRef } from './routes.esm.js';
4
+ import { createPlugin, createApiFactory, discoveryApiRef, fetchApiRef, storageApiRef, createRoutableExtension, createComponentExtension } from '@backstage/core-plugin-api';
5
5
  import { createSearchResultListItemExtension } from '@backstage/plugin-search-react';
6
6
  import { DefaultEntityPresentationApi } from './apis/EntityPresentationApi/DefaultEntityPresentationApi.esm.js';
7
7
  import { DefaultStarredEntitiesApi } from './apis/StarredEntitiesApi/DefaultStarredEntitiesApi.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog",
3
- "version": "1.25.0",
3
+ "version": "1.25.2-next.0",
4
4
  "description": "The Backstage plugin for browsing the Backstage catalog",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -67,21 +67,21 @@
67
67
  "test": "backstage-cli package test"
68
68
  },
69
69
  "dependencies": {
70
- "@backstage/catalog-client": "^1.8.0",
71
- "@backstage/catalog-model": "^1.7.1",
72
- "@backstage/core-compat-api": "^0.3.2",
73
- "@backstage/core-components": "^0.16.0",
74
- "@backstage/core-plugin-api": "^1.10.1",
75
- "@backstage/errors": "^1.2.5",
76
- "@backstage/frontend-plugin-api": "^0.9.1",
77
- "@backstage/integration-react": "^1.2.1",
78
- "@backstage/plugin-catalog-common": "^1.1.1",
79
- "@backstage/plugin-catalog-react": "^1.14.1",
80
- "@backstage/plugin-permission-react": "^0.4.28",
81
- "@backstage/plugin-scaffolder-common": "^1.5.7",
82
- "@backstage/plugin-search-common": "^1.2.15",
83
- "@backstage/plugin-search-react": "^1.8.2",
84
- "@backstage/types": "^1.2.0",
70
+ "@backstage/catalog-client": "1.8.1-next.0",
71
+ "@backstage/catalog-model": "1.7.1",
72
+ "@backstage/core-compat-api": "0.3.4-next.0",
73
+ "@backstage/core-components": "0.16.2-next.0",
74
+ "@backstage/core-plugin-api": "1.10.1",
75
+ "@backstage/errors": "1.2.5",
76
+ "@backstage/frontend-plugin-api": "0.9.3-next.0",
77
+ "@backstage/integration-react": "1.2.2-next.0",
78
+ "@backstage/plugin-catalog-common": "1.1.1",
79
+ "@backstage/plugin-catalog-react": "1.14.3-next.0",
80
+ "@backstage/plugin-permission-react": "0.4.28",
81
+ "@backstage/plugin-scaffolder-common": "1.5.8-next.0",
82
+ "@backstage/plugin-search-common": "1.2.15",
83
+ "@backstage/plugin-search-react": "1.8.4-next.0",
84
+ "@backstage/types": "1.2.0",
85
85
  "@material-ui/core": "^4.12.2",
86
86
  "@material-ui/icons": "^4.9.1",
87
87
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -95,12 +95,12 @@
95
95
  "zen-observable": "^0.10.0"
96
96
  },
97
97
  "devDependencies": {
98
- "@backstage/cli": "^0.29.0",
99
- "@backstage/core-app-api": "^1.15.2",
100
- "@backstage/dev-utils": "^1.1.3",
101
- "@backstage/frontend-test-utils": "^0.2.2",
102
- "@backstage/plugin-permission-common": "^0.8.2",
103
- "@backstage/test-utils": "^1.7.1",
98
+ "@backstage/cli": "0.29.3-next.0",
99
+ "@backstage/core-app-api": "1.15.3-next.0",
100
+ "@backstage/dev-utils": "1.1.5-next.0",
101
+ "@backstage/frontend-test-utils": "0.2.4-next.0",
102
+ "@backstage/plugin-permission-common": "0.8.2",
103
+ "@backstage/test-utils": "1.7.3-next.0",
104
104
  "@testing-library/dom": "^10.0.0",
105
105
  "@testing-library/jest-dom": "^6.0.0",
106
106
  "@testing-library/react": "^16.0.0",