chore: updating the api-report with the new type

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-12-28 23:02:39 +01:00
parent 269f4dd307
commit dd17fa9e31
3 changed files with 20 additions and 3 deletions
+14 -2
View File
@@ -36,6 +36,17 @@ export function createScaffolderFieldExtension<T = any>(
options: FieldExtensionOptions<T>,
): Extension<() => null>;
// Warning: (ae-missing-release-tag) "CustomFieldExtension" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface CustomFieldExtension<ReturnValue, UiOptions extends {} = {}>
extends FieldProps<ReturnValue> {
// (undocumented)
uiSchema: {
'ui:options'?: UiOptions;
};
}
// Warning: (ae-missing-release-tag) "CustomFieldValidator" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
@@ -137,15 +148,16 @@ 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)
export const RepoUrlPicker: ({
onChange,
uiSchema,
onChange,
rawErrors,
formData,
}: FieldProps<string>) => JSX.Element;
}: CustomFieldExtension<string, RepoUrlPickerUiOptions>) => JSX.Element;
// Warning: (ae-missing-release-tag) "RepoUrlPickerFieldExtension" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
@@ -14,4 +14,5 @@
* limitations under the License.
*/
export { RepoUrlPicker } from './RepoUrlPicker';
export type { RepoUrlPickerUiOptions } from './RepoUrlPicker';
export { repoPickerValidation } from './validation';
+5 -1
View File
@@ -26,7 +26,11 @@ export {
createScaffolderFieldExtension,
ScaffolderFieldExtensions,
} from './extensions';
export type { CustomFieldValidator, FieldExtensionOptions } from './extensions';
export type {
CustomFieldValidator,
FieldExtensionOptions,
CustomFieldExtension,
} from './extensions';
export {
EntityPickerFieldExtension,
EntityNamePickerFieldExtension,