54
Total Data Layer
18
Low Complexity
30
Medium Complexity
6
High Complexity

Data Layer components manage data persistence, storage operations, and data access patterns throughout the application.

Auth Repository

Data access abstraction that wraps all Supabase Auth API calls behind a clean interface, decoupling the service layer from the specific prov...

low Email & Password Login
Auth Token Repository

Provides secure persistence and retrieval of authentication tokens and biometric credentials using Flutter Secure Storage. Serves as the sin...

medium BankID & Vipps Authentication
Role Config Store

Local cache layer for role and membership data fetched from Supabase. Stores resolved role state to local storage for offline resilience, al...

low Role-Based Access Control
User Role Repository

Queries Supabase for the authenticated user's roles and organization memberships. Returns structured role and membership records that are co...

medium Role-Based Access Control
Activity Repository

Data access layer managing all CRUD operations for activity records and activity logs in Supabase. Implements RLS-policy-compliant queries s...

medium Activity Logging Wizard
Activity Types Store

Local cache and data access layer for organization-specific activity type definitions seeded in Supabase. Fetches and caches activity types ...

low Activity Logging Wizard
Event Repository

Data access layer for events and event participants, providing CRUD operations and query methods backed by Supabase with RLS policies enforc...

medium Event Creation & Management
Delegation Repository

Data access layer for the delegation_grants table, providing read and write operations for all proxy and bulk submission audit records. Enab...

low Bulk Registration & Proxy Reporting
Speech Preferences Repository

Persists user-level speech input preferences locally using shared_preferences. Stores settings such as preferred recognition locale, noise g...

low Speech-to-Text Input
Activity Document Repository

