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: "entity" | "broadcast";
title: string;
entityRefs?: string[] | undefined;
info?: string | undefined;
link?: string | undefined;
severity?: "normal" | "high" | "low" | "critical" | undefined;
scope?: string | undefined;
optional?: boolean | undefined;
}, {
[x: string]: any;
}, "v2">;

Parameters

Parameter

Type

Description

options

{ notifications: NotificationService; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ recipients: "entity" | "broadcast"; title: string; entityRefs?: string[] | undefined; info?: string | undefined; link?: string | undefined; severity?: "normal" | "high" | "low" | "critical" | undefined; scope?: string | undefined; optional?: boolean | undefined; }, { [x: string]: any; }, "v2">