feat(site): implement notification ui (#14175)

This commit is contained in:
Bruno Quaresma
2024-08-09 13:43:09 -03:00
committed by GitHub
parent aaa5174bef
commit 21942afef3
21 changed files with 1324 additions and 6 deletions

View File

@ -3659,6 +3659,7 @@ const getNotificationTemplatesByKind = `-- name: GetNotificationTemplatesByKind
SELECT id, name, title_template, body_template, actions, "group", method, kind
FROM notification_templates
WHERE kind = $1::notification_template_kind
ORDER BY name ASC
`
func (q *sqlQuerier) GetNotificationTemplatesByKind(ctx context.Context, kind NotificationTemplateKind) ([]NotificationTemplate, error) {