@cfxlabsinc/b2b-services
    Preparing search index...

    The locally rendered content a sender needs for one (template_key, status_variant) row, pinned to whichever version is active. version is carried so a composition root can log which copy actually sent.

    Matches ActiveTemplate in docs/proposals/EMAIL_TEMPLATES.md Appendix A (§4.5).

    type ActiveEmailTemplate = {
        template: StoredEmailTemplate;
        templateKey: EmailTemplateKey;
        version: number;
    }
    Index
    template: StoredEmailTemplate
    templateKey: EmailTemplateKey
    version: number