MCPcopy Index your code
hub / github.com/simstudioai/sim / renderLimitThresholdEmail

Function renderLimitThresholdEmail

apps/sim/components/emails/render.ts:158–168  ·  view source on GitHub ↗
(params: {
  kind: 'warning' | 'reached'
  reason: UpgradeReason
  userName?: string
  usageLabel: string
  limitLabel: string
  percentUsed: number
  upgradeLink: string
})

Source from the content-addressed store, hash-verified

156}
157
158export async function renderLimitThresholdEmail(params: {
159 kind: 'warning' | 'reached'
160 reason: UpgradeReason
161 userName?: string
162 usageLabel: string
163 limitLabel: string
164 percentUsed: number
165 upgradeLink: string
166}): Promise<string> {
167 return await render(LimitThresholdEmail(params))
168}
169
170export async function renderPlanWelcomeEmail(params: {
171 planName: string

Callers 1

Calls 2

LimitThresholdEmailFunction · 0.90
renderFunction · 0.50

Tested by

no test coverage detected