import type { PostRepository } from '$lib/post/application/repository/postRepository'; import type { PostInfo } from '$lib/post/domain/entity/postInfo'; export class GetAllPostUseCase { constructor(private readonly postRepository: PostRepository) {} execute(): Promise { return this.postRepository.getAllPosts(); } }