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

Description

Scenario Registry Table

Feature: Notification Scenarios

scenario-registry-table

Responsibilities

  • Store canonical scenario definitions including trigger entity type and condition expression
  • Provide default cooldown periods and default enabled state for new-organization initialization
  • Serve as authoritative list of all platform-available scenario types
  • Enable new scenarios to be added by inserting rows without code changes

Interfaces

listAll(): Promise<ScenarioDefinition[]>
findById(scenarioId: string): Promise<ScenarioDefinition | null>
seedDefaults(organizationId: string): Promise<void>

Relationships

Dependents (1)

Components that depend on this component