fix(types): add attachments to CreateNotificationDTO type (#12936)

Closes #12702
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-07-14 13:55:57 +00:00
1 parent 8da6855fa0
commit 919c53e44e
2 files changed
+10 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---
fix(types): add attachments to CreateNotificationDTO type
@@ -1,4 +1,4 @@
import { NotificationContent } from "./common" import { Attachment, NotificationContent } from "./common"
/** /**
* @interface * @interface
@@ -52,4 +52,8 @@ export interface CreateNotificationDTO {
* An idempotency key that ensures the same notification is not sent multiple times. * An idempotency key that ensures the same notification is not sent multiple times.
*/ */
idempotency_key?: string | null idempotency_key?: string | null
/**
* Optional attachments for the notification.
*/
attachments?: Attachment[] | null
} }