Added user permission events to document history

This commit is contained in:
Tom Moor
2024-02-23 22:44:39 -05:00
parent 99cdef2ad4
commit 12d1c66473
5 changed files with 24 additions and 3 deletions

View File

@@ -11,19 +11,22 @@ class Event extends Model {
modelId: string | null | undefined;
actorId: string;
actorIpAddress: string | null | undefined;
documentId: string;
collectionId: string | null | undefined;
@Relation(() => User)
user: User;
userId: string;
@Relation(() => User)
actor: User;
actorId: string;
data: {
name: string;
email: string;