Feed Event Type Registry
Component Detail
Infrastructure
low complexity
shared
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Defines the mapping between source table event types and their normalized FeedItem representations, including icon, label, accent color, and deep-link URL pattern per event type. Acts as the single configuration source for rendering and navigation logic across both the service and UI layers.
feed-event-type-registry
Responsibilities
- Define event type metadata (icon, label, color, category) for all feed event types
- Generate deep-link URLs to source records for each event type
- Provide type guards and discriminated union types for the FeedItem schema
Interfaces
getEventTypeConfig(eventType: FeedEventType): EventTypeConfig
buildDeepLinkUrl(item: FeedItem): string
isValidEventType(type: string): type is FeedEventType
getAllEventTypes(): FeedEventType[]
Relationships
Dependents (2)
Components that depend on this component