Changed @alpha to @public

Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
Andre Wanlin
2023-06-23 12:46:23 -05:00
parent ae261e79d2
commit c7f5324fa0
18 changed files with 33 additions and 125 deletions
+3 -3
View File
@@ -33,9 +33,9 @@ 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/alpha';
import { linguistPlugin } from '@backstage/plugin-linguist-backend/alpha';
import { devtoolsPlugin } from '@backstage/plugin-devtools-backend/alpha';
import { azureDevOpsPlugin } from '@backstage/plugin-azure-devops-backend';
import { linguistPlugin } from '@backstage/plugin-linguist-backend';
import { devtoolsPlugin } from '@backstage/plugin-devtools-backend';
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
const backend = createBackend();
@@ -1,12 +0,0 @@
## API Report File for "@backstage/plugin-azure-devops-backend"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { BackendFeature } from '@backstage/backend-plugin-api';
// @alpha
export const azureDevOpsPlugin: () => BackendFeature;
// (No @packageDocumentation comment for this package)
```
+4 -2
View File
@@ -3,6 +3,7 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
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';
@@ -94,6 +95,9 @@ export class AzureDevOpsApi {
}): Promise<TeamMember[] | undefined>;
}
// @public
export const azureDevOpsPlugin: () => BackendFeature;
// @public (undocumented)
export function createRouter(options: RouterOptions): Promise<express.Router>;
@@ -108,6 +112,4 @@ export interface RouterOptions {
// (undocumented)
reader: UrlReader;
}
// (No @packageDocumentation comment for this package)
```
@@ -11,14 +11,10 @@
},
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha.ts",
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"alpha": [
"src/alpha.ts"
],
"package.json": [
"package.json"
]
-16
View File
@@ -1,16 +0,0 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { azureDevOpsPlugin } from './plugin';
@@ -13,5 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Azure DevOps backend plugin that contains the API for retrieving builds, pull requests, etc. which is used by the Azure DevOps frontend plugin.
*
* @packageDocumentation
*/
export { AzureDevOpsApi } from './api';
export * from './service/router';
export { azureDevOpsPlugin } from './plugin';
+1 -1
View File
@@ -24,7 +24,7 @@ import { createRouter } from './service/router';
/**
* Azure DevOps backend plugin
*
* @alpha
* @public
*/
export const azureDevOpsPlugin = createBackendPlugin({
pluginId: 'azure-devops',
@@ -1,12 +0,0 @@
## API Report File for "@backstage/plugin-devtools-backend"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { BackendFeature } from '@backstage/backend-plugin-api';
// @alpha
export const devtoolsPlugin: () => BackendFeature;
// (No @packageDocumentation comment for this package)
```
+4
View File
@@ -3,6 +3,7 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
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';
@@ -25,6 +26,9 @@ export class DevToolsBackendApi {
listInfo(): Promise<DevToolsInfo>;
}
// @public
export const devtoolsPlugin: () => BackendFeature;
// @public (undocumented)
export interface RouterOptions {
// (undocumented)
-4
View File
@@ -11,14 +11,10 @@
},
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha.ts",
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"alpha": [
"src/alpha.ts"
],
"package.json": [
"package.json"
]
-16
View File
@@ -1,16 +0,0 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { devtoolsPlugin } from './plugin';
+1
View File
@@ -22,3 +22,4 @@
export { DevToolsBackendApi } from './api';
export * from './service/router';
export { devtoolsPlugin } from './plugin';
+2 -2
View File
@@ -22,9 +22,9 @@ import {
import { createRouter } from './service/router';
/**
* Azure DevOps backend plugin
* DevTools backend plugin
*
* @alpha
* @public
*/
export const devtoolsPlugin = createBackendPlugin({
pluginId: 'devtools',
@@ -1,30 +0,0 @@
## API Report File for "@backstage/plugin-linguist-backend"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { BackendFeature } from '@backstage/backend-plugin-api';
import { HumanDuration } from '@backstage/types';
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
// @alpha
export const linguistPlugin: (options: LinguistPluginOptions) => BackendFeature;
// @alpha
export interface LinguistPluginOptions {
// (undocumented)
age?: HumanDuration;
// (undocumented)
batchSize?: number;
// (undocumented)
kind?: string[];
// (undocumented)
linguistJsOptions?: Record<string, unknown>;
// (undocumented)
schedule?: TaskScheduleDefinition;
// (undocumented)
useSourceLocation?: boolean;
}
// (No @packageDocumentation comment for this package)
```
-4
View File
@@ -11,14 +11,10 @@
},
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha.ts",
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"alpha": [
"src/alpha.ts"
],
"package.json": [
"package.json"
]
-17
View File
@@ -1,17 +0,0 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { linguistPlugin } from './plugin';
export type { LinguistPluginOptions } from './plugin';
+8
View File
@@ -14,5 +14,13 @@
* limitations under the License.
*/
/**
* Linguist backend plugin that contains the API for generating and retrieving language breakdown which is used by the Linguist frontend plugin.
*
* @packageDocumentation
*/
export * from './service/router';
export type { LinguistBackendApi } from './api';
export { linguistPlugin } from './plugin';
export type { LinguistPluginOptions } from './plugin';
+2 -2
View File
@@ -26,7 +26,7 @@ import { HumanDuration } from '@backstage/types';
/**
* Options for Linguist backend plugin
*
* @alpha
* @public
*/
export interface LinguistPluginOptions {
schedule?: TaskScheduleDefinition;
@@ -40,7 +40,7 @@ export interface LinguistPluginOptions {
/**
* Linguist backend plugin
*
* @alpha
* @public
*/
export const linguistPlugin = createBackendPlugin(
(options: LinguistPluginOptions) => ({