createCatalogWriteAction()
Home > @backstage/plugin-scaffolder-backend
> createCatalogWriteAction
Writes a catalog descriptor file containing the provided entity to a path in the workspace.
Signature:
function createCatalogWriteAction(): import("@backstage/plugin-scaffolder-node").TemplateAction<{
entity: Record<string, any>;
filePath?: string | undefined;
}, {
[x: string]: any;
}, "v2">;
Returns:
import("@backstage/plugin-scaffolder-node").TemplateAction<{ entity: Record<string, any>; filePath?: string | undefined; }, { [x: string]: any; }, "v2">