feat: v2 rewrite — hexagonal arch, ActivityPub federation, NATS, deployment-ready #1

Merged
GKaszewski merged 334 commits from v2 into master 2026-05-16 09:42:43 +00:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit efa9bbc6e5 - Show all commits

View File

@@ -77,6 +77,7 @@ pub async fn build(cfg: &Config) -> Infrastructure {
Arc::new(PgActivityPubRepository::new(pool.clone())), Arc::new(PgActivityPubRepository::new(pool.clone())),
&cfg.base_url, &cfg.base_url,
Some(event_publisher.clone()), Some(event_publisher.clone()),
Arc::new(postgres::tag::PgTagRepository::new(pool.clone())),
)), )),
cfg.base_url.clone(), cfg.base_url.clone(),
cfg.allow_registration, cfg.allow_registration,

View File

@@ -49,6 +49,7 @@ pub async fn build(database_url: &str, base_url: &str, nats_url: &str) -> Worker
Arc::new(PgActivityPubRepository::new(pool.clone())), Arc::new(PgActivityPubRepository::new(pool.clone())),
base_url, base_url,
None, None,
Arc::new(postgres::tag::PgTagRepository::new(pool.clone())),
)), )),
base_url.to_string(), base_url.to_string(),
false, false,