@@ -3,12 +3,12 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
import { AnalyzeLocationExistingEntity } from '@backstage/plugin-catalog-backend';
|
||||
import { AnalyzeOptions } from '@backstage/plugin-catalog-backend';
|
||||
import { BackendFeature } from '@backstage/backend-plugin-api';
|
||||
import { CatalogProcessor } from '@backstage/plugin-catalog-backend';
|
||||
import { CatalogProcessorEmit } from '@backstage/plugin-catalog-backend';
|
||||
import { Config } from '@backstage/config';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { EntityProvider } from '@backstage/plugin-catalog-backend';
|
||||
import { EntityProviderConnection } from '@backstage/plugin-catalog-backend';
|
||||
import { GithubCredentialsProvider } from '@backstage/integration';
|
||||
@@ -78,12 +78,18 @@ export type GithubEntityProviderCatalogModuleOptions = {
|
||||
export class GitHubLocationAnalyzer implements ScmLocationAnalyzer {
|
||||
constructor(options: GitHubLocationAnalyzerOptions);
|
||||
// (undocumented)
|
||||
analyze({
|
||||
url,
|
||||
catalogFilename,
|
||||
}: AnalyzeOptions): Promise<AnalyzeLocationExistingEntity[]>;
|
||||
analyze({ url, catalogFilename }: AnalyzeOptions): Promise<{
|
||||
existing: {
|
||||
location: {
|
||||
type: string;
|
||||
target: string;
|
||||
};
|
||||
isRegistered: boolean;
|
||||
entity: Entity;
|
||||
}[];
|
||||
}>;
|
||||
// (undocumented)
|
||||
getIntegrationType(): string;
|
||||
supports(url: string): boolean;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
@@ -543,8 +543,10 @@ export { processingResult };
|
||||
|
||||
// @public (undocumented)
|
||||
export type ScmLocationAnalyzer = {
|
||||
getIntegrationType(): string;
|
||||
analyze(options: AnalyzeOptions): Promise<AnalyzeLocationExistingEntity[]>;
|
||||
supports(url: string): boolean;
|
||||
analyze(options: AnalyzeOptions): Promise<{
|
||||
existing: AnalyzeLocationExistingEntity[];
|
||||
}>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
Reference in New Issue
Block a user