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,7 +1,7 @@
import type { Driver } from '@core/racing/domain/entities/Driver';
import type { Logger } from '@core/shared/application';
import type { IFeedRepository } from '@core/social/domain/repositories/IFeedRepository';
import type { ISocialGraphRepository } from '@core/social/domain/repositories/ISocialGraphRepository';
import type { Logger } from '@core/shared/domain';
import type { FeedRepository } from '@core/social/domain/repositories/FeedRepository';
import type { SocialGraphRepository } from '@core/social/domain/repositories/SocialGraphRepository';
import type { FeedItem } from '@core/social/domain/types/FeedItem';
export type Friendship = {
@@ -15,7 +15,7 @@ export type RacingSeedData = {
feedEvents: FeedItem[];
};
export class InMemoryFeedRepository implements IFeedRepository {
export class InMemoryFeedRepository implements FeedRepository {
private feedEvents: FeedItem[];
private friendships: Friendship[];
private readonly logger: Logger;
@@ -76,7 +76,7 @@ export class InMemoryFeedRepository implements IFeedRepository {
}
}
export class InMemorySocialGraphRepository implements ISocialGraphRepository {
export class InMemorySocialGraphRepository implements SocialGraphRepository {
private friendships: Friendship[];
private driversById: Map<string, Driver>;
private readonly logger: Logger;