This commit is contained in:
2025-12-11 13:50:38 +01:00
parent e4c1be628d
commit c7e5de40d6
212 changed files with 2965 additions and 763 deletions

View File

@@ -1,6 +1,7 @@
import type { AsyncUseCase } from '@gridpilot/shared/application';
import type { IFeedRepository } from '../../domain/repositories/IFeedRepository';
import type { FeedItemDTO } from '../dto/FeedItemDTO';
import type { FeedItem } from '../../domain/entities/FeedItem';
import type { FeedItem } from '../../domain/types/FeedItem';
import type {
IUserFeedPresenter,
UserFeedViewModel,
@@ -11,7 +12,8 @@ export interface GetUserFeedParams {
limit?: number;
}
export class GetUserFeedUseCase {
export class GetUserFeedUseCase
implements AsyncUseCase<GetUserFeedParams, void> {
constructor(
private readonly feedRepository: IFeedRepository,
public readonly presenter: IUserFeedPresenter,