@backstage/plugin-catalog-node 0.0.0-nightly-20260407031731 → 0.0.0-nightly-20260408031702
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 +39 -9
- package/dist/alpha.cjs.js +0 -22
- package/dist/alpha.cjs.js.map +1 -1
- package/dist/alpha.d.ts +4 -41
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,53 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-node
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20260408031702
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- 056e18e: **BREAKING ALPHA**: Removed the deprecated `CatalogPermissionRuleInput`, `CatalogPermissionExtensionPoint`, and `catalogPermissionExtensionPoint` exports. Use `coreServices.permissionsRegistry` directly to register catalog entity permission rules and permissions.
|
|
8
|
+
- 7a03196: **BREAKING ALPHA**: Removed the following deprecated exports from `@backstage/plugin-catalog-node/alpha`:
|
|
9
|
+
|
|
10
|
+
- `catalogServiceRef` — use `catalogServiceRef` from `@backstage/plugin-catalog-node` instead
|
|
11
|
+
- `CatalogLocationsExtensionPoint` / `catalogLocationsExtensionPoint` — use the non-alpha equivalents from `@backstage/plugin-catalog-node` instead
|
|
12
|
+
- `CatalogProcessingExtensionPoint` / `catalogProcessingExtensionPoint` — use the non-alpha equivalents from `@backstage/plugin-catalog-node` instead
|
|
13
|
+
- `CatalogAnalysisExtensionPoint` / `catalogAnalysisExtensionPoint` — use the non-alpha equivalents from `@backstage/plugin-catalog-node` instead
|
|
8
14
|
|
|
9
15
|
### Patch Changes
|
|
10
16
|
|
|
11
17
|
- Updated dependencies
|
|
12
|
-
- @backstage/backend-plugin-api@0.0.0-nightly-
|
|
13
|
-
- @backstage/backend-test-utils@0.0.0-nightly-
|
|
14
|
-
- @backstage/
|
|
15
|
-
- @backstage/
|
|
16
|
-
- @backstage/catalog-
|
|
17
|
-
- @backstage/
|
|
18
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20260408031702
|
|
19
|
+
- @backstage/backend-test-utils@0.0.0-nightly-20260408031702
|
|
20
|
+
- @backstage/errors@0.0.0-nightly-20260408031702
|
|
21
|
+
- @backstage/plugin-permission-node@0.0.0-nightly-20260408031702
|
|
22
|
+
- @backstage/catalog-client@0.0.0-nightly-20260408031702
|
|
23
|
+
- @backstage/catalog-model@0.0.0-nightly-20260408031702
|
|
24
|
+
- @backstage/plugin-permission-common@0.0.0-nightly-20260408031702
|
|
18
25
|
- @backstage/types@1.2.2
|
|
19
|
-
- @backstage/plugin-catalog-common@
|
|
20
|
-
|
|
26
|
+
- @backstage/plugin-catalog-common@0.0.0-nightly-20260408031702
|
|
27
|
+
|
|
28
|
+
## 2.2.0-next.2
|
|
29
|
+
|
|
30
|
+
### Minor Changes
|
|
31
|
+
|
|
32
|
+
- 056e18e: **BREAKING ALPHA**: Removed the deprecated `CatalogPermissionRuleInput`, `CatalogPermissionExtensionPoint`, and `catalogPermissionExtensionPoint` exports. Use `coreServices.permissionsRegistry` directly to register catalog entity permission rules and permissions.
|
|
33
|
+
- 7a03196: **BREAKING ALPHA**: Removed the following deprecated exports from `@backstage/plugin-catalog-node/alpha`:
|
|
34
|
+
|
|
35
|
+
- `catalogServiceRef` — use `catalogServiceRef` from `@backstage/plugin-catalog-node` instead
|
|
36
|
+
- `CatalogLocationsExtensionPoint` / `catalogLocationsExtensionPoint` — use the non-alpha equivalents from `@backstage/plugin-catalog-node` instead
|
|
37
|
+
- `CatalogProcessingExtensionPoint` / `catalogProcessingExtensionPoint` — use the non-alpha equivalents from `@backstage/plugin-catalog-node` instead
|
|
38
|
+
- `CatalogAnalysisExtensionPoint` / `catalogAnalysisExtensionPoint` — use the non-alpha equivalents from `@backstage/plugin-catalog-node` instead
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Updated dependencies
|
|
43
|
+
- @backstage/errors@1.3.0-next.0
|
|
44
|
+
- @backstage/backend-plugin-api@1.9.0-next.2
|
|
45
|
+
- @backstage/backend-test-utils@1.11.2-next.2
|
|
46
|
+
- @backstage/catalog-client@1.14.1-next.0
|
|
47
|
+
- @backstage/catalog-model@1.7.8-next.0
|
|
48
|
+
- @backstage/plugin-permission-common@0.9.8-next.0
|
|
49
|
+
- @backstage/plugin-permission-node@0.10.12-next.2
|
|
50
|
+
- @backstage/plugin-catalog-common@1.1.9-next.0
|
|
21
51
|
|
|
22
52
|
## 2.1.1-next.1
|
|
23
53
|
|
package/dist/alpha.cjs.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var backendPluginApi = require('@backstage/backend-plugin-api');
|
|
4
|
-
var catalogClient = require('@backstage/catalog-client');
|
|
5
3
|
var alpha = require('@backstage/plugin-catalog-common/alpha');
|
|
6
4
|
var pluginPermissionNode = require('@backstage/plugin-permission-node');
|
|
7
|
-
var pluginCatalogNode = require('@backstage/plugin-catalog-node');
|
|
8
5
|
var extensions = require('./extensions.cjs.js');
|
|
9
6
|
var catalogScmEventsServiceRef = require('./scmEvents/catalogScmEventsServiceRef.cjs.js');
|
|
10
7
|
|
|
@@ -12,27 +9,8 @@ const catalogEntityPermissionResourceRef = pluginPermissionNode.createPermission
|
|
|
12
9
|
pluginId: "catalog",
|
|
13
10
|
resourceType: alpha.RESOURCE_TYPE_CATALOG_ENTITY
|
|
14
11
|
});
|
|
15
|
-
const catalogServiceRef = backendPluginApi.createServiceRef({
|
|
16
|
-
id: "catalog-client-legacy",
|
|
17
|
-
defaultFactory: async (service) => backendPluginApi.createServiceFactory({
|
|
18
|
-
service,
|
|
19
|
-
deps: {
|
|
20
|
-
discoveryApi: backendPluginApi.coreServices.discovery
|
|
21
|
-
},
|
|
22
|
-
async factory({ discoveryApi }) {
|
|
23
|
-
return new catalogClient.CatalogClient({ discoveryApi });
|
|
24
|
-
}
|
|
25
|
-
})
|
|
26
|
-
});
|
|
27
|
-
const catalogLocationsExtensionPoint = pluginCatalogNode.catalogLocationsExtensionPoint;
|
|
28
|
-
const catalogProcessingExtensionPoint = pluginCatalogNode.catalogProcessingExtensionPoint;
|
|
29
|
-
const catalogAnalysisExtensionPoint = pluginCatalogNode.catalogAnalysisExtensionPoint;
|
|
30
12
|
|
|
31
13
|
exports.catalogModelExtensionPoint = extensions.catalogModelExtensionPoint;
|
|
32
14
|
exports.catalogScmEventsServiceRef = catalogScmEventsServiceRef.catalogScmEventsServiceRef;
|
|
33
|
-
exports.catalogAnalysisExtensionPoint = catalogAnalysisExtensionPoint;
|
|
34
15
|
exports.catalogEntityPermissionResourceRef = catalogEntityPermissionResourceRef;
|
|
35
|
-
exports.catalogLocationsExtensionPoint = catalogLocationsExtensionPoint;
|
|
36
|
-
exports.catalogProcessingExtensionPoint = catalogProcessingExtensionPoint;
|
|
37
|
-
exports.catalogServiceRef = catalogServiceRef;
|
|
38
16
|
//# sourceMappingURL=alpha.cjs.js.map
|
package/dist/alpha.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpha.cjs.js","sources":["../src/alpha.ts"],"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 {
|
|
1
|
+
{"version":3,"file":"alpha.cjs.js","sources":["../src/alpha.ts"],"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 { RESOURCE_TYPE_CATALOG_ENTITY } from '@backstage/plugin-catalog-common/alpha';\nimport { createPermissionResourceRef } from '@backstage/plugin-permission-node';\nimport { Entity } from '@backstage/catalog-model';\nimport { EntitiesSearchFilter } from '@backstage/plugin-catalog-node';\n\n/** @alpha */\nexport const catalogEntityPermissionResourceRef = createPermissionResourceRef<\n Entity,\n EntitiesSearchFilter\n>().with({\n pluginId: 'catalog',\n resourceType: RESOURCE_TYPE_CATALOG_ENTITY,\n});\n\nexport type { CatalogModelExtensionPoint } from './extensions';\nexport { catalogModelExtensionPoint } from './extensions';\n\nexport * from './scmEvents';\n"],"names":["createPermissionResourceRef","RESOURCE_TYPE_CATALOG_ENTITY"],"mappings":";;;;;;;AAsBO,MAAM,kCAAA,GAAqCA,gDAAA,EAGhD,CAAE,IAAA,CAAK;AAAA,EACP,QAAA,EAAU,SAAA;AAAA,EACV,YAAA,EAAcC;AAChB,CAAC;;;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
2
1
|
import * as _backstage_plugin_permission_node from '@backstage/plugin-permission-node';
|
|
3
|
-
import { CatalogApi } from '@backstage/catalog-client';
|
|
4
2
|
import { Entity } from '@backstage/catalog-model';
|
|
5
|
-
import {
|
|
3
|
+
import { EntitiesSearchFilter } from '@backstage/plugin-catalog-node';
|
|
6
4
|
export { f as CatalogModelExtensionPoint, g as catalogModelExtensionPoint } from './types/extensions.d-ojRdpmUf.js';
|
|
5
|
+
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* A subscriber of the {@link CatalogScmEventsService}.
|
|
@@ -193,42 +192,6 @@ declare const catalogScmEventsServiceRef: _backstage_backend_plugin_api.ServiceR
|
|
|
193
192
|
|
|
194
193
|
/** @alpha */
|
|
195
194
|
declare const catalogEntityPermissionResourceRef: _backstage_plugin_permission_node.PermissionResourceRef<Entity, EntitiesSearchFilter, "catalog-entity", "catalog">;
|
|
196
|
-
/**
|
|
197
|
-
* @alpha
|
|
198
|
-
* @deprecated Use {@link @backstage/plugin-catalog-node#catalogServiceRef} instead
|
|
199
|
-
*/
|
|
200
|
-
declare const catalogServiceRef: _backstage_backend_plugin_api.ServiceRef<CatalogApi, "plugin", "singleton">;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* @alpha
|
|
204
|
-
* @deprecated Use {@link @backstage/plugin-catalog-node#CatalogLocationsExtensionPoint} instead
|
|
205
|
-
*/
|
|
206
|
-
type CatalogLocationsExtensionPoint = CatalogLocationsExtensionPoint$1;
|
|
207
|
-
/**
|
|
208
|
-
* @alpha
|
|
209
|
-
* @deprecated Use {@link @backstage/plugin-catalog-node#catalogLocationsExtensionPoint} instead
|
|
210
|
-
*/
|
|
211
|
-
declare const catalogLocationsExtensionPoint: _backstage_backend_plugin_api.ExtensionPoint<CatalogLocationsExtensionPoint$1>;
|
|
212
|
-
/**
|
|
213
|
-
* @alpha
|
|
214
|
-
* @deprecated Use {@link @backstage/plugin-catalog-node#CatalogProcessingExtensionPoint} instead
|
|
215
|
-
*/
|
|
216
|
-
type CatalogProcessingExtensionPoint = CatalogProcessingExtensionPoint$1;
|
|
217
|
-
/**
|
|
218
|
-
* @alpha
|
|
219
|
-
* @deprecated Use {@link @backstage/plugin-catalog-node#catalogProcessingExtensionPoint} instead
|
|
220
|
-
*/
|
|
221
|
-
declare const catalogProcessingExtensionPoint: _backstage_backend_plugin_api.ExtensionPoint<CatalogProcessingExtensionPoint$1>;
|
|
222
|
-
/**
|
|
223
|
-
* @alpha
|
|
224
|
-
* @deprecated Use {@link @backstage/plugin-catalog-node#CatalogAnalysisExtensionPoint} instead
|
|
225
|
-
*/
|
|
226
|
-
type CatalogAnalysisExtensionPoint = CatalogAnalysisExtensionPoint$1;
|
|
227
|
-
/**
|
|
228
|
-
* @alpha
|
|
229
|
-
* @deprecated Use {@link @backstage/plugin-catalog-node#catalogAnalysisExtensionPoint} instead
|
|
230
|
-
*/
|
|
231
|
-
declare const catalogAnalysisExtensionPoint: _backstage_backend_plugin_api.ExtensionPoint<CatalogAnalysisExtensionPoint$1>;
|
|
232
195
|
|
|
233
|
-
export {
|
|
234
|
-
export type {
|
|
196
|
+
export { catalogEntityPermissionResourceRef, catalogScmEventsServiceRef };
|
|
197
|
+
export type { CatalogScmEvent, CatalogScmEventContext, CatalogScmEventsService, CatalogScmEventsServiceSubscriber };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-node",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20260408031702",
|
|
4
4
|
"description": "The plugin-catalog-node module for @backstage/plugin-catalog-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "node-library",
|
|
@@ -72,25 +72,25 @@
|
|
|
72
72
|
"test": "backstage-cli package test"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@backstage/backend-plugin-api": "0.0.0-nightly-
|
|
76
|
-
"@backstage/catalog-client": "
|
|
77
|
-
"@backstage/catalog-model": "
|
|
78
|
-
"@backstage/errors": "
|
|
79
|
-
"@backstage/plugin-catalog-common": "
|
|
80
|
-
"@backstage/plugin-permission-common": "0.
|
|
81
|
-
"@backstage/plugin-permission-node": "0.0.0-nightly-
|
|
75
|
+
"@backstage/backend-plugin-api": "0.0.0-nightly-20260408031702",
|
|
76
|
+
"@backstage/catalog-client": "0.0.0-nightly-20260408031702",
|
|
77
|
+
"@backstage/catalog-model": "0.0.0-nightly-20260408031702",
|
|
78
|
+
"@backstage/errors": "0.0.0-nightly-20260408031702",
|
|
79
|
+
"@backstage/plugin-catalog-common": "0.0.0-nightly-20260408031702",
|
|
80
|
+
"@backstage/plugin-permission-common": "0.0.0-nightly-20260408031702",
|
|
81
|
+
"@backstage/plugin-permission-node": "0.0.0-nightly-20260408031702",
|
|
82
82
|
"@backstage/types": "1.2.2",
|
|
83
83
|
"@opentelemetry/api": "^1.9.0",
|
|
84
84
|
"lodash": "^4.17.21",
|
|
85
85
|
"yaml": "^2.0.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@backstage/backend-test-utils": "0.0.0-nightly-
|
|
89
|
-
"@backstage/cli": "0.0.0-nightly-
|
|
88
|
+
"@backstage/backend-test-utils": "0.0.0-nightly-20260408031702",
|
|
89
|
+
"@backstage/cli": "0.0.0-nightly-20260408031702",
|
|
90
90
|
"msw": "^1.0.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"@backstage/backend-test-utils": "0.0.0-nightly-
|
|
93
|
+
"@backstage/backend-test-utils": "0.0.0-nightly-20260408031702"
|
|
94
94
|
},
|
|
95
95
|
"peerDependenciesMeta": {
|
|
96
96
|
"@backstage/backend-test-utils": {
|