Skip to main content
Version: Next

RepoUrlPickerFieldExtension

Home > @backstage/plugin-scaffolder > RepoUrlPickerFieldExtension

The field extension which provides the ability to select a RepositoryUrl. Currently, this is an encoded URL that looks something like the following github.com?repo=myRepoName&owner=backstage.

Signature:

RepoUrlPickerFieldExtension: import("@backstage/plugin-scaffolder-react").FieldExtensionComponent<string, {
allowedHosts?: string[] | undefined;
allowedOrganizations?: string[] | undefined;
allowedOwners?: string[] | undefined;
allowedProjects?: string[] | undefined;
allowedRepos?: string[] | undefined;
requestUserCredentials?: {
secretsKey: string;
additionalScopes?: {
azure?: string[] | undefined;
github?: string[] | undefined;
gitlab?: string[] | undefined;
bitbucket?: string[] | undefined;
gerrit?: string[] | undefined;
gitea?: string[] | undefined;
} | undefined;
} | undefined;
}>