Shared Components
Components reused across multiple features
UI Components
Shared Flutter widget set including AppButton, AppTextField, and focus-indicator wrappers that enforce WCAG 2.2 AA requi...
Scrollable chronological feed widget displaying recent activity registrations, expense submissions, and system events fo...
Service Components
Backend service implementing the Authentication Module's stable sign-in/sign-out/refresh contract using bcrypt password ...
Client-side Riverpod service (no codegen) that calls the Auth Service REST endpoints, stores the access token in memory ...
Backend REST service (Next.js /api/v1/activities) that persists peer mentor activity records to the PostgreSQL database....
BLoC/Riverpod state container that manages step progression, field values, and back-navigation safety for multi-step wiz...
Riverpod provider that calls the dedicated aggregation REST API endpoint and exposes a typed StatisticsSummary to the UI...
Riverpod service layer that issues PATCH /api/v1/users/:id/mentor-status requests to update the peer_mentor_statuses rec...
Checks the platform module registry at runtime to determine whether the mentor-program module is enabled for the current...
Fetches the enabled module set for the current user's tenant from the backend bootstrap response and exposes it as a Riv...
Serializes pending write operations with retry metadata into a persistent outbox queue stored in the encrypted local DB....
Data Components
Data-access layer managing the sessions and refresh_tokens tables. Handles creation, lookup, rotation, and revocation of...
Join table binding users to organizations with a role enum value, enabling per-tenant role scoping. A single user may ho...
Drift (SQLite) local data access object for the activities table on the mobile client. Implements the offline-first muta...
Drift DAO and corresponding SQLite table storing the catalog of activity types (e.g. home visit, phone call, group meeti...
Core activity records table storing all logged peer mentor activities regardless of submission mode. Shared by simple lo...
Drift data component managing the local expenses table, which stores peer mentor travel expense records with foreign key...
Drift local table and repository for the organisation-configured expense type catalogue. Each record carries a JSON rule...
Drift table and repository for the contacts entity, with SQLite FTS5 virtual table for full-text search across name and ...
Drift table adapter and repository for the notes entity, providing typed access to note records linked to contacts and u...
Drift table and repository adapter for locally cached activity statistics rows. Shared with Personal Activity Statistics...
Drift-backed repository managing the certifications table, providing CRUD access to certification records that store use...
Data access layer for reading peer_mentor_locations records during suggestion ranking. Provides indexed queries by organ...
Drift table definitions that mirror the server schema extended with sync-state columns (sync_status, local_id, server_id...
Relational table storing user account records including profile fields, invitation status, activation status flag, and o...
Shared append-only audit log table that records every significant administrative action. This feature writes one immutab...
PostgreSQL data layer for persisted report template records keyed to the generating user's organization. Stores report n...
Data component managing the sessions table, which stores active and revoked session records with user identity, tenant a...
Infrastructure Components
Flutter infrastructure wrapper around flutter_secure_storage that provides a typed interface for reading and writing the...
Centralized Dart constants and theme configuration defining every color, typography scale, spacing value, border radius,...
AES-256 encrypted SQLite database managed by the Drift ORM, providing the foundational persistent local store for offlin...
Infrastructure adapter that formats and dispatches tokenized invitation emails via the platform's email provider. Constr...
Infrastructure adapter that writes a structured audit log entry to audit_logs for every approval state transition in the...
Infrastructure middleware enforcing that only Org Admin users can access Bufdir report generation endpoints and pages. I...
Design token configuration (colors, spacing, typography, contrast ratios) for the static Sales Website ensuring WCAG 2.2...