chore(types,notification): Make template nullable on emails (#13889)

* chore: Make template nullable on emails

* Create curvy-lamps-float.md
This commit is contained in:
Oli Juhl
2025-10-29 18:36:06 +01:00
committed by GitHub
parent ef7b9b9375
commit 01ee437926
6 changed files with 61 additions and 6 deletions
@@ -8,7 +8,7 @@ export const Notification = model.define("notification", {
to: model.text().searchable(),
channel: model.text(),
// The template name in the provider's system.
template: model.text(),
template: model.text().nullable(),
// The data that gets passed over to the provider for rendering the notification.
data: model.json().nullable(),
// This can be the event name, the workflow, or anything else that can help to identify what triggered the notification.