88
Total Service Layer
3
Low Complexity
41
Medium Complexity
44
High Complexity

Service Layer components contain business logic, orchestrate operations, and provide core application functionality.

Auth Service

Business logic layer orchestrating all email/password authentication operations including login, logout, password reset, and session lifecyc...

medium Email & Password Login
BankID Integration Service

Orchestrates the BankID OAuth2/OIDC authentication flow end-to-end. Builds the authorization URL, handles token exchange via the BankID API ...

high BankID & Vipps Authentication
Biometric Auth Service

Manages device biometric enrollment and re-authentication using Flutter's local_auth package. After initial BankID/Vipps login, stores an en...

medium BankID & Vipps Authentication
Vipps Integration Service

Orchestrates the Vipps login OAuth2/OIDC flow, including token exchange and optional personnummer extraction. After successful token exchang...

high BankID & Vipps Authentication
Permission Guard

GoRouter redirect hook that enforces role-based access on every protected route. Each route declares its required role and permission set; t...

high Role-Based Access Control
Role Authorization Service

Core BLoC-based service that manages the active role state for the current session. Evaluates which roles a user holds, determines the activ...

high Role-Based Access Control
Activity Registration Service

Core service orchestrating the full activity registration lifecycle from wizard initiation through submission. Manages default value fetchin...

high Activity Logging Wizard
Activity Validation Service

Stateless validation service that enforces business rules on activity data at each wizard step and on final submission. Validates required f...

medium Activity Logging Wizard
Event Service

Business logic layer for event lifecycle management including creation, editing, participant management, and aggregation for Bufdir reportin...

high Event Creation & Management
Activity Delegation Service

Handles individual proxy submissions, enforcing role-based authorization at the service layer before inserting activity records with the pee...

high Bulk Registration & Proxy Reporting
Bulk Registration Service

Orchestrates all-or-nothing batch activity registration by invoking a Supabase RPC call wrapped in a database transaction. Accepts a list of...

high Bulk Registration & Proxy Reporting
Audio Processing Service

On-device service responsible for audio signal preparation before it is passed to the native recognition engine. Manages microphone input le...

medium Speech-to-Text Input
Speech Recognition Service

Business logic layer that wraps Flutter's speech_to_text package and manages the full recognition session lifecycle. Delegates to the platfo...

medium Speech-to-Text Input
Document Storage Service

Business logic service responsible for uploading files to Supabase Storage using the {org_id}/{activity_id}/{filename} path convention, gene...

high Document Attachment to Activities
Contact List BLoC

BLoC state management controller for the contacts list screen. Handles search, filter, view-mode, and pagination events, maintaining a singl...

medium Contact List & Search
Contact Search Service

Business logic layer that executes debounced, role-scoped contact searches against Supabase. Applies organisation membership filtering and e...

medium Contact List & Search
Contact Management Service

Core business logic service for reading, creating, and updating contact records. Orchestrates interactions between the UI, contact repositor...

medium Contact Detail & Management
Peer Mentor Profile Service

Riverpod provider-based service that computes the derived status of a peer mentor by combining availability and certification data with real...

medium Peer Mentor Profiles
Coordinator Notification Service

Service responsible for notifying a peer mentor's assigned coordinator whenever the mentor's availability status changes. Resolves the corre...

medium Peer Mentor Pause & Availability
Pause Management Service

