mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 16:51:38 +10:00
feat: enhance document schema and update attachment handling
- Added attachments support to ZCreateDocumentMutationSchema and ZUpdateDocumentRequestSchema. - Updated ZDocumentSchema to validate attachments with specific fields. - Modified updateDocument function to handle attachment creation and deletion. - Enhanced AddSettingsFormSchema to include attachments with proper validation.
This commit is contained in:
@ -147,6 +147,8 @@ export const AddSettingsFormPartial = ({
|
||||
formId: nanoid(12),
|
||||
label: '',
|
||||
url: '',
|
||||
// fix this
|
||||
id: '',
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user