Service Layer low complexity backend
0
Dependencies
2
Dependents
1
Entities
0
Integrations

Description

Service layer responsible for fetching, paginating, and filtering the list of pending activity registrations scoped strictly to the requesting coordinator's or admin's organization. Provides aggregate counts consumed by dashboard KPI widgets and the activity oversight area header.

Feature: Activity Review & Approval

approval-queue-service

Responsibilities

  • Query activities table for pending records scoped to the caller's organization
  • Apply pagination, sorting, and multi-field filter parameters
  • Aggregate pending count grouped by peer mentor for coordinator workload visibility
  • Expose total pending count endpoint consumed by KPI dashboard widgets

Interfaces

getPendingActivities(orgId: string, filters: QueueFilters, page: number, pageSize: number): PaginatedResult<Activity>
getPendingCountByMentor(orgId: string): Record<string, number>
getPendingTotal(orgId: string): number
getActivityDetail(activityId: string, orgId: string): ActivityDetail

Relationships

Dependents (2)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component