From bd44d3adce5922ba9d4d1b339ff19887882e1512 Mon Sep 17 00:00:00 2001 From: Oliver Sand Date: Thu, 16 Sep 2021 16:19:14 +0200 Subject: [PATCH] Update api report Signed-off-by: Oliver Sand --- plugins/catalog-import/api-report.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/plugins/catalog-import/api-report.md b/plugins/catalog-import/api-report.md index 894a7fab61..753244b28f 100644 --- a/plugins/catalog-import/api-report.md +++ b/plugins/catalog-import/api-report.md @@ -68,10 +68,10 @@ export interface CatalogImportApi { // (undocumented) analyzeUrl(url: string): Promise; // (undocumented) - preparePullRequest?(): { + preparePullRequest?(): Promise<{ title: string; body: string; - }; + }>; // (undocumented) submitPullRequest(options: { repositoryUrl: string; @@ -104,10 +104,10 @@ export class CatalogImportClient implements CatalogImportApi { // (undocumented) analyzeUrl(url: string): Promise; // (undocumented) - preparePullRequest(): { + preparePullRequest(): Promise<{ title: string; body: string; - }; + }>; // (undocumented) submitPullRequest({ repositoryUrl, @@ -244,8 +244,6 @@ export const StepPrepareCreatePullRequest: ({ onPrepare, onGoBack, renderFormFields, - defaultTitle, - defaultBody, }: Props_8) => JSX.Element; // Warnings were encountered during analysis: