@backstage/backend-app-api 0.4.0 → 0.4.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @backstage/backend-app-api might be problematic. Click here for more details.

package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @backstage/backend-app-api
2
2
 
3
+ ## 0.4.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 928a12a9b3: Internal refactor of `/alpha` exports.
8
+ - Updated dependencies
9
+ - @backstage/backend-tasks@0.4.4-next.0
10
+ - @backstage/backend-plugin-api@0.4.1-next.0
11
+ - @backstage/backend-common@0.18.3-next.0
12
+ - @backstage/cli-common@0.1.11
13
+ - @backstage/config@1.0.6
14
+ - @backstage/config-loader@1.1.8
15
+ - @backstage/errors@1.1.4
16
+ - @backstage/types@1.0.2
17
+ - @backstage/plugin-auth-node@0.2.12-next.0
18
+ - @backstage/plugin-permission-node@0.7.6-next.0
19
+
3
20
  ## 0.4.0
4
21
 
5
22
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,160 +1,67 @@
1
- /**
2
- * Core API used by Backstage backend apps.
3
- *
4
- * @packageDocumentation
5
- */
6
-
7
1
  /// <reference types="node" />
8
-
9
- import { BackendFeature } from '@backstage/backend-plugin-api';
10
- import { CacheClient } from '@backstage/backend-common';
2
+ import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
3
+ import { LoggerService, ConfigService, RootLoggerService, BackendFeature, ServiceFactoryOrFunction, LifecycleService, RootHttpRouterService, RootLifecycleService } from '@backstage/backend-plugin-api';
4
+ import { LoadConfigOptionsRemote } from '@backstage/config-loader';
11
5
  import { Config } from '@backstage/config';
12
- import { ConfigService } from '@backstage/backend-plugin-api';
6
+ import * as http from 'http';
7
+ import { RequestListener } from 'http';
8
+ import { RequestHandler, ErrorRequestHandler, Express, Handler } from 'express';
13
9
  import { CorsOptions } from 'cors';
14
- import { ErrorRequestHandler } from 'express';
15
- import { Express as Express_2 } from 'express';
16
- import { Format } from 'logform';
17
- import { Handler } from 'express';
18
10
  import { HelmetOptions } from 'helmet';
19
- import * as http from 'http';
20
- import { HttpRouterService } from '@backstage/backend-plugin-api';
21
- import { IdentityService } from '@backstage/backend-plugin-api';
22
11
  import { JsonObject } from '@backstage/types';
23
- import { LifecycleService } from '@backstage/backend-plugin-api';
24
- import { LoadConfigOptionsRemote } from '@backstage/config-loader';
25
- import { LoggerService } from '@backstage/backend-plugin-api';
26
- import { PermissionsService } from '@backstage/backend-plugin-api';
27
- import { PluginDatabaseManager } from '@backstage/backend-common';
28
- import { PluginEndpointDiscovery } from '@backstage/backend-common';
29
- import { RequestHandler } from 'express';
30
- import { RequestListener } from 'http';
31
- import { RootHttpRouterService } from '@backstage/backend-plugin-api';
32
- import { RootLifecycleService } from '@backstage/backend-plugin-api';
33
- import { RootLoggerService } from '@backstage/backend-plugin-api';
34
- import { SchedulerService } from '@backstage/backend-plugin-api';
35
- import { ServiceFactory } from '@backstage/backend-plugin-api';
36
- import { ServiceFactoryOrFunction } from '@backstage/backend-plugin-api';
37
- import { TokenManagerService } from '@backstage/backend-plugin-api';
12
+ import { Format } from 'logform';
38
13
  import { transport } from 'winston';
39
- import { UrlReader } from '@backstage/backend-common';
40
-
41
- /**
42
- * @public
43
- */
44
- export declare interface Backend {
45
- add(feature: BackendFeature): void;
46
- start(): Promise<void>;
47
- stop(): Promise<void>;
48
- }
49
-
50
- /** @public */
51
- export declare const cacheServiceFactory: () => ServiceFactory<CacheClient, "plugin">;
14
+ import * as _backstage_backend_common from '@backstage/backend-common';
52
15
 
53
16
  /** @public */
