website refactor

This commit is contained in:
2026-01-16 13:48:18 +01:00
parent 20a42c52fd
commit 7e02fc3ea5
796 changed files with 1946 additions and 2545 deletions

View File

@@ -1,6 +1,9 @@
import type { FeedItem } from '../types/FeedItem';
export interface IFeedRepository {
export interface FeedRepository {
getFeedForDriver(driverId: string, limit?: number): Promise<FeedItem[]>;
getGlobalFeed(limit?: number): Promise<FeedItem[]>;
}
}
// Alias for backward compatibility
export type IFeedRepository = FeedRepository;

View File

@@ -1,7 +1,10 @@
import type { Driver } from '@core/racing/domain/entities/Driver';
export interface ISocialGraphRepository {
export interface SocialGraphRepository {
getFriends(driverId: string): Promise<Driver[]>;
getFriendIds(driverId: string): Promise<string[]>;
getSuggestedFriends(driverId: string, limit?: number): Promise<Driver[]>;
}
}
// Alias for backward compatibility
export type ISocialGraphRepository = SocialGraphRepository;