Integration Edge Functions
Component Detail
Infrastructure
high complexity
backend
3
Dependencies
0
Dependents
1
Entities
1
Integrations
Description
Supabase Edge Functions hosting the REST API adapter logic and integration orchestration. Each integration type dispatches to the appropriate adapter implementation. Edge Functions provide secure server-side execution with access to Supabase Vault secrets, preventing credential exposure to client code.
integration-edge-functions
Responsibilities
- Host REST API adapter dispatch logic in a secure server-side environment
- Provide HTTP endpoints for triggering exports and connectivity tests
- Access Supabase Vault credentials without exposing them to the frontend
Interfaces
POST /integrations/export — triggers an integration export
POST /integrations/test-connection — tests connectivity for a given integration
POST /integrations/manual-sync — triggers a manual sync job
GET /integrations/health — returns health status for all org integrations
Relationships
Dependencies (3)
Components this component depends on
Related Data Entities (1)
Data entities managed by this component
Used Integrations (1)
External integrations and APIs this component relies on