fmt
Some checks failed
CI / Check / Test (push) Has been cancelled

This commit is contained in:
2026-07-10 05:45:44 +02:00
parent c224cc6bd2
commit 0eb56c2be6
53 changed files with 391 additions and 203 deletions

View File

@@ -3,8 +3,8 @@ use async_trait::async_trait;
use chrono::Utc;
use k_ap::ActivityRepository;
use adapter_common::datetime_to_str;
use super::PostgresFederationRepository;
use adapter_common::datetime_to_str;
#[async_trait]
impl ActivityRepository for PostgresFederationRepository {

View File

@@ -4,8 +4,8 @@ use chrono::Utc;
use k_ap::{ActorRepository, RemoteActor};
use sqlx::Row;
use adapter_common::datetime_to_str;
use super::{PG_ACTOR_COLS, PostgresFederationRepository, pg_remote_actor};
use adapter_common::datetime_to_str;
#[async_trait]
impl ActorRepository for PostgresFederationRepository {

View File

@@ -25,7 +25,7 @@ impl PostgresApContentQuery {
// ── Local row types ──────────────────────────────────────────────────────────
use adapter_common::{parse_uuid, parse_datetime};
use adapter_common::{parse_datetime, parse_uuid};
#[derive(sqlx::FromRow)]
struct MovieRow {

View File

@@ -4,8 +4,8 @@ use chrono::Utc;
use k_ap::{BlockedDomain, BlocklistRepository};
use sqlx::Row;
use adapter_common::datetime_to_str;
use super::PostgresFederationRepository;
use adapter_common::datetime_to_str;
#[async_trait]
impl BlocklistRepository for PostgresFederationRepository {

View File

@@ -6,11 +6,10 @@ use k_ap::{
};
use sqlx::Row;
use adapter_common::datetime_to_str;
use super::{
PG_ACTOR_COLS, PostgresFederationRepository, pg_remote_actor, status_to_str,
str_to_status,
PG_ACTOR_COLS, PostgresFederationRepository, pg_remote_actor, status_to_str, str_to_status,
};
use adapter_common::datetime_to_str;
#[async_trait]
impl FollowRepository for PostgresFederationRepository {

View File

@@ -11,7 +11,6 @@ impl PostgresRemoteGoalRepository {
pub fn new(pool: PgPool) -> Self {
Self { pool }
}
}
#[async_trait]

View File

@@ -3,8 +3,8 @@ use anyhow::{Result, anyhow};
use async_trait::async_trait;
use domain::models::{Review, ReviewSource};
use adapter_common::datetime_to_str;
use super::PostgresFederationRepository;
use adapter_common::datetime_to_str;
#[async_trait]
impl RemoteReviewRepository for PostgresFederationRepository {