refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility

Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
Paul Schultz
2025-09-16 12:29:49 -05:00
parent b3a437e15d
commit 05f60e1e0a
167 changed files with 1826 additions and 679 deletions
+6 -2
View File
@@ -20,12 +20,16 @@ import { DiscoveryApi } from '@backstage/core-plugin-api';
export class AuthProxyDiscoveryApi implements DiscoveryApi {
private urlPatternDiscovery: UrlPatternDiscovery;
private readonly isAuthProxyingEnabled?: boolean;
private readonly authProxyUrl?: string;
constructor(
baseUrl: string,
private readonly isAuthProxyingEnabled?: boolean,
private readonly authProxyUrl?: string,
isAuthProxyingEnabled?: boolean,
authProxyUrl?: string,
) {
this.isAuthProxyingEnabled = isAuthProxyingEnabled;
this.authProxyUrl = authProxyUrl;
this.urlPatternDiscovery = UrlPatternDiscovery.compile(
`${baseUrl}/api/{{ pluginId }}`,
);