package ports import ( "Yimaru-Backend/internal/domain" "context" ) type LessonStore interface { CreateLesson(ctx context.Context, moduleID int64, input domain.CreateLessonInput) (domain.Lesson, error) GetLessonByID(ctx context.Context, id int64) (domain.Lesson, error) ListLessonsByModuleID(ctx context.Context, moduleID int64, publishedOnly bool, limit, offset int32) ([]domain.Lesson, int64, error) UpdateLesson(ctx context.Context, id int64, input domain.UpdateLessonInput) (domain.Lesson, error) DeleteLesson(ctx context.Context, id int64) error }