Core business logic service managing availability status transitions for peer mentors. Validates allowed state transitions (active → paused,...

medium Peer Mentor Pause & Availability
Assignment Reminder Service

Supabase scheduled Edge Function that checks all open assignment dispatches for records that have not been acknowledged within 10 days and t...

medium Encrypted Task Assignment to Peer Mentors
Delivery Confirmation Service

Tracks and records delivery and read receipt events for encrypted assignments. Emits a delivery event when the encrypted payload is successf...

medium Encrypted Task Assignment to Peer Mentors
Key Management Service

Manages asymmetric key pair lifecycle for each user, including generation during onboarding, secure local storage via Flutter Secure Storage...

high Encrypted Task Assignment to Peer Mentors
Task Encryption Service

Core service responsible for end-to-end asymmetric encryption and decryption of assignment payloads. Retrieves the recipient's public key to...

high Encrypted Task Assignment to Peer Mentors
Geographic Matching Service

Core business logic service that retrieves peer mentor location and availability data, computes proximity rankings relative to a target assi...

high Geographic Matching & Map View
Privacy Consent Service

Manages peer mentor opt-in consent for location storage in compliance with GDPR requirements. Presents the privacy disclosure flow to peer m...

medium Geographic Matching & Map View
Expense Registration BLoC

BLoC state management component that orchestrates the full expense registration wizard flow, managing wizard step transitions, accumulated e...

medium Travel Reimbursement Registration
Expense Rules Riverpod Provider

Riverpod provider that exposes organisation-specific reimbursement rules including per-kilometre rates, auto-approval distance thresholds, r...

low Travel Reimbursement Registration
Expense Validation Service

Dual-layer validation service that enforces expense registration rules both client-side for immediate user feedback and with server-side con...

medium Travel Reimbursement Registration
Receipt Processing Service

Orchestrates the end-to-end receipt lifecycle: client-side image compression, upload to Supabase Storage with bucket-policy enforcement, thu...

high Receipt Upload & Management
Attestation Service

Handles manual coordinator attestation of reimbursement submissions, invoking authenticated Supabase RPC calls that append immutable audit r...

high Reimbursement Approval Workflow
Auto-Approval Service

Supabase Edge Function triggered on insert to travel_expense_reports that evaluates configurable organisation thresholds and automatically a...

high Reimbursement Approval Workflow
Honorarium Service

Business logic service that calculates driver honorarium amounts based on organization-specific rate configuration, validates driving engage...

medium Driver Honorarium & NDA Management
NDA Validation Service

Service responsible for enforcing NDA gating logic — checking whether a peer mentor has a valid, non-expired NDA on file before granting acc...

high Driver Honorarium & NDA Management
Bufdir Report Generator Service

Core service that orchestrates asynchronous aggregation of all activity, event, and participant data within a reporting period and organizat...

high Bufdir Automated Reporting
Report Export Service

Service responsible for rendering finalized Bufdir reports into exportable formats including PDF and structured data (CSV/Excel). Handles fo...

high Bufdir Automated Reporting
Statistics Calculation Service

Server-side service (Supabase Edge Function or materialized view) that aggregates activity data for the authenticated peer mentor. Computes ...

medium Personal Activity Statistics
Coordinator Report Service

Core business logic service that enforces role-based data scoping for all coordinator report queries. Maps the authenticated user's role and...

high Coordinator Reports & Dashboards
Report Scope Resolver

Utility service that translates a user's role and organizational memberships into a concrete data scope key used to scope all report queries...

medium Coordinator Reports & Dashboards
Honorarium Calculation Service

Business logic service that determines honorarium eligibility and rates based on organization-specific threshold configurations stored in in...

medium Assignment Counting & Honorarium Tracking
Threshold Notification Trigger

Thin orchestration service that listens for threshold-crossing events from the Honorarium Calculation Service and delegates to the shared Pu...

low Assignment Counting & Honorarium Tracking
Duplicate Detection Service

Server-side service that evaluates a candidate activity record against existing activities for the same peer mentor within a configurable ti...

high Duplicate Activity Detection
Calendar Sync Service

Integrates with the device native calendar using the device_calendar Flutter plugin to write, update, and remove scheduled activity and even...

medium Push Notifications & Scenario-Based Alerts
Notification Scenario Engine

Server-side Supabase Edge Function service that evaluates configurable scenario rules against database state changes and enqueues push notif...

high Push Notifications & Scenario-Based Alerts
Push Notification Service

Core Flutter client-side service managing FCM/APNs token registration, foreground/background/terminated message handling, and local notifica...

high Push Notifications & Scenario-Based Alerts
Encrypted Message Service

Core service responsible for end-to-end encryption of assignment payloads using libsodium (via the Flutter cryptography package). Encrypts p...

high Encrypted Assignment Dispatch
Read Receipt Service

Service that writes a read receipt record to assignment_read_receipts when the peer mentor opens an assignment detail screen for the first t...

medium Encrypted Assignment Dispatch
Assignment Tracking Service

Core business logic service managing the assignment finite state machine. Enforces valid state transitions, records each transition as an im...

high Assignment Status Tracking
Auto Reminder Service

Supabase Edge Function running on a cron schedule that detects assignments where no completion event exists and the last state change exceed...

medium Assignment Status Tracking
Impact Calculation Service

Backend service that aggregates raw activity logs, assignment honorarium records, and contact interaction data for a given user and reportin...

high Yearly Impact Summary
Impact Share Service

Client-side service that generates a shareable static image or deep-link URL from the current impact summary payload, enabling peer mentors ...

medium Yearly Impact Summary
Impact Summary Trigger Service

Scheduled service that fires on configurable trigger dates (31 December for annual, 30 June for half-year) to invoke impact calculation for ...

medium Yearly Impact Summary
Achievement Service

Background service that evaluates badge eligibility after each activity save and after period-end calculations. Supports per-organisation ba...

medium Achievement Badges & Recognition
Recruitment Service

Core business logic service that orchestrates member recruitment through referral links. Handles referral link generation with encoded user ...

medium Member Recruitment
Course Enrollment Service

Core business logic service orchestrating the full enrollment lifecycle. Validates prerequisite completion and seat availability before writ...

medium Course Enrollment Management
Certificate Service

Core business logic service responsible for certificate lifecycle management including creation, renewal, expiry checking, and physical card...

high Digital Certificate Management
Mentor Program Service

Core business logic service managing pairing lifecycle, status transitions, and milestone tracking for the mentor programme. Enforces coordi...

medium Mentor Program Management
Workshop Management Service

Core service that orchestrates the full lifecycle of workshop sessions from creation through archival. Enforces role-based access ensuring o...

high Mentor Workshop & Career Tools
Admin Management Service

Core business logic service orchestrating all administrative operations for the Admin Portal. Enforces role-scoped data access policies, coo...

high Admin Portal
Duplicate Report Prevention Service

Business logic service that detects when a user is about to register an activity that appears to duplicate an existing registration across a...

high Multi-Organization Membership Handling
Membership Service

Core business logic service managing all aspects of a user's multi-organization memberships. Handles fetching all affiliated organizations, ...

high Multi-Organization Membership Handling
Organization Context BLoC

Flutter BLoC state management component that holds the currently active organization context for the entire session. Broadcasts context chan...

medium Multi-Organization Membership Handling
Activity Attribution Service

Service responsible for walking the organizational hierarchy upward to aggregate activity counts at each level for accurate Bufdir reporting...

high Organization Structure Management
Org Structure Service

Core business logic service managing all CRUD operations for the organizational hierarchy. Enforces cascade validation to prevent orphaned n...

high Organization Structure Management
Labels Service

Core service that fetches the active organization's label configuration from Supabase on app startup and caches it in the Riverpod state lay...

medium Organization Labels & Terminology
Document Expiry Notification Service

Monitors document expiry dates and triggers push notifications and in-app alerts for documents approaching or past their expiry. Ensures coo...

medium Power of Attorney & Documentation Digitization
Document Signing Service

Manages signing session creation, status polling, and completion handling for both BankID-based e-signatures and in-app acknowledgment flows...

high Power of Attorney & Documentation Digitization
POA Service

Core service managing the full lifecycle of power of attorney and medical documentation including upload, versioning, signing status trackin...

high Power of Attorney & Documentation Digitization
Accessibility Audit Service

Runs Flutter AccessibilityGuideline automated tests during development and CI to detect missing semantic labels, insufficient tap target siz...

medium Screen Reader Support
Semantic Label Service

Centralizes the generation and management of ARIA-equivalent semantic labels, hints, and announcements for all UI components in the applicat...

medium Screen Reader Support
Cognitive Mode Service

Reads user accessibility preferences from AccessibilityPreferencesRepository and exposes a reactive simplified layout flag consumed by scree...

medium Cognitive Accessibility
Theme Service

Core service that reads persisted accessibility preferences from ThemeRepository and constructs a Flutter ThemeData object applied at the Ma...

medium Typography & Contrast Settings
WCAG Contrast Validator

Utility service that programmatically asserts minimum contrast ratios (4.5:1 for normal text, 3:1 for large text and UI components) against ...

low Typography & Contrast Settings
Accounting Sync Orchestrator

Coordinates post-approval sync triggers for both Xledger and Dynamics connectors. Listens for approval events from the reimbursement and hon...

medium Accounting System Integration
Dynamics Sync Service

Handles all outbound data synchronization to the Microsoft Dynamics accounting platform used by HLF. Communicates via Microsoft's OData-base...

high Accounting System Integration
Xledger Sync Service

Handles all outbound data synchronization to the Xledger accounting platform used by Blindeforbundet. Communicates via Xledger's REST API wi...

high Accounting System Integration
Consio Sync Service

Handles bidirectional synchronization between the app and the Consio member management system via REST API with API key authentication. Runs...

high Member System Integration
Cornerstone Sync Service

Handles bidirectional synchronization between the app and the Cornerstone member management system via REST API with API key authentication....

high Member System Integration
Vipps Member ID Sync Service

Intercepts successful Vipps SSO authentication events and extracts the returned personnummer to enrich member records in source systems. Add...

medium Member System Integration
Portal Sync Service

Backend service that subscribes to inbound webhook payloads from the HLF Dynamics portal and updates local Supabase state accordingly. Handl...

high External Portal Coordination
Coordinator Overview Service

Riverpod-based service that orchestrates data retrieval and business logic for the coordinator member overview. Issues coordinator-scoped Su...

high Coordinator Member Overview
Activity Approval Service

Core BLoC-based service orchestrating all state transitions for activity registrations within the approval workflow: pending → approved, pen...

high Coordinator Activity Approval & Correction
Correction Validation Service

Validates field-level edits made by coordinators during the correction workflow against activity schema rules and business constraints. Ensu...

medium Coordinator Activity Approval & Correction
App Router Service

Configures and manages the go_router instance with StatefulShellRoute for branch-based tab navigation with preserved state. Applies role-bas...

high Navigation Shell
Preferences Service

Business logic layer for reading and writing user preferences. Persists preferences locally via shared_preferences for immediate UI response...

medium Settings & Preferences
Theme Provider Service

A Riverpod-based provider that manages the active theme state (default vs. high-contrast) and injects the resolved MaterialApp ThemeData at ...

medium Design Token System
Real-time Subscription Service

Manages Supabase Realtime channel subscriptions using Riverpod StreamProviders, enabling coordinators and peer mentors to receive live updat...

high Supabase Backend Core
Supabase Client Service

Singleton Riverpod provider that initializes and exposes the Supabase Flutter client with environment-based configuration for dev, staging, ...

high Supabase Backend Core