Protected ReadonlycacheProtected ReadonlydbStaticinstanceThe process default: built from each dependency's own instance().
ProtectedgetOne template read past the cache, so a write's re-read sees its commit.
One saved version by its smstv_… id, whichever pointer (if any) names it.
ProtectedinvalidateClears the cached rows; every write calls it after commit. A delete Valkey drops is logged by the store and the rows age out within the TTL.
Every registry template, in registry order, merged with its row.
The cached read of stored SMS templates (SLACK_TEMPLATES.md §7). A few dozen rows at most, so every row is one cache entry and
searchfilters the registry in memory;SmsTemplateAdminServicedeletes the entry on every write.