Merge pull request #27367 from swnia/repopicker-gitlab-autocomplete

Add autocomplete to GitlabRepoUrlPicker
This commit is contained in:
Ben Lambert
2024-11-26 11:59:47 +01:00
committed by GitHub
23 changed files with 578 additions and 130 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ export type AutocompleteHandler = ({
context: Record<string, string>;
}) => Promise<{
results: {
title: string;
title?: string;
id: string;
}[];
}>;
+2 -2
View File
@@ -16,10 +16,10 @@
import { createExtensionPoint } from '@backstage/backend-plugin-api';
import {
TaskBroker,
TemplateAction,
TemplateFilter,
TemplateGlobal,
TaskBroker,
} from '@backstage/plugin-scaffolder-node';
export * from './tasks/alpha';
@@ -95,7 +95,7 @@ export type AutocompleteHandler = ({
resource: string;
token: string;
context: Record<string, string>;
}) => Promise<{ results: { title: string }[] }>;
}) => Promise<{ results: { title?: string; id: string }[] }>;
/**
* Extension point for adding autocomplete handler providers