chore: small refactor to move the handlers out into an extension point
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -230,10 +230,10 @@ export interface ScaffolderApi {
|
||||
|
||||
dryRun?(options: ScaffolderDryRunOptions): Promise<ScaffolderDryRunResponse>;
|
||||
|
||||
autocomplete(
|
||||
token: string,
|
||||
provider: string,
|
||||
resource: string,
|
||||
params?: Record<string, string>,
|
||||
): Promise<string[]>;
|
||||
autocomplete?(options: {
|
||||
token: string;
|
||||
provider: string;
|
||||
resource: string;
|
||||
context?: Record<string, string>;
|
||||
}): Promise<{ results: { title: string }[] }>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user