Data Layer low complexity backend
1
Dependencies
2
Dependents
0
Entities
0
Integrations

Description

Append-only event log of all sync operations performed by the External Portal Connector. Each row captures the event type, source record identifier, processing outcome (success, warning, error), translated record summary, and any error messages. Used by the Portal Sync Health Dashboard Widget and accessible for audit purposes.

Feature: External Portal Integration

portal-sync-logs-table

Responsibilities

  • Record each processed external portal event with timestamp, outcome, and diagnostic details
  • Support paginated reads filtered by organization, date range, and outcome type
  • Retain log entries for a configurable retention window for audit compliance
  • Provide aggregate counts queryable for health dashboard display

Interfaces

appendLog(entry: SyncLogEntry): void
queryLogs(orgId: string, filters: SyncLogFilters): SyncLogPage
getHealthSummary(orgId: string, windowHours: number): SyncHealthSummary

Relationships

Dependencies (1)

Components this component depends on

Dependents (2)

Components that depend on this component