54
- export declare interface ConfigFactoryOptions {
55
- /**
56
- * Process arguments to use instead of the default `process.argv()`.
57
- */
58
- argv?: string[];
59
- /**
60
- * Enables and sets options for remote configuration loading.
61
- */
62
- remote?: LoadConfigOptionsRemote;
63
- }
64
-
65
- /** @public */
66
- export declare const configServiceFactory: (options?: ConfigFactoryOptions | undefined) => ServiceFactory<ConfigService, "root">;
67
-
68
- /** @public */
69
- export declare function createConfigSecretEnumerator(options: {
17
+ declare function createConfigSecretEnumerator(options: {
70
18
  logger: LoggerService;
71
19
  dir?: string;
72
20
  }): Promise<(config: Config) => Iterable<string>>;
73
-
74
21
  /**
75
- * Creates a Node.js HTTP or HTTPS server instance.
76
- *
77
- * @public
78
- */
79
- export declare function createHttpServer(listener: RequestListener, options: HttpServerOptions, deps: {
80
- logger: LoggerService;
81
- }): Promise<ExtendedHttpServer>;
82
-
83
- /**
84
- * @public
85
- */
86
- export declare function createSpecializedBackend(options: CreateSpecializedBackendOptions): Backend;
87
-
88
- /**
89
- * @public
90
- */
91
- export declare interface CreateSpecializedBackendOptions {
92
- services: ServiceFactoryOrFunction[];
93
- }
94
-
95
- /** @public */
96
- export declare const databaseServiceFactory: () => ServiceFactory<PluginDatabaseManager, "plugin">;
97
-
98
- /**
99
- * The default implementation of the {@link @backstage/backend-plugin-api#RootHttpRouterService} interface for
100
- * {@link @backstage/backend-plugin-api#coreServices.rootHttpRouter}.
22
+ * Load configuration for a Backend.
101
23
  *
102
- * @public
103
- */
104
- export declare class DefaultRootHttpRouter implements RootHttpRouterService {
105
- #private;
106
- static create(options?: DefaultRootHttpRouterOptions): DefaultRootHttpRouter;
107
- private constructor();
108
- use(path: string, handler: Handler): void;
109
- handler(): Handler;
110
- }
111
-
112
- /**
113
- * Options for the {@link DefaultRootHttpRouter} class.
24
+ * This function should only be called once, during the initialization of the backend.
114
25
  *
115
26
  * @public
116
27
  */
117
- export declare interface DefaultRootHttpRouterOptions {
118
- /**
119
- * The path to forward all unmatched requests to. Defaults to '/api/app' if
120
- * not given. Disables index path behavior if false is given.
121
- */
122
- indexPath?: string | false;
123
- }
124
-
125
- /** @public */
126
- export declare const discoveryServiceFactory: () => ServiceFactory<PluginEndpointDiscovery, "plugin">;
28
+ declare function loadBackendConfig(options: {
29
+ remote?: LoadConfigOptionsRemote;
30
+ argv: string[];
31
+ }): Promise<{
32
+ config: Config;
33
+ }>;
127
34
 
128
35
  /**
129
36
  * An HTTP server extended with utility methods.
130
37
  *
131
38
  * @public
132
39
  */
133
- export declare interface ExtendedHttpServer extends http.Server {
40
+ interface ExtendedHttpServer extends http.Server {
134
41
  start(): Promise<void>;
135
42
  stop(): Promise<void>;
136
43
  port(): number;
137
44
  }
138
-
139
45
  /**
46
+ * Options for starting up an HTTP server.
47
+ *
140
48
  * @public
141
49
  */
142
- export declare interface HttpRouterFactoryOptions {
143
- /**
144
- * A callback used to generate the path for each plugin, defaults to `/api/{pluginId}`.
145
- */
146
- getPath?(pluginId: string): string;
147
- }
148
-
149
- /** @public */
150
- export declare const httpRouterServiceFactory: (options?: HttpRouterFactoryOptions | undefined) => ServiceFactory<HttpRouterService, "plugin">;
151
-
50
+ declare type HttpServerOptions = {
51
+ listen: {
52
+ port: number;
53
+ host: string;
54
+ };
55
+ https?: {
56
+ certificate: HttpServerCertificateOptions;
57
+ };
58
+ };
152
59
  /**
153
60
  * Options for configuring HTTPS for an HTTP server.
154
61
  *
155
62
  * @public
156
63
  */
157
- export declare type HttpServerCertificateOptions = {
64
+ declare type HttpServerCertificateOptions = {
158
65
  type: 'pem';
159
66
  key: string;
160
67
  cert: string;
@@ -164,64 +71,64 @@ export declare type HttpServerCertificateOptions = {
164
71
  };
165
72
 
166
73
  /**
167
- * Options for starting up an HTTP server.
74
+ * Reads {@link HttpServerOptions} from a {@link @backstage/config#Config} object.
168
75
  *
169
76
  * @public
77
+ * @remarks
78
+ *
79
+ * The provided configuration object should contain the `listen` and
80
+ * additional keys directly.
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * const opts = readHttpServerOptions(config.getConfig('backend'));
85
+ * ```
170
86
  */
171
- export declare type HttpServerOptions = {
172
- listen: {
173
- port: number;
174
- host: string;
175
- };
176
- https?: {
177
- certificate: HttpServerCertificateOptions;
178
- };
179
- };
87
+ declare function readHttpServerOptions(config?: Config): HttpServerOptions;
180
88
 
181
89
  /**
182
- * An identity client options object which allows extra configurations
90
+ * Creates a Node.js HTTP or HTTPS server instance.
183
91
  *
184
92
  * @public
185
93
  */
186
- export declare type IdentityFactoryOptions = {
187
- issuer?: string;
188
- /** JWS "alg" (Algorithm) Header Parameter values. Defaults to an array containing just ES256.
189
- * More info on supported algorithms: https://github.com/panva/jose */
190
- algorithms?: string[];
191
- };
192
-
193
- /** @public */
194
- export declare const identityServiceFactory: (options?: IdentityFactoryOptions | undefined) => ServiceFactory<IdentityService, "plugin">;
94
+ declare function createHttpServer(listener: RequestListener, options: HttpServerOptions, deps: {
95
+ logger: LoggerService;
96
+ }): Promise<ExtendedHttpServer>;
195
97
 
196
98
  /**
197
- * Allows plugins to register shutdown hooks that are run when the process is about to exit.
99
+ * Options used to create a {@link MiddlewareFactory}.
100
+ *
198
101
  * @public
199
102
  */
200
- export declare const lifecycleServiceFactory: () => ServiceFactory<LifecycleService, "plugin">;
201
-
103
+ interface MiddlewareFactoryOptions {
104
+ config: ConfigService;
105
+ logger: LoggerService;
106
+ }
202
107
  /**
203
- * Load configuration for a Backend.
204
- *
205
- * This function should only be called once, during the initialization of the backend.
108
+ * Options passed to the {@link MiddlewareFactory.error} middleware.
206
109
  *
207
110
  * @public
208
111
  */
209
- export declare function loadBackendConfig(options: {
210
- remote?: LoadConfigOptionsRemote;
211
- argv: string[];
212
- }): Promise<{
213
- config: Config;
214
- }>;
215
-
216
- /** @public */
217
- export declare const loggerServiceFactory: () => ServiceFactory<LoggerService, "plugin">;
218
-
112
+ interface MiddlewareFactoryErrorOptions {
113
+ /**
114
+ * Whether error response bodies should show error stack traces or not.
115
+ *
116
+ * If not specified, by default shows stack traces only in development mode.
117
+ */
118
+ showStackTraces?: boolean;
119
+ /**
120
+ * Whether any 4xx errors should be logged or not.
121
+ *
122
+ * If not specified, default to only logging 5xx errors.
123
+ */
124
+ logAllErrors?: boolean;
125
+ }
219
126
  /**
220
127
  * A utility to configure common middleware.
221
128
  *
222
129
  * @public
223
130
  */
224
- export declare class MiddlewareFactory {
131
+ declare class MiddlewareFactory {
225
132
  #private;
226
133
  /**
227
134
  * Creates a new {@link MiddlewareFactory}.
@@ -309,39 +216,6 @@ export declare class MiddlewareFactory {
309
216
  error(options?: MiddlewareFactoryErrorOptions): ErrorRequestHandler;
310
217
  }
311
218
 
312
- /**
313
- * Options passed to the {@link MiddlewareFactory.error} middleware.
314
- *
315
- * @public
316
- */
317
- export declare interface MiddlewareFactoryErrorOptions {
318
- /**
319
- * Whether error response bodies should show error stack traces or not.
320
- *
321
- * If not specified, by default shows stack traces only in development mode.
322
- */
323
- showStackTraces?: boolean;
324
- /**
325
- * Whether any 4xx errors should be logged or not.
326
- *
327
- * If not specified, default to only logging 5xx errors.
328
- */
329
- logAllErrors?: boolean;
330
- }
331
-
332
- /**
333
- * Options used to create a {@link MiddlewareFactory}.
334
- *
335
- * @public
336
- */
337
- export declare interface MiddlewareFactoryOptions {
338
- config: ConfigService;
339
- logger: LoggerService;
340
- }
341
-
342
- /** @public */
343
- export declare const permissionsServiceFactory: () => ServiceFactory<PermissionsService, "plugin">;
344
-
345
219
  /**
346
220
  * Attempts to read a CORS options object from the backend configuration object.
347
221
  *
@@ -354,7 +228,7 @@ export declare const permissionsServiceFactory: () => ServiceFactory<Permissions
354
228
  * const corsOptions = readCorsOptions(config.getConfig('backend'));
355
229
  * ```
356
230
  */
357
- export declare function readCorsOptions(config?: Config): CorsOptions;
231
+ declare function readCorsOptions(config?: Config): CorsOptions;
358
232
 
359
233
  /**
360
234
  * Attempts to read Helmet options from the backend configuration object.
@@ -368,109 +242,197 @@ export declare function readCorsOptions(config?: Config): CorsOptions;
368
242
  * const helmetOptions = readHelmetOptions(config.getConfig('backend'));
369
243
  * ```
370
244
  */
371
- export declare function readHelmetOptions(config?: Config): HelmetOptions;
245
+ declare function readHelmetOptions(config?: Config): HelmetOptions;
372
246
 
373
247
  /**
374
- * Reads {@link HttpServerOptions} from a {@link @backstage/config#Config} object.
375
- *
376
248
  * @public
377
- * @remarks
378
- *
379
- * The provided configuration object should contain the `listen` and
380
- * additional keys directly.
249
+ */
250
+ interface WinstonLoggerOptions {
251
+ meta?: JsonObject;
252
+ level: string;
253
+ format: Format;
254
+ transports: transport[];
255
+ }
256
+ /**
257
+ * A {@link @backstage/backend-plugin-api#LoggerService} implementation based on winston.
381
258
  *
382
- * @example
383
- * ```ts
384
- * const opts = readHttpServerOptions(config.getConfig('backend'));
385
- * ```
259
+ * @public
386
260
  */
387
- export declare function readHttpServerOptions(config?: Config): HttpServerOptions;
261
+ declare class WinstonLogger implements RootLoggerService {
262
+ #private;
263
+ /**
264
+ * Creates a {@link WinstonLogger} instance.
265
+ */
266
+ static create(options: WinstonLoggerOptions): WinstonLogger;
267
+ /**
268
+ * Creates a winston log formatter for redacting secrets.
269
+ */
270
+ static redacter(): {
271
+ format: Format;
272
+ add: (redactions: Iterable<string>) => void;
273
+ };
274
+ /**
275
+ * Creates a pretty printed winston log formatter.
276
+ */
277
+ static colorFormat(): Format;
278
+ private constructor();
279
+ error(message: string, meta?: JsonObject): void;
280
+ warn(message: string, meta?: JsonObject): void;
281
+ info(message: string, meta?: JsonObject): void;
282
+ debug(message: string, meta?: JsonObject): void;
283
+ child(meta: JsonObject): LoggerService;
284
+ addRedactions(redactions: Iterable<string>): void;
285
+ }
388
286
 
389
287
  /**
390
288
  * @public
391
289
  */
392
- export declare interface RootHttpRouterConfigureContext {
393
- app: Express_2;
394
- middleware: MiddlewareFactory;
395
- routes: RequestHandler;
396
- config: ConfigService;
397
- logger: LoggerService;
398
- lifecycle: LifecycleService;
290
+ interface Backend {
291
+ add(feature: BackendFeature): void;
292
+ start(): Promise<void>;
293
+ stop(): Promise<void>;
294
+ }
295
+ /**
296
+ * @public
297
+ */
298
+ interface CreateSpecializedBackendOptions {
299
+ services: ServiceFactoryOrFunction[];
399
300
  }
400
301
 
401
302
  /**
402
303
  * @public
403
304
  */
404
- export declare type RootHttpRouterFactoryOptions = {
305
+ declare function createSpecializedBackend(options: CreateSpecializedBackendOptions): Backend;
306
+
307
+ /** @public */
308
+ declare const cacheServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_common.CacheClient, "plugin">;
309
+
310
+ /** @public */
311
+ interface ConfigFactoryOptions {
405
312
  /**
406
- * The path to forward all unmatched requests to. Defaults to '/api/app' if
407
- * not given. Disables index path behavior if false is given.
313
+ * Process arguments to use instead of the default `process.argv()`.
408
314
  */
409
- indexPath?: string | false;
410
- configure?(context: RootHttpRouterConfigureContext): void;
411
- };
315
+ argv?: string[];
316
+ /**
317
+ * Enables and sets options for remote configuration loading.
318
+ */
319
+ remote?: LoadConfigOptionsRemote;
320
+ }
321
+ /** @public */
322
+ declare const configServiceFactory: (options?: ConfigFactoryOptions | undefined) => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.ConfigService, "root">;
323
+
324
+ /** @public */
325
+ declare const databaseServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_common.PluginDatabaseManager, "plugin">;
412
326
 
413
327
  /** @public */
414
- export declare const rootHttpRouterServiceFactory: (options?: RootHttpRouterFactoryOptions | undefined) => ServiceFactory<RootHttpRouterService, "root">;
328
+ declare const discoveryServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_common.PluginEndpointDiscovery, "plugin">;
415
329
 
416
330
  /**
417
- * Allows plugins to register shutdown hooks that are run when the process is about to exit.
418
- *
419
331
  * @public
420
332
  */
421
- export declare const rootLifecycleServiceFactory: () => ServiceFactory<RootLifecycleService, "root">;
422
-
333
+ interface HttpRouterFactoryOptions {
334
+ /**
335
+ * A callback used to generate the path for each plugin, defaults to `/api/{pluginId}`.
336
+ */
337
+ getPath?(pluginId: string): string;
338
+ }
423
339
  /** @public */
424
- export declare const rootLoggerServiceFactory: () => ServiceFactory<RootLoggerService, "root">;
340
+ declare const httpRouterServiceFactory: (options?: HttpRouterFactoryOptions | undefined) => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.HttpRouterService, "plugin">;
425
341
 
342
+ /**
343
+ * An identity client options object which allows extra configurations
344
+ *
345
+ * @public
346
+ */
347
+ declare type IdentityFactoryOptions = {
348
+ issuer?: string;
349
+ /** JWS "alg" (Algorithm) Header Parameter values. Defaults to an array containing just ES256.
350
+ * More info on supported algorithms: https://github.com/panva/jose */
351
+ algorithms?: string[];
352
+ };
426
353
  /** @public */
427
- export declare const schedulerServiceFactory: () => ServiceFactory<SchedulerService, "plugin">;
354
+ declare const identityServiceFactory: (options?: IdentityFactoryOptions | undefined) => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.IdentityService, "plugin">;
355
+
356
+ /**
357
+ * Allows plugins to register shutdown hooks that are run when the process is about to exit.
358
+ * @public
359
+ */
360
+ declare const lifecycleServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.LifecycleService, "plugin">;
428
361
 
429
362
  /** @public */
430
- export declare const tokenManagerServiceFactory: () => ServiceFactory<TokenManagerService, "plugin">;
363
+ declare const loggerServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.LoggerService, "plugin">;
431
364
 
432
365
  /** @public */
433
- export declare const urlReaderServiceFactory: () => ServiceFactory<UrlReader, "plugin">;
366
+ declare const permissionsServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.PermissionsService, "plugin">;
434
367
 
435
368
  /**
436
- * A {@link @backstage/backend-plugin-api#LoggerService} implementation based on winston.
437
- *
438
369
  * @public
439
370
  */
440
- export declare class WinstonLogger implements RootLoggerService {
441
- #private;
442
- /**
443
- * Creates a {@link WinstonLogger} instance.
444
- */
445
- static create(options: WinstonLoggerOptions): WinstonLogger;
371
+ interface RootHttpRouterConfigureContext {
372
+ app: Express;
373
+ middleware: MiddlewareFactory;
374
+ routes: RequestHandler;
375
+ config: ConfigService;
376
+ logger: LoggerService;
377
+ lifecycle: LifecycleService;
378
+ }
379
+ /**
380
+ * @public
381
+ */
382
+ declare type RootHttpRouterFactoryOptions = {
446
383
  /**
447
- * Creates a winston log formatter for redacting secrets.
384
+ * The path to forward all unmatched requests to. Defaults to '/api/app' if
385
+ * not given. Disables index path behavior if false is given.
448
386
  */
449
- static redacter(): {
450
- format: Format;
451
- add: (redactions: Iterable<string>) => void;
452
- };
387
+ indexPath?: string | false;
388
+ configure?(context: RootHttpRouterConfigureContext): void;
389
+ };
390
+ /** @public */
391
+ declare const rootHttpRouterServiceFactory: (options?: RootHttpRouterFactoryOptions | undefined) => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.RootHttpRouterService, "root">;
392
+
393
+ /**
394
+ * Options for the {@link DefaultRootHttpRouter} class.
395
+ *
396
+ * @public
397
+ */
398
+ interface DefaultRootHttpRouterOptions {
453
399
  /**
454
- * Creates a pretty printed winston log formatter.
400
+ * The path to forward all unmatched requests to. Defaults to '/api/app' if
401
+ * not given. Disables index path behavior if false is given.
455
402
  */
456
- static colorFormat(): Format;
403
+ indexPath?: string | false;
404
+ }
405
+ /**
406
+ * The default implementation of the {@link @backstage/backend-plugin-api#RootHttpRouterService} interface for
407
+ * {@link @backstage/backend-plugin-api#coreServices.rootHttpRouter}.
408
+ *
409
+ * @public
410
+ */
411
+ declare class DefaultRootHttpRouter implements RootHttpRouterService {
412
+ #private;
413
+ static create(options?: DefaultRootHttpRouterOptions): DefaultRootHttpRouter;
457
414
  private constructor();
458
- error(message: string, meta?: JsonObject): void;
459
- warn(message: string, meta?: JsonObject): void;
460
- info(message: string, meta?: JsonObject): void;
461
- debug(message: string, meta?: JsonObject): void;
462
- child(meta: JsonObject): LoggerService;
463
- addRedactions(redactions: Iterable<string>): void;
415
+ use(path: string, handler: Handler): void;
416
+ handler(): Handler;
464
417
  }
465
418
 
466
419
  /**
420
+ * Allows plugins to register shutdown hooks that are run when the process is about to exit.
421
+ *
467
422
  * @public
468
423
  */
469
- export declare interface WinstonLoggerOptions {
470
- meta?: JsonObject;
471
- level: string;
472
- format: Format;
473
- transports: transport[];
474
- }
424
+ declare const rootLifecycleServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<RootLifecycleService, "root">;
425
+
426
+ /** @public */
427
+ declare const rootLoggerServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.RootLoggerService, "root">;
428
+
429
+ /** @public */
430
+ declare const schedulerServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.SchedulerService, "plugin">;
431
+
432
+ /** @public */
433
+ declare const tokenManagerServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.TokenManagerService, "plugin">;
434
+
435
+ /** @public */
436
+ declare const urlReaderServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_common.UrlReader, "plugin">;
475
437
 
476
- export { }
438
+ export { Backend, ConfigFactoryOptions, CreateSpecializedBackendOptions, DefaultRootHttpRouter, DefaultRootHttpRouterOptions, ExtendedHttpServer, HttpRouterFactoryOptions, HttpServerCertificateOptions, HttpServerOptions, IdentityFactoryOptions, MiddlewareFactory, MiddlewareFactoryErrorOptions, MiddlewareFactoryOptions, RootHttpRouterConfigureContext, RootHttpRouterFactoryOptions, WinstonLogger, WinstonLoggerOptions, cacheServiceFactory, configServiceFactory, createConfigSecretEnumerator, createHttpServer, createSpecializedBackend, databaseServiceFactory, discoveryServiceFactory, httpRouterServiceFactory, identityServiceFactory, lifecycleServiceFactory, loadBackendConfig, loggerServiceFactory, permissionsServiceFactory, readCorsOptions, readHelmetOptions, readHttpServerOptions, rootHttpRouterServiceFactory, rootLifecycleServiceFactory, rootLoggerServiceFactory, schedulerServiceFactory, tokenManagerServiceFactory, urlReaderServiceFactory };