@backstage/plugin-catalog-react 0.0.0-nightly-20250410023923 → 0.0.0-nightly-20250411121135
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,6 +1,6 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20250411121135
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -50,16 +50,17 @@
|
|
|
50
50
|
|
|
51
51
|
<https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html>
|
|
52
52
|
|
|
53
|
+
- 3f7e4f1: Added a new `overview` entity content group for the new frontend system.
|
|
53
54
|
- 186d016: Add `operation` to alpha `defaultEntityContentGroups`.
|
|
54
55
|
- 221ddba: Fix offset pagination to reset when updating filters in `useEntityList`
|
|
55
56
|
- Updated dependencies
|
|
56
|
-
- @backstage/frontend-plugin-api@0.0.0-nightly-
|
|
57
|
-
- @backstage/frontend-test-utils@0.0.0-nightly-
|
|
58
|
-
- @backstage/integration-react@0.0.0-nightly-
|
|
59
|
-
- @backstage/core-compat-api@0.0.0-nightly-
|
|
60
|
-
- @backstage/core-components@0.0.0-nightly-
|
|
61
|
-
- @backstage/core-plugin-api@0.0.0-nightly-
|
|
62
|
-
- @backstage/plugin-permission-react@0.0.0-nightly-
|
|
57
|
+
- @backstage/frontend-plugin-api@0.0.0-nightly-20250411121135
|
|
58
|
+
- @backstage/frontend-test-utils@0.0.0-nightly-20250411121135
|
|
59
|
+
- @backstage/integration-react@0.0.0-nightly-20250411121135
|
|
60
|
+
- @backstage/core-compat-api@0.0.0-nightly-20250411121135
|
|
61
|
+
- @backstage/core-components@0.0.0-nightly-20250411121135
|
|
62
|
+
- @backstage/core-plugin-api@0.0.0-nightly-20250411121135
|
|
63
|
+
- @backstage/plugin-permission-react@0.0.0-nightly-20250411121135
|
|
63
64
|
- @backstage/catalog-client@1.9.1
|
|
64
65
|
- @backstage/catalog-model@1.7.3
|
|
65
66
|
- @backstage/errors@1.2.7
|
|
@@ -8,6 +8,7 @@ const entityFilterExpressionDataRef = createExtensionDataRef().with({
|
|
|
8
8
|
id: "catalog.entity-filter-expression"
|
|
9
9
|
});
|
|
10
10
|
const defaultEntityContentGroups = {
|
|
11
|
+
overview: "Overview",
|
|
11
12
|
documentation: "Documentation",
|
|
12
13
|
development: "Development",
|
|
13
14
|
deployment: "Deployment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensionData.esm.js","sources":["../../../src/alpha/blueprints/extensionData.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 { Entity } from '@backstage/catalog-model';\nimport { createExtensionDataRef } from '@backstage/frontend-plugin-api';\n\n/** @internal */\nexport const entityContentTitleDataRef = createExtensionDataRef<string>().with({\n id: 'catalog.entity-content-title',\n});\n\n/** @internal */\nexport const entityFilterFunctionDataRef = createExtensionDataRef<\n (entity: Entity) => boolean\n>().with({ id: 'catalog.entity-filter-function' });\n\n/** @internal */\nexport const entityFilterExpressionDataRef =\n createExtensionDataRef<string>().with({\n id: 'catalog.entity-filter-expression',\n });\n\n/**\n * @alpha\n * Default entity content groups.\n */\nexport const defaultEntityContentGroups = {\n documentation: 'Documentation',\n development: 'Development',\n deployment: 'Deployment',\n operation: 'Operation',\n observability: 'Observability',\n};\n\n/** @internal */\nexport const entityContentGroupDataRef = createExtensionDataRef<string>().with({\n id: 'catalog.entity-content-group',\n});\n\n/**\n * @internal\n * Available entity card types\n */\nexport const entityCardTypes = [\n 'summary',\n 'info',\n 'content',\n] as const satisfies readonly EntityCardType[];\n\n/** @alpha */\nexport type EntityCardType = 'summary' | 'info' | 'content';\n\n/** @internal */\nexport const entityCardTypeDataRef =\n createExtensionDataRef<EntityCardType>().with({\n id: 'catalog.entity-card-type',\n });\n"],"names":[],"mappings":";;AAoBa,MAAA,yBAAA,GAA4B,sBAA+B,EAAA,CAAE,IAAK,CAAA;AAAA,EAC7E,EAAI,EAAA;AACN,CAAC;AAGM,MAAM,8BAA8B,sBAEzC,EAAA,CAAE,KAAK,EAAE,EAAA,EAAI,kCAAkC;AAGpC,MAAA,6BAAA,GACX,sBAA+B,EAAA,CAAE,IAAK,CAAA;AAAA,EACpC,EAAI,EAAA;AACN,CAAC;AAMI,MAAM,0BAA6B,GAAA;AAAA,EACxC,aAAe,EAAA,eAAA;AAAA,EACf,WAAa,EAAA,aAAA;AAAA,EACb,UAAY,EAAA,YAAA;AAAA,EACZ,SAAW,EAAA,WAAA;AAAA,EACX,aAAe,EAAA;AACjB;AAGa,MAAA,yBAAA,GAA4B,sBAA+B,EAAA,CAAE,IAAK,CAAA;AAAA,EAC7E,EAAI,EAAA;AACN,CAAC;AAMM,MAAM,eAAkB,GAAA;AAAA,EAC7B,SAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF;AAMa,MAAA,qBAAA,GACX,sBAAuC,EAAA,CAAE,IAAK,CAAA;AAAA,EAC5C,EAAI,EAAA;AACN,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"extensionData.esm.js","sources":["../../../src/alpha/blueprints/extensionData.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 { Entity } from '@backstage/catalog-model';\nimport { createExtensionDataRef } from '@backstage/frontend-plugin-api';\n\n/** @internal */\nexport const entityContentTitleDataRef = createExtensionDataRef<string>().with({\n id: 'catalog.entity-content-title',\n});\n\n/** @internal */\nexport const entityFilterFunctionDataRef = createExtensionDataRef<\n (entity: Entity) => boolean\n>().with({ id: 'catalog.entity-filter-function' });\n\n/** @internal */\nexport const entityFilterExpressionDataRef =\n createExtensionDataRef<string>().with({\n id: 'catalog.entity-filter-expression',\n });\n\n/**\n * @alpha\n * Default entity content groups.\n */\nexport const defaultEntityContentGroups = {\n overview: 'Overview',\n documentation: 'Documentation',\n development: 'Development',\n deployment: 'Deployment',\n operation: 'Operation',\n observability: 'Observability',\n};\n\n/** @internal */\nexport const entityContentGroupDataRef = createExtensionDataRef<string>().with({\n id: 'catalog.entity-content-group',\n});\n\n/**\n * @internal\n * Available entity card types\n */\nexport const entityCardTypes = [\n 'summary',\n 'info',\n 'content',\n] as const satisfies readonly EntityCardType[];\n\n/** @alpha */\nexport type EntityCardType = 'summary' | 'info' | 'content';\n\n/** @internal */\nexport const entityCardTypeDataRef =\n createExtensionDataRef<EntityCardType>().with({\n id: 'catalog.entity-card-type',\n });\n"],"names":[],"mappings":";;AAoBa,MAAA,yBAAA,GAA4B,sBAA+B,EAAA,CAAE,IAAK,CAAA;AAAA,EAC7E,EAAI,EAAA;AACN,CAAC;AAGM,MAAM,8BAA8B,sBAEzC,EAAA,CAAE,KAAK,EAAE,EAAA,EAAI,kCAAkC;AAGpC,MAAA,6BAAA,GACX,sBAA+B,EAAA,CAAE,IAAK,CAAA;AAAA,EACpC,EAAI,EAAA;AACN,CAAC;AAMI,MAAM,0BAA6B,GAAA;AAAA,EACxC,QAAU,EAAA,UAAA;AAAA,EACV,aAAe,EAAA,eAAA;AAAA,EACf,WAAa,EAAA,aAAA;AAAA,EACb,UAAY,EAAA,YAAA;AAAA,EACZ,SAAW,EAAA,WAAA;AAAA,EACX,aAAe,EAAA;AACjB;AAGa,MAAA,yBAAA,GAA4B,sBAA+B,EAAA,CAAE,IAAK,CAAA;AAAA,EAC7E,EAAI,EAAA;AACN,CAAC;AAMM,MAAM,eAAkB,GAAA;AAAA,EAC7B,SAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF;AAMa,MAAA,qBAAA,GACX,sBAAuC,EAAA,CAAE,IAAK,CAAA;AAAA,EAC5C,EAAI,EAAA;AACN,CAAC;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ declare const CatalogFilterBlueprint: _backstage_frontend_plugin_api.ExtensionBl
|
|
|
40
40
|
* Default entity content groups.
|
|
41
41
|
*/
|
|
42
42
|
declare const defaultEntityContentGroups: {
|
|
43
|
+
overview: string;
|
|
43
44
|
documentation: string;
|
|
44
45
|
development: string;
|
|
45
46
|
deployment: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-react",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250411121135",
|
|
4
4
|
"description": "A frontend library that helps other Backstage plugins interact with the catalog",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "web-library",
|
|
@@ -75,16 +75,16 @@
|
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@backstage/catalog-client": "1.9.1",
|
|
77
77
|
"@backstage/catalog-model": "1.7.3",
|
|
78
|
-
"@backstage/core-compat-api": "0.0.0-nightly-
|
|
79
|
-
"@backstage/core-components": "0.0.0-nightly-
|
|
80
|
-
"@backstage/core-plugin-api": "0.0.0-nightly-
|
|
78
|
+
"@backstage/core-compat-api": "0.0.0-nightly-20250411121135",
|
|
79
|
+
"@backstage/core-components": "0.0.0-nightly-20250411121135",
|
|
80
|
+
"@backstage/core-plugin-api": "0.0.0-nightly-20250411121135",
|
|
81
81
|
"@backstage/errors": "1.2.7",
|
|
82
|
-
"@backstage/frontend-plugin-api": "0.0.0-nightly-
|
|
83
|
-
"@backstage/frontend-test-utils": "0.0.0-nightly-
|
|
84
|
-
"@backstage/integration-react": "0.0.0-nightly-
|
|
82
|
+
"@backstage/frontend-plugin-api": "0.0.0-nightly-20250411121135",
|
|
83
|
+
"@backstage/frontend-test-utils": "0.0.0-nightly-20250411121135",
|
|
84
|
+
"@backstage/integration-react": "0.0.0-nightly-20250411121135",
|
|
85
85
|
"@backstage/plugin-catalog-common": "1.1.3",
|
|
86
86
|
"@backstage/plugin-permission-common": "0.8.4",
|
|
87
|
-
"@backstage/plugin-permission-react": "0.0.0-nightly-
|
|
87
|
+
"@backstage/plugin-permission-react": "0.0.0-nightly-20250411121135",
|
|
88
88
|
"@backstage/types": "1.2.1",
|
|
89
89
|
"@backstage/version-bridge": "1.0.11",
|
|
90
90
|
"@material-ui/core": "^4.12.2",
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
"zen-observable": "^0.10.0"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@backstage/cli": "0.0.0-nightly-
|
|
104
|
-
"@backstage/core-app-api": "0.0.0-nightly-
|
|
103
|
+
"@backstage/cli": "0.0.0-nightly-20250411121135",
|
|
104
|
+
"@backstage/core-app-api": "0.0.0-nightly-20250411121135",
|
|
105
105
|
"@backstage/plugin-catalog-common": "1.1.3",
|
|
106
106
|
"@backstage/plugin-scaffolder-common": "1.5.10",
|
|
107
|
-
"@backstage/test-utils": "0.0.0-nightly-
|
|
107
|
+
"@backstage/test-utils": "0.0.0-nightly-20250411121135",
|
|
108
108
|
"@testing-library/dom": "^10.0.0",
|
|
109
109
|
"@testing-library/jest-dom": "^6.0.0",
|
|
110
110
|
"@testing-library/react": "^16.0.0",
|