UI Components

Service Components

Data Components

Infrastructure Components

Shared Components

Sessions Repository

Data-access layer managing the sessions and refresh_tokens tables. Handles creation, lookup, rotatio...

shared medium shared
Secure Token Store

Flutter infrastructure wrapper around flutter_secure_storage that provides a typed interface for rea...

shared low shared
Auth Service

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

shared high shared
Flutter Auth Client

Client-side Riverpod service (no codegen) that calls the Auth Service REST endpoints, stores the acc...

shared medium shared
user_organization_roles

Join table binding users to organizations with a role enum value, enabling per-tenant role scoping. ...

shared medium shared
Activities Repository

Drift (SQLite) local data access object for the activities table on the mobile client. Implements th...

shared low shared
Activity Service

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

shared low shared
activity_types

Drift DAO and corresponding SQLite table storing the catalog of activity types (e.g. home visit, pho...

shared low shared
Activity Service

Shared service responsible for persisting activity records via optimistic mutation and the Drift mut...

shared medium shared
activities

The shared activities table persisting all activity records regardless of submission mode. For proxy...

shared low shared
activities

Core activity records table storing all logged peer mentor activities regardless of submission mode....

shared low shared
Wizard State Service

BLoC/Riverpod state container that manages step progression, field values, and back-navigation safet...

shared low shared
expenses

Drift data component managing the local expenses table, which stores peer mentor travel expense reco...

shared medium shared
expense_types

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

shared low shared
contacts

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

shared medium shared
notes

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

shared low shared
Statistics Service

Riverpod provider that calls the dedicated aggregation REST API endpoint and exposes a typed Statist...

shared medium shared
activity_statistics

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

shared low shared
Mentor Status Service

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

shared medium shared
Mentor Status Service

Riverpod service that manages peer mentor status transitions (active ↔ paused) via the REST API, enf...

shared low shared
certifications

Drift local table and REST-backed repository for peer mentor certification records, storing expiry d...

shared low shared
Peer Mentor Location Repository

Data access layer for reading peer_mentor_locations records during suggestion ranking. Provides inde...

shared low shared
Workshop Module Guard

Checks the platform module registry at runtime to determine whether the mentor-program module is ena...

shared low shared
certifications

Drift-backed repository managing the certifications table, providing CRUD access to certification re...

shared low shared
Design Token System

Centralized Dart constants and theme configuration defining every color, typography scale, spacing v...

shared medium shared
Accessible Widget Library

Shared Flutter widget set including AppButton, AppTextField, and focus-indicator wrappers that enfor...

shared high shared
Module Registry Service

Fetches the enabled module set for the current user's tenant from the backend bootstrap response and...

shared high shared
Local Sync Schema

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

shared high shared
Offline Storage (Drift/SQLCipher)

AES-256 encrypted SQLite database managed by the Drift ORM, providing the foundational persistent lo...

shared high shared
Mutation Outbox Service

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

shared high shared
Activity Feed Widget

Scrollable chronological feed widget displaying recent activity registrations, expense submissions, ...

shared medium shared
users

Relational table storing user account records including profile fields, invitation status, activatio...

shared low shared
Invitation Email Sender

Infrastructure adapter that formats and dispatches tokenized invitation emails via the platform's em...

shared low shared
user_organization_roles

Junction table linking users to organizations with a role enum value. Stores the authoritative role ...

shared low shared
activities

Shared relational table storing all registered peer mentor activity records. For this feature the cr...

shared low shared
audit_logs

Shared append-only audit log table that records every significant administrative action. This featur...

shared low shared
activities

Shared data component managing the activities table, extended with duplicate detection fields simila...

shared medium shared
Expense Review Audit Writer

Infrastructure adapter that writes a structured audit log entry to audit_logs for every approval sta...

shared low shared
Bufdir Role Guard

Infrastructure middleware enforcing that only Org Admin users can access Bufdir report generation en...

shared low shared
reports

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

shared low shared
user_organization_roles

Relational table storing the composite-keyed membership records linking users to organizational hier...

shared low shared
sessions

Data component managing the sessions table, which stores active and revoked session records with use...

shared low shared
Sales Site WCAG Token System

Design token configuration (colors, spacing, typography, contrast ratios) for the static Sales Websi...

shared low shared