Data Layer medium complexity backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Maintains the allowlist of queryable fields with metadata including display name, data type, source table, required joins, and available filter operators. Serves as the single source of truth for what dimensions and metrics are available in custom reports.

Feature: Custom Reports

report-field-registry

Responsibilities

  • Define and expose the complete set of allowed report fields
  • Map field identifiers to source tables and column names
  • Provide operator lists per field data type
  • Determine required table joins for selected field combinations

Interfaces

getAllFields()
getFieldsByCategory(category)
getFieldMetadata(fieldId)
getOperatorsForField(fieldId)
getJoinsForFields(fieldIds)
isFieldAllowed(fieldId)