feat: add reminder to advanced settings

This commit is contained in:
Ephraim Atta-Duncan
2024-11-20 22:10:09 +00:00
parent 8b771d36d2
commit 9fc5ec11f4
12 changed files with 102 additions and 6 deletions

View File

@ -98,6 +98,7 @@ export const ZSetSettingsForDocumentMutationSchema = z.object({
'Please enter a valid URL, make sure you include http:// or https:// part of the url.',
}),
language: z.enum(SUPPORTED_LANGUAGE_CODES).optional(),
reminderDays: z.number().optional(),
}),
});
@ -167,6 +168,7 @@ export const ZSendDocumentMutationSchema = z.object({
'Please enter a valid URL, make sure you include http:// or https:// part of the url.',
}),
emailSettings: ZDocumentEmailSettingsSchema.optional(),
reminderDays: z.number().optional(),
}),
});