Added user permission events to document history
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user