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::SqliteFederationRepository;
use adapter_common::datetime_to_str;
#[async_trait]
impl ActivityRepository for SqliteFederationRepository {

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::{SqliteFederationRepository, remote_actor_from_row};
use adapter_common::datetime_to_str;
#[async_trait]
impl ActorRepository for SqliteFederationRepository {

View File

@@ -21,12 +21,11 @@ impl SqliteApContentQuery {
pub fn new(pool: SqlitePool) -> Self {
Self { pool }
}
}
// ── 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::SqliteFederationRepository;
use adapter_common::datetime_to_str;
#[async_trait]
impl BlocklistRepository for SqliteFederationRepository {

View File

@@ -6,11 +6,8 @@ use k_ap::{
};
use sqlx::Row;
use super::{SqliteFederationRepository, remote_actor_from_row, status_to_str, str_to_status};
use adapter_common::datetime_to_str;
use super::{
SqliteFederationRepository, remote_actor_from_row, status_to_str,
str_to_status,
};
#[async_trait]
impl FollowRepository for SqliteFederationRepository {

View File

@@ -11,7 +11,6 @@ impl SqliteRemoteGoalRepository {
pub fn new(pool: SqlitePool) -> 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::SqliteFederationRepository;
use adapter_common::datetime_to_str;
#[async_trait]
impl RemoteReviewRepository for SqliteFederationRepository {