move over cache and database services

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-05-21 12:39:27 +02:00
parent 8ed28ffcdf
commit 02103becc6
41 changed files with 469 additions and 500 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
import type { AppConfig } from '@backstage/config';
import { AuthService } from '@backstage/backend-plugin-api';
import { BackendFeature } from '@backstage/backend-plugin-api';
import { CacheClient } from '@backstage/backend-common';
import { CacheService } from '@backstage/backend-plugin-api';
import { Config } from '@backstage/config';
import { ConfigSchema } from '@backstage/config-loader';
import { CorsOptions } from 'cors';
@@ -66,7 +66,7 @@ export interface Backend {
}
// @public @deprecated (undocumented)
export const cacheServiceFactory: () => ServiceFactory<CacheClient, 'plugin'>;
export const cacheServiceFactory: () => ServiceFactory<CacheService, 'plugin'>;
// @public (undocumented)
export function createConfigSecretEnumerator(options: {