refactor: move federation port types from adapter to domain
Some checks failed
test / unit (push) Has been cancelled
lint / lint (push) Has been cancelled

ActivityPubRepository→FederationContentRepository,
OutboundFederationPort→FederationBroadcastPort,
ActorApUrls→ActorFederationUrls.

Removes activitypub dep from application and presentation crates.
Adapter re-exports old names as aliases for backward compat.
Also fixes count_users test broken by instance actor migration.
This commit is contained in:
2026-06-04 23:44:01 +02:00
parent 6dbd4dafdc
commit 5a65fda0bc
13 changed files with 180 additions and 215 deletions

2
Cargo.lock generated
View File

@@ -273,7 +273,6 @@ dependencies = [
name = "application"
version = "0.1.0"
dependencies = [
"activitypub",
"async-trait",
"bytes",
"chrono",
@@ -2605,7 +2604,6 @@ dependencies = [
name = "presentation"
version = "0.1.0"
dependencies = [
"activitypub",
"api-types",
"application",
"async-trait",