Data Layer low complexity backend
1
Dependencies
3
Dependents
0
Entities
0
Integrations

Description

Records read receipt and delivery confirmation events for each assignment, capturing event type (delivered, acknowledged, read), actor, and timestamp. Feeds coordinator status overview and supplies the reminder service with the set of assignments lacking a read record.

Feature: Encrypted Assignment Dispatch

assignment-reads-table

Responsibilities

  • Insert read receipt on peer mentor acknowledgment with timestamp
  • Record delivery confirmation on successful push notification delivery
  • Provide read and delivery status for coordinator status queries
  • Supply unread assignment queries to the Assignment Reminder Service

Interfaces

insertReadEvent(assignmentId, userId, eventType, timestamp)
getReadStatus(assignmentId) -> ReadStatus
findUnreadSince(thresholdDate) -> Assignment[]
getReadHistoryForAssignment(assignmentId) -> ReadEvent[]

Relationships

Dependencies (1)

Components this component depends on

Dependents (3)

Components that depend on this component