Skip to content

template-resolver

Stores notification and mail templates in the database with a 4-level fallback: tenant+locale → system+locale → tenant+fallback-locale → system+fallback-locale. Call ctx.templateResolver.resolveTemplate({ tenantId, slug, kind, locale }) at render time; manage templates via the upsertSystem, upsertTenant, publish, and archive write handlers. Tenants can override system-default templates without touching application code.

  • Requires: none
  • Activation: always on (not toggleable)