Data Layer
55 components in the data layer layer
Data Layer components manage data persistence, storage operations, and data access patterns throughout the application.
A local persistence layer responsible for securely storing, retrieving, and invalidating JWT access and refresh tokens on the device or brow...
Abstracts platform-specific secure storage for the device-bound session token used in biometric continuation. On iOS it writes to the Keycha...
Persists passkey credential records including public keys, credential IDs, and authenticator counters for each registered device. Provides C...
Provides persistent read and write access to user role assignments, support access grants, and role audit records. It abstracts the underlyi...
Data access layer responsible for persisting user preferences locally using Drift and making remote preference reads and writes against the ...
Manages persistent local storage of the external resource link list using the device's offline cache layer. It provides read and write opera...
Handles fetching FAQ content from the backend API and caching it locally so the screen remains usable when connectivity is intermittent. Exp...
Data access layer that handles all read and write operations for user profile records. Abstracts the underlying storage mechanism (remote AP...
Data access layer that handles reading and writing activity records to persistent storage. Abstracts the underlying database from the servic...
Data access layer responsible for persisting calendar sync metadata, including linked event IDs from external providers and sync state per a...
Manages all database read and write operations for attachment records, storing metadata such as file name, MIME type, storage URL, and the a...
Handles all persistence operations for home-visit reports, drafts, and the coordinator tasks generated from them. Provides typed queries for...
Data access layer responsible for querying and returning contact records from persistent storage. Supports filtered queries by assignment, a...
Data access layer that handles persistence and retrieval of caregiver and next-of-kin records from the underlying database. It maps raw data...
A data access layer responsible for querying activity records and aggregating raw statistics for a specific peer mentor. It runs time-bounde...
Persistence layer responsible for storing, retrieving, and managing notification records in both the server database and the local Drift dat...
Persists and retrieves notification scenario definitions and their associated trigger rule configurations. Tracks the firing history of each...
Persistence layer that stores and retrieves notification preference records for each user. Abstracts the underlying storage mechanism, provi...
Provides the on-device relational database layer using Drift (formerly Moor) backed by SQLCipher for AES-256 encryption at rest. Defines all...
Persists and resolves the mapping between temporary client-generated offline IDs and the permanent server-assigned IDs returned after a muta...
Data-access layer that handles reading and writing event records to both the local SQLite store and the remote backend API. It abstracts sto...
Manages persistence and retrieval of event registration records in both local storage and the remote backend. Provides the offline-first dat...
Data access layer responsible for persisting and retrieving expense records linked to activity entries. Manages storage of expense metadata,...
A data access component that manages persistence and retrieval of expense type definitions and their organisation-level configuration overri...
Data access layer responsible for persisting declaration versions, user submission records, and compliance state. Stores each accepted decla...
Persists and retrieves encrypted assignment records including ciphertext payloads, status flags, and confirmation timestamps. Provides offli...
Handles all persistence operations for consent records and consent text versions in the server-side data store. It provides queryable access...
Data access layer responsible for persisting and querying relative contact records in the database. Each relative is stored as an independen...
Data access layer responsible for persisting and querying peer mentor status records. It provides atomic status updates and maintains a full...
Data access layer responsible for persisting and querying peer mentor geolocation records in the database. It provides CRUD operations for l...
Manages all persistence operations for workshop entities including workshops, participants, attendance records, and session notes. Provides ...
Manages persistence and retrieval of workshop participant records and attendance data in the database. Provides transactional operations for...
Data access layer that persists and retrieves referral link records, click events, and conversion outcomes. It provides the storage backbone...
Manages persistence and retrieval of course catalog data, enrollment records, and organization-specific course configurations. Provides a da...
Manages persistence and retrieval of certificate records in the database, serving as the single data access layer for certificate entities. ...
Handles persistence and retrieval of computed annual summary records for peer mentors. Stores pre-aggregated summary payloads keyed by user ...
Data access layer responsible for persisting earned badges and milestone rule definitions. It exposes CRUD operations for badge awards and p...
Manages fetching, caching, and local persistence of talking card data for a given organization. It synchronizes the card library from the ba...
Data access layer for note records stored in the local Drift database. Handles all CRUD operations for notes and exposes query methods for f...
Data access layer that executes aggregation queries against the activity, contact, and expense tables to retrieve raw KPI figures for a give...
Handles all database read and write operations for user records scoped to a specific tenant. Provides typed query methods used by AdminUserS...
Data access layer responsible for reading and persisting organization settings records in the database. Provides typed query methods for fet...
Persistence layer responsible for reading and writing terminology override records scoped to each tenant organization. Stores overrides as a...
Data access layer responsible for persisting and retrieving the enabled module configuration for each tenant. It maps tenant IDs to their en...
Handles all database access for organizational hierarchy data including nodes, relationships, rollup configuration, and duplicate-detection ...
Data access layer for persisting and querying user-association membership records. Handles CRUD operations on the membership join table and ...
Data access layer for persisting and retrieving external portal integration configurations, including endpoint URLs, encrypted authenticatio...
Manages persistent storage of audit log entries with strict append-only enforcement at the database level. Provides scoped read access with ...
Data access layer responsible for querying and mutating session and refresh token records in the database. Provides the persistence operatio...
Data access layer responsible for querying, filtering, and persisting activity submission review records. It provides filtered queue retriev...
Data access layer for expense claim records and their approval lifecycle. Handles filtered paginated queries, atomic status updates, and ret...
Data access layer for persisting and querying auto-approval rule records in the database. Handles CRUD operations for rules scoped to specif...
Data access layer that queries the activity and user tables to produce raw datasets for team report generation. It encapsulates all SQL aggr...
Data access layer for persisting and retrieving generated Bufdir reports and their metadata. It provides queryable storage of report records...
Data access layer responsible for persisting and retrieving accounting integration state, including transmission logs, per-organization back...
Other Component Types
User Interface components handle presentation logic, user interactions, and visual elements of the application.
Service Layer components contain business logic, orchestrate operations, and provide core application functionality.
Infrastructure components provide foundational utilities, system integrations, and supporting functionality for the application.