@backstage/backend-app-api 0.7.0-next.1 → 0.7.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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
3
- import { LoggerService, RootConfigService, RootLoggerService, BackendFeature, ServiceFactoryOrFunction, AuthService, DiscoveryService, HttpAuthService, LifecycleService, RootHttpRouterService, RootLifecycleService, UserInfoService } from '@backstage/backend-plugin-api';
3
+ import { LoggerService, RootConfigService, RootLoggerService, BackendFeature, ServiceFactoryOrFunction, DiscoveryService, HttpAuthService, LifecycleService, RootHttpRouterService, RootLifecycleService, UserInfoService } from '@backstage/backend-plugin-api';
4
4
  import { ConfigSchema, LoadConfigOptionsRemote, RemoteConfigSourceOptions } from '@backstage/config-loader';
5
5
  import { Config, AppConfig } from '@backstage/config';
6
6
  import * as http from 'http';
@@ -12,6 +12,7 @@ import { JsonObject, HumanDuration } from '@backstage/types';
12
12
  import { Format } from 'logform';
13
13
  import { transport } from 'winston';
14
14
  import * as _backstage_backend_common from '@backstage/backend-common';
15
+ import { Server } from 'node:http';
15
16
 
16
17
  /** @public */
17
18
  declare function createConfigSecretEnumerator(options: {
@@ -310,7 +311,7 @@ interface CreateSpecializedBackendOptions {
310
311
  declare function createSpecializedBackend(options: CreateSpecializedBackendOptions): Backend;
311
312
 
312
313
  /** @public */
313
- declare const authServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<AuthService, "plugin">;
314
+ declare const authServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_plugin_api.AuthService, "plugin">;
314
315
 
315
316
  /** @public */
316
317
  declare const cacheServiceFactory: () => _backstage_backend_plugin_api.ServiceFactory<_backstage_backend_common.CacheClient, "plugin">;
@@ -458,11 +459,13 @@ declare const permissionsServiceFactory: () => _backstage_backend_plugin_api.Ser
458
459
  */
459
460
  interface RootHttpRouterConfigureContext {
460
461
  app: Express;
462
+ server: Server;
461
463
  middleware: MiddlewareFactory;
462
464
  routes: RequestHandler;
463
465
  config: RootConfigService;
464
466
  logger: LoggerService;
465
467
  lifecycle: LifecycleService;
468
+ applyDefaults: () => void;
466
469
  }
467
470
  /**
468
471
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/backend-app-api",
3
3
  "description": "Core API used by Backstage backend apps",
4
- "version": "0.7.0-next.1",
4
+ "version": "0.7.1-next.0",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "publishConfig": {
@@ -43,16 +43,16 @@
43
43
  "test": "backstage-cli package test"
44
44
  },
45
45
  "dependencies": {
46
- "@backstage/backend-common": "^0.21.7-next.1",
47
- "@backstage/backend-plugin-api": "^0.6.17-next.1",
48
- "@backstage/backend-tasks": "^0.5.22-next.1",
46
+ "@backstage/backend-common": "^0.21.8-next.0",
47
+ "@backstage/backend-plugin-api": "^0.6.18-next.0",
48
+ "@backstage/backend-tasks": "^0.5.23-next.0",
49
49
  "@backstage/cli-common": "^0.1.13",
50
- "@backstage/cli-node": "^0.2.4",
50
+ "@backstage/cli-node": "^0.2.5",
51
51
  "@backstage/config": "^1.2.0",
52
- "@backstage/config-loader": "^1.8.0-next.0",
52
+ "@backstage/config-loader": "^1.8.0",
53
53
  "@backstage/errors": "^1.2.4",
54
- "@backstage/plugin-auth-node": "^0.4.12-next.1",
55
- "@backstage/plugin-permission-node": "^0.7.28-next.1",
54
+ "@backstage/plugin-auth-node": "^0.4.13-next.0",
55
+ "@backstage/plugin-permission-node": "^0.7.29-next.0",
56
56
  "@backstage/types": "^1.1.1",
57
57
  "@manypkg/get-packages": "^1.1.3",
58
58
  "@types/cors": "^2.8.6",
@@ -81,8 +81,8 @@
81
81
  "winston-transport": "^4.5.0"
82
82
  },
83
83
  "devDependencies": {
84
- "@backstage/backend-test-utils": "^0.3.7-next.1",
85
- "@backstage/cli": "^0.26.3-next.1",
84
+ "@backstage/backend-test-utils": "^0.3.8-next.0",
85
+ "@backstage/cli": "^0.26.5-next.0",
86
86
  "@types/compression": "^1.7.0",
87
87
  "@types/fs-extra": "^11.0.0",
88
88
  "@types/http-errors": "^2.0.0",