import type { PostRepository } from '$lib/post/application/repository/postRepository'; import type { Post } from '$lib/post/domain/entity/post'; export class GetPostUseCase { constructor(private readonly postRepository: PostRepository) {} execute(id: number): Promise { return this.postRepository.getPost(id); } }