ENGLISH·COURSE API
    Preparing search index...

    Module

    domain/use-cases/find-lesson-for-view/find-lesson-for-view

    Type Aliases

    LessonView

    The view object the Lesson Page renders. Composed by the use case so the Server Component does not have to reach for ports directly. modules and lessons feed the Outline (sidebar); the rest is the page body.

    FindLessonForView

    Use case: resolve the slugs and id from the route into the full view the Lesson Page needs to render. Returns a ResultAsync<LessonView, ...> so delivery adapters can map errors to a 404 page or a localized message without the use case knowing about HTTP or React.