feat: add attachments (#2091)

This commit is contained in:
Lucas Smith
2025-10-23 23:07:10 +11:00
committed by GitHub
parent 4a3859ec60
commit 2eebc0e439
51 changed files with 1284 additions and 15 deletions

View File

@ -235,6 +235,7 @@ export const templateRouter = router({
publicDescription,
type,
meta,
attachments,
} = input;
const fileName = title.endsWith('.pdf') ? title : `${title}.pdf`;
@ -268,6 +269,7 @@ export const templateRouter = router({
publicDescription,
},
meta,
attachments,
requestMetadata: ctx.metadata,
});