fix api reports for realz

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-05-13 17:54:55 -04:00
parent d9e63b6450
commit 3049109f4f
7 changed files with 35 additions and 23 deletions
+4
View File
@@ -37,6 +37,7 @@
"./rootLifecycle": "./src/entrypoints/rootLifecycle/index.ts",
"./rootLogger": "./src/entrypoints/rootLogger/index.ts",
"./scheduler": "./src/entrypoints/scheduler/index.ts",
"./systemMetadata": "./src/entrypoints/systemMetadata/index.ts",
"./urlReader": "./src/entrypoints/urlReader/index.ts",
"./userInfo": "./src/entrypoints/userInfo/index.ts",
"./alpha": "./src/alpha/index.ts",
@@ -97,6 +98,9 @@
"scheduler": [
"src/entrypoints/scheduler/index.ts"
],
"systemMetadata": [
"src/entrypoints/systemMetadata/index.ts"
],
"urlReader": [
"src/entrypoints/urlReader/index.ts"
],
@@ -1,16 +0,0 @@
/*
* Copyright 2024 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from './systemMetadata';
@@ -21,7 +21,7 @@ import {
import {
BackstageInstance,
SystemMetadataService,
} from '@backstage/backend-plugin-api/alpha';
} from '@backstage/backend-plugin-api';
import z from 'zod';
const targetObjectSchema = z.object({
@@ -15,10 +15,8 @@
*/
import { LoggerService } from '@backstage/backend-plugin-api';
import {
BackendFeatureMeta,
SystemMetadataService,
} from '@backstage/backend-plugin-api/alpha';
import { BackendFeatureMeta } from '@backstage/backend-plugin-api/alpha';
import type { SystemMetadataService } from '@backstage/backend-plugin-api';
import Router from 'express-promise-router';
export async function createSystemMetadataRouter(options: {