Add attachment support
This commit is contained in:
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(),
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user