keep BackendFeatureFactory internal
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -9,6 +9,16 @@ export interface BackendFeature {
|
||||
$$type: '@backstage/BackendFeature';
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface BackendFeatureFactory<
|
||||
TOptions extends [options?: object] = [],
|
||||
> {
|
||||
// (undocumented)
|
||||
$$type: '@backstage/BackendFeatureFactory';
|
||||
// (undocumented)
|
||||
(...options: TOptions): BackendFeature;
|
||||
}
|
||||
|
||||
// @alpha (undocumented)
|
||||
export interface FeatureDiscoveryService {
|
||||
// (undocumented)
|
||||
|
||||
@@ -126,12 +126,12 @@ export namespace coreServices {
|
||||
// @public
|
||||
export function createBackendModule<TOptions extends [options?: object] = []>(
|
||||
config: BackendModuleConfig | ((...params: TOptions) => BackendModuleConfig),
|
||||
): BackendFeatureFactory<TOptions>;
|
||||
): (...params: TOptions) => BackendFeature;
|
||||
|
||||
// @public
|
||||
export function createBackendPlugin<TOptions extends [options?: object] = []>(
|
||||
config: BackendPluginConfig | ((...params: TOptions) => BackendPluginConfig),
|
||||
): BackendFeatureFactory<TOptions>;
|
||||
): (...params: TOptions) => BackendFeature;
|
||||
|
||||
// @public
|
||||
export function createExtensionPoint<T>(
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import { createServiceRef } from './services';
|
||||
import { BackendFeature } from './wiring';
|
||||
import { BackendFeature, BackendFeatureFactory } from './wiring';
|
||||
|
||||
/** @alpha */
|
||||
export interface FeatureDiscoveryService {
|
||||
@@ -33,4 +33,4 @@ export const featureDiscoveryServiceRef =
|
||||
});
|
||||
|
||||
export type { ServiceRef } from './services';
|
||||
export type { BackendFeature };
|
||||
export type { BackendFeature, BackendFeatureFactory };
|
||||
|
||||
@@ -21,6 +21,7 @@ import {
|
||||
InternalBackendModuleRegistration,
|
||||
InternalBackendPluginRegistration,
|
||||
BackendFeatureFactory,
|
||||
BackendFeature,
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
@@ -86,7 +87,7 @@ export interface BackendPluginConfig {
|
||||
*/
|
||||
export function createBackendPlugin<TOptions extends [options?: object] = []>(
|
||||
config: BackendPluginConfig | ((...params: TOptions) => BackendPluginConfig),
|
||||
): BackendFeatureFactory<TOptions> {
|
||||
): (...params: TOptions) => BackendFeature {
|
||||
const configCallback = typeof config === 'function' ? config : () => config;
|
||||
|
||||
const factory: BackendFeatureFactory<TOptions> = (...options) => {
|
||||
@@ -179,7 +180,7 @@ export interface BackendModuleConfig {
|
||||
*/
|
||||
export function createBackendModule<TOptions extends [options?: object] = []>(
|
||||
config: BackendModuleConfig | ((...params: TOptions) => BackendModuleConfig),
|
||||
): BackendFeatureFactory<TOptions> {
|
||||
): (...params: TOptions) => BackendFeature {
|
||||
const configCallback = typeof config === 'function' ? config : () => config;
|
||||
const factory: BackendFeatureFactory<TOptions> = (...options: TOptions) => {
|
||||
const c = configCallback(...options);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
import { AdrDocument } from '@backstage/plugin-adr-common';
|
||||
import { AdrFilePathFilterFn } from '@backstage/plugin-adr-common';
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { CacheClient } from '@backstage/backend-common';
|
||||
import { CatalogApi } from '@backstage/catalog-client';
|
||||
import { Config } from '@backstage/config';
|
||||
@@ -45,7 +45,7 @@ export type AdrParserContext = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const adrPlugin: BackendFeatureFactory<[]>;
|
||||
export const adrPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export type AdrRouterOptions = {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { Logger } from 'winston';
|
||||
@@ -14,7 +14,7 @@ export interface AirbrakeConfig {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const airbrakePlugin: BackendFeatureFactory<[]>;
|
||||
export const airbrakePlugin: () => BackendFeature;
|
||||
|
||||
// @public
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const appPlugin: BackendFeatureFactory<[]>;
|
||||
export const appPlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Build } from 'azure-devops-node-api/interfaces/BuildInterfaces';
|
||||
import { BuildDefinitionReference } from 'azure-devops-node-api/interfaces/BuildInterfaces';
|
||||
import { BuildRun } from '@backstage/plugin-azure-devops-common';
|
||||
@@ -96,7 +96,7 @@ export class AzureDevOpsApi {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const azureDevOpsPlugin: BackendFeatureFactory<[]>;
|
||||
export const azureDevOpsPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { CatalogApi } from '@backstage/catalog-client';
|
||||
import { Config } from '@backstage/config';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
@@ -83,7 +83,7 @@ export type BadgeSpec = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const badgesPlugin: BackendFeatureFactory<[]>;
|
||||
export const badgesPlugin: () => BackendFeature;
|
||||
|
||||
// @public
|
||||
export interface BadgesStore {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { IdentityApi } from '@backstage/plugin-auth-node';
|
||||
@@ -11,7 +11,7 @@ import { Logger } from 'winston';
|
||||
import { PluginDatabaseManager } from '@backstage/backend-common';
|
||||
|
||||
// @alpha
|
||||
export const bazaarPlugin: BackendFeatureFactory<[]>;
|
||||
export const bazaarPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleAwsS3EntityProvider: BackendFeatureFactory<[]>;
|
||||
export const catalogModuleAwsS3EntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleAzureDevOpsEntityProvider: BackendFeatureFactory<[]>;
|
||||
export const catalogModuleAzureDevOpsEntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const catalogModuleBitbucketCloudEntityProvider: BackendFeatureFactory<
|
||||
[]
|
||||
>;
|
||||
export const catalogModuleBitbucketCloudEntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const catalogModuleBitbucketServerEntityProvider: BackendFeatureFactory<
|
||||
[]
|
||||
>;
|
||||
export const catalogModuleBitbucketServerEntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Config } from '@backstage/config';
|
||||
import * as container from '@google-cloud/container';
|
||||
import { EntityProvider } from '@backstage/plugin-catalog-node';
|
||||
@@ -12,7 +12,7 @@ import { Logger } from 'winston';
|
||||
import { SchedulerService } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @public
|
||||
export const catalogModuleGcpGkeEntityProvider: BackendFeatureFactory<[]>;
|
||||
export const catalogModuleGcpGkeEntityProvider: () => BackendFeature;
|
||||
|
||||
// @public
|
||||
export class GkeEntityProvider implements EntityProvider {
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const catalogModuleGerritEntityProvider: BackendFeatureFactory<[]>;
|
||||
export const catalogModuleGerritEntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleGithubEntityProvider: BackendFeatureFactory<[]>;
|
||||
export const catalogModuleGithubEntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleGitlabDiscoveryEntityProvider: BackendFeatureFactory<
|
||||
[]
|
||||
>;
|
||||
export const catalogModuleGitlabDiscoveryEntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,21 +3,17 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { IncrementalEntityProvider } from '@backstage/plugin-catalog-backend-module-incremental-ingestion';
|
||||
import { IncrementalEntityProviderOptions } from '@backstage/plugin-catalog-backend-module-incremental-ingestion';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleIncrementalIngestionEntityProvider: BackendFeatureFactory<
|
||||
[
|
||||
options: {
|
||||
providers: {
|
||||
provider: IncrementalEntityProvider<unknown, unknown>;
|
||||
options: IncrementalEntityProviderOptions;
|
||||
}[];
|
||||
},
|
||||
]
|
||||
>;
|
||||
export const catalogModuleIncrementalIngestionEntityProvider: (options: {
|
||||
providers: {
|
||||
provider: IncrementalEntityProvider<unknown, unknown>;
|
||||
options: IncrementalEntityProviderOptions;
|
||||
}[];
|
||||
}) => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,15 +3,13 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { GroupTransformer } from '@backstage/plugin-catalog-backend-module-msgraph';
|
||||
import { OrganizationTransformer } from '@backstage/plugin-catalog-backend-module-msgraph';
|
||||
import { UserTransformer } from '@backstage/plugin-catalog-backend-module-msgraph';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleMicrosoftGraphOrgEntityProvider: BackendFeatureFactory<
|
||||
[]
|
||||
>;
|
||||
export const catalogModuleMicrosoftGraphOrgEntityProvider: () => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export interface CatalogModuleMicrosoftGraphOrgEntityProviderOptions {
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const catalogModulePuppetDbEntityProvider: BackendFeatureFactory<[]>;
|
||||
export const catalogModulePuppetDbEntityProvider: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { HttpRouterService } from '@backstage/backend-plugin-api';
|
||||
import { Knex } from 'knex';
|
||||
|
||||
// @public
|
||||
export const catalogModuleUnprocessedEntities: BackendFeatureFactory<[]>;
|
||||
export const catalogModuleUnprocessedEntities: () => BackendFeature;
|
||||
|
||||
// @public
|
||||
export class UnprocessedEntitiesModule {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { ConditionalPolicyDecision } from '@backstage/plugin-permission-common';
|
||||
import { Conditions } from '@backstage/plugin-permission-node';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
@@ -74,7 +74,7 @@ export type CatalogPermissionRule<
|
||||
> = PermissionRule<Entity, EntitiesSearchFilter, 'catalog-entity', TParams>;
|
||||
|
||||
// @alpha
|
||||
export const catalogPlugin: BackendFeatureFactory<[]>;
|
||||
export const catalogPlugin: () => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export const createCatalogConditionalDecision: (
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Config } from '@backstage/config';
|
||||
import { ConfigInfo } from '@backstage/plugin-devtools-common';
|
||||
import { DevToolsInfo } from '@backstage/plugin-devtools-common';
|
||||
@@ -27,7 +27,7 @@ export class DevToolsBackendApi {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const devtoolsPlugin: BackendFeatureFactory<[]>;
|
||||
export const devtoolsPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import express from 'express';
|
||||
import { IdentityApi } from '@backstage/plugin-auth-node';
|
||||
import { Logger } from 'winston';
|
||||
@@ -14,7 +14,7 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public
|
||||
export const entityFeedbackPlugin: BackendFeatureFactory<[]>;
|
||||
export const entityFeedbackPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleAwsSqsConsumingEventPublisher: BackendFeatureFactory<
|
||||
[]
|
||||
>;
|
||||
export const eventsModuleAwsSqsConsumingEventPublisher: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleAzureDevOpsEventRouter: BackendFeatureFactory<[]>;
|
||||
export const eventsModuleAzureDevOpsEventRouter: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleBitbucketCloudEventRouter: BackendFeatureFactory<[]>;
|
||||
export const eventsModuleBitbucketCloudEventRouter: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleGerritEventRouter: BackendFeatureFactory<[]>;
|
||||
export const eventsModuleGerritEventRouter: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleGithubEventRouter: BackendFeatureFactory<[]>;
|
||||
export const eventsModuleGithubEventRouter: () => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleGithubWebhook: BackendFeatureFactory<[]>;
|
||||
export const eventsModuleGithubWebhook: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleGitlabEventRouter: BackendFeatureFactory<[]>;
|
||||
export const eventsModuleGitlabEventRouter: () => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export const eventsModuleGitlabWebhook: BackendFeatureFactory<[]>;
|
||||
export const eventsModuleGitlabWebhook: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const eventsPlugin: BackendFeatureFactory<[]>;
|
||||
export const eventsPlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import express from 'express';
|
||||
import { IdentityApi } from '@backstage/plugin-auth-node';
|
||||
import { Logger } from 'winston';
|
||||
@@ -12,7 +12,7 @@ import { Logger } from 'winston';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const exampleTodoListPlugin: BackendFeatureFactory<[]>;
|
||||
export const exampleTodoListPlugin: () => BackendFeature;
|
||||
|
||||
// @public
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { Logger } from 'winston';
|
||||
@@ -12,7 +12,7 @@ import { Logger } from 'winston';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const kafkaPlugin: BackendFeatureFactory<[]>;
|
||||
export const kafkaPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const kubernetesPlugin: BackendFeatureFactory<[]>;
|
||||
export const kubernetesPlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { CatalogApi } from '@backstage/catalog-client';
|
||||
import { Config } from '@backstage/config';
|
||||
import { Logger } from 'winston';
|
||||
@@ -30,7 +30,7 @@ export function createScheduler(
|
||||
): Promise<void>;
|
||||
|
||||
// @public
|
||||
export const lighthousePlugin: BackendFeatureFactory<[]>;
|
||||
export const lighthousePlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { CatalogProcessor } from '@backstage/plugin-catalog-node';
|
||||
import { CatalogProcessorCache } from '@backstage/plugin-catalog-node';
|
||||
import { Config } from '@backstage/config';
|
||||
@@ -36,9 +36,7 @@ export interface LinguistBackendApi {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const linguistPlugin: BackendFeatureFactory<
|
||||
[options: LinguistPluginOptions]
|
||||
>;
|
||||
export const linguistPlugin: (options: LinguistPluginOptions) => BackendFeature;
|
||||
|
||||
// @public
|
||||
export interface LinguistPluginOptions {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { Logger } from 'winston';
|
||||
@@ -12,7 +12,7 @@ import { Logger } from 'winston';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const periskopPlugin: BackendFeatureFactory<[]>;
|
||||
export const periskopPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const permissionModuleAllowAllPolicy: BackendFeatureFactory<[]>;
|
||||
export const permissionModuleAllowAllPolicy: () => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export const permissionPlugin: BackendFeatureFactory<[]>;
|
||||
export const permissionPlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { Logger } from 'winston';
|
||||
@@ -13,7 +13,7 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @alpha
|
||||
export const proxyPlugin: BackendFeatureFactory<[]>;
|
||||
export const proxyPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { ConditionalPolicyDecision } from '@backstage/plugin-permission-common';
|
||||
import { Conditions } from '@backstage/plugin-permission-node';
|
||||
import { JsonObject } from '@backstage/types';
|
||||
@@ -20,7 +20,7 @@ import { TemplateGlobal } from '@backstage/plugin-scaffolder-backend';
|
||||
import { TemplateParametersV1beta3 } from '@backstage/plugin-scaffolder-common';
|
||||
|
||||
// @alpha
|
||||
export const catalogModuleTemplateKind: BackendFeatureFactory<[]>;
|
||||
export const catalogModuleTemplateKind: () => BackendFeature;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const createScaffolderActionConditionalDecision: (
|
||||
@@ -90,9 +90,9 @@ export const scaffolderActionConditions: Conditions<{
|
||||
}>;
|
||||
|
||||
// @alpha
|
||||
export const scaffolderPlugin: BackendFeatureFactory<
|
||||
[options?: ScaffolderPluginOptions | undefined]
|
||||
>;
|
||||
export const scaffolderPlugin: (
|
||||
options?: ScaffolderPluginOptions | undefined,
|
||||
) => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export type ScaffolderPluginOptions = {
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { DefaultCatalogCollatorFactoryOptions } from '@backstage/plugin-search-backend-module-catalog';
|
||||
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
|
||||
|
||||
// @alpha
|
||||
export const searchModuleCatalogCollator: BackendFeatureFactory<
|
||||
[options?: SearchModuleCatalogCollatorOptions | undefined]
|
||||
>;
|
||||
export const searchModuleCatalogCollator: (
|
||||
options?: SearchModuleCatalogCollatorOptions | undefined,
|
||||
) => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export type SearchModuleCatalogCollatorOptions = Omit<
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { ElasticSearchCustomIndexTemplate } from '@backstage/plugin-search-backend-module-elasticsearch';
|
||||
import { ElasticSearchQueryTranslator } from '@backstage/plugin-search-backend-module-elasticsearch';
|
||||
|
||||
// @alpha
|
||||
export const searchModuleElasticsearchEngine: BackendFeatureFactory<
|
||||
[options?: SearchModuleElasticsearchEngineOptions | undefined]
|
||||
>;
|
||||
export const searchModuleElasticsearchEngine: (
|
||||
options?: SearchModuleElasticsearchEngineOptions | undefined,
|
||||
) => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export type SearchModuleElasticsearchEngineOptions = {
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
|
||||
|
||||
// @alpha
|
||||
export const searchModuleExploreCollator: BackendFeatureFactory<
|
||||
[options?: SearchModuleExploreCollatorOptions | undefined]
|
||||
>;
|
||||
export const searchModuleExploreCollator: (
|
||||
options?: SearchModuleExploreCollatorOptions | undefined,
|
||||
) => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export type SearchModuleExploreCollatorOptions = {
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const searchModulePostgresEngine: BackendFeatureFactory<[]>;
|
||||
export const searchModulePostgresEngine: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
|
||||
import { TechDocsCollatorFactoryOptions } from '@backstage/plugin-search-backend-module-techdocs';
|
||||
|
||||
// @alpha
|
||||
export const searchModuleTechDocsCollator: BackendFeatureFactory<
|
||||
[options?: SearchModuleTechDocsCollatorOptions | undefined]
|
||||
>;
|
||||
export const searchModuleTechDocsCollator: (
|
||||
options?: SearchModuleTechDocsCollatorOptions | undefined,
|
||||
) => BackendFeature;
|
||||
|
||||
// @alpha
|
||||
export type SearchModuleTechDocsCollatorOptions = Omit<
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const searchPlugin: BackendFeatureFactory<[]>;
|
||||
export const searchPlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
export const techdocsPlugin: BackendFeatureFactory<[]>;
|
||||
export const techdocsPlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { CatalogApi } from '@backstage/catalog-client';
|
||||
import { CompoundEntityRef } from '@backstage/catalog-model';
|
||||
import { Config } from '@backstage/config';
|
||||
@@ -91,7 +91,7 @@ export type TodoParserResult = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const todoPlugin: BackendFeatureFactory<[]>;
|
||||
export const todoPlugin: () => BackendFeature;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface TodoReader {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { BackendFeatureFactory } from '@backstage/backend-plugin-api';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import express from 'express';
|
||||
import { IdentityApi } from '@backstage/plugin-auth-node';
|
||||
import { PluginDatabaseManager } from '@backstage/backend-common';
|
||||
@@ -20,7 +20,7 @@ export interface RouterOptions {
|
||||
}
|
||||
|
||||
// @alpha
|
||||
export const userSettingsPlugin: BackendFeatureFactory<[]>;
|
||||
export const userSettingsPlugin: () => BackendFeature;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user