@backstage/backend-app-api 0.7.2 → 0.7.3-next.1

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
@@ -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: {
@@ -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,15 +1,23 @@
1
1
  {
2
2
  "name": "@backstage/backend-app-api",
3
+ "version": "0.7.3-next.1",
3
4
  "description": "Core API used by Backstage backend apps",
4
- "version": "0.7.2",
5
- "main": "./dist/index.cjs.js",
6
- "types": "./dist/index.d.ts",
5
+ "backstage": {
6
+ "role": "node-library"
7
+ },
7
8
  "publishConfig": {
8
9
  "access": "public"
9
10
  },
10
- "backstage": {
11
- "role": "node-library"
11
+ "keywords": [
12
+ "backstage"
13
+ ],
14
+ "homepage": "https://backstage.io",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/backstage/backstage",
18
+ "directory": "packages/backend-app-api"
12
19
  },
20
+ "license": "Apache-2.0",
13
21
  "exports": {
14
22
  ".": {
15
23
  "require": "./dist/index.cjs.js",
@@ -23,16 +31,14 @@
23
31
  },
24
32
  "./package.json": "./package.json"
25
33
  },
26
- "homepage": "https://backstage.io",
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/backstage/backstage",
30
- "directory": "packages/backend-app-api"
31
- },
32
- "keywords": [
33
- "backstage"
34
+ "main": "./dist/index.cjs.js",
35
+ "types": "./dist/index.d.ts",
36
+ "files": [
37
+ "dist",
38
+ "config.d.ts",
39
+ "migrations/**/*.{js,d.ts}",
40
+ "alpha"
34
41
  ],
35
- "license": "Apache-2.0",
36
42
  "scripts": {
37
43
  "build": "backstage-cli package build",
38
44
  "clean": "backstage-cli package clean",
@@ -43,16 +49,16 @@
43
49
  "test": "backstage-cli package test"
44
50
  },
45
51
  "dependencies": {
46
- "@backstage/backend-common": "^0.21.7",
47
- "@backstage/backend-plugin-api": "^0.6.17",
48
- "@backstage/backend-tasks": "^0.5.22",
52
+ "@backstage/backend-common": "^0.22.0-next.2",
53
+ "@backstage/backend-plugin-api": "^0.6.18-next.1",
54
+ "@backstage/backend-tasks": "^0.5.23-next.1",
49
55
  "@backstage/cli-common": "^0.1.13",
50
56
  "@backstage/cli-node": "^0.2.5",
51
57
  "@backstage/config": "^1.2.0",
52
58
  "@backstage/config-loader": "^1.8.0",
53
59
  "@backstage/errors": "^1.2.4",
54
- "@backstage/plugin-auth-node": "^0.4.12",
55
- "@backstage/plugin-permission-node": "^0.7.28",
60
+ "@backstage/plugin-auth-node": "^0.4.13-next.1",
61
+ "@backstage/plugin-permission-node": "^0.7.29-next.1",
56
62
  "@backstage/types": "^1.1.1",
57
63
  "@manypkg/get-packages": "^1.1.3",
58
64
  "@types/cors": "^2.8.6",
@@ -81,8 +87,8 @@
81
87
  "winston-transport": "^4.5.0"
82
88
  },
83
89
  "devDependencies": {
84
- "@backstage/backend-test-utils": "^0.3.7",
85
- "@backstage/cli": "^0.26.4",
90
+ "@backstage/backend-test-utils": "^0.3.8-next.2",
91
+ "@backstage/cli": "^0.26.5-next.1",
86
92
  "@types/compression": "^1.7.0",
87
93
  "@types/fs-extra": "^11.0.0",
88
94
  "@types/http-errors": "^2.0.0",
@@ -94,11 +100,5 @@
94
100
  "msw": "^1.0.0",
95
101
  "supertest": "^6.1.3"
96
102
  },
97
- "configSchema": "config.d.ts",
98
- "files": [
99
- "dist",
100
- "config.d.ts",
101
- "alpha",
102
- "migrations/**/*.{js,d.ts}"
103
- ]
103
+ "configSchema": "config.d.ts"
104
104
  }