feat: add delete functionality for leases, catch books, and permits; implement newsletter update feature
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 4m52s
Workflow / ⚫️ Test (push) Has been skipped

This commit is contained in:
T. Zehetbauer
2026-04-01 17:53:39 +02:00
parent c6b2824da8
commit 080ec1cb47
22 changed files with 798 additions and 210 deletions

View File

@@ -18,6 +18,11 @@ export const CreateNewsletterSchema = z.object({
});
export type CreateNewsletterInput = z.infer<typeof CreateNewsletterSchema>;
export const UpdateNewsletterSchema = CreateNewsletterSchema.partial().extend({
newsletterId: z.string().uuid(),
});
export type UpdateNewsletterInput = z.infer<typeof UpdateNewsletterSchema>;
export const CreateTemplateSchema = z.object({
accountId: z.string().uuid(),
name: z.string().min(1),