website refactor
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { Logger, UseCase } from '@core/shared/application';
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import type { UseCase } from '@core/shared/application/UseCase';
|
||||
import { Result } from '@core/shared/domain/Result';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import type { PageViewRepository } from '../repositories/PageViewRepository';
|
||||
@@ -20,7 +21,7 @@ export type GetAnalyticsMetricsErrorCode = 'REPOSITORY_ERROR';
|
||||
export class GetAnalyticsMetricsUseCase implements UseCase<GetAnalyticsMetricsInput, GetAnalyticsMetricsOutput, GetAnalyticsMetricsErrorCode> {
|
||||
constructor(
|
||||
private readonly logger: Logger,
|
||||
private readonly pageViewRepository?: IPageViewRepository,
|
||||
private readonly pageViewRepository?: PageViewRepository,
|
||||
) {}
|
||||
|
||||
async execute(
|
||||
|
||||
Reference in New Issue
Block a user