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

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

View File

@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---
fix(types): add attachments to CreateNotificationDTO type

View File

@@ -1,4 +1,4 @@
import { NotificationContent } from "./common"
import { Attachment, NotificationContent } from "./common"
/**
* @interface
@@ -52,4 +52,8 @@ export interface CreateNotificationDTO {
* An idempotency key that ensures the same notification is not sent multiple times.
*/
idempotency_key?: string | null
/**
* Optional attachments for the notification.
*/
attachments?: Attachment[] | null
}