move EmbeddedScaffolderWorkflow in to scaffolder

Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
Paul Cowan
2022-12-12 08:36:38 +00:00
parent 997301c066
commit b4dc27c42c
4 changed files with 22 additions and 8 deletions
@@ -15,8 +15,8 @@
*/
import React from 'react';
import { EmbeddedScaffolderWorkflow } from '../EmbeddedScaffolderWorkflow/EmbeddedScaffolderWorkflow';
import { Box } from '@material-ui/core';
import { EmbeddedScaffolderWorkflow } from '@backstage/plugin-scaffolder';
const ReviewWrapper = () => {
return (
+1
View File
@@ -48,6 +48,7 @@ export { NextScaffolderPage } from './plugin';
export {
EmbeddableWorkflow,
useGetCustomFields,
EmbeddedScaffolderWorkflow,
type WorkflowProps,
type ReviewStateProps,
type ParsedTemplateSchema,
@@ -16,14 +16,11 @@
import React, { useState, useCallback } from 'react';
import type { ReactNode } from 'react';
import {
EmbeddableWorkflow,
useGetCustomFields,
WorkflowProps,
} from '@backstage/plugin-scaffolder';
import { Box, Button } from '@material-ui/core';
import type { JsonValue } from '@backstage/types';
import type { FormProps } from '@backstage/plugin-scaffolder-react';
import { EmbeddableWorkflow, WorkflowProps } from '../Workflow/Workflow';
import { FormProps } from '@backstage/plugin-scaffolder-react';
import { useGetCustomFields } from '../Router';
import { Box, Button } from '@material-ui/core';
type EmbeddedWorkflowProps = Omit<
WorkflowProps,
@@ -0,0 +1,16 @@
/*
* Copyright 2022 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { EmbeddedScaffolderWorkflow } from './EmbeddedScaffolderWorkflow';