55
Total Data Layer
0
Low Complexity
55
Medium Complexity
0
High Complexity

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

TokenRepository

A local persistence layer responsible for securely storing, retrieving, and invalidating JWT access and refresh tokens on the device or brow...

medium Email & Password Login
SecureTokenStore

Abstracts platform-specific secure storage for the device-bound session token used in biometric continuation. On iOS it writes to the Keycha...

medium Biometric Login (Face ID / Fingerprint)
PasskeyCredentialStore

Persists passkey credential records including public keys, credential IDs, and authenticator counters for each registered device. Provides C...

medium Passkeys (WebAuthn)
UserRoleRepository

Provides persistent read and write access to user role assignments, support access grants, and role audit records. It abstracts the underlyi...

medium Role-Based Access Control
AppPreferencesRepository

Data access layer responsible for persisting user preferences locally using Drift and making remote preference reads and writes against the ...

medium App Settings & Preferences
ExternalResourceRepository

Manages persistent local storage of the external resource link list using the device's offline cache layer. It provides read and write opera...

medium External Resource Links
FaqRepository

Handles fetching FAQ content from the backend API and caching it locally so the screen remains usable when connectivity is intermittent. Exp...

medium FAQ
ProfileRepository

Data access layer that handles all read and write operations for user profile records. Abstracts the underlying storage mechanism (remote AP...

medium Profile Data & Settings
ActivityRepository

Data access layer that handles reading and writing activity records to persistent storage. Abstracts the underlying database from the servic...

medium Simple Activity Logging
CalendarEventRepository

Data access layer responsible for persisting calendar sync metadata, including linked event IDs from external providers and sync state per a...

medium Calendar Sync
AttachmentRepository

Manages all database read and write operations for attachment records, storing metadata such as file name, MIME type, storage URL, and the a...

medium Document Attachments
HomeVisitReportRepository

Handles all persistence operations for home-visit reports, drafts, and the coordinator tasks generated from them. Provides typed queries for...

medium Formalized Home-Visit Report
ContactRepository

Data access layer responsible for querying and returning contact records from persistent storage. Supports filtered queries by assignment, a...

medium Contact List & Search
CaregiverRepository

Data access layer that handles persistence and retrieval of caregiver and next-of-kin records from the underlying database. It maps raw data...

medium Caregiver & Next-of-Kin
StatisticsRepository

A data access layer responsible for querying activity records and aggregating raw statistics for a specific peer mentor. It runs time-bounde...

medium Personal Activity Statistics
NotificationRepository

Persistence layer responsible for storing, retrieving, and managing notification records in both the server database and the local Drift dat...

medium Push Notifications
NotificationTriggerRepository

Persists and retrieves notification scenario definitions and their associated trigger rule configurations. Tracks the firing history of each...

medium Notification Scenarios
NotificationPreferencesRepository

Persistence layer that stores and retrieves notification preference records for each user. Abstracts the underlying storage mechanism, provi...

medium Notification Settings
OfflineDriftDatabase

Provides the on-device relational database layer using Drift (formerly Moor) backed by SQLCipher for AES-256 encryption at rest. Defines all...

medium Offline Data Support
IdMappingRepository

Persists and resolves the mapping between temporary client-generated offline IDs and the permanent server-assigned IDs returned after a muta...

medium Background Sync
EventRepository

Data-access layer that handles reading and writing event records to both the local SQLite store and the remote backend API. It abstracts sto...

medium Event Creation
EventRegistrationRepository

Manages persistence and retrieval of event registration records in both local storage and the remote backend. Provides the offline-first dat...

medium Event Sign-up
ExpenseRepository

Data access layer responsible for persisting and retrieving expense records linked to activity entries. Manages storage of expense metadata,...

medium Travel Expense Registration
ExpenseTypeRepository

A data access component that manages persistence and retrieval of expense type definitions and their organisation-level configuration overri...

medium Expense Types & Requirements
ConfidentialityDeclarationRepository

Data access layer responsible for persisting declaration versions, user submission records, and compliance state. Stores each accepted decla...

medium Confidentiality Declarations
AssignmentRepository

Persists and retrieves encrypted assignment records including ciphertext payloads, status flags, and confirmation timestamps. Provides offli...

medium Encrypted Assignment Dispatch
ConsentRepository

Handles all persistence operations for consent records and consent text versions in the server-side data store. It provides queryable access...

medium Progressive Digital Consent
RelativeRepository

Data access layer responsible for persisting and querying relative contact records in the database. Each relative is stored as an independen...

medium Relative Contact Registration
PeerMentorStatusRepository

Data access layer responsible for persisting and querying peer mentor status records. It provides atomic status updates and maintains a full...

medium Pause Function
GeolocationRepository

Data access layer responsible for persisting and querying peer mentor geolocation records in the database. It provides CRUD operations for l...

medium Peer Mentor Map
WorkshopRepository

Manages all persistence operations for workshop entities including workshops, participants, attendance records, and session notes. Provides ...

medium Career Workshops
WorkshopParticipantRepository

Manages persistence and retrieval of workshop participant records and attendance data in the database. Provides transactional operations for...

medium Workshop Participant Lists
ReferralRepository

Data access layer that persists and retrieves referral link records, click events, and conversion outcomes. It provides the storage backbone...

medium Invite Link & QR Sharing
CourseRepository

Manages persistence and retrieval of course catalog data, enrollment records, and organization-specific course configurations. Provides a da...

medium Course Registration
CertificateRepository

Manages persistence and retrieval of certificate records in the database, serving as the single data access layer for certificate entities. ...

medium Digital Peer Mentor Certificate
AnnualSummaryRepository

Handles persistence and retrieval of computed annual summary records for peer mentors. Stores pre-aggregated summary payloads keyed by user ...

medium Annual Summary (Wrapped)
AchievementRepository

Data access layer responsible for persisting earned badges and milestone rule definitions. It exposes CRUD operations for badge awards and p...

medium Achievement Badges
TalkingCardsRepository

Manages fetching, caching, and local persistence of talking card data for a given organization. It synchronizes the card library from the ba...

medium Talking Cards Toolbox
NoteRepository

Data access layer for note records stored in the local Drift database. Handles all CRUD operations for notes and exposes query methods for f...

medium Notes List
DashboardRepository

Data access layer that executes aggregation queries against the activity, contact, and expense tables to retrieve raw KPI figures for a give...

medium Dashboard KPIs
AdminUserRepository

Handles all database read and write operations for user records scoped to a specific tenant. Provides typed query methods used by AdminUserS...

medium User CRUD
OrganizationSettingsRepository

Data access layer responsible for reading and persisting organization settings records in the database. Provides typed query methods for fet...

medium Organization Settings
TerminologyRepository

Persistence layer responsible for reading and writing terminology override records scoped to each tenant organization. Stores overrides as a...

medium Custom Terminology
ModuleToggleRepository

Data access layer responsible for persisting and retrieving the enabled module configuration for each tenant. It maps tenant IDs to their en...

medium Feature Toggles
OrgHierarchyRepository

Handles all database access for organizational hierarchy data including nodes, relationships, rollup configuration, and duplicate-detection ...

medium Multi-Organization Hierarchy
MemberAssociationRepository

Data access layer for persisting and querying user-association membership records. Handles CRUD operations on the membership join table and ...

medium Member Associations
ExternalPortalConfigRepository

Data access layer for persisting and retrieving external portal integration configurations, including endpoint URLs, encrypted authenticatio...

medium External Portal Integration (HLF)
AuditLogRepository

Manages persistent storage of audit log entries with strict append-only enforcement at the database level. Provides scoped read access with ...

medium Audit Log
SessionRepository

Data access layer responsible for querying and mutating session and refresh token records in the database. Provides the persistence operatio...

medium Session Management
ActivityOversightRepository

Data access layer responsible for querying, filtering, and persisting activity submission review records. It provides filtered queue retriev...

medium Activity Review & Approval
ExpenseApprovalRepository

Data access layer for expense claim records and their approval lifecycle. Handles filtered paginated queries, atomic status updates, and ret...

medium Expense Approval Queue
AutoApprovalRuleRepository

Data access layer for persisting and querying auto-approval rule records in the database. Handles CRUD operations for rules scoped to specif...

medium Auto-Approval Rules
ReportRepository

Data access layer that queries the activity and user tables to produce raw datasets for team report generation. It encapsulates all SQL aggr...

medium Team Reports
BufdirReportRepository

Data access layer for persisting and retrieving generated Bufdir reports and their metadata. It provides queryable storage of report records...

medium Bufdir Report Generation
AccountingIntegrationRepository

Data access layer responsible for persisting and retrieving accounting integration state, including transmission logs, per-organization back...

medium Accounting API