docs:add report

Signed-off-by: Kai Dubauskas <kai.dubauskas@doordash.com>
This commit is contained in:
Kai Dubauskas
2026-02-09 12:23:06 -05:00
parent 806271fc80
commit 13d227e953
2 changed files with 20 additions and 0 deletions
@@ -4,6 +4,9 @@
```ts
import { BackendFeature } from '@backstage/backend-plugin-api';
import { ExtensionPoint } from '@backstage/backend-plugin-api';
import { KnownBlock } from '@slack/web-api';
import { NotificationPayload } from '@backstage/plugin-notifications-common';
// @public
export const ANNOTATION_SLACK_BOT_NOTIFY = 'slack.com/bot-notify';
@@ -11,4 +14,18 @@ export const ANNOTATION_SLACK_BOT_NOTIFY = 'slack.com/bot-notify';
// @public
const notificationsModuleSlack: BackendFeature;
export default notificationsModuleSlack;
// @public
export interface NotificationsSlackBlockKitExtensionPoint {
// (undocumented)
setBlockKitRenderer(renderer: SlackBlockKitRenderer): void;
}
// @public (undocumented)
export const notificationsSlackBlockKitExtensionPoint: ExtensionPoint<NotificationsSlackBlockKitExtensionPoint>;
// @public (undocumented)
export type SlackBlockKitRenderer = (
payload: NotificationPayload,
) => KnownBlock[];
```
@@ -26,6 +26,9 @@ export type SlackBlockKitRenderer = (
/**
* @public
*
* Extension point for customizing how notification payloads are rendered into
* Slack Block Kit messages before they're sent.
*/
export interface NotificationsSlackBlockKitExtensionPoint {
setBlockKitRenderer(renderer: SlackBlockKitRenderer): void;