Add autocomplete to GitlabRepoUrlPicker

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>
This commit is contained in:
Severin Wischmann
2024-10-25 16:04:51 +02:00
parent 13180c5260
commit be6de37e4d
9 changed files with 305 additions and 70 deletions
+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