ENGLISH·COURSE API
    Preparing search index...
    CourseShelfReading:
        | { status: "pending" }
        | {
            status: "read";
            featured: CourseCardModel | null;
            otherEnrolled: CourseCardModel[];
            recommended: CourseCardModel | null;
            available: CourseForView[];
            enrolledCount: number;
        }

    The catalog sorted for the signed-in learner, with a card model for every course they are enrolled in; pending until their state is adopted.

    Type Declaration

    • { status: "pending" }
    • {
          status: "read";
          featured: CourseCardModel | null;
          otherEnrolled: CourseCardModel[];
          recommended: CourseCardModel | null;
          available: CourseForView[];
          enrolledCount: number;
      }
      • status: "read"
      • featured: CourseCardModel | null

        The enrolled course to lead with, or null with no enrollment.

      • otherEnrolled: CourseCardModel[]
      • recommended: CourseCardModel | null

        With no enrollment, the first level course; otherwise null.

      • available: CourseForView[]
      • enrolledCount: number