fix logger

This commit is contained in:
2025-12-15 22:39:17 +01:00
parent 7a11daa878
commit 3b566c973d
110 changed files with 1413 additions and 903 deletions

View File

@@ -1,4 +1,4 @@
import type { AsyncUseCase, ILogger } from '@gridpilot/shared/application';
import type { AsyncUseCase, Logger } from '@gridpilot/shared/application';
import type { IAvatarGenerationRepository } from '../../domain/repositories/IAvatarGenerationRepository';
import type { FaceValidationPort } from '../ports/FaceValidationPort';
import type { AvatarGenerationPort } from '../ports/AvatarGenerationPort';
@@ -25,7 +25,7 @@ export class RequestAvatarGenerationUseCase
private readonly avatarRepository: IAvatarGenerationRepository,
private readonly faceValidation: FaceValidationPort,
private readonly avatarGeneration: AvatarGenerationPort,
private readonly logger: ILogger,
private readonly logger: Logger,
) {}
async execute(command: RequestAvatarGenerationCommand): Promise<RequestAvatarGenerationResult> {

View File

@@ -4,7 +4,7 @@
* Allows a user to select one of the generated avatars as their profile avatar.
*/
import type { AsyncUseCase, ILogger } from '@gridpilot/shared/application';
import type { AsyncUseCase, Logger } from '@gridpilot/shared/application';
import type { IAvatarGenerationRepository } from '../../domain/repositories/IAvatarGenerationRepository';
export interface SelectAvatarCommand {
@@ -23,7 +23,7 @@ export class SelectAvatarUseCase
implements AsyncUseCase<SelectAvatarCommand, SelectAvatarResult> {
constructor(
private readonly avatarRepository: IAvatarGenerationRepository,
private readonly logger: ILogger,
private readonly logger: Logger,
) {}
async execute(command: SelectAvatarCommand): Promise<SelectAvatarResult> {