backend-*-api: remove unused express dependencies

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-11-23 00:59:54 +01:00
parent 2c0c7ce888
commit eef3ef1785
8 changed files with 12 additions and 12 deletions
-1
View File
@@ -61,7 +61,6 @@
"@backstage/types": "workspace:^",
"@types/express": "^4.17.6",
"@types/luxon": "^3.0.0",
"express": "^4.17.1",
"knex": "^3.0.0",
"luxon": "^3.0.0"
},
+3 -3
View File
@@ -10,7 +10,7 @@ import { AuthorizePermissionResponse } from '@backstage/plugin-permission-common
import { Config } from '@backstage/config';
import { Duration } from 'luxon';
import { EvaluatorRequestOptions } from '@backstage/plugin-permission-common';
import { Handler } from 'express';
import type { Handler } from 'express';
import { HumanDuration } from '@backstage/types';
import { isChildPath } from '@backstage/cli-common';
import { JsonObject } from '@backstage/types';
@@ -21,8 +21,8 @@ import { PermissionEvaluator } from '@backstage/plugin-permission-common';
import { QueryPermissionRequest } from '@backstage/plugin-permission-common';
import { QueryPermissionResponse } from '@backstage/plugin-permission-common';
import { Readable } from 'stream';
import { Request as Request_2 } from 'express';
import { Response as Response_2 } from 'express';
import type { Request as Request_2 } from 'express';
import type { Response as Response_2 } from 'express';
// @public
export interface AuthService {
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { Request, Response } from 'express';
import type { Request, Response } from 'express';
import { BackstageCredentials, BackstagePrincipalTypes } from './AuthService';
/**
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { Handler } from 'express';
import type { Handler } from 'express';
/**
* Options for {@link HttpRouterService.addAuthPolicy}.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { Handler } from 'express';
import type { Handler } from 'express';
/**
* HTTP route registration for root services.