Skip to main content

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?: {
gitea?: string[] | undefined;
gerrit?: string[] | undefined;
github?: string[] | undefined;
gitlab?: string[] | undefined;
bitbucket?: string[] | undefined;
azure?: string[] | undefined;
} | undefined;
} | undefined;
}>