Data Layer low complexity mobilebackend
0
Dependencies
3
Dependents
0
Entities
0
Integrations

Description

Repository for course enrollment records linking users to courses. Persists enrollment state, supports offline mutation outbox pattern, and is the source for certification eligibility checks.

Feature: Course Registration

course-enrollments-table

Responsibilities

  • Store and query enrollment records for the current user
  • Support offline enrollment creation via mutation outbox
  • Provide enrollment status for certification lifecycle queries

Interfaces

getEnrollments(userId: String): List<Enrollment>
getEnrollment(enrollmentId: String): Enrollment?
insertEnrollment(enrollment: Enrollment): void
updateEnrollmentStatus(enrollmentId: String, status: String): void
deleteEnrollment(enrollmentId: String): void

Relationships

Dependents (3)

Components that depend on this component