Hand-madedomainserver

lms

src/features/lms

Brick

  • __tests__/

  • domain/

  • host/

  • seed/

  • server/

  • testing/

domain/index.ts
1/** lms — pure entrypoint: entities and the rules that decide progress. */
2
3export type {
4 Certificate,
5 CompletionRule,
6 Course,
7 CourseIndex,
8 CourseStatus,
9 Curriculum,
10 CurriculumLesson,
11 CurriculumSection,
12 DripMode,
13 Enrollment,
14 EnrollmentMode,
15 EnrollmentStatus,
16 Instant,
17 LessonContent,
18 LessonProgress,
19 LessonType,
20 LmsRepositories,
21 Progress,
22} from './entities';
23export { curriculumId, enrollmentId, lessonProgressId, progressId } from './entities';
24
25export type { CompletionState, MigrationResult } from './progress';
26export {
27 VIDEO_COMPLETION_THRESHOLD,
28 assertCurriculumValid,
29 buildCurriculumViews,
30 clearBit,
31 completedLessonIds,
32 countBits,
33 emptyBitmap,
34 evaluateCompletion,
35 isBitSet,
36 isLessonUnlocked,
37 isVideoComplete,
38 migrateProgress,
39 setBit,
40} from './progress';
41

Requirements

This brick was written by hand, so it has no spec on file. Its own tests are its requirements — run the gates to check them.