mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 01:01:49 +10:00
feat: enhance document attachment updates and audit logging
- Implemented detailed handling for document attachment updates in DocumentHistorySheet. - Updated updateDocument function to log changes only when attachments differ. - Enhanced ZDocumentSchema to include attachment type validation. - Refined audit log formatting for document attachment updates to improve clarity.
This commit is contained in:
@ -171,7 +171,6 @@ export const AddSettingsFormPartial = ({
|
||||
formId: nanoid(12),
|
||||
label: '',
|
||||
url: '',
|
||||
type: 'LINK',
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@ -63,7 +63,6 @@ export const ZAddSettingsFormSchema = z.object({
|
||||
id: true,
|
||||
label: true,
|
||||
url: true,
|
||||
type: true,
|
||||
})
|
||||
.extend({
|
||||
formId: z.string().min(1),
|
||||
|
||||
Reference in New Issue
Block a user