Add attachment support

This commit is contained in:
KMKoushik committed 2024-04-19 20:58:30 +10:00
1 parent 9465960f0a
commit 80878679cd
22 files changed
+1029 -190

No files matched your search

@@ -19,6 +19,14 @@ const route = createRoute({
subject: z.string(),
text: z.string().optional(),
html: z.string().optional(),
attachments: z
.array(
z.object({
filename: z.string(),
content: z.string(),
})
)
.optional(),
}),
},
},