Add attachment support
This commit is contained in:
@@ -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