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;
}, import("@backstage/types").JsonObject>;
Returns:
import("@backstage/plugin-scaffolder-node").TemplateAction<{ entity: Record<string, any>; filePath?: string | undefined; }, import("@backstage/types").JsonObject>