Fix api reports

Signed-off-by: David Lilienfeld <davidlilienfeld4@gmail.com>
This commit is contained in:
David Lilienfeld
2025-03-05 12:50:48 -05:00
parent bb305509fd
commit 9785da55cf
13 changed files with 17 additions and 119 deletions
@@ -21,16 +21,12 @@
"license": "Apache-2.0",
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha.ts",
"./package.json": "./package.json"
},
"main": "src/index.ts",
"types": "src/index.ts",
"typesVersions": {
"*": {
"alpha": [
"src/alpha.ts"
],
"package.json": [
"package.json"
]
@@ -1,7 +0,0 @@
## API Report File for "@backstage/plugin-catalog-backend-module-bitbucket-server"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
// (No @packageDocumentation comment for this package)
```
@@ -86,52 +86,6 @@ export class BitbucketServerEntityProvider implements EntityProvider {
refresh(logger: LoggerService): Promise<void>;
}
// @public (undocumented)
export namespace BitbucketServerEvents {
// (undocumented)
export type Actor = {
name?: string;
id: number;
};
// (undocumented)
export type Change = {
ref: {
id: string;
displayId: string;
type: string;
};
};
// (undocumented)
export interface Event {
// (undocumented)
eventKey: string;
}
// (undocumented)
export interface RefsChangedEvent extends Event {
// (undocumented)
actor: Actor;
// (undocumented)
changes: Change[];
// (undocumented)
commits: undefined;
// (undocumented)
date: string;
// (undocumented)
repository: Repository;
// (undocumented)
ToCommit: undefined;
}
// (undocumented)
export type Repository = {
slug: string;
id: number;
name: string;
project: BitbucketServerProject;
};
{
}
}
// @public (undocumented)
export type BitbucketServerListOptions = {
[key: string]: number | undefined;
@@ -181,12 +135,4 @@ export type BitbucketServerRepository = {
// @public (undocumented)
const catalogModuleBitbucketServerEntityProvider: BackendFeature;
export default catalogModuleBitbucketServerEntityProvider;
// @public (undocumented)
export function paginated(
request: (
options: BitbucketServerListOptions,
) => Promise<BitbucketServerPagedResponse<any>>,
options?: BitbucketServerListOptions,
): AsyncGenerator<any, void, unknown>;
```
@@ -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.
*/
import {} from './module';
@@ -21,7 +21,16 @@
*/
export { default } from './module';
export * from './lib';
export { BitbucketServerClient } from './lib';
export type {
BitbucketServerProject,
BitbucketServerRepository,
BitbucketServerPagedResponse,
BitbucketServerListOptions,
BitbucketServerDefaultBranch,
} from './lib';
export { BitbucketServerEntityProvider } from './providers';
export type { BitbucketServerLocationParser } from './providers';
@@ -198,9 +198,6 @@ export type BitbucketServerPagedResponse<T> = {
nextPageStart: number;
};
/**
* @public
*/
export async function* paginated(
request: (
options: BitbucketServerListOptions,
@@ -19,4 +19,10 @@ export type {
BitbucketServerPagedResponse,
BitbucketServerListOptions,
} from './BitbucketServerClient';
export * from './types';
export type {
BitbucketServerDefaultBranch,
BitbucketServerRepository,
BitbucketServerEvents,
BitbucketServerProject,
} from './types';
// export * from './types';
@@ -46,7 +46,6 @@ type BitbucketServerDefaultBranch = {
isDefault: boolean;
};
/** @public */
namespace BitbucketServerEvents {
interface Event {
eventKey: string;
@@ -18,16 +18,12 @@
"license": "Apache-2.0",
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha.ts",
"./package.json": "./package.json"
},
"main": "src/index.ts",
"types": "src/index.ts",
"typesVersions": {
"*": {
"alpha": [
"src/alpha.ts"
],
"package.json": [
"package.json"
]
@@ -1,7 +0,0 @@
## API Report File for "@backstage/plugin-events-backend-module-bitbucket-server"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
// (No @packageDocumentation comment for this package)
```
@@ -8,5 +8,4 @@ import { BackendFeature } from '@backstage/backend-plugin-api';
// @public
const eventsModuleBitbucketServerEventRouter: BackendFeature;
export default eventsModuleBitbucketServerEventRouter;
export { eventsModuleBitbucketServerEventRouter };
```
@@ -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.
*/
import {} from './service/eventsModuleBitbucketServerEventRouter';
@@ -20,6 +20,4 @@
*
* @packageDocumentation
*/
export { eventsModuleBitbucketServerEventRouter } from './service/eventsModuleBitbucketServerEventRouter';
export { eventsModuleBitbucketServerEventRouter as default } from './service/eventsModuleBitbucketServerEventRouter';