Skip to content

Commit 919c53e

Browse files
authored
fix(types): add attachments to CreateNotificationDTO type (medusajs#12936)
Closes medusajs#12702
1 parent 8da6855 commit 919c53e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/types": patch
3+
---
4+
5+
fix(types): add attachments to CreateNotificationDTO type

packages/core/types/src/notification/mutations.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NotificationContent } from "./common"
1+
import { Attachment, NotificationContent } from "./common"
22

33
/**
44
* @interface
@@ -52,4 +52,8 @@ export interface CreateNotificationDTO {
5252
* An idempotency key that ensures the same notification is not sent multiple times.
5353
*/
5454
idempotency_key?: string | null
55+
/**
56+
* Optional attachments for the notification.
57+
*/
58+
attachments?: Attachment[] | null
5559
}

0 commit comments

Comments
 (0)