update config handling to support internal/external split and adjust types

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-01-17 18:11:02 -05:00
parent fcc38f1b01
commit ff2c41bff5
6 changed files with 50 additions and 22 deletions
@@ -40,5 +40,4 @@ export const systemMetadataServiceRef = createServiceRef<
export type {
BackstageInstance,
SystemMetadataService,
Target,
} from './services/definitions/SystemMetadataService';
@@ -14,14 +14,12 @@
* limitations under the License.
*/
/** @alpha */
export type Target = string | { internal: string; external: string };
/**
* @alpha
*/
export interface BackstageInstance {
url: Target;
internalUrl: string;
externalUrl: string;
}
/**