Infrastructure
31 components in the infrastructure layer
Infrastructure components provide foundational utilities, system integrations, and supporting functionality for the application.
The Supabase platform's built-in authentication service providing email/password identity management, secure JWT session tokens, email OTP/m...
Low-level HTTP client for all communication with the BankID OIDC provider. Handles authorization endpoint construction, token endpoint reque...
Low-level HTTP client for communication with the Vipps Login OIDC provider. Handles authorization URL construction with Vipps-specific scope...
Platform abstraction layer that wraps the speech_to_text Flutter package and the underlying native speech recognition engines (SFSpeechRecog...
Supabase Storage bucket infrastructure for activity documents with RLS policies restricting access to members of the owning organization. Co...
Supabase Edge Function that runs on a daily cron schedule to check certification expiry dates across all HLF peer mentors. Automatically upd...
Device-level and platform-level encryption infrastructure combining Flutter Secure Storage for private key persistence and Supabase Edge Fun...
Shared infrastructure component that dispatches push notifications to mobile devices via FCM or APNs, invoked by the Assignment Reminder Ser...
Infrastructure layer that configures flutter_map with OpenStreetMap tile providers to avoid Google Maps licensing costs and privacy concerns...
Utility that provides mileage distance validation logic and optional route distance estimation to prevent implausible kilometre claims. Supp...
Supabase Storage bucket configuration and access-policy layer for receipt images. Enforces row-level security so that only the owning user a...
Supabase platform infrastructure supporting the auto-approval Edge Function triggered on insert to travel_expense_reports. Provides the serv...
Infrastructure component handling secure storage and retrieval of signed NDA documents and signature images in Supabase Storage under a rest...
Infrastructure component managing communication with Bufdir's external endpoints once they become available. Handles authentication, request...
Supabase PostgreSQL database trigger that automatically increments the denormalized assignment count on the peer_mentors record whenever a n...
Device-level secure storage adapter using Flutter Secure Storage to persist private encryption keys in the iOS Secure Enclave and Android Ke...
Supabase Realtime subscription manager that streams assignment state changes to coordinator clients without polling. Manages subscription li...
Supabase Edge Function deployed with a pg_cron schedule (e.g., daily at 08:00 UTC) that invokes the Auto Reminder Service scan. Configured v...
Configuration store that manages the trigger dates, period types, and organisation-level feature flags controlling when and how impact summa...
Supabase Edge Function that resolves incoming referral short URLs, decodes the encoded user ID and organisation slug, and pre-fills the regi...
Supabase Storage bucket integration for secure hosting of digital certificate asset files (PDFs, images). Manages signed URL generation for ...
Supabase Edge Function that intercepts administrative write operations and appends immutable audit entries to the audit store. Executes serv...
Supabase Row Level Security policy definitions that govern cross-organization data access for multi-membership users. Policies are carefully...
Supabase Row Level Security policies that restrict write access on org hierarchy tables to admin-level users only, while allowing read acces...
Dart constants file defining all supported label keys and their default values. Ensures type safety across the entire app by preventing typo...
Infrastructure component managing encrypted file storage for sensitive legal and medical documents using Supabase Storage with server-side e...
Supabase Edge Function layer that abstracts both the Xledger REST API and the Microsoft Dynamics OData API behind a common interface. Keeps ...
Unified HTTP gateway layer that abstracts communication with external member management systems (Cornerstone and Consio). Handles API key ma...
Supabase Edge Function endpoint that receives inbound webhook payloads from the HLF Dynamics portal, validates HMAC signatures to authentica...
TypeScript/Deno server-side functions deployed on Supabase Edge Functions infrastructure for processing that must not expose API keys to mob...
The hosted Supabase project instance providing PostgreSQL database, Auth, Realtime, Storage, and Edge Functions infrastructure. Configured w...
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.
Data Layer components manage data persistence, storage operations, and data access patterns throughout the application.