Hiyve Components - v1.0.0
    Preparing search index...
    • Add a lesson to a section at index (default: the end). Returns the course and the new lesson.

      Parameters

      • course: Course
      • sectionId: string
      • input: {
            access?: AccessRule;
            description?: string;
            estimatedMinutes?: number;
            id?: string;
            title: string;
        }
      • Optionalindex: number

      Returns { course: Course; lesson: LessonSummary }