chore: create ResourceNotificationMessage and AsNotifier (#15301)

Closes https://github.com/coder/coder/issues/15213

This PR enables sending notifications without requiring the auth system
context, instead using a new auth notifier context.
This commit is contained in:
Danielle Maywood
2024-10-31 17:01:51 +00:00
committed by GitHub
parent 9d03e0429f
commit 330acd1270
16 changed files with 123 additions and 52 deletions

2
coderd/apidoc/docs.go generated
View File

@ -12265,6 +12265,7 @@ const docTemplate = `{
"group_member",
"idpsync_settings",
"license",
"notification_message",
"notification_preference",
"notification_template",
"oauth2_app",
@ -12298,6 +12299,7 @@ const docTemplate = `{
"ResourceGroupMember",
"ResourceIdpsyncSettings",
"ResourceLicense",
"ResourceNotificationMessage",
"ResourceNotificationPreference",
"ResourceNotificationTemplate",
"ResourceOauth2App",