chore: tidy up the api-reports with the nextRouteRef exports
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -43,5 +43,3 @@
|
||||
NextFieldExtensionComponentProps
|
||||
NextFieldExtensionOptions
|
||||
```
|
||||
|
||||
- The `/alpha` import for `nextSelectedTemplateRouteRef` has been moved to `scaffolderPlugin.routes.nextSelectedTemplate`
|
||||
|
||||
@@ -195,6 +195,9 @@ export function makeFieldSchemaFromZod<
|
||||
: never
|
||||
>;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const nextRouteRef: RouteRef<undefined>;
|
||||
|
||||
// @alpha
|
||||
export type NextRouterProps = {
|
||||
components?: {
|
||||
@@ -212,6 +215,16 @@ export const NextScaffolderPage: (
|
||||
props: PropsWithChildren<NextRouterProps>,
|
||||
) => JSX.Element;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const nextScaffolderTaskRouteRef: SubRouteRef<
|
||||
PathParams<'/tasks/:taskId'>
|
||||
>;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const nextSelectedTemplateRouteRef: SubRouteRef<
|
||||
PathParams<'/templates/:namespace/:templateName'>
|
||||
>;
|
||||
|
||||
// @public
|
||||
export const OwnedEntityPickerFieldExtension: FieldExtensionComponent_2<
|
||||
string,
|
||||
@@ -457,11 +470,6 @@ export const scaffolderPlugin: BackstagePlugin<
|
||||
PathParams<'/templates/:namespace/:templateName'>
|
||||
>;
|
||||
ongoingTask: SubRouteRef<PathParams<'/tasks/:taskId'>>;
|
||||
next: RouteRef<undefined>;
|
||||
nextSelectedTemplate: SubRouteRef<
|
||||
PathParams<'/templates/:namespace/:templateName'>
|
||||
>;
|
||||
nextOngoingTask: SubRouteRef<PathParams<'/tasks/:taskId'>>;
|
||||
},
|
||||
{
|
||||
registerComponent: ExternalRouteRef<undefined, true>;
|
||||
|
||||
@@ -47,6 +47,9 @@ export * from './deprecated';
|
||||
/** next exports */
|
||||
export { NextScaffolderPage } from './plugin';
|
||||
export {
|
||||
nextRouteRef,
|
||||
nextScaffolderTaskRouteRef,
|
||||
nextSelectedTemplateRouteRef,
|
||||
type TemplateGroupFilter,
|
||||
type NextRouterProps,
|
||||
type FormProps,
|
||||
|
||||
@@ -61,11 +61,7 @@ import {
|
||||
selectedTemplateRouteRef,
|
||||
scaffolderTaskRouteRef,
|
||||
} from './routes';
|
||||
import {
|
||||
nextRouteRef,
|
||||
nextSelectedTemplateRouteRef,
|
||||
nextScaffolderTaskRouteRef,
|
||||
} from './next';
|
||||
import { nextRouteRef } from './next';
|
||||
|
||||
/**
|
||||
* The main plugin export for the scaffolder.
|
||||
@@ -95,11 +91,6 @@ export const scaffolderPlugin = createPlugin({
|
||||
root: rootRouteRef,
|
||||
selectedTemplate: selectedTemplateRouteRef,
|
||||
ongoingTask: scaffolderTaskRouteRef,
|
||||
|
||||
/** next routes */
|
||||
next: nextRouteRef,
|
||||
nextSelectedTemplate: nextSelectedTemplateRouteRef,
|
||||
nextOngoingTask: nextScaffolderTaskRouteRef,
|
||||
},
|
||||
externalRoutes: {
|
||||
registerComponent: registerComponentRouteRef,
|
||||
|
||||
Reference in New Issue
Block a user