createTemplateAction()
Home > @backstage/plugin-scaffolder-backend
> createTemplateAction
Warning: This API is now obsolete.
Use
createTemplateAction
from@backstage/plugin-scaffolder-node
instead
Signature:
createTemplateAction: <TInputParams extends JsonObject = JsonObject, TOutputParams extends JsonObject = JsonObject, TInputSchema extends import("zod").ZodType<any, import("zod").ZodTypeDef, any> | import("jsonschema").Schema = {}, TOutputSchema extends import("zod").ZodType<any, import("zod").ZodTypeDef, any> | import("jsonschema").Schema = {}, TActionInput extends JsonObject = TInputSchema extends import("zod").ZodType<any, any, infer IReturn> ? IReturn : TInputParams, TActionOutput extends JsonObject = TOutputSchema extends import("zod").ZodType<any, any, infer IReturn_1> ? IReturn_1 : TOutputParams>(action: import("@backstage/plugin-scaffolder-node").TemplateActionOptions<TActionInput, TActionOutput, TInputSchema, TOutputSchema>) => TemplateActionNode<TActionInput, TActionOutput>
Parameters
Parameter |
Type |
Description |
---|---|---|
action |
import("@backstage/plugin-scaffolder-node").TemplateActionOptions<TActionInput, TActionOutput, TInputSchema, TOutputSchema> |
TemplateActionNode<TActionInput, TActionOutput>