feat(helcim): add cadence-keyed plan id runtime config

This commit is contained in:
Jennie Robinson Faber 2026-04-18 17:10:50 +01:00
parent c816d4b373
commit 2ae27d6dda
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,8 @@ MONGODB_URI=mongodb://localhost:27017/ghostguild
# HELCIM_API_TOKEN=your-live-helcim-api-token
HELCIM_API_TOKEN=your-test-helcim-api-token
NUXT_PUBLIC_HELCIM_ACCOUNT_ID=your-helcim-account-id
NUXT_HELCIM_MONTHLY_PLAN_ID=<set_after_migration>
NUXT_HELCIM_ANNUAL_PLAN_ID=<set_after_migration>
# Email Configuration (Resend)
RESEND_API_KEY=your-resend-api-key

View file

@ -104,6 +104,8 @@ export default defineNuxtConfig({
oidcClientSecret: process.env.OIDC_CLIENT_SECRET || "",
oidcCookieSecret: process.env.OIDC_COOKIE_SECRET || "",
outlineApiKey: process.env.OUTLINE_API_KEY || "",
helcimMonthlyPlanId: process.env.NUXT_HELCIM_MONTHLY_PLAN_ID || "",
helcimAnnualPlanId: process.env.NUXT_HELCIM_ANNUAL_PLAN_ID || "",
// Public keys (available on client-side)
public: {