UNPKG

@red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets

Version:
21 lines (18 loc) 671 B
import { ApiBlueprint, createApiFactory, createFrontendPlugin } from '@backstage/frontend-plugin-api'; import { orchestratorFormApiRef } from '@red-hat-developer-hub/backstage-plugin-orchestrator-form-api'; import { FormWidgetsApi } from './FormWidgetsApi.esm.js'; const orchestratorFormApi = ApiBlueprint.make({ params: (defineParams) => defineParams( createApiFactory({ api: orchestratorFormApiRef, deps: {}, factory: () => new FormWidgetsApi() }) ) }); var alpha = createFrontendPlugin({ pluginId: "orchestrator-form-widgets", extensions: [orchestratorFormApi] }); export { alpha as default }; //# sourceMappingURL=alpha.esm.js.map