Data access layer for the activity_documents table, managing CRUD operations for document metadata records (filename, MIME type, size, stora...

low Document Attachment to Activities
Contact Repository

Data access layer providing read operations for contacts and peer mentors from Supabase with local caching via Riverpod. Handles offline sce...

medium Contact List & Search
Contact Notes Repository

Data access layer for creating, reading, updating, and deleting contact notes, backed by Supabase with RLS policies restricting note visibil...

medium Contact Detail & Management
Peer Mentor Repository

Data access layer responsible for reading and updating peer mentor profile data from Supabase, joining the peer_mentors, certifications, and...

medium Peer Mentor Profiles
Availability Repository

Data access layer managing CRUD operations on the peer_mentor_availability table in Supabase. Handles reading and writing availability statu...

low Peer Mentor Pause & Availability
Task Assignment Repository

Data access layer for all assignment-related entities: assignments, dispatches, and read receipts. Provides CRUD operations and query method...

medium Encrypted Task Assignment to Peer Mentors
Location Repository

Data access layer for peer mentor location records stored as municipality or postal code area centroids in the peer_mentor_locations table. ...

medium Geographic Matching & Map View
Expense Repository

Repository layer responsible for all CRUD operations on the `travel_expense_reports` and `expense_items` Supabase tables with RLS policies s...

medium Travel Reimbursement Registration
Expense Types Configuration Store

Data store that reads and caches expense type configurations from Supabase, enabling per-organisation customisation of available expense typ...

low Travel Reimbursement Registration
Receipt Storage Repository

Data access layer for the `receipts` table in Supabase. Handles CRUD operations for receipt records, stores the cloud storage path and gener...

low Receipt Upload & Management
Approval Repository

Data access layer for the reimbursement_approvals table, providing CRUD operations and a Riverpod stream provider that subscribes to real-ti...

medium Reimbursement Approval Workflow
NDA Repository

Data access component managing all read and write operations for the nda_agreements table. Stores signed agreement metadata (user ID, timest...

medium Driver Honorarium & NDA Management
Report Repository

Data access layer for Bufdir report snapshots and reporting periods. Stores immutable generated report snapshots to ensure auditability even...

medium Bufdir Automated Reporting
Statistics Repository

Data access layer responsible for querying and caching computed statistics for a peer mentor. Calls the Statistics Calculation Service (edge...

medium Personal Activity Statistics
Coordinator Stats Repository

Data access layer that executes aggregation queries against the Supabase database and manages a per-scope-key result cache with invalidation...

high Coordinator Reports & Dashboards
Assignment Count Repository

Data access layer that maintains a denormalized assignment count field per peer mentor, updated by Supabase database triggers on inserts to ...

low Assignment Counting & Honorarium Tracking
Activity Deduplication Repository

Data access layer responsible for executing the similarity queries used by the Duplicate Detection Service. Queries the activities table usi...

medium Duplicate Activity Detection
Notification Repository

Data access layer for the notifications and push_notification_configs tables in Supabase. Provides CRUD operations for notification records,...

medium Push Notifications & Scenario-Based Alerts
Assignment Repository

Data access layer providing CRUD operations for assignments, assignment_dispatches, and assignment_read_receipts tables in Supabase. Abstrac...

medium Encrypted Assignment Dispatch
Assignment Status Repository

Data access layer for assignment lifecycle management. Implements Supabase row-level security to enforce that peer mentors read only their o...

medium Assignment Status Tracking
Impact Summary Repository

Data access layer that provides CRUD operations for the impact_summaries table in Supabase, supporting both server-side persistence from the...

medium Yearly Impact Summary
Badge Repository

Data access layer managing the achievement_badges and user_badges tables. Badge definitions are stored as configuration data to allow admini...

low Achievement Badges & Recognition
Recruitment Repository

Data access layer for all recruitment and referral data stored in the member_recruitments table. Provides typed CRUD operations for referral...

low Member Recruitment
Course Repository

Data access layer backed by Supabase tables for courses and course_enrollments. Implements row-level security so users can only enroll thems...

medium Course Enrollment Management
Certificate Repository

Data access layer for certificate and certification renewal records in the Supabase database. Provides type-safe CRUD operations with Supaba...

medium Digital Certificate Management
Mentor Program Repository

Data access layer persisting mentor-mentee pairings and milestone data to Supabase. Applies row-level security policies ensuring coordinator...

medium Mentor Program Management
Workshop Repository

Data access layer that persists and retrieves all workshop-related records to and from Supabase using the workshop_sessions, workshop_partic...

medium Mentor Workshop & Career Tools
Admin Repository

Data access layer for all admin portal persistence operations, querying user accounts, organizational metadata, settings, and audit records ...

high Admin Portal
Membership Repository

Data access layer for all membership-related persistence operations. Wraps Supabase queries against the user_organization_memberships table ...

high Multi-Organization Membership Handling
Org Structure Repository

Data access layer managing the four linked database tables that form the organizational hierarchy: organizations, national_associations, reg...

high Organization Structure Management
Labels Repository

Data access layer responsible for reading and writing organization label configurations in Supabase. Manages the org_labels table, providing...

low Organization Labels & Terminology
Document Repository

Data access layer for all power of attorney and encrypted document records, providing CRUD operations with RLS enforcement. Handles document...

medium Power of Attorney & Documentation Digitization
Accessibility Config Repository

Persists and retrieves per-user accessibility preferences including screen reader mode, sensitive field warning configuration, preferred aud...

low Screen Reader Support
Accessibility Preferences Repository

Manages persistence and retrieval of per-user accessibility preference records from the Supabase backend, including cognitive mode, font sca...

low Cognitive Accessibility
Theme Repository

Data access layer responsible for reading and writing accessibility preference records (font scale, contrast theme) to Supabase. Supports cr...

low Typography & Contrast Settings
Integration Config Repository

Manages per-organization integration configuration records including API credentials, field mappings, feature flags, and enabled connector t...

medium Accounting System Integration
Sync Log Repository

Provides read and write access to the sync_logs table, recording all outbound sync attempts with their status, payload hashes, and error det...

low Accounting System Integration
Member Sync Repository

Data access layer for all member synchronization state, including last-sync timestamps, conflict resolution rules, sync logs, and integratio...

medium Member System Integration
Portal Integration Repository

Data access layer that persists portal integration configuration, deep link mappings, feature ownership flags, and sync logs. Provides typed...

medium External Portal Coordination
Member Overview Repository

Data access layer responsible for fetching and caching the coordinator's scoped member list from Supabase. Constructs complex queries joinin...

medium Coordinator Member Overview
Activity Correction Repository

Data access layer managing all CRUD operations for activity corrections, approval records, and associated audit trails within Supabase. Scop...

high Coordinator Activity Approval & Correction
Navigation State Store

A Riverpod provider (or BLoC) that holds and exposes the current active tab index, the authenticated user's role, and any pending deep link ...

medium Navigation Shell
Preferences Repository

Data access layer for user preferences, bridging local shared_preferences storage and the Supabase accessibility_preferences and theme_confi...

low Settings & Preferences
Design Tokens Config

The centralized Dart token definition layer implemented as a Flutter ThemeExtension with typed token classes for colors, typography (TextThe...

medium Design Token System
Database Schema

Defines the complete relational database schema for all application tables managed via Supabase migrations stored in /supabase/migrations un...

high Supabase Backend Core