Removed database export

Signed-off-by: Andre Wanlin <andrewanlin@gmail.com>
This commit is contained in:
Andre Wanlin
2023-04-22 10:12:28 -05:00
parent 62631dbbd7
commit 0f439d6508
2 changed files with 0 additions and 44 deletions
-42
View File
@@ -3,16 +3,13 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { EntityResults } from '@backstage/plugin-linguist-common';
import express from 'express';
import { HumanDuration } from '@backstage/types';
import { Knex } from 'knex';
import { Languages } from '@backstage/plugin-linguist-common';
import { Logger } from 'winston';
import { PluginDatabaseManager } from '@backstage/backend-common';
import { PluginEndpointDiscovery } from '@backstage/backend-common';
import { PluginTaskScheduler } from '@backstage/backend-tasks';
import { ProcessedEntity } from '@backstage/plugin-linguist-common';
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
import { TokenManager } from '@backstage/backend-common';
import { UrlReader } from '@backstage/backend-common';
@@ -31,45 +28,6 @@ export interface LinguistBackendApi {
processEntities(): Promise<void>;
}
// @public (undocumented)
export class LinguistBackendDatabase implements LinguistBackendStore {
constructor(db: Knex);
// (undocumented)
static create(knex: Knex): Promise<LinguistBackendStore>;
// (undocumented)
deleteEntity(entityRef: string): Promise<void>;
// (undocumented)
getAllEntities(): Promise<string[]>;
// (undocumented)
getEntityResults(entityRef: string): Promise<Languages>;
// (undocumented)
getProcessedEntities(): Promise<ProcessedEntity[]>;
// (undocumented)
getUnprocessedEntities(): Promise<string[]>;
// (undocumented)
insertEntityResults(entityLanguages: EntityResults): Promise<string>;
// (undocumented)
insertNewEntity(entityRef: string): Promise<void>;
}
// @public (undocumented)
export interface LinguistBackendStore {
// (undocumented)
deleteEntity(entityRef: string): Promise<void>;
// (undocumented)
getAllEntities(): Promise<string[]>;
// (undocumented)
getEntityResults(entityRef: string): Promise<Languages>;
// (undocumented)
getProcessedEntities(): Promise<ProcessedEntity[]>;
// (undocumented)
getUnprocessedEntities(): Promise<string[]>;
// (undocumented)
insertEntityResults(entityLanguages: EntityResults): Promise<string>;
// (undocumented)
insertNewEntity(entityRef: string): Promise<void>;
}
// @public (undocumented)
export interface PluginOptions {
// (undocumented)
-2
View File
@@ -16,5 +16,3 @@
export * from './service/router';
export type { LinguistBackendApi } from './api';
export { LinguistBackendDatabase } from './db';
export type { LinguistBackendStore } from './db';