57
Total Data Layer
0
Low Complexity
57
Medium Complexity
0
High Complexity
2
Shared

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

SessionRepository

Manages persistent storage and retrieval of session records, including refresh token hashes and revocation state. It provides the query inte...

medium Email & Password Login
PasskeyCredentialRepository

Persists passkey credential metadata (credential ID, RP ID, user handle, display name, creation timestamp) in local secure storage. Provides...

medium Passkeys (WebAuthn)
RoleRepository

Data access layer responsible for reading and persisting role assignments and permission rules for users and organizations. It provides the ...

medium Role-Based Access Control
ProfileRepository

The data access layer responsible for persisting and retrieving profile records both locally (SQLite/AsyncStorage cache) and remotely via th...

medium Profile Data & Settings
ActivityRepository

Data access layer responsible for persisting and querying activity log records in the database. Abstracts all SQL or ORM operations behind a...

medium Simple Activity Logging
ActivityDraftStore

Persists in-progress wizard state locally so peer mentors can save drafts between sessions and resume without data loss. Stores partial acti...

medium Activity Registration Wizard
AttachmentRepository

Manages local and remote persistence of attachment metadata records linked to activity entries. It reads and writes attachment records inclu...

medium Document Attachments
HomeVisitReportRepository

Data access layer responsible for reading and writing home-visit report records to persistent storage. It maps between domain objects and da...

medium Formalized Home-Visit Report
BulkActivityRepository

Handles batch persistence of activity records produced by the bulk registration fan-out. It wraps individual activity inserts in a single da...

medium Bulk Registration
EventRepository

Data access layer responsible for persisting and retrieving event records from the database. Provides CRUD operations scoped to the events e...

medium Event Creation
EventParticipantRepository

Data access layer responsible for persisting and retrieving participant records associated with events. It provides CRUD operations against ...

medium Event Sign-up
ExpenseRepository

Manages persistence of expense records in the local Drift database with sync support for when connectivity is restored. Links each expense r...

medium Travel Expense Registration
ExpenseTypeRepository

Data access layer responsible for persisting and retrieving expense type definitions, exclusion group mappings, and reimbursement rates per ...

medium Expense Types & Requirements
ConfidentialityRepository

Persists and retrieves confidentiality declaration records in the database. Stores declarations with all required audit fields and supports ...

medium Confidentiality Declarations
ContactRepository

Data access layer that abstracts reads and writes between the remote REST API and the local Drift SQLite database. Implements an offline-fir...

medium Contact List & Search
CaregiverRepository

Persists and retrieves caregiver records in the local Drift SQLCipher-encrypted database for full offline access. Handles insert, update, de...

medium Caregiver & Next-of-Kin
NotesRepository

Data-access component responsible for reading note records from local storage and the remote backend. It implements the offline-first strate...

medium Notes List
StatisticsRepository

Provides read access to activity records stored in the local Drift SQLite database for statistics computation. Executes filtered queries by ...

medium Personal Activity Statistics
AssignmentRepository

Provides persistent storage and retrieval of encrypted assignments, their status history, and receipt events. All sensitive fields are store...

medium Encrypted Assignment Dispatch
ConsentRepository

Provides persistent storage and retrieval of consent records, enforcing immutability so existing records cannot be modified or deleted. Supp...

medium Progressive Digital Consent
RelativesRepository

Data access layer that performs CRUD operations against the dedicated relatives table, keeping relative records cleanly separated from the m...

medium Relative Contact Registration
PeerMentorStatusRepository

Data access layer for reading and writing peer mentor status records and their history. It persists current status, pause reason, timestamps...

medium Pause Function
GeographicRepository

Handles all data access operations for mentor geographic records, including coordinates, region assignments, and association affiliations. I...

medium Peer Mentor Map
AssignmentTargetAdapter

Resolves the geographic coordinates for an assignment target contact, bridging between the encrypted-assignment-dispatch dependency and the ...

medium Assignment Matching by Geography
MatchResultStore

Persists the output of each geography matching run for audit, analytics, and coordinator review history. Records which suggestions were pres...

medium Assignment Matching by Geography
MentorLocationRepository

Provides read access to mentor geographic coordinates and location metadata stored in the database. Abstracts spatial queries so the matchin...

medium shared Assignment Matching by Geography
WorkshopRepository

Handles all persistence operations for workshop records against the database. Provides CRUD access and query capabilities scoped to coordina...

medium Career Workshops
WorkshopParticipantRepository

Provides persistence operations for workshop participant records in the database. Links participant entries to parent workshop sessions and ...

medium Workshop Participant Lists
NotificationRepository

