Skip to main content
Version: Next

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[] | undefined;
title: string;
info?: string | undefined;
link?: string | undefined;
severity?: NotificationSeverity | undefined;
scope?: string | undefined;
optional?: boolean | undefined;
}, import("@backstage/types").JsonObject>;

Parameters

Parameter

Type

Description

options

{ notifications: NotificationService; }

**Returns:**

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