mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 09:12:02 +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:
@ -64,6 +64,7 @@ export const ZDocumentSchema = DocumentSchema.pick({
|
||||
id: true,
|
||||
label: true,
|
||||
url: true,
|
||||
type: true,
|
||||
})
|
||||
.array()
|
||||
.optional(),
|
||||
|
||||
Reference in New Issue
Block a user