Data access layer responsible for persisting notification records, delivery metadata, and acknowledgement state to the database. Provides qu...

medium Push Notifications
NotificationScenarioRepository

Persists and retrieves notification scenario configurations on a per-organization basis, providing the data layer for scenario lifecycle man...

medium Notification Scenarios
NotificationPreferenceRepository

Handles persistence of user notification preferences, storing them in local device storage and synchronising with the backend API. It abstra...

medium Notification Settings
ReferralRepository

Data access layer for all referral token and attribution records. It handles persistence of tokens, attribution events, and click counts, pr...

medium Invite Link & QR Sharing
CourseRepository

Manages all persistence operations for courses, enrollments, and completion records. Provides a typed data access layer over the underlying ...

medium Course Registration
CertificateRepository

Manages persistence and retrieval of certificate records stored in the database. Provides typed CRUD operations for certificate entities, in...

medium Digital Peer Mentor Certificate
AnnualSummaryRepository

Data access layer responsible for persisting and retrieving computed annual summaries. It abstracts the underlying database operations and e...

medium Annual Summary (Wrapped)
AchievementRepository

Data access layer for reading and writing badge definitions, tenant badge configurations, and user badge award records. Provides the persist...

medium Achievement Badges
TalkingCardsRepository

Manages local persistence and retrieval of talking card data, operating against the offline data store provided by the offline-data-support ...

medium Talking Cards Toolbox
PreferencesRepository

Provides encrypted local persistence for user preference data using the Drift database, abstracting all read and write operations behind a t...

medium App Settings & Preferences
ResourceLinksRepository

Abstracts all read and write operations for resource link data in local storage. Provides a typed interface over the underlying persistence ...

medium External Resource Links
PolicyContentRepository

Abstracts access to privacy policy content, reading from the bundled JSON asset or a remote endpoint. Provides a single read interface so th...

medium Privacy Policy
FaqRepository

FaqRepository manages local persistence of FAQ entries and categories using the device's offline storage layer. It provides read and write o...

medium FAQ
OfflineDriftDatabase

Provides the encrypted local SQLite store that holds all offline copies of features, contacts, and activity records. It wraps SQLCipher to e...

medium Offline Data Support
SyncQueueRepository

Manages persistent storage of queued mutations in the local SQLite database on device. It provides CRUD operations for enqueuing, retrieving...

medium Background Sync
AdminUserRepository

Data access layer providing all CRUD and query operations against the users, pending_invitations, and org_audit_trail tables. Scopes every q...

medium User CRUD
FlaggedActivityRepository

Data access layer responsible for persisting and retrieving flag records from the database. Provides filtered queries for the review queue w...

medium Activity Flagging
ExpenseApprovalRepository

Data access layer responsible for persisting and querying expense claims and their associated approval audit records. It provides filtered r...

medium Expense Approval Queue
AutoApprovalRulesRepository

Data access layer for persisting and querying auto-approval rules and their version history. Provides queries needed for rule evaluation at ...

medium Auto-Approval Rules
BufdirReportRepository

Data access layer that queries activity registrations, peer mentor records, and organization data needed to build the Bufdir report dataset....

medium Bufdir Report Generation
OrganizationRepository

Persistence layer for organization settings records and support access grant entries. Handles atomic updates to organization configuration a...

medium Organization Settings
OrganizationLabelsRepository

Data access layer responsible for reading and writing per-organization label override records in the database. Provides CRUD operations scop...

medium Custom Terminology
ModuleToggleRepository

Data access layer responsible for reading and writing per-organization module toggle state in tenant configuration storage. It also reads th...

medium Feature Toggles
OrgHierarchyRepository

Data access layer for persisting organizational units, their parent-child edges, and attribution configuration. It uses adjacency-list stora...

medium Multi-Organization Hierarchy
AccountingMappingRepository

Stores and retrieves organization-specific field mappings that translate Meander internal data structures into the schema required by each e...

medium Accounting API
ExportLogRepository

Data access layer responsible for persisting and querying export log entries and per-record export results. Provides the storage backbone fo...

medium Accounting Export
AuditLogRepository

Provides database-layer access to the append-only audit_log table, enforcing that no application role can issue UPDATE or DELETE statements ...

medium Audit Log
ConsentStore

Thin localStorage adapter responsible for persisting and retrieving serialised cookie consent records. Encapsulates the storage key, schema ...

medium shared Privacy Policy
DpaDocumentRepository

Manages access to DPA document versions stored as structured static assets. Reads document JSON or Markdown source files at build time and e...

medium Data Processing Agreement (DPA)