chore: last bits

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-09-23 16:38:54 +02:00
parent 6e2bda78bd
commit c8aa21077c
22 changed files with 102 additions and 56 deletions
+1 -20
View File
@@ -17,7 +17,6 @@
import { createExtensionPoint } from '@backstage/backend-plugin-api';
import {
TaskBroker,
TemplateAction,
TemplateFilter,
TemplateGlobal,
} from '@backstage/plugin-scaffolder-node';
@@ -30,25 +29,6 @@ export * from './globals';
export * from './types';
export * from './checkpoints';
/**
* Extension point for managing scaffolder actions.
*
* @alpha
*/
export interface ScaffolderActionsExtensionPoint {
addActions(...actions: TemplateAction<any, any, any>[]): void;
}
/**
* Extension point for managing scaffolder actions.
*
* @alpha
*/
export const scaffolderActionsExtensionPoint =
createExtensionPoint<ScaffolderActionsExtensionPoint>({
id: 'scaffolder.actions',
});
/**
* Extension point for replacing the scaffolder task broker.
*
@@ -63,6 +43,7 @@ export interface ScaffolderTaskBrokerExtensionPoint {
* Extension point for replacing the scaffolder task broker.
*
* @alpha
* @deprecated this extension point is planned to be removed, please reach out to us in an issue if you're using this extension point and your use cases.
*/
export const scaffolderTaskBrokerExtensionPoint =
createExtensionPoint<ScaffolderTaskBrokerExtensionPoint>({
+36
View File
@@ -0,0 +1,36 @@
/*
* Copyright 2025 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.
*/
import { createExtensionPoint } from '@backstage/backend-plugin-api';
import { TemplateAction } from './actions';
/**
* Extension point for managing scaffolder actions.
*
* @public
*/
export interface ScaffolderActionsExtensionPoint {
addActions(...actions: TemplateAction<any, any, any>[]): void;
}
/**
* Extension point for managing scaffolder actions.
*
* @public
*/
export const scaffolderActionsExtensionPoint =
createExtensionPoint<ScaffolderActionsExtensionPoint>({
id: 'scaffolder.actions',
});
+1
View File
@@ -24,3 +24,4 @@ export * from './actions';
export * from './tasks';
export * from './files';
export * from './types';
export * from './extensions';