35
Shared Components
4
Component Types
35
Feature Links

Service Components

Auth Service

Backend service implementing the Authentication Module's stable sign-in/sign-out/refresh contract using bcrypt password ...

high shared service
Email & Password Login
Flutter Auth Client

Client-side Riverpod service (no codegen) that calls the Auth Service REST endpoints, stores the access token in memory ...

medium shared service
Email & Password Login
Activity Service

Backend REST service (Next.js /api/v1/activities) that persists peer mentor activity records to the PostgreSQL database....

low shared service
Simple Activity Logging
Wizard State Service

BLoC/Riverpod state container that manages step progression, field values, and back-navigation safety for multi-step wiz...

low shared service
Event Creation
Statistics Service

Riverpod provider that calls the dedicated aggregation REST API endpoint and exposes a typed StatisticsSummary to the UI...

medium shared service
Personal Activity Statistics
Mentor Status Service

Riverpod service layer that issues PATCH /api/v1/users/:id/mentor-status requests to update the peer_mentor_statuses rec...

medium shared service
Pause Function
Workshop Module Guard

Checks the platform module registry at runtime to determine whether the mentor-program module is enabled for the current...

low shared service
Career Workshops
Module Registry Service

Fetches the enabled module set for the current user's tenant from the backend bootstrap response and exposes it as a Riv...

high shared service
Role-Specific Home Dashboard
Mutation Outbox Service

Serializes pending write operations with retry metadata into a persistent outbox queue stored in the encrypted local DB....

high shared service
Offline Data Support

Data Components

Sessions Repository

Data-access layer managing the sessions and refresh_tokens tables. Handles creation, lookup, rotation, and revocation of...

medium shared data
Email & Password Login
user_organization_roles

Join table binding users to organizations with a role enum value, enabling per-tenant role scoping. A single user may ho...

medium shared data
Role-Based Access Control
Activities Repository

Drift (SQLite) local data access object for the activities table on the mobile client. Implements the offline-first muta...

low shared data
Simple Activity Logging
activity_types

Drift DAO and corresponding SQLite table storing the catalog of activity types (e.g. home visit, phone call, group meeti...

low shared data
Activity Registration Wizard
activities

Core activity records table storing all logged peer mentor activities regardless of submission mode. Shared by simple lo...

low shared data
Bulk Registration
expenses

Drift data component managing the local expenses table, which stores peer mentor travel expense records with foreign key...

medium shared data
Travel Expense Registration
expense_types

Drift local table and repository for the organisation-configured expense type catalogue. Each record carries a JSON rule...

low shared data
Expense Types & Requirements
contacts

Drift table and repository for the contacts entity, with SQLite FTS5 virtual table for full-text search across name and ...

medium shared data
Contact List & Search
notes

Drift table adapter and repository for the notes entity, providing typed access to note records linked to contacts and u...

low shared data
Note Editor
activity_statistics

Drift table and repository adapter for locally cached activity statistics rows. Shared with Personal Activity Statistics...

low shared data
Coordinator Team Reports
certifications

Drift-backed repository managing the certifications table, providing CRUD access to certification records that store use...

low shared data
Digital Peer Mentor Certificate
Peer Mentor Location Repository

Data access layer for reading peer_mentor_locations records during suggestion ranking. Provides indexed queries by organ...

low shared data
Assignment Matching by Geography
Local Sync Schema

Drift table definitions that mirror the server schema extended with sync-state columns (sync_status, local_id, server_id...

high shared data
Offline Data Support
users

Relational table storing user account records including profile fields, invitation status, activation status flag, and o...

low shared data
User CRUD
audit_logs

Shared append-only audit log table that records every significant administrative action. This feature writes one immutab...

low shared data
Activity Review & Approval
reports

PostgreSQL data layer for persisted report template records keyed to the generating user's organization. Stores report n...

low shared data
Custom Reports
sessions

Data component managing the sessions table, which stores active and revoked session records with user identity, tenant a...

low shared data
Session Management