Supabase Edge Function Runtime
Component Detail
Infrastructure
medium complexity
backend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Supabase platform infrastructure supporting the auto-approval Edge Function triggered on insert to travel_expense_reports. Provides the serverless execution environment, database trigger integration, and authenticated RPC endpoint infrastructure required by both the auto-approval and attestation services.
supabase-edge-function-runtime
Responsibilities
- Host and execute the auto-approval Edge Function on report insert
- Provide authenticated RPC endpoints for attestation actions
- Supply database trigger infrastructure for approval workflow initiation
- Manage Supabase Realtime subscriptions for approval status streaming
Interfaces
registerEdgeFunction(name: String, handler: Function)
invokeRpc(functionName: String, params: Map): Future<dynamic>
subscribeToDatabaseChanges(table: String, filter: String): Stream
getDatabaseTriggerConfig(): TriggerConfig
Related Data Entities (2)
Data entities managed by this component