plugins: refactory to use default export for new backend system
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Co-authored-by: Camila Belo <camilaibs@gmail.com> Co-authored-by: Johan Haals <johan.haals@gmail.com> Co-authored-by: Philipp Hugenroth <philipph@spotify.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
---
|
||||
'@backstage/plugin-adr-backend': minor
|
||||
'@backstage/plugin-airbrake-backend': minor
|
||||
'@backstage/plugin-auth-backend': minor
|
||||
'@backstage/plugin-azure-devops-backend': minor
|
||||
'@backstage/plugin-badges-backend': minor
|
||||
'@backstage/plugin-bazaar-backend': minor
|
||||
'@backstage/plugin-catalog-backend-module-unprocessed': minor
|
||||
'@backstage/plugin-devtools-backend': minor
|
||||
'@backstage/plugin-entity-feedback-backend': minor
|
||||
'@backstage/plugin-kafka-backend': minor
|
||||
'@backstage/plugin-lighthouse-backend': minor
|
||||
'@backstage/plugin-linguist-backend': minor
|
||||
'@backstage/plugin-periskop-backend': minor
|
||||
'@backstage/plugin-proxy-backend': minor
|
||||
'@backstage/plugin-todo-backend': minor
|
||||
'@backstage/plugin-user-settings-backend': minor
|
||||
---
|
||||
|
||||
**BREAKING**: The export for the new backend system has been moved to be the `default` export.
|
||||
|
||||
For example, if you are currently importing the plugin using the following pattern:
|
||||
|
||||
```ts
|
||||
import { examplePlugin } from '@backstage/plugin-example-backend';
|
||||
|
||||
backend.add(examplePlugin);
|
||||
```
|
||||
|
||||
It should be migrated to this:
|
||||
|
||||
```ts
|
||||
backend.add(import('@backstage/plugin-example-backend'));
|
||||
```
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
'@backstage/plugin-app-backend': patch
|
||||
'@backstage/plugin-auth-backend-module-gcp-iap-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-github-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-gitlab-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-google-provider': patch
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
'@backstage/plugin-catalog-backend-module-aws': patch
|
||||
'@backstage/plugin-catalog-backend-module-azure': patch
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket-cloud': patch
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket-server': patch
|
||||
'@backstage/plugin-catalog-backend-module-gcp': patch
|
||||
'@backstage/plugin-catalog-backend-module-gerrit': patch
|
||||
'@backstage/plugin-catalog-backend-module-github': patch
|
||||
'@backstage/plugin-catalog-backend-module-gitlab': patch
|
||||
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
|
||||
'@backstage/plugin-catalog-backend-module-msgraph': patch
|
||||
'@backstage/plugin-catalog-backend-module-puppetdb': patch
|
||||
'@backstage/plugin-events-backend': patch
|
||||
'@backstage/plugin-events-backend-module-aws-sqs': patch
|
||||
'@backstage/plugin-kubernetes-backend': patch
|
||||
'@backstage/plugin-permission-backend': patch
|
||||
'@backstage/plugin-permission-backend-module-allow-all-policy': patch
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
'@backstage/plugin-search-backend': patch
|
||||
'@backstage/plugin-search-backend-module-catalog': patch
|
||||
'@backstage/plugin-search-backend-module-elasticsearch': patch
|
||||
'@backstage/plugin-search-backend-module-explore': patch
|
||||
'@backstage/plugin-search-backend-module-pg': patch
|
||||
'@backstage/plugin-search-backend-module-techdocs': patch
|
||||
'@backstage/plugin-techdocs-backend': patch
|
||||
---
|
||||
|
||||
The export for the new backend system has been moved to be the `default` export.
|
||||
|
||||
For example, if you are currently importing the plugin using the following pattern:
|
||||
|
||||
```ts
|
||||
import { examplePlugin } from '@backstage/plugin-example-backend';
|
||||
|
||||
backend.add(examplePlugin);
|
||||
```
|
||||
|
||||
It should be migrated to this:
|
||||
|
||||
```ts
|
||||
backend.add(import('@backstage/plugin-example-backend'));
|
||||
```
|
||||
@@ -15,81 +15,31 @@
|
||||
*/
|
||||
|
||||
import { createBackend } from '@backstage/backend-defaults';
|
||||
import { appPlugin } from '@backstage/plugin-app-backend/alpha';
|
||||
import { catalogPlugin } from '@backstage/plugin-catalog-backend/alpha';
|
||||
import { kubernetesPlugin } from '@backstage/plugin-kubernetes-backend/alpha';
|
||||
import { permissionPlugin } from '@backstage/plugin-permission-backend/alpha';
|
||||
import { permissionModuleAllowAllPolicy } from '@backstage/plugin-permission-backend-module-allow-all-policy';
|
||||
import { scaffolderPlugin } from '@backstage/plugin-scaffolder-backend/alpha';
|
||||
import { catalogModuleTemplateKind } from '@backstage/plugin-scaffolder-backend/alpha';
|
||||
import { searchModuleCatalogCollator } from '@backstage/plugin-search-backend-module-catalog/alpha';
|
||||
import { searchModuleExploreCollator } from '@backstage/plugin-search-backend-module-explore/alpha';
|
||||
import { searchModuleTechDocsCollator } from '@backstage/plugin-search-backend-module-techdocs/alpha';
|
||||
import { searchPlugin } from '@backstage/plugin-search-backend/alpha';
|
||||
import { techdocsPlugin } from '@backstage/plugin-techdocs-backend/alpha';
|
||||
import { todoPlugin } from '@backstage/plugin-todo-backend';
|
||||
import { entityFeedbackPlugin } from '@backstage/plugin-entity-feedback-backend';
|
||||
import { catalogModuleUnprocessedEntities } from '@backstage/plugin-catalog-backend-module-unprocessed';
|
||||
import { badgesPlugin } from '@backstage/plugin-badges-backend';
|
||||
import { azureDevOpsPlugin } from '@backstage/plugin-azure-devops-backend';
|
||||
import { linguistPlugin } from '@backstage/plugin-linguist-backend';
|
||||
import { devtoolsPlugin } from '@backstage/plugin-devtools-backend';
|
||||
import { adrPlugin } from '@backstage/plugin-adr-backend';
|
||||
import { lighthousePlugin } from '@backstage/plugin-lighthouse-backend';
|
||||
import { proxyPlugin } from '@backstage/plugin-proxy-backend';
|
||||
|
||||
const backend = createBackend();
|
||||
|
||||
backend.add(appPlugin());
|
||||
|
||||
// Badges
|
||||
backend.add(badgesPlugin());
|
||||
|
||||
// Azure DevOps
|
||||
backend.add(azureDevOpsPlugin());
|
||||
|
||||
// DevTools
|
||||
backend.add(devtoolsPlugin());
|
||||
|
||||
// Entity Feedback
|
||||
backend.add(entityFeedbackPlugin());
|
||||
|
||||
// Linguist
|
||||
backend.add(linguistPlugin());
|
||||
|
||||
// Todo
|
||||
backend.add(todoPlugin());
|
||||
|
||||
backend.add(adrPlugin());
|
||||
|
||||
// Techdocs
|
||||
backend.add(techdocsPlugin());
|
||||
|
||||
// Catalog
|
||||
backend.add(catalogPlugin());
|
||||
backend.add(catalogModuleTemplateKind());
|
||||
|
||||
backend.add(scaffolderPlugin());
|
||||
|
||||
// Search
|
||||
backend.add(searchPlugin());
|
||||
backend.add(searchModuleCatalogCollator());
|
||||
backend.add(searchModuleTechDocsCollator());
|
||||
backend.add(searchModuleExploreCollator());
|
||||
|
||||
// Kubernetes
|
||||
backend.add(kubernetesPlugin());
|
||||
|
||||
// Lighthouse
|
||||
backend.add(lighthousePlugin());
|
||||
|
||||
// Proxy
|
||||
backend.add(proxyPlugin());
|
||||
|
||||
// Permissions
|
||||
backend.add(permissionPlugin());
|
||||
backend.add(permissionModuleAllowAllPolicy());
|
||||
|
||||
backend.add(catalogModuleUnprocessedEntities());
|
||||
backend.add(import('@backstage/plugin-adr-backend'));
|
||||
backend.add(import('@backstage/plugin-app-backend/alpha'));
|
||||
backend.add(import('@backstage/plugin-azure-devops-backend'));
|
||||
backend.add(import('@backstage/plugin-badges-backend'));
|
||||
backend.add(import('@backstage/plugin-catalog-backend-module-unprocessed'));
|
||||
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
||||
backend.add(import('@backstage/plugin-devtools-backend'));
|
||||
backend.add(import('@backstage/plugin-entity-feedback-backend'));
|
||||
backend.add(import('@backstage/plugin-kubernetes-backend/alpha'));
|
||||
backend.add(import('@backstage/plugin-lighthouse-backend'));
|
||||
backend.add(import('@backstage/plugin-linguist-backend'));
|
||||
backend.add(
|
||||
import('@backstage/plugin-permission-backend-module-allow-all-policy'),
|
||||
);
|
||||
backend.add(import('@backstage/plugin-permission-backend/alpha'));
|
||||
backend.add(import('@backstage/plugin-proxy-backend'));
|
||||
backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
|
||||
backend.add(import('@backstage/plugin-search-backend-module-catalog/alpha'));
|
||||
backend.add(import('@backstage/plugin-search-backend-module-explore/alpha'));
|
||||
backend.add(import('@backstage/plugin-search-backend-module-techdocs/alpha'));
|
||||
backend.add(import('@backstage/plugin-search-backend/alpha'));
|
||||
backend.add(import('@backstage/plugin-techdocs-backend/alpha'));
|
||||
backend.add(import('@backstage/plugin-todo-backend'));
|
||||
|
||||
backend.start();
|
||||
|
||||
@@ -45,7 +45,8 @@ export type AdrParserContext = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const adrPlugin: () => BackendFeature;
|
||||
const adrPlugin: () => BackendFeature;
|
||||
export default adrPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export type AdrRouterOptions = {
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
|
||||
export * from './search';
|
||||
export * from './service';
|
||||
export { adrPlugin } from './plugin';
|
||||
export { adrPlugin as default } from './plugin';
|
||||
|
||||
@@ -14,7 +14,8 @@ export interface AirbrakeConfig {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const airbrakePlugin: () => BackendFeature;
|
||||
const airbrakePlugin: () => BackendFeature;
|
||||
export default airbrakePlugin;
|
||||
|
||||
// @public
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
|
||||
export * from './service/router';
|
||||
export * from './config';
|
||||
export { airbrakePlugin } from './plugin';
|
||||
export { airbrakePlugin as default } from './plugin';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const appPlugin: () => BackendFeature;
|
||||
const appPlugin: () => BackendFeature;
|
||||
export default appPlugin;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { appPlugin } from './service/appPlugin';
|
||||
export { appPlugin as default } from './service/appPlugin';
|
||||
|
||||
@@ -9,7 +9,8 @@ import { ProxyAuthenticator } from '@backstage/plugin-auth-node';
|
||||
import { SignInResolverFactory } from '@backstage/plugin-auth-node';
|
||||
|
||||
// @public (undocumented)
|
||||
export const authModuleGcpIapProvider: () => BackendFeature;
|
||||
const authModuleGcpIapProvider: () => BackendFeature;
|
||||
export default authModuleGcpIapProvider;
|
||||
|
||||
// @public (undocumented)
|
||||
export const gcpIapAuthenticator: ProxyAuthenticator<
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
*/
|
||||
|
||||
export { gcpIapAuthenticator } from './authenticator';
|
||||
export { authModuleGcpIapProvider } from './module';
|
||||
export { authModuleGcpIapProvider as default } from './module';
|
||||
export { gcpIapSignInResolvers } from './resolvers';
|
||||
export { type GcpIapResult, type GcpIapTokenInfo } from './types';
|
||||
|
||||
@@ -11,7 +11,8 @@ import { PassportProfile } from '@backstage/plugin-auth-node';
|
||||
import { SignInResolverFactory } from '@backstage/plugin-auth-node';
|
||||
|
||||
// @public (undocumented)
|
||||
export const authModuleGithubProvider: () => BackendFeature;
|
||||
const authModuleGithubProvider: () => BackendFeature;
|
||||
export default authModuleGithubProvider;
|
||||
|
||||
// @public (undocumented)
|
||||
export const githubAuthenticator: OAuthAuthenticator<
|
||||
|
||||
@@ -15,12 +15,10 @@
|
||||
*/
|
||||
|
||||
import { createBackend } from '@backstage/backend-defaults';
|
||||
import { authPlugin } from '@backstage/plugin-auth-backend';
|
||||
import { authModuleGithubProvider } from '../src';
|
||||
|
||||
const backend = createBackend();
|
||||
|
||||
backend.add(authPlugin);
|
||||
backend.add(authModuleGithubProvider);
|
||||
backend.add(import('@backstage/plugin-auth-backend'));
|
||||
backend.add(import('../src'));
|
||||
|
||||
backend.start();
|
||||
|
||||
@@ -21,5 +21,5 @@
|
||||
*/
|
||||
|
||||
export { githubAuthenticator } from './authenticator';
|
||||
export { authModuleGithubProvider } from './module';
|
||||
export { authModuleGithubProvider as default } from './module';
|
||||
export { githubSignInResolvers } from './resolvers';
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
import { mockServices, startTestBackend } from '@backstage/backend-test-utils';
|
||||
import { authPlugin } from '@backstage/plugin-auth-backend';
|
||||
import { authModuleGithubProvider } from './module';
|
||||
import request from 'supertest';
|
||||
import { decodeOAuthState } from '@backstage/plugin-auth-node';
|
||||
@@ -24,7 +23,7 @@ describe('authModuleGithubProvider', () => {
|
||||
it('should start', async () => {
|
||||
const { server } = await startTestBackend({
|
||||
features: [
|
||||
authPlugin,
|
||||
import('@backstage/plugin-auth-backend'),
|
||||
authModuleGithubProvider,
|
||||
mockServices.rootConfig.factory({
|
||||
data: {
|
||||
|
||||
@@ -11,7 +11,8 @@ import { PassportProfile } from '@backstage/plugin-auth-node';
|
||||
import { SignInResolverFactory } from '@backstage/plugin-auth-node';
|
||||
|
||||
// @public (undocumented)
|
||||
export const authModuleGitlabProvider: () => BackendFeature;
|
||||
const authModuleGitlabProvider: () => BackendFeature;
|
||||
export default authModuleGitlabProvider;
|
||||
|
||||
// @public (undocumented)
|
||||
export const gitlabAuthenticator: OAuthAuthenticator<
|
||||
|
||||
@@ -15,12 +15,10 @@
|
||||
*/
|
||||
|
||||
import { createBackend } from '@backstage/backend-defaults';
|
||||
import { authPlugin } from '@backstage/plugin-auth-backend';
|
||||
import { authModuleGitlabProvider } from '../src';
|
||||
|
||||
const backend = createBackend();
|
||||
|
||||
backend.add(authPlugin);
|
||||
backend.add(authModuleGitlabProvider);
|
||||
backend.add(import('@backstage/plugin-auth-backend'));
|
||||
backend.add(import('../src'));
|
||||
|
||||
backend.start();
|
||||
|
||||
@@ -21,5 +21,5 @@
|
||||
*/
|
||||
|
||||
export { gitlabAuthenticator } from './authenticator';
|
||||
export { authModuleGitlabProvider } from './module';
|
||||
export { authModuleGitlabProvider as default } from './module';
|
||||
export { gitlabSignInResolvers } from './resolvers';
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
import { mockServices, startTestBackend } from '@backstage/backend-test-utils';
|
||||
import { authPlugin } from '@backstage/plugin-auth-backend';
|
||||
import { authModuleGitlabProvider } from './module';
|
||||
import request from 'supertest';
|
||||
import { decodeOAuthState } from '@backstage/plugin-auth-node';
|
||||
@@ -24,7 +23,7 @@ describe('authModuleGitlabProvider', () => {
|
||||
it('should start', async () => {
|
||||
const { server } = await startTestBackend({
|
||||
features: [
|
||||
authPlugin,
|
||||
import('@backstage/plugin-auth-backend'),
|
||||
authModuleGitlabProvider,
|
||||
mockServices.rootConfig.factory({
|
||||
data: {
|
||||
|
||||
@@ -11,7 +11,8 @@ import { PassportProfile } from '@backstage/plugin-auth-node';
|
||||
import { SignInResolverFactory } from '@backstage/plugin-auth-node';
|
||||
|
||||
// @public (undocumented)
|
||||
export const authModuleGoogleProvider: () => BackendFeature;
|
||||
const authModuleGoogleProvider: () => BackendFeature;
|
||||
export default authModuleGoogleProvider;
|
||||
|
||||
// @public (undocumented)
|
||||
export const googleAuthenticator: OAuthAuthenticator<
|
||||
|
||||
@@ -15,5 +15,5 @@
|
||||
*/
|
||||
|
||||
export { googleAuthenticator } from './authenticator';
|
||||
export { authModuleGoogleProvider } from './module';
|
||||
export { authModuleGoogleProvider as default } from './module';
|
||||
export { googleSignInResolvers } from './resolvers';
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
import { mockServices, startTestBackend } from '@backstage/backend-test-utils';
|
||||
import { authPlugin } from '@backstage/plugin-auth-backend';
|
||||
import { authModuleGoogleProvider } from './module';
|
||||
import request from 'supertest';
|
||||
import { decodeOAuthState } from '@backstage/plugin-auth-node';
|
||||
@@ -24,7 +23,7 @@ describe('authModuleGoogleProvider', () => {
|
||||
it('should start', async () => {
|
||||
const { server } = await startTestBackend({
|
||||
features: [
|
||||
authPlugin,
|
||||
import('@backstage/plugin-auth-backend'),
|
||||
authModuleGoogleProvider,
|
||||
mockServices.rootConfig.factory({
|
||||
data: {
|
||||
|
||||
@@ -53,7 +53,8 @@ export type AuthHandlerResult = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const authPlugin: () => BackendFeature;
|
||||
const authPlugin: () => BackendFeature;
|
||||
export default authPlugin;
|
||||
|
||||
// @public @deprecated (undocumented)
|
||||
export type AuthProviderConfig = AuthProviderConfig_2;
|
||||
|
||||
@@ -15,12 +15,10 @@
|
||||
*/
|
||||
|
||||
import { createBackend } from '@backstage/backend-defaults';
|
||||
import { authPlugin } from '../src';
|
||||
import { authModuleGoogleProvider } from '@backstage/plugin-auth-backend-module-google-provider';
|
||||
|
||||
const backend = createBackend();
|
||||
|
||||
backend.add(authPlugin);
|
||||
backend.add(authModuleGoogleProvider);
|
||||
backend.add(import('../src'));
|
||||
backend.add(import('@backstage/plugin-auth-backend-module-google-provider'));
|
||||
|
||||
backend.start();
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { authPlugin } from './authPlugin';
|
||||
export { authPlugin as default } from './authPlugin';
|
||||
export * from './service/router';
|
||||
export type { TokenParams } from './identity';
|
||||
export * from './providers';
|
||||
|
||||
@@ -96,7 +96,8 @@ export class AzureDevOpsApi {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const azureDevOpsPlugin: () => BackendFeature;
|
||||
const azureDevOpsPlugin: () => BackendFeature;
|
||||
export default azureDevOpsPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
|
||||
export { AzureDevOpsApi } from './api';
|
||||
export * from './service/router';
|
||||
export { azureDevOpsPlugin } from './plugin';
|
||||
export { azureDevOpsPlugin as default } from './plugin';
|
||||
|
||||
@@ -83,7 +83,8 @@ export type BadgeSpec = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const badgesPlugin: () => BackendFeature;
|
||||
const badgesPlugin: () => BackendFeature;
|
||||
export default badgesPlugin;
|
||||
|
||||
// @public
|
||||
export interface BadgesStore {
|
||||
|
||||
@@ -25,4 +25,4 @@ export * from './lib';
|
||||
export * from './service/router';
|
||||
export * from './types';
|
||||
export * from './database/badgesStore';
|
||||
export { badgesPlugin } from './plugin';
|
||||
export { badgesPlugin as default } from './plugin';
|
||||
|
||||
@@ -11,7 +11,8 @@ import { Logger } from 'winston';
|
||||
import { PluginDatabaseManager } from '@backstage/backend-common';
|
||||
|
||||
// @alpha
|
||||
export const bazaarPlugin: () => BackendFeature;
|
||||
const bazaarPlugin: () => BackendFeature;
|
||||
export default bazaarPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './service/router';
|
||||
export { bazaarPlugin } from './plugin';
|
||||
export { bazaarPlugin as default } from './plugin';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleAwsS3EntityProvider: () => BackendFeature;
|
||||
const catalogModuleAwsS3EntityProvider: () => BackendFeature;
|
||||
export default catalogModuleAwsS3EntityProvider;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleAwsS3EntityProvider } from './catalogModuleAwsS3EntityProvider';
|
||||
export { catalogModuleAwsS3EntityProvider as default } from './catalogModuleAwsS3EntityProvider';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleAzureDevOpsEntityProvider: () => BackendFeature;
|
||||
const catalogModuleAzureDevOpsEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleAzureDevOpsEntityProvider;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleAzureDevOpsEntityProvider } from './catalogModuleAzureDevOpsEntityProvider';
|
||||
export { catalogModuleAzureDevOpsEntityProvider as default } from './catalogModuleAzureDevOpsEntityProvider';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const catalogModuleBitbucketCloudEntityProvider: () => BackendFeature;
|
||||
const catalogModuleBitbucketCloudEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleBitbucketCloudEntityProvider;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleBitbucketCloudEntityProvider } from './catalogModuleBitbucketCloudEntityProvider';
|
||||
export { catalogModuleBitbucketCloudEntityProvider as default } from './catalogModuleBitbucketCloudEntityProvider';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const catalogModuleBitbucketServerEntityProvider: () => BackendFeature;
|
||||
const catalogModuleBitbucketServerEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleBitbucketServerEntityProvider;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleBitbucketServerEntityProvider } from './catalogModuleBitbucketServerEntityProvider';
|
||||
export { catalogModuleBitbucketServerEntityProvider as default } from './catalogModuleBitbucketServerEntityProvider';
|
||||
|
||||
@@ -12,7 +12,8 @@ import { Logger } from 'winston';
|
||||
import { SchedulerService } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @public
|
||||
export const catalogModuleGcpGkeEntityProvider: () => BackendFeature;
|
||||
const catalogModuleGcpGkeEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleGcpGkeEntityProvider;
|
||||
|
||||
// @public
|
||||
export class GkeEntityProvider implements EntityProvider {
|
||||
|
||||
@@ -22,3 +22,4 @@
|
||||
|
||||
export * from './providers';
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleGcpGkeEntityProvider } from './catalogModuleGcpGkeEntityProvider';
|
||||
export { catalogModuleGcpGkeEntityProvider as default } from './catalogModuleGcpGkeEntityProvider';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const catalogModuleGerritEntityProvider: () => BackendFeature;
|
||||
const catalogModuleGerritEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleGerritEntityProvider;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleGerritEntityProvider } from './catalogModuleGerritEntityProvider';
|
||||
export { catalogModuleGerritEntityProvider as default } from './catalogModuleGerritEntityProvider';
|
||||
|
||||
@@ -9,7 +9,8 @@ import { TeamTransformer } from '@backstage/plugin-catalog-backend-module-github
|
||||
import { UserTransformer } from '@backstage/plugin-catalog-backend-module-github';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleGithubEntityProvider: () => BackendFeature;
|
||||
const catalogModuleGithubEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleGithubEntityProvider;
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleGithubOrgEntityProvider: () => BackendFeature;
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleGithubEntityProvider } from './catalogModuleGithubEntityProvider';
|
||||
export { catalogModuleGithubEntityProvider as default } from './catalogModuleGithubEntityProvider';
|
||||
export {
|
||||
catalogModuleGithubOrgEntityProvider,
|
||||
githubOrgEntityProviderTransformsExtensionPoint,
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleGitlabDiscoveryEntityProvider: () => BackendFeature;
|
||||
const catalogModuleGitlabDiscoveryEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleGitlabDiscoveryEntityProvider;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModuleGitlabDiscoveryEntityProvider } from './module/catalogModuleGitlabDiscoveryEntityProvider';
|
||||
export { catalogModuleGitlabDiscoveryEntityProvider as default } from './module/catalogModuleGitlabDiscoveryEntityProvider';
|
||||
|
||||
@@ -9,7 +9,8 @@ import { IncrementalEntityProvider } from '@backstage/plugin-catalog-backend-mod
|
||||
import { IncrementalEntityProviderOptions } from '@backstage/plugin-catalog-backend-module-incremental-ingestion';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleIncrementalIngestionEntityProvider: () => BackendFeature;
|
||||
const catalogModuleIncrementalIngestionEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleIncrementalIngestionEntityProvider;
|
||||
|
||||
// @alpha
|
||||
export interface IncrementalIngestionProviderExtensionPoint {
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
export {
|
||||
catalogModuleIncrementalIngestionEntityProvider,
|
||||
catalogModuleIncrementalIngestionEntityProvider as default,
|
||||
incrementalIngestionProvidersExtensionPoint,
|
||||
type IncrementalIngestionProviderExtensionPoint,
|
||||
} from './catalogModuleIncrementalIngestionEntityProvider';
|
||||
|
||||
@@ -24,10 +24,8 @@ import {
|
||||
createServiceFactory,
|
||||
} from '@backstage/backend-plugin-api';
|
||||
import { ConfigReader } from '@backstage/config';
|
||||
import { catalogPlugin } from '@backstage/plugin-catalog-backend/alpha';
|
||||
import { IncrementalEntityProvider } from '.';
|
||||
import {
|
||||
catalogModuleIncrementalIngestionEntityProvider,
|
||||
import catalogModuleIncrementalIngestionEntityProvider, {
|
||||
incrementalIngestionProvidersExtensionPoint,
|
||||
} from './alpha';
|
||||
|
||||
@@ -64,7 +62,7 @@ async function main() {
|
||||
factory: () => new ConfigReader(config),
|
||||
}),
|
||||
);
|
||||
backend.add(catalogPlugin());
|
||||
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
||||
backend.add(catalogModuleIncrementalIngestionEntityProvider());
|
||||
backend.add(
|
||||
createBackendModule({
|
||||
|
||||
@@ -10,7 +10,8 @@ import { OrganizationTransformer } from '@backstage/plugin-catalog-backend-modul
|
||||
import { UserTransformer } from '@backstage/plugin-catalog-backend-module-msgraph';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleMicrosoftGraphOrgEntityProvider: () => BackendFeature;
|
||||
const catalogModuleMicrosoftGraphOrgEntityProvider: () => BackendFeature;
|
||||
export default catalogModuleMicrosoftGraphOrgEntityProvider;
|
||||
|
||||
// @alpha
|
||||
export const microsoftGraphOrgEntityProviderTransformExtensionPoint: ExtensionPoint<MicrosoftGraphOrgEntityProviderTransformsExtensionPoint>;
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ export interface MicrosoftGraphOrgEntityProviderTransformsExtensionPoint {
|
||||
}
|
||||
|
||||
/**
|
||||
* Extension point used to customize the transforms used by the {@link catalogModuleMicrosoftGraphOrgEntityProvider}.
|
||||
* Extension point used to customize the transforms used by the module.
|
||||
*
|
||||
* @alpha
|
||||
*/
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
export {
|
||||
catalogModuleMicrosoftGraphOrgEntityProvider,
|
||||
catalogModuleMicrosoftGraphOrgEntityProvider as default,
|
||||
microsoftGraphOrgEntityProviderTransformExtensionPoint,
|
||||
type MicrosoftGraphOrgEntityProviderTransformsExtensionPoint,
|
||||
} from './catalogModuleMicrosoftGraphOrgEntityProvider';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModulePuppetDbEntityProvider: () => BackendFeature;
|
||||
const catalogModulePuppetDbEntityProvider: () => BackendFeature;
|
||||
export default catalogModulePuppetDbEntityProvider;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { default } from './module';
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { catalogModulePuppetDbEntityProvider } from './catalogModulePuppetDbEntityProvider';
|
||||
export { catalogModulePuppetDbEntityProvider as default } from './catalogModulePuppetDbEntityProvider';
|
||||
|
||||
@@ -8,7 +8,8 @@ import { HttpRouterService } from '@backstage/backend-plugin-api';
|
||||
import { Knex } from 'knex';
|
||||
|
||||
// @public
|
||||
export const catalogModuleUnprocessedEntities: () => BackendFeature;
|
||||
const catalogModuleUnprocessedEntities: () => BackendFeature;
|
||||
export default catalogModuleUnprocessedEntities;
|
||||
|
||||
// @public
|
||||
export class UnprocessedEntitiesModule {
|
||||
|
||||
@@ -20,5 +20,5 @@
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export * from './module';
|
||||
export { catalogModuleUnprocessedEntities as default } from './module';
|
||||
export * from './UnprocessedEntitiesModule';
|
||||
|
||||
@@ -74,7 +74,8 @@ export type CatalogPermissionRule<
|
||||
> = PermissionRule<Entity, EntitiesSearchFilter, 'catalog-entity', TParams>;
|
||||
|
||||
// @alpha
|
||||
export const catalogPlugin: () => BackendFeature;
|
||||
const catalogPlugin: () => BackendFeature;
|
||||
export default catalogPlugin;
|
||||
|
||||
// @alpha
|
||||
export const createCatalogConditionalDecision: (
|
||||
|
||||
@@ -21,4 +21,4 @@ import type { EntitiesSearchFilter } from './catalog/types';
|
||||
export type { /** @alpha */ EntitiesSearchFilter };
|
||||
|
||||
export * from './permissions';
|
||||
export { catalogPlugin } from './service/CatalogPlugin';
|
||||
export { catalogPlugin as default } from './service/CatalogPlugin';
|
||||
|
||||
@@ -20,7 +20,6 @@ import {
|
||||
createServiceFactory,
|
||||
} from '@backstage/backend-plugin-api';
|
||||
import { TestDatabases, startTestBackend } from '@backstage/backend-test-utils';
|
||||
import { catalogPlugin } from '@backstage/plugin-catalog-backend/alpha';
|
||||
import { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';
|
||||
import { Knex } from 'knex';
|
||||
import { applyDatabaseMigrations } from '../../database/migrations';
|
||||
@@ -181,7 +180,7 @@ describePerformanceTest('stitchingPerformance', () => {
|
||||
|
||||
const backend = await startTestBackend({
|
||||
features: [
|
||||
catalogPlugin(),
|
||||
import('@backstage/plugin-catalog-backend/alpha'),
|
||||
createBackendModule({
|
||||
moduleId: 'syntheticLoadEntities',
|
||||
pluginId: 'catalog',
|
||||
|
||||
@@ -27,7 +27,8 @@ export class DevToolsBackendApi {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const devtoolsPlugin: () => BackendFeature;
|
||||
const devtoolsPlugin: () => BackendFeature;
|
||||
export default devtoolsPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
|
||||
export { DevToolsBackendApi } from './api';
|
||||
export * from './service/router';
|
||||
export { devtoolsPlugin } from './plugin';
|
||||
export { devtoolsPlugin as default } from './plugin';
|
||||
|
||||
@@ -14,7 +14,8 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public
|
||||
export const entityFeedbackPlugin: () => BackendFeature;
|
||||
const entityFeedbackPlugin: () => BackendFeature;
|
||||
export default entityFeedbackPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
* @packageDocumentation
|
||||
*/
|
||||
export * from './service/router';
|
||||
export { entityFeedbackPlugin } from './plugin';
|
||||
export { entityFeedbackPlugin as default } from './plugin';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleAwsSqsConsumingEventPublisher: () => BackendFeature;
|
||||
const eventsModuleAwsSqsConsumingEventPublisher: () => BackendFeature;
|
||||
export default eventsModuleAwsSqsConsumingEventPublisher;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { eventsModuleAwsSqsConsumingEventPublisher } from './service/eventsModuleAwsSqsConsumingEventPublisher';
|
||||
export { eventsModuleAwsSqsConsumingEventPublisher as default } from './service/eventsModuleAwsSqsConsumingEventPublisher';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsPlugin: () => BackendFeature;
|
||||
const eventsPlugin: () => BackendFeature;
|
||||
export default eventsPlugin;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { eventsPlugin } from './service/EventsPlugin';
|
||||
export { eventsPlugin as default } from './service/EventsPlugin';
|
||||
|
||||
@@ -12,7 +12,8 @@ import { Logger } from 'winston';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const exampleTodoListPlugin: () => BackendFeature;
|
||||
const exampleTodoListPlugin: () => BackendFeature;
|
||||
export default exampleTodoListPlugin;
|
||||
|
||||
// @public
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './service/router';
|
||||
export { exampleTodoListPlugin } from './plugin';
|
||||
export { exampleTodoListPlugin as default } from './plugin';
|
||||
|
||||
@@ -12,7 +12,8 @@ import { Logger } from 'winston';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const kafkaPlugin: () => BackendFeature;
|
||||
const kafkaPlugin: () => BackendFeature;
|
||||
export default kafkaPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
|
||||
export type { RouterOptions } from './service/router';
|
||||
export { createRouter } from './service/router';
|
||||
export { kafkaPlugin } from './plugin';
|
||||
export { kafkaPlugin as default } from './plugin';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const kubernetesPlugin: () => BackendFeature;
|
||||
const kubernetesPlugin: () => BackendFeature;
|
||||
export default kubernetesPlugin;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export { kubernetesPlugin } from './plugin';
|
||||
export { kubernetesPlugin as default } from './plugin';
|
||||
|
||||
@@ -30,7 +30,8 @@ export function createScheduler(
|
||||
): Promise<void>;
|
||||
|
||||
// @public
|
||||
export const lighthousePlugin: () => BackendFeature;
|
||||
const lighthousePlugin: () => BackendFeature;
|
||||
export default lighthousePlugin;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './service/createScheduler';
|
||||
export { lighthousePlugin } from './plugin';
|
||||
export { lighthousePlugin as default } from './plugin';
|
||||
|
||||
@@ -41,7 +41,8 @@ export interface LinguistBackendApi {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const linguistPlugin: () => BackendFeature;
|
||||
const linguistPlugin: () => BackendFeature;
|
||||
export default linguistPlugin;
|
||||
|
||||
// @public
|
||||
export class LinguistTagsProcessor implements CatalogProcessor {
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
export * from './processor';
|
||||
export * from './service/router';
|
||||
export type { LinguistBackendApi } from './api';
|
||||
export { linguistPlugin } from './plugin';
|
||||
export { linguistPlugin as default } from './plugin';
|
||||
|
||||
@@ -12,7 +12,8 @@ import { Logger } from 'winston';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const periskopPlugin: () => BackendFeature;
|
||||
const periskopPlugin: () => BackendFeature;
|
||||
export default periskopPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './service/router';
|
||||
export { periskopPlugin } from './plugin';
|
||||
export { periskopPlugin as default } from './plugin';
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @public
|
||||
export const permissionModuleAllowAllPolicy: () => BackendFeature;
|
||||
const permissionModuleAllowAllPolicy: () => BackendFeature;
|
||||
export default permissionModuleAllowAllPolicy;
|
||||
```
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { permissionModuleAllowAllPolicy } from './module';
|
||||
export { permissionModuleAllowAllPolicy as default } from './module';
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const permissionPlugin: () => BackendFeature;
|
||||
const permissionPlugin: () => BackendFeature;
|
||||
export default permissionPlugin;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { permissionPlugin } from './plugin';
|
||||
export { permissionPlugin as default } from './plugin';
|
||||
|
||||
@@ -13,7 +13,8 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const proxyPlugin: () => BackendFeature;
|
||||
const proxyPlugin: () => BackendFeature;
|
||||
export default proxyPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
*/
|
||||
|
||||
export * from './service';
|
||||
export { proxyPlugin } from './plugin';
|
||||
export { proxyPlugin as default } from './plugin';
|
||||
|
||||
@@ -86,7 +86,8 @@ export const scaffolderActionConditions: Conditions<{
|
||||
}>;
|
||||
|
||||
// @alpha
|
||||
export const scaffolderPlugin: () => BackendFeature;
|
||||
const scaffolderPlugin: () => BackendFeature;
|
||||
export default scaffolderPlugin;
|
||||
|
||||
// @alpha
|
||||
export const scaffolderTemplateConditions: Conditions<{
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
|
||||
export * from './modules';
|
||||
export * from './service';
|
||||
export { scaffolderPlugin } from './ScaffolderPlugin';
|
||||
export { scaffolderPlugin as default } from './ScaffolderPlugin';
|
||||
|
||||
@@ -16,7 +16,8 @@ export type CatalogCollatorExtensionPoint = {
|
||||
export const catalogCollatorExtensionPoint: ExtensionPoint<CatalogCollatorExtensionPoint>;
|
||||
|
||||
// @alpha
|
||||
export const searchModuleCatalogCollator: () => BackendFeature;
|
||||
const _default: () => BackendFeature;
|
||||
export default _default;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { mockServices, startTestBackend } from '@backstage/backend-test-utils';
|
||||
import { searchIndexRegistryExtensionPoint } from '@backstage/plugin-search-backend-node/alpha';
|
||||
import { searchModuleCatalogCollator } from './alpha';
|
||||
import searchModuleCatalogCollator from './alpha';
|
||||
|
||||
describe('searchModuleCatalogCollator', () => {
|
||||
it('should register the catalog collator to the search index registry extension point with factory and schedule', async () => {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user