Hiyve Components - v1.0.0
    Preparing search index...
    • Add a lesson for one client only: it appears in their outline where you put it, follows the same unlock rules as any lesson, and no one else sees it.

      Parameters

      • storage: CourseStorage
      • course: Course
      • enrollment: Enrollment
      • input: {
            access?: AccessRule;
            afterLessonId?: string | null;
            blocks?: Block[];
            customFileIds?: string[];
            description?: string;
            estimatedMinutes?: number;
            sectionId: string;
            title: string;
        }
        • Optionalaccess?: AccessRule
        • OptionalafterLessonId?: string | null
        • Optionalblocks?: Block[]
        • OptionalcustomFileIds?: string[]

          Ids of stored files the lesson's custom blocks use, shared with the client along with the lesson.

        • Optionaldescription?: string
        • OptionalestimatedMinutes?: number
        • sectionId: string
        • title: string
      • now: TimeInput = ...

      Returns Promise<ClientLessonResult>