Skip to content

Commit a632fed

Browse files
committed
feat: audit events for update-visibility
1 parent 375ceec commit a632fed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/server/audit/schema.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ export const AuditSchema = z.object({
4444
"documentShare.created",
4545

4646
"password.updated",
47+
48+
"update.public-status",
49+
"update.private-status",
4750
]),
4851
occurredAt: z.date().optional(),
4952
actor: z.object({
@@ -60,6 +63,7 @@ export const AuditSchema = z.object({
6063
"option",
6164
"documentShare",
6265
"share",
66+
"update",
6367
]),
6468
id: z.string().optional().nullable(),
6569
}),

0 commit comments

Comments
 (0)