From 1b026578f00cc6c5a17a06bd7676916383530cc9 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 13 Jan 2022 17:41:14 +0100 Subject: [PATCH] chore: export some missing bits for the api-report.md Signed-off-by: blam --- plugins/scaffolder/api-report.md | 11 ++++++++++- plugins/scaffolder/src/index.ts | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/scaffolder/api-report.md b/plugins/scaffolder/api-report.md index 63eea46fac..bc9eeb914b 100644 --- a/plugins/scaffolder/api-report.md +++ b/plugins/scaffolder/api-report.md @@ -144,7 +144,6 @@ export const OwnerPicker: ({ // @public (undocumented) export const OwnerPickerFieldExtension: () => null; -// Warning: (ae-forgotten-export) The symbol "RepoUrlPickerUiOptions" needs to be exported by the entry point index.d.ts // Warning: (ae-missing-release-tag) "RepoUrlPicker" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -160,6 +159,16 @@ export const RepoUrlPicker: ({ // @public (undocumented) export const RepoUrlPickerFieldExtension: () => null; +// Warning: (ae-missing-release-tag) "RepoUrlPickerUiOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RepoUrlPickerUiOptions { + // (undocumented) + allowedHosts?: string[]; + // (undocumented) + allowedOwners?: string[]; +} + // Warning: (ae-missing-release-tag) "ScaffolderApi" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) diff --git a/plugins/scaffolder/src/index.ts b/plugins/scaffolder/src/index.ts index 57ce4df516..3cf65d7a07 100644 --- a/plugins/scaffolder/src/index.ts +++ b/plugins/scaffolder/src/index.ts @@ -51,6 +51,7 @@ export { TextValuePicker, OwnedEntityPicker, } from './components/fields'; +export type { RepoUrlPickerUiOptions } from './components/fields'; export { FavouriteTemplate } from './components/FavouriteTemplate'; export { TemplateList } from './components/TemplateList'; export type { TemplateListProps } from './components/TemplateList';