plugins/events-backend-module-*: flip around alpha exports to stable
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -5,9 +5,13 @@
|
||||
```ts
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
const eventsModuleAwsSqsConsumingEventPublisher: BackendFeature;
|
||||
export default eventsModuleAwsSqsConsumingEventPublisher;
|
||||
// @alpha (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/alpha.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -22,16 +22,12 @@ export class AwsSqsConsumingEventPublisher {
|
||||
start(): Promise<void>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
// @public
|
||||
const eventsModuleAwsSqsConsumingEventPublisher: BackendFeature;
|
||||
export default eventsModuleAwsSqsConsumingEventPublisher;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/index.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
// src/index.d.ts:4:1 - (ae-misplaced-package-tag) The @packageDocumentation comment must appear at the top of entry point *.d.ts file
|
||||
// src/publisher/AwsSqsConsumingEventPublisher.d.ts:21:5 - (ae-undocumented) Missing documentation for "fromConfig".
|
||||
// src/publisher/AwsSqsConsumingEventPublisher.d.ts:28:5 - (ae-undocumented) Missing documentation for "start".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,4 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { eventsModuleAwsSqsConsumingEventPublisher as default } from './service/eventsModuleAwsSqsConsumingEventPublisher';
|
||||
import { eventsModuleAwsSqsConsumingEventPublisher } from './service/eventsModuleAwsSqsConsumingEventPublisher';
|
||||
|
||||
/** @alpha */
|
||||
const _feature = eventsModuleAwsSqsConsumingEventPublisher;
|
||||
export default _feature;
|
||||
|
||||
@@ -14,12 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { default as feature } from './alpha';
|
||||
|
||||
/** @public */
|
||||
const _feature = feature;
|
||||
export default _feature;
|
||||
|
||||
/**
|
||||
* The module "sqs" for the Backstage backend plugin "events"
|
||||
* adding an AWS SQS-based publisher,
|
||||
@@ -29,4 +23,5 @@ export default _feature;
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { eventsModuleAwsSqsConsumingEventPublisher as default } from './service/eventsModuleAwsSqsConsumingEventPublisher';
|
||||
export { AwsSqsConsumingEventPublisher } from './publisher/AwsSqsConsumingEventPublisher';
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import { AwsSqsConsumingEventPublisher } from '../publisher/AwsSqsConsumingEvent
|
||||
/**
|
||||
* AWS SQS module for the Events plugin.
|
||||
*
|
||||
* @alpha
|
||||
* @public
|
||||
*/
|
||||
export const eventsModuleAwsSqsConsumingEventPublisher = createBackendModule({
|
||||
pluginId: 'events',
|
||||
|
||||
@@ -5,10 +5,17 @@
|
||||
```ts
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
const eventsModuleAzureDevOpsEventRouter: BackendFeature;
|
||||
export default eventsModuleAzureDevOpsEventRouter;
|
||||
export { eventsModuleAzureDevOpsEventRouter };
|
||||
// @alpha (undocumented)
|
||||
export const eventsModuleAzureDevOpsEventRouter: BackendFeature;
|
||||
|
||||
// @alpha (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/alpha.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
// src/alpha.d.ts:5:22 - (ae-undocumented) Missing documentation for "eventsModuleAzureDevOpsEventRouter".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -17,16 +17,12 @@ export class AzureDevOpsEventRouter extends SubTopicEventRouter {
|
||||
protected getSubscriberId(): string;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
// @public
|
||||
const eventsModuleAzureDevOpsEventRouter: BackendFeature;
|
||||
export default eventsModuleAzureDevOpsEventRouter;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/index.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
// src/index.d.ts:4:1 - (ae-misplaced-package-tag) The @packageDocumentation comment must appear at the top of entry point *.d.ts file
|
||||
// src/router/AzureDevOpsEventRouter.d.ts:13:5 - (ae-undocumented) Missing documentation for "getSubscriberId".
|
||||
// src/router/AzureDevOpsEventRouter.d.ts:14:5 - (ae-undocumented) Missing documentation for "determineSubTopic".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,5 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { eventsModuleAzureDevOpsEventRouter } from './service/eventsModuleAzureDevOpsEventRouter';
|
||||
export { eventsModuleAzureDevOpsEventRouter as default } from './service/eventsModuleAzureDevOpsEventRouter';
|
||||
import { eventsModuleAzureDevOpsEventRouter as feature } from './service/eventsModuleAzureDevOpsEventRouter';
|
||||
|
||||
/** @alpha */
|
||||
const _feature = feature;
|
||||
export default _feature;
|
||||
/** @alpha */
|
||||
export const eventsModuleAzureDevOpsEventRouter = _feature;
|
||||
|
||||
@@ -14,12 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { default as feature } from './alpha';
|
||||
|
||||
/** @public */
|
||||
const _feature = feature;
|
||||
export default _feature;
|
||||
|
||||
/**
|
||||
* The module "azure" for the Backstage backend plugin "events-backend"
|
||||
* adding an event router for Azure DevOps.
|
||||
@@ -27,4 +21,5 @@ export default _feature;
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { eventsModuleAzureDevOpsEventRouter as default } from './service/eventsModuleAzureDevOpsEventRouter';
|
||||
export { AzureDevOpsEventRouter } from './router/AzureDevOpsEventRouter';
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import { AzureDevOpsEventRouter } from '../router/AzureDevOpsEventRouter';
|
||||
*
|
||||
* Registers the `AzureDevOpsEventRouter`.
|
||||
*
|
||||
* @alpha
|
||||
* @public
|
||||
*/
|
||||
export const eventsModuleAzureDevOpsEventRouter = createBackendModule({
|
||||
pluginId: 'events',
|
||||
|
||||
@@ -5,10 +5,17 @@
|
||||
```ts
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
const eventsModuleBitbucketCloudEventRouter: BackendFeature;
|
||||
export default eventsModuleBitbucketCloudEventRouter;
|
||||
export { eventsModuleBitbucketCloudEventRouter };
|
||||
// @alpha (undocumented)
|
||||
export const eventsModuleBitbucketCloudEventRouter: BackendFeature;
|
||||
|
||||
// @alpha (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/alpha.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
// src/alpha.d.ts:5:22 - (ae-undocumented) Missing documentation for "eventsModuleBitbucketCloudEventRouter".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -17,16 +17,12 @@ export class BitbucketCloudEventRouter extends SubTopicEventRouter {
|
||||
protected getSubscriberId(): string;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
// @public
|
||||
const eventsModuleBitbucketCloudEventRouter: BackendFeature;
|
||||
export default eventsModuleBitbucketCloudEventRouter;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/index.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
// src/index.d.ts:4:1 - (ae-misplaced-package-tag) The @packageDocumentation comment must appear at the top of entry point *.d.ts file
|
||||
// src/router/BitbucketCloudEventRouter.d.ts:13:5 - (ae-undocumented) Missing documentation for "getSubscriberId".
|
||||
// src/router/BitbucketCloudEventRouter.d.ts:14:5 - (ae-undocumented) Missing documentation for "determineSubTopic".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,5 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { eventsModuleBitbucketCloudEventRouter } from './service/eventsModuleBitbucketCloudEventRouter';
|
||||
export { eventsModuleBitbucketCloudEventRouter as default } from './service/eventsModuleBitbucketCloudEventRouter';
|
||||
import { eventsModuleBitbucketCloudEventRouter as feature } from './service/eventsModuleBitbucketCloudEventRouter';
|
||||
|
||||
/** @alpha */
|
||||
const _feature = feature;
|
||||
export default _feature;
|
||||
/** @alpha */
|
||||
export const eventsModuleBitbucketCloudEventRouter = _feature;
|
||||
|
||||
@@ -14,12 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { default as feature } from './alpha';
|
||||
|
||||
/** @public */
|
||||
const _feature = feature;
|
||||
export default _feature;
|
||||
|
||||
/**
|
||||
* The module "bitbucket-cloud" for the Backstage backend plugin "events-backend"
|
||||
* adding an event router for Bitbucket Cloud.
|
||||
@@ -27,4 +21,5 @@ export default _feature;
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { eventsModuleBitbucketCloudEventRouter as default } from './service/eventsModuleBitbucketCloudEventRouter';
|
||||
export { BitbucketCloudEventRouter } from './router/BitbucketCloudEventRouter';
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import { BitbucketCloudEventRouter } from '../router/BitbucketCloudEventRouter';
|
||||
*
|
||||
* Registers the `BitbucketCloudEventRouter`.
|
||||
*
|
||||
* @alpha
|
||||
* @public
|
||||
*/
|
||||
export const eventsModuleBitbucketCloudEventRouter = createBackendModule({
|
||||
pluginId: 'events',
|
||||
|
||||
@@ -5,10 +5,17 @@
|
||||
```ts
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
|
||||
// @alpha
|
||||
const eventsModuleGerritEventRouter: BackendFeature;
|
||||
export default eventsModuleGerritEventRouter;
|
||||
export { eventsModuleGerritEventRouter };
|
||||
// @alpha (undocumented)
|
||||
export const eventsModuleGerritEventRouter: BackendFeature;
|
||||
|
||||
// @alpha (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/alpha.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
// src/alpha.d.ts:5:22 - (ae-undocumented) Missing documentation for "eventsModuleGerritEventRouter".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -8,9 +8,9 @@ import { EventParams } from '@backstage/plugin-events-node';
|
||||
import { EventsService } from '@backstage/plugin-events-node';
|
||||
import { SubTopicEventRouter } from '@backstage/plugin-events-node';
|
||||
|
||||
// @public (undocumented)
|
||||
const _feature: BackendFeature;
|
||||
export default _feature;
|
||||
// @public
|
||||
const eventsModuleGerritEventRouter: BackendFeature;
|
||||
export default eventsModuleGerritEventRouter;
|
||||
|
||||
// @public
|
||||
export class GerritEventRouter extends SubTopicEventRouter {
|
||||
@@ -23,10 +23,6 @@ export class GerritEventRouter extends SubTopicEventRouter {
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/index.d.ts:2:15 - (ae-undocumented) Missing documentation for "_feature".
|
||||
// src/index.d.ts:4:1 - (ae-misplaced-package-tag) The @packageDocumentation comment must appear at the top of entry point *.d.ts file
|
||||
// src/router/GerritEventRouter.d.ts:13:5 - (ae-undocumented) Missing documentation for "getSubscriberId".
|
||||
// src/router/GerritEventRouter.d.ts:14:5 - (ae-undocumented) Missing documentation for "determineSubTopic".
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,5 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { eventsModuleGerritEventRouter } from './service/eventsModuleGerritEventRouter';
|
||||
export { eventsModuleGerritEventRouter as default } from './service/eventsModuleGerritEventRouter';
|
||||
import { eventsModuleGerritEventRouter as feature } from './service/eventsModuleGerritEventRouter';
|
||||
|
||||
/** @alpha */
|
||||
const _feature = feature;
|
||||
export default _feature;
|
||||
/** @alpha */
|
||||
export const eventsModuleGerritEventRouter = _feature;
|
||||
|
||||
@@ -14,12 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { default as feature } from './alpha';
|
||||
|
||||
/** @public */
|
||||
const _feature = feature;
|
||||
export default _feature;
|
||||
|
||||
/**
|
||||
* The module `gerrit` for the Backstage backend plugin "events-backend"
|
||||
* adding an event router for Gerrit.
|
||||
@@ -27,4 +21,5 @@ export default _feature;
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { eventsModuleGerritEventRouter as default } from './service/eventsModuleGerritEventRouter';
|
||||
export { GerritEventRouter } from './router/GerritEventRouter';
|
||||
|
||||
@@ -23,7 +23,7 @@ import { GerritEventRouter } from '../router/GerritEventRouter';
|
||||
*
|
||||
* Registers the `GerritEventRouter`.
|
||||
*
|
||||
* @alpha
|
||||
* @public
|
||||
*/
|
||||
export const eventsModuleGerritEventRouter = createBackendModule({
|
||||
pluginId: 'events',
|
||||
|
||||
Reference in New Issue
Block a user