Removed export

Signed-off-by: Andre Wanlin <andrewanlin@gmail.com>
This commit is contained in:
Andre Wanlin
2023-04-14 20:14:52 -05:00
parent 75fe31e5a4
commit 62631dbbd7
4 changed files with 2 additions and 24 deletions
-21
View File
@@ -3,7 +3,6 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { CatalogApi } from '@backstage/catalog-client';
import { EntityResults } from '@backstage/plugin-linguist-common';
import express from 'express';
import { HumanDuration } from '@backstage/types';
@@ -32,26 +31,6 @@ export interface LinguistBackendApi {
processEntities(): Promise<void>;
}
// @public (undocumented)
export class LinguistBackendClient implements LinguistBackendApi {
constructor(
logger: Logger,
store: LinguistBackendStore,
urlReader: UrlReader,
tokenManager: TokenManager,
catalogApi: CatalogApi,
age?: HumanDuration,
batchSize?: number,
useSourceLocation?: boolean,
kind?: string[],
linguistJsOptions?: Record<string, unknown>,
);
// (undocumented)
getEntityLanguages(entityRef: string): Promise<Languages>;
// (undocumented)
processEntities(): Promise<void>;
}
// @public (undocumented)
export class LinguistBackendDatabase implements LinguistBackendStore {
constructor(db: Knex);
@@ -14,5 +14,4 @@
* limitations under the License.
*/
export { LinguistBackendClient } from './LinguistBackendClient';
export type { LinguistBackendApi } from './LinguistBackendClient';
-1
View File
@@ -15,7 +15,6 @@
*/
export * from './service/router';
export { LinguistBackendClient } from './api';
export type { LinguistBackendApi } from './api';
export { LinguistBackendDatabase } from './db';
export type { LinguistBackendStore } from './db';
@@ -24,7 +24,7 @@ import {
import express from 'express';
import Router from 'express-promise-router';
import { Logger } from 'winston';
import { LinguistBackendApi, LinguistBackendClient } from '../api';
import { LinguistBackendApi } from '../api';
import { LinguistBackendDatabase } from '../db';
import {
PluginTaskScheduler,
@@ -32,6 +32,7 @@ import {
} from '@backstage/backend-tasks';
import { HumanDuration } from '@backstage/types';
import { CatalogClient } from '@backstage/catalog-client';
import { LinguistBackendClient } from '../api/LinguistBackendClient';
/** @public */
export interface PluginOptions {