chore: small refactor and moving types around

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-07-29 13:45:11 +02:00
parent 62dc5a2bb9
commit c48a43fe53
10 changed files with 24 additions and 18 deletions
@@ -17,12 +17,10 @@
import { OpaqueType } from '@internal/opaque';
import { z } from 'zod';
import { FormFieldExtensionData } from '@backstage/plugin-scaffolder-react/alpha';
/** @alpha */
export interface FormField {
readonly $$type: '@backstage/scaffolder/FormField';
}
import {
FormFieldExtensionData,
FormField,
} from '@backstage/plugin-scaffolder-react/alpha';
/** @alpha */
export const OpaqueFormField = OpaqueType.create<{
@@ -13,5 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { OpaqueFormField, type FormField } from './InternalFormField';
export { OpaqueFormField } from './InternalFormField';
export { OpaqueFormDecorator } from './InternalFormDecorator';