fix(types): add attachments to CreateNotificationDTO type (#12936)
Closes #12702
This commit is contained in:
5
.changeset/gorgeous-beers-travel.md
Normal file
5
.changeset/gorgeous-beers-travel.md
Normal 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
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user