feat(domain): add RemoteFollowAccepted, RemoteFollowRejected, ActorMoved events

This commit is contained in:
2026-05-28 02:19:46 +02:00
parent 84c66dd461
commit e338254099
3 changed files with 72 additions and 0 deletions

View File

@@ -32,6 +32,9 @@ fn aggregate_id(event: &DomainEvent) -> Uuid {
DomainEvent::UserUnblocked { blocker_id, .. } => blocker_id.as_uuid(),
DomainEvent::UserRegistered { user_id } => user_id.as_uuid(),
DomainEvent::ProfileUpdated { user_id } => user_id.as_uuid(),
DomainEvent::RemoteFollowAccepted { local_user_id, .. } => local_user_id.as_uuid(),
DomainEvent::RemoteFollowRejected { local_user_id, .. } => local_user_id.as_uuid(),
DomainEvent::ActorMoved { user_id, .. } => user_id.as_uuid(),
DomainEvent::MentionReceived { thought_id, .. } => thought_id.as_uuid(),
}
}