Skip to main content

createSendNotificationAction()

Home > @backstage/plugin-scaffolder-backend-module-notifications > createSendNotificationAction

Signature:

function createSendNotificationAction(options: {
notifications: NotificationService;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
recipients: string;
entityRefs?: string[];
title: string;
info?: string;
link?: string;
severity?: NotificationSeverity;
scope?: string;
optional?: boolean;
}, import("@backstage/types").JsonObject, "v1">;

Parameters

Parameter

Type

Description

options

{ notifications: NotificationService; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ recipients: string; entityRefs?: string[]; title: string; info?: string; link?: string; severity?: NotificationSeverity; scope?: string; optional?: boolean; }, import("@backstage/types").JsonObject, "v1">