fix issues in core

This commit is contained in:
2025-12-23 14:43:49 +01:00
parent 11492d1ff2
commit df5c20c5cc
62 changed files with 480 additions and 334 deletions

View File

@@ -1,4 +1,4 @@
import type { Logger , UseCaseOutputPort } from '@core/shared/application';
import type { Logger, UseCaseOutputPort } from '@core/shared/application';
import { Result } from '@core/shared/application/Result';
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
import type { ISocialGraphRepository } from '../../domain/repositories/ISocialGraphRepository';
@@ -59,9 +59,11 @@ export class GetCurrentUserSocialUseCase {
);
}
// TODO looks like this must still be implemented?
const friends: FriendDTO[] = friendsDomain.map(friend => ({
driverId: friend.id,
displayName: friend.name,
displayName: friend.name.toString(),
avatarUrl: '',
isOnline: false,
lastSeen: new